New Forum system requires email address which you used to apply for your account to replace your original username. Password stays the same.Please see this post for more details
http://forum.yealink.com/forum/showthread.php?tid=40344

Yealink Test Club has been officially launched. Please visit post below to get detail information. Come and join us!
http://forum.yealink.com/forum/announcements.php?aid=18

We just had the YMCS online and we are also working on the features plan on the future versions, in this regard we are need to hear your voice about the YMCS.
Please visit : http://forum.yealink.com/forum/showthread.php?tid=42322


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
  Yealink T22p Quality Issue Bessie64 1 136 07-24-2019 07:50 AM
Last Post: complex1
  T27G - Fall Back issues - Successive setting [Solved] BobBluePackets 6 1,071 05-28-2019 04:47 AM
Last Post: BobBluePackets
  Lost Password for Webinterface for the Yealink T58A DeKay 1 370 05-27-2019 06:21 PM
Last Post: complex1
  Basic settings on device Gilb 7 4,124 05-22-2019 02:08 PM
Last Post: jolouis
  Yealink VCD Internet Video Call Settings Nezar 0 197 05-09-2019 12:34 PM
Last Post: Nezar
Question Hide Call History on Yealink IP Phones wizardwebsolutions 5 1,251 04-04-2019 09:58 AM
Last Post: Marie7
  Yealink T48S and Cisco Unified Communications Manager (CUCM) aka:Call Manager AAP1811 1 799 02-13-2019 07:46 PM
Last Post: jolouis
  Yealink T46s Park button mhessels 8 1,716 01-31-2019 02:24 AM
Last Post: BobBluePackets
Brick Yealink t29G | 5 seconds ring delay amichy 1 751 12-31-2018 01:48 PM
Last Post: complex1
  Hard Reset yealink T27G juanantonio.saez 0 646 11-30-2018 12:31 PM
Last Post: juanantonio.saez

Forum Jump:


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

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