Koozali.org: home of the SME Server

mysql

Offline fred2k3

  • ***
  • 49
  • +0/-0
mysql
« on: August 14, 2013, 12:03:43 PM »
Running SAIL 3.1.1-22 and think I MySQL isn't loading/installed. When the server boots up it says:

Waiting for MySQL to startup ....
Waiting for MySQL to startup ....
Waiting for MySQL to startup ....
etc.

When the PBX does finish booting, if I go to the CLI and type MySQL is says: -bash: mysql: command not found

Any advice please?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: mysql
« Reply #1 on: August 14, 2013, 06:34:10 PM »
is there anything wrong in the /var/log directory? (I mean in the log files in it)

Offline fred2k3

  • ***
  • 49
  • +0/-0
Re: mysql
« Reply #2 on: August 22, 2013, 05:22:23 PM »
I've no idea I'm afraid... I'm a complete Linux novice. How would I check if anything is wrong?

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: mysql
« Reply #3 on: August 23, 2013, 05:07:14 PM »
At the linux console type

Code: [Select]
rpm -qa | grep mysql
post the output here

also, what is the brief history of this box?   Was it built from a regular SME server iso or from the sail iso and what changes have you made since you installed it?

Kind Regards

S

Offline fred2k3

  • ***
  • 49
  • +0/-0
Re: mysql
« Reply #4 on: August 23, 2013, 05:39:18 PM »
Code: [Select]
php-mysql-5.3.3-1.el5.sme.6
mysql-server-5.0.95-1.el5_7.1
asterisk18-addons-mysql-1.8.7.0-2_centos5
e-smith-mysql-2.2.0-6.el5.sme

Installed from the all-in-1 SME 8.0 / SAIL 3.1.1-22 ISO. Other than config settings, the only things I've done are install an ISDN card, install G729 codec, and upload some greetings.

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: mysql
« Reply #5 on: August 25, 2013, 06:46:56 PM »
Not sure why but you are missing mysql.   Here is the output from a freshly installed SME/Sail iso

Code: [Select]
rpm -qa | grep mysql
mysql-server-5.0.95-1.el5_7.1
asterisk18-addons-mysql-1.8.7.0-2_centos5
e-smith-mysql-2.2.0-6.el5.sme
mysql-5.0.95-1.el5_7.1
php-mysql-5.3.3-1.el5.sme.6

Your output does not have mysql-5.0.95-1.el5_7.1.    If it were me then I think I might be tempted to run the install again.

Kind Regards

S