Snort mailing list archives
Plaease help me!!!!!!!Problem starting sql on the sensor
From: Juan Fernandez <Juan.Fernandez () deltathree com>
Date: Thu, 9 Sep 2004 11:44:07 +0300
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@snort_jr_dmz support-files]# ps -ef|grep mysql root 10288 9496 0 11:26 pts/0 00:00:00 grep mysql [root@snort_jr_dmz support-files]# cd /etc/rc5.d/ [root@snort_jr_dmz 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@snort_jr_dmz rc5.d]# cd /etc/init.d/mysql -bash: cd: /etc/init.d/mysql: Not a directory [root@snort_jr_dmz rc5.d]# cd /etc/rc3.d/ [root@snort_jr_dmz rc3.d]# ln -s ../init.d/mysql S86mysql [root@snort_jr_dmz rc3.d]# ln -s ../init.d/mysql K86mysql [root@snort_jr_dmz rc3.d]# cd /etc/rc5.d/ [root@snort_jr_dmz rc5.d]# ln -s ../init.d/mysql S86mysql [root@snort_jr_dmz rc5.d]# ln -s ../init.d/mysql K86mysql [root@snort_jr_dmz rc5.d]# cdmod 755 mysql . [root@snort_jr_dmz rc5.d]# cd ../init.d [root@snort_jr_dmz init.d]# chmod 755 mysql [root@snort_jr_dmz 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?
Current thread:
- Plaease help me!!!!!!!Problem starting sql on the sensor Juan Fernandez (Sep 09)
