Koozali.org: home of the SME Server

Esmith web mail

Don

Esmith web mail
« on: April 21, 2003, 08:42:34 PM »
trying to log into webmail on esmith get this error

object(db_error)(7) {
  ["error_message_prefix"]=>
  string(0) ""
  ["mode"]=>
  int(1)
  ["level"]=>
  int(1024)
  ["code"]=>
  int(-24)
  ["message"]=>
  string(24) "DB Error: connect failed"
  ["userinfo"]=>
  string(105) " [nativecode=Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)] ** Array"
  ["callback"]=>
  NULL
}
[/home/httpd/html/horde/lib/Prefs/sql.php : 102]

Dan Brown

Re: Esmith web mail
« Reply #1 on: April 21, 2003, 08:57:29 PM »
Sounds like mysql isn't running on your machine.

Don

Re: Esmith web mail
« Reply #2 on: April 21, 2003, 09:18:03 PM »
Don't want to sound dumb but what is the command to start Mysql from the command shell on Esmith 5.6

Dan Brown

Re: Esmith web mail
« Reply #3 on: April 21, 2003, 09:22:08 PM »
/etc/rc.d/init.d/mysqld start

Don

Re: Esmith web mail
« Reply #4 on: April 21, 2003, 09:26:08 PM »
Thank you for the quick response that fix the problem but I don't have an idea why the Mysql service would stop on its on. do you know where i can check to make sure that it is configured to start auto when the server reboots

Dan Brown

Re: Esmith web mail
« Reply #5 on: April 22, 2003, 04:20:30 AM »
No, I don't have any idea either.  Take a look in /etc/rc.d/rc7.d and make sure you have S90mysqld there.