[Snort-users] Plaease help me!!!!!!!Problem starting sql on the sensor

Juan Fernandez Juan.Fernandez at ...2210...
Thu Sep 9 01:46:22 EDT 2004


Hi,

 

I am installing sql on the sensor (fedora). I am following the manual at the
snort site, this is the problematic part that I have problems with:

 

Set MySQL to start automatically.

Copy the file "mysql.server" from the support-files subfolder (it is under
the source for

mysql. If you downloaded everything to /root/snortinstall, then the path
will be

/root/snortinstall/mysql-4.0.15a/support- files) to the /etc/init.d folder
and call it mysql

(the command to copy it from the support- files directory is "cp
mysql.server

/etc/init.d/mysql")

Use the following commands to create symbolic links in the startup folders
for run levels

3 and 5. MySQL will now start automatically when you boot up.

cd /etc/rc3.d

ln -s ../init.d/mysql S85mysql

ln -s ../init.d/mysql K85mysql

cd /etc/rc5.d

ln -s ../init.d/mysql S85mysql

ln -s ../init.d/mysql K85mysql

cd ../init.d

chmod 755 mysql

 

 

This is what I did on the sensor:

 

[root at ...12378... support-files]# ps -ef|grep mysql

root     10288  9496  0 11:26 pts/0    00:00:00 grep mysql

[root at ...12378... support-files]# cd /etc/rc5.d/

[root at ...12378... rc5.d]# ls

K01yum        K35winbind    S00microcode_ctl  S10network     S14nfslock
S26apmd    S55sshd        S80sendmail  S95atd

K05saslauthd  K50snmpd      S05kudzu          S12syslog      S20random
S28autofs  S56rawdevices  S85gpm       S97rhnsd

K20nfs        K50snmptrapd  S08iptables       S13irqbalance  S24pcmcia
S40smartd  S56xinetd      S90crond     S99local

K24irda       K74nscd       S09isdn           S13portmap     S25netfs
S44acpid   S58ntpd        S95anacron

[root at ...12378... rc5.d]# cd /etc/init.d/mysql 

-bash: cd: /etc/init.d/mysql: Not a directory

[root at ...12378... rc5.d]# cd /etc/rc3.d/

[root at ...12378... rc3.d]# ln -s ../init.d/mysql S86mysql

[root at ...12378... rc3.d]# ln -s ../init.d/mysql K86mysql

[root at ...12378... rc3.d]# cd /etc/rc5.d/

[root at ...12378... rc5.d]# ln -s ../init.d/mysql S86mysql

[root at ...12378... rc5.d]# ln -s ../init.d/mysql K86mysql

[root at ...12378... rc5.d]# cdmod 755 mysql

.

[root at ...12378... rc5.d]# cd ../init.d

[root at ...12378... init.d]# chmod 755 mysql

[root at ...12378... init.d]# /etc/init.d/mysql start

/etc/init.d/mysql: line 1: my_print_defaults: command not found

Can't execute /usr/local/mysql/bin/mysqld_safe from dir /usr/local/mysql

 

The 2 lines above is the error I am receiving? What is wrong?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20040909/584754c2/attachment.html>


More information about the Snort-users mailing list