usually mysql runs as user/group mysql and needs it's own pidfile dir. mkdir /var/run/mysqld chown -R mysql:mysql /var/run/mysqld
Ittay Dror wrote: > it doesn't exist, but since mysql is not running, it is to be expected. > > Jens Persson wrote: > >> i don't think so but it probably should be in /var/run/mysqld >> check that it exists with the right owner. >> >> Ittay Dror wrote: >> >>> i worked with mysql through /etc/init.d/mysqld before, so the db is there >>> >>> how can i tell if there is a problem with the pid file? can i get a trace >>> of the service start? >>> >>> Jens Persson wrote: >>> >>> >>>> it could be a problem with the pidfile or that you haven't generated the >>>> database. >>>> ngc --start daemon/mysql/initdb >>>> >>>> Ittay Dror wrote: >>>> >>>> >>>>> the mysql service doesn't start. >>>>> >>>>> >>>>> >>>>> >>>>>> ngc --start mysql >>>>>> >>>>>> >>>>>> >>>>> initNGControl (0.6.8svn ) by Jimmy Wennlund http://www.initng.org/ >>>>> Starting service "daemon/mysql", hang on.. >>>>> >>>>> Service "daemon/mysql" is now in state: DAEMON_WAIT_FOR_PID_FILE >>>>> Starting mysqld daemon with databases from /var/lib/mysql >>>>> STOPPING server from pid file /var/run/mysqld/mysqld.pid >>>>> 070117 22:20:54 mysqld ended >>>>> >>>>> >>>>> Service "daemon/mysql" have stopped! >>>>> >>>>> >>>>> how can i debug this? do you know of a fix? >>>>> >>>>> my environment: >>>>> >>>>> >>>>> initng-ifiles-0.0.6-2.fc6 >>>>> initng-lib-0.6.8-9.fc6 >>>>> initng-0.6.8-9.fc6 >>>>> mysql-server-5.0.27-1.fc6.remi >>>>> >>>>> >>>>> thanks, >>>>> ittay >>>>> >>>>> >>>>> >>>>> >>> >>> > > > -- _______________________________________________ Initng mailing list [email protected] http://jw.dyndns.org/mailman/listinfo/initng
