[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Yealink Device Management issues
Author Message
Jonathan_01023 Offline
Junior Member
**

Posts: 6
Joined: May 2018
Reputation: 0
Post: #1
Exclamation Yealink Device Management issues
I can not get phones to provision in the Yealink Device Management.

DHCP option 66 is configured correctly as "https://10.61.0.10:28443/dm.cfg"
My T48G with latest firmware: 35.8.1.80 will not connect to the server

I have installed CentOS on a fresh VM and then installed the Yealink Device Manager as root using the instructions here:

http://forum.yealink.com/forum/announcements.php?aid=19

I noticed that during install, the config database section has an error.

.//base_install.sh: line 203: mysql: command not found
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
Code:
sudo ./install.sh install 10.61.0.10
.//base_install.sh: line 203: mysql: command not found

=========================================================
start Device Server Install.
=========================================================


=========================================================
stop all Device Manager first
=========================================================

stop all device manager service
systemctl stop tcp-server begin
systemctl stop tcp-server end
systemctl stop tomcat_dm begin
systemctl stop tomcat_dm end
systemctl stop redis begin
systemctl stop redis end
systemctl stop mariadb begin
systemctl stop mariadb end
systemctl stop rabbitmq-server begin
systemctl stop rabbitmq-server end
disable all device manager service
systemctl disable rabbitmq-server begin
Removed symlink /etc/systemd/system/multi-user.target.wants/rabbitmq-server.service.
systemctl disable rabbitmq-server end
systemctl disable mariadb begin
Removed symlink /etc/systemd/system/multi-user.target.wants/mariadb.service.
systemctl disable mariadb end
systemctl disable redis begin
Removed symlink /etc/systemd/system/multi-user.target.wants/redis.service.
systemctl disable redis end
systemctl disable tomcat_dm begin
Removed symlink /etc/systemd/system/multi-user.target.wants/tomcat_dm.service.
systemctl disable tomcat_dm end
systemctl disable tcp-server begin
Removed symlink /etc/systemd/system/multi-user.target.wants/tcp-server.service.
systemctl disable tcp-server end
Loaded plugins: fastestmirror
Resolving Dependencies
--> Running transaction check
---> Package rabbitmq-server.noarch 0:3.7.4-1.el7 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================​================================================================================​================================================================================​=============================================================================
Package                                                                           Arch                                                                     Version                                                                        Repository                                                                   Size
================================================================================​================================================================================​================================================================================​=============================================================================
Removing:
rabbitmq-server                                                                   noarch                                                                   3.7.4-1.el7                                                                    installed                                                                    13 M

Transaction Summary
================================================================================​================================================================================​================================================================================​=============================================================================
Remove  1 Package

Installed size: 13 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Erasing    : rabbitmq-server-3.7.4-1.el7.noarch                                                                                                                                                                                                                                                                        1/1
  Verifying  : rabbitmq-server-3.7.4-1.el7.noarch                                                                                                                                                                                                                                                                        1/1

Removed:
  rabbitmq-server.noarch 0:3.7.4-1.el7

Complete!
Loaded plugins: fastestmirror
Resolving Dependencies
--> Running transaction check
---> Package erlang.x86_64 0:20.3-1.el7.centos will be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================​================================================================================​================================================================================​=============================================================================
Package                                                                   Arch                                                                      Version                                                                              Repository                                                                    Size
================================================================================​================================================================================​================================================================================​=============================================================================
Removing:
erlang                                                                    x86_64                                                                    20.3-1.el7.centos                                                                    installed                                                                     31 M

Transaction Summary
================================================================================​================================================================================​================================================================================​=============================================================================
Remove  1 Package

Installed size: 31 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Erasing    : erlang-20.3-1.el7.centos.x86_64                                                                                                                                                                                                                                                                           1/1
  Verifying  : erlang-20.3-1.el7.centos.x86_64                                                                                                                                                                                                                                                                           1/1

Removed:
  erlang.x86_64 0:20.3-1.el7.centos

Complete!
[root@ydm dm_install]# clear
[root@ydm dm_install]# ./install.sh install 10.61.0.10
.//base_install.sh: line 203: mysql: command not found

=========================================================
start Device Server Install.
=========================================================


=========================================================
stop all Device Manager first
=========================================================

stop all device manager service
systemctl stop tcp-server begin
systemctl stop tcp-server end
systemctl stop tomcat_dm begin
systemctl stop tomcat_dm end
systemctl stop redis begin
systemctl stop redis end
systemctl stop mariadb begin
systemctl stop mariadb end
systemctl stop rabbitmq-server begin
Failed to stop rabbitmq-server.service: Access denied
See system logs and 'systemctl status rabbitmq-server.service' for details.
Failed to get load state of rabbitmq-server.service: Access denied
systemctl stop rabbitmq-server end
systemctl stop firewalld beging
systemctl stop firewalld end
kill all device manager service
Failed to stop rabbitmq-server.service: Access denied
See system logs and 'systemctl status rabbitmq-server.service' for details.
Failed to get load state of rabbitmq-server.service: Access denied
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
/core/ dirctory exit
/var/log/yealink// dirctory not exit,create it
/var/log/yealink/common/ dirctory not exit,create it
/var/log/yealink/dm/ dirctory not exit,create it
/var/log/yealink/dm//tomcat_dm/ dirctory not exit,create it
/var/log/yealink/common//redis/ dirctory not exit,create it
/var/log/yealink/common//mariadb/ dirctory not exit,create it
/usr/local/yealink/ dirctory not exit,create it
/usr/local/yealink/common/ dirctory not exit,create it
/usr/local/yealink/dm/ dirctory not exit,create it

=========================================================
Install Erlang
=========================================================

Loaded plugins: fastestmirror
Examining /usr/local/yealink/common//rabbitmq/erlang-20.3-1.el7.centos.x86_64.rpm: erlang-20.3-1.el7.centos.x86_64
Marking /usr/local/yealink/common//rabbitmq/erlang-20.3-1.el7.centos.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package erlang.x86_64 0:20.3-1.el7.centos will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================​================================================================================​================================================================================​=============================================================================
Package                                                             Arch                                                                Version                                                                         Repository                                                                                     Size
================================================================================​================================================================================​================================================================================​=============================================================================
Installing:
erlang                                                              x86_64                                                              20.3-1.el7.centos                                                               /erlang-20.3-1.el7.centos.x86_64                                                               31 M

Transaction Summary
================================================================================​================================================================================​================================================================================​=============================================================================
Install  1 Package

Total size: 31 M
Installed size: 31 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : erlang-20.3-1.el7.centos.x86_64                                                                                                                                                                                                                                                                           1/1
  Verifying  : erlang-20.3-1.el7.centos.x86_64                                                                                                                                                                                                                                                                           1/1

Installed:
  erlang.x86_64 0:20.3-1.el7.centos

Complete!

=========================================================
Install Rabbitmq
=========================================================

Loaded plugins: fastestmirror
Examining /usr/local/yealink/common//rabbitmq/rabbitmq-server-3.7.4-1.el7.noarch.rpm: rabbitmq-server-3.7.4-1.el7.noarch
Marking /usr/local/yealink/common//rabbitmq/rabbitmq-server-3.7.4-1.el7.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package rabbitmq-server.noarch 0:3.7.4-1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================​================================================================================​================================================================================​=============================================================================
Package                                                                    Arch                                                              Version                                                                   Repository                                                                                      Size
================================================================================​================================================================================​================================================================================​=============================================================================
Installing:
rabbitmq-server                                                            noarch                                                            3.7.4-1.el7                                                               /rabbitmq-server-3.7.4-1.el7.noarch                                                             13 M

Transaction Summary
================================================================================​================================================================================​================================================================================​=============================================================================
Install  1 Package

Total size: 13 M
Installed size: 13 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : rabbitmq-server-3.7.4-1.el7.noarch                                                                                                                                                                                                                                                                        1/1
  Verifying  : rabbitmq-server-3.7.4-1.el7.noarch                                                                                                                                                                                                                                                                        1/1

Installed:
  rabbitmq-server.noarch 0:3.7.4-1.el7

Complete!

=========================================================
Install JDK
=========================================================


=========================================================
Install Tcp-server
=========================================================


=========================================================
Install MariaDB
=========================================================

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.sfo12.us.leaseweb.net
* extras: mirror.tocici.com
* updates: centos.s.uw.edu
Package libaio-0.3.109-13.el7.x86_64 already installed and latest version
Nothing to do

=========================================================
Install Redis
=========================================================


=========================================================
Install WEB Server
=========================================================


=========================================================
WEB context
=========================================================


=========================================================
Setup Environment
=========================================================

groupadd: group 'mysql' already exists
useradd: user 'mysql' already exists
Installing MariaDB/MySQL system tables in '/usr/local/yealink/common/mariadb/data' ...
OK

To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
To do so, start the server, then issue the following commands:

'./bin/mysqladmin' -u root password 'new-password'
'./bin/mysqladmin' -u root -h ydm.dragonfireservices.net password 'new-password'

Alternatively you can run:
'./bin/mysql_secure_installation'

which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.

See the MariaDB Knowledgebase at http://mariadb.com/kb or the
MySQL manual for more instructions.

You can start the MariaDB daemon with:
cd '.' ; ./bin/mysqld_safe --datadir='/usr/local/yealink/common/mariadb/data'

You can test the MariaDB daemon with mysql-test-run.pl
cd './mysql-test' ; perl mysql-test-run.pl

Please report any problems at http://mariadb.org/jira

The latest information about MariaDB is available at http://mariadb.org/.
You can find additional information about the MySQL part at:
http://dev.mysql.com
Consider joining MariaDB's strong and vibrant community:
https://mariadb.org/get-involved/

mkdir: cannot create directory ‘/var/lib/mysql’: File exists

=========================================================
Install systemd service
=========================================================


=========================================================
Install server version
=========================================================


=========================================================
start_service
=========================================================

systemctl start rabbitmq-server begin
systemctl start rabbitmq-server end
Adding user "yealink" ...
User "yealink" already exists
Setting tags for user "yealink" to [administrator] ...
Setting permissions for user "yealink" in vhost "/" ...
systemctl start mariadb begin
systemctl start mariadb end
systemctl start redis begin
systemctl start redis end
systemctl start tcp-server begin
systemctl start tcp-server end

=========================================================
enable_service
=========================================================

enable all device manager service
systemctl enable rabbitmq-server begin
Created symlink from /etc/systemd/system/multi-user.target.wants/rabbitmq-server.service to /usr/lib/systemd/system/rabbitmq-server.service.
systemctl enable rabbitmq-server end
systemctl enable mariadb begin
Created symlink from /etc/systemd/system/multi-user.target.wants/mariadb.service to /usr/lib/systemd/system/mariadb.service.
systemctl enable mariadb end
systemctl enable redis begin
Created symlink from /etc/systemd/system/multi-user.target.wants/redis.service to /usr/lib/systemd/system/redis.service.
systemctl enable redis end
systemctl enable tomcat_dm begin
Created symlink from /etc/systemd/system/multi-user.target.wants/tomcat_dm.service to /usr/lib/systemd/system/tomcat_dm.service.
systemctl enable tomcat_dm end
systemctl enable tcp-server begin
Created symlink from /etc/systemd/system/multi-user.target.wants/tcp-server.service to /usr/lib/systemd/system/tcp-server.service.
systemctl enable tcp-server end

=========================================================
Config databases
=========================================================

mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
systemctl start tomcat_dm begin
systemctl start tomcat_dm end
mv: cannot stat ‘/home/jonathan.martinez/dm_install/script/clear_cache.sh’: No such file or directory

=========================================================
Install Success!!!
=========================================================
(This post was last modified: 06-06-2018 03:04 AM by Jonathan_01023.)
06-06-2018 03:03 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
Yealink Device Management issues - Jonathan_01023 - 06-06-2018 03:03 AM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Reset Yealink phone mp56 with usb key DLEFEBVRE 0 1,495 09-04-2024 10:13 PM
Last Post: DLEFEBVRE
  Yealink RPS API error kov 2 1,920 07-10-2024 12:48 AM
Last Post: aspurlock@sipharmony.com
  Yealink RPS supported versions kov 0 916 05-16-2024 08:23 PM
Last Post: kov
  Yealink MP Phones no DHCP or Network Access with static wesleybauman 1 1,547 05-16-2024 03:26 AM
Last Post: complex1
  Yealink MTouch E2 janaga 0 958 05-14-2024 07:41 PM
Last Post: janaga
  WH66 Device won't connect after mac goes in sleepmode wilcotroost 2 2,796 05-06-2024 10:07 PM
Last Post: onescifi
  Problem with T54W Yealink aarontate 0 1,064 05-06-2024 11:10 AM
Last Post: aarontate
Exclamation Yealink ticket support enasxristis 0 930 04-25-2024 04:02 PM
Last Post: enasxristis
  Could Someone Give me advice on Yealink phone setup for remote work? rich20509 0 1,436 04-15-2024 01:26 PM
Last Post: rich20509
  Anyone use a Yealink phone with a Talkswitch PBX? abiza 1 1,680 04-12-2024 04:43 PM
Last Post: Thenand

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication