Mowgli1647545497 Posted February 23, 2005 Report Share Posted February 23, 2005 HELP I've got a Linux box running Suse. I've got mySql, tomcat, ftp, and a James server configured on it. They run fine but I need to start them up manually. Want to get these to start at bootup time. Can anyone help me out? Tried mySQL first, and of course the documentation and advice I get on the net doesn't work.... xinetd, rc.d, rc3.d .... BAH! Help Quote Link to comment Share on other sites More sharing options...
supldys Posted February 23, 2005 Report Share Posted February 23, 2005 different builds have different start up files, ive never used suse so i cant really help. But check out linuxquestions.org in the suse section and find that file, then all you have to do is put the command line in. Quote Link to comment Share on other sites More sharing options...
Casper Posted February 23, 2005 Report Share Posted February 23, 2005 traditionally, in linux after the init loads, rc loads using the rc.local script rc.local doesn't exsist in suse create a file called rc.local in the /etc/rc.d directory chmod 755 /etc/rc.d/rc.local then go down to rc3.d and create a link to rc.local at say S90 eg ln -s ../rc.local ./S90rc.local Repeat in ../rc2.d now in the /etc/rc.d/rc.local file add the commands you want executed at boot -------------- example file #!/bin/sh # /etc/rc.d/rc.local # # This script will be executed *after* all the other init scripts. /sbin/insmod ip_tables /sbin/modprobe ip_conntrack_ftp /sbin/modprobe ip_nat_ftp if you need any help with this let me know. i'd be happy to help you out. Quote Link to comment Share on other sites More sharing options...
fush Posted February 23, 2005 Report Share Posted February 23, 2005 Did you install these as packages or build them yourself. You should ba able to use chkconfig to do the dirty work if they were packaged right. chkconfig -list all will list all of the availble programs. You can do a chkconfig service on to bring it up in the default run levels definied in the init script, or if you only want specific levels like start mysql in run level 3 chkconfig mysql 3 If the packages aren't available under chkconfig you will have to write your own init scripts and link them accordingly to the right rc directory to get everything working right. Are you running tomcat stand alone or through an apache jk connector? That will also make a difference in how its started up. Quote Link to comment Share on other sites More sharing options...
Mowgli1647545497 Posted February 23, 2005 Author Report Share Posted February 23, 2005 They were put on the machine before I got involved. Thanks for the tips I'll try these out tonight. Suse is new to me and different enough to cause me headaches. Quote Link to comment Share on other sites More sharing options...
Trouble Maker Posted February 23, 2005 Report Share Posted February 23, 2005 Listen to Satan, he is your master (at linux). Quote Link to comment Share on other sites More sharing options...
Guest infamous me 235 Posted February 24, 2005 Report Share Posted February 24, 2005 graemlins/lurk.gif Holy fuck, is that english? graemlins/lurk.gif Quote Link to comment Share on other sites More sharing options...
Casper Posted February 24, 2005 Report Share Posted February 24, 2005 Originally posted by Neo: Listen to Satan, he is your master (at linux). buwahahahahaha Quote Link to comment Share on other sites More sharing options...
Casper Posted March 3, 2005 Report Share Posted March 3, 2005 did you get your problem resolved? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.