Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Don on April 21, 2003, 08:42:34 PM

Title: Esmith web mail
Post by: Don 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]
Title: Re: Esmith web mail
Post by: Dan Brown on April 21, 2003, 08:57:29 PM
Sounds like mysql isn't running on your machine.
Title: Re: Esmith web mail
Post by: Don 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
Title: Re: Esmith web mail
Post by: Dan Brown on April 21, 2003, 09:22:08 PM
/etc/rc.d/init.d/mysqld start
Title: Re: Esmith web mail
Post by: Don 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
Title: Re: Esmith web mail
Post by: Dan Brown 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.