On Fri, 2002-08-09 at 13:47, Zach Curtis wrote: > I am trying to get Apache and MySQL to run when booting up in RH 7.3. I > installed these from source and did not use the RPM. I have done the > following. > > Install locations: > Apache: /usr/local/apache > MySQL: /usr/local/mysql > > Created symbolic links in init.d and rc#.d directories > ln -s /usr/local/apache/bin/apachectl /etc/rc.d/init.d/apache > ln -s /usr/local/mysql/share/mysql/mysql.server > /etc/rc.d/init.d/mysql.server
Are the files you are linking to in /usr/local* initscripts like the others in /etc/init.d? you might want to take a look at one of those and try to emluate them if not. doing so will allow you to use all the tools like service, chconfig etc to manage runlevels. IIRC rc.sysinit will call the files, in the appropriate runlevel dir, beginning with S with start as the first parameter and the ones with K with stop. Not sure what happens when you call your progs with unexpected parms. Is there anything in the logs? Gordon's suggestion is a good one but since I rarely know what the *$%* I am looking at with regards to c or c++ code you can use mc to drillinto the regular rpms and get the files from the cpio archive there or, noww that I think about it you can try rpm2cpio apache-1.3.23-11.i386.rpm |(cd /tmp/;cpio -idv *init.d/httpd) which will pull the file out of the rpm and put it in /tmp/etc/rc.d/init.d hth Bret -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list