|
From: Heiko Z. <he...@zu...> - 2005-01-03 03:38:21
|
sp...@gm... wrote: >hallo, > >I am e newbie in linux >world > > Welcome ! >(devil-linux-1.2.1-i586-SMP) > >------------------------------------------------------------------------------ >Help with mysql not >starting-up >------------------------------------------------------------------------------ >/usr/bin/mysqld_safe "-u mysql --pid-file=/var/run/mysql.pid" > >root@devil:~ # /usr/bin/mysqld_safe "-u mysql --pid-file=/var/run/mysql.pid" >touch: cannot touch `/usr/var/devil.err': No such file or directory >chown: cannot access `/usr/var/devil.err': No such file or directory >Starting mysqld daemon with databases from /usr/var >/usr/bin/mysqld_safe: line 302: /usr/var/devil.err: No such file or >directory >/usr/bin/mysqld_safe: line 1: /usr/var/devil.err: No such file or directory >STOPPING server from pid file /usr/var/devil.pid >tee: /usr/var/devil.err: No such file or directory >050103 01:41:57 mysqld ended >tee: /usr/var/devil.err: No such file or >directory > > Are you using the init script? /etc/init.d/mysql start My guess is you didn't configure mysql, take a look at the file /etc/my.cnf You need to tell the server where to put the database files. I for example use this: [mysqld] datadir = /var/data/mysql Of course the directory has to exist and has to be writeable. You also need to have it on a harddisk, otherwise you'll loose all the data after a reboot. >------------------------------------------------------------------------------ >ntop not starting on >boot: >------------------------------------------------------------------------------ >/usr/bin/ntop -d -L -P /var/lib/ntop -u ntop --set-admin-password=devil >/usr/bin/ntop -d -L -P /var/lib/ntop -u ntop -w 8080 --skip-version-check > > > The next DL release will have an updated ntop init script. DL 1.2.2 will be available in a few days. -- Regards Heiko Zuerker http://www.devil-linux.org |