From: Alex S. de M. <al...@rn...> - 2005-01-25 21:54:02
|
dan wrote: > Hamed Majnoonian wrote: > >> Hi all! >> >> I found a weird problem on my BSD box which is 4.11. I started to >> install >> the Cacti with all its default packages it needs such as Mysql4.0. >> But the >> problem is the Mysql is not working since I can't find the >> safe_mysqld file >> to run the Sql daemon. I have tried and test with Mysql 3 but it has the >> safe_mysqld. I tried to carry on with this version of Mysql but another >> problem came up. >> >> I have followed up all the procedures to start the cacti but when and I >> didn't find any error message at all during the setup procedures and >> creating a database for Cacti. But when I point my browser to >> http://mysite/cacti nothing is there to view. >> >> Can any one help me about these two problems? >> >> >> Thank you >> > > This looks like part of the simple setup procedures, not really > related to Cacti. MySQL 4.x has a safe_mysqld file, but perhaps it > was stored in a different location than what you're used to. > > If you're on a Redhat or Fedora system, the best thing to do would be > to look for an init file inside a contrib folder of the source that > you had downloaded. If you are using an RPM, suspect a bunk RPM, as > this init file should land itself in /etc/rc.d/init.d, and possibly in > /etc/rc.d/rcX.d. Right, the standard way to start mysql and apache in recent FreeBSDs is: Include these flags in /etc/rc.conf: ---------- // ----------------- mysql_enable="YES" apache_enable="YES" ---------- // ----------------- start the daemons: ---------- // ----------------- /usr/local/etc/rc.d/mysql-server.sh start /usr/local/etc/rc.d/apache.sh start ---------- // ----------------- Good luck, Alex |