This is a discussion on Re: Start at boot time with /etc/init.d/functions within the Debian Linux Users forum forums, part of the Debian Linux category; --> Where did you get the /etc/init.d/functions? As far as i can remember it doesnt link to tomcat. You can ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Where did you get the /etc/init.d/functions? As far as i can remember it doesnt link to tomcat. You can try adding the tomcat startup commands via.. /etc/rc.boot just make a 775 *perm* file so it will run on your next boot. I also remember that you need to identify your JAVA_HOME and export it, etc. -- Thank you, Louie Miranda (louie@axishift.ath.cx) ----- Original Message ----- From: "roger engineer" <roger01@engineer.com> To: <debian-user@lists.debian.org> Sent: Tuesday, July 15, 2003 4:01 PM Subject: Start at boot time with /etc/init.d/functions > I'm trying to configure my debian linux to start the tomcat webserver at boot time. > All startup scripts found on the web contain the following line: > . /etc/init.d/functions > As there is no file "functions" in my init.d directory, I get only an error message. Could not find this file, neither on the debian homepage nor anywhere else in the www. > Can anybody help an tell send me this file or tell me where to download it? > Every hint appreciated. > > Roger > -- > __________________________________________________ ________ > Sign-up for your own FREE Personalized E-mail at Mail.com > http://www.mail.com/?sr=signup > > CareerBuilder.com has over 400,000 jobs. Be smarter about your job search > http://corp.mail.com/careers > > > -- > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org > -- To UNSUBSCRIBE, email to debian-user-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
| ||||
| In article <01ab01c34aaa$ff5e6d20$020119ac@ADMMGMTWS>, Louie Miranda <louie@axishift.ath.cx> wrote: >"roger engineer" <roger01@engineer.com> wrote: >> I'm trying to configure my debian linux to start the tomcat >> webserver at boot time. >> All startup scripts found on the web contain the following line: >> . /etc/init.d/functions That's a redhat thing. Debian doesn't have that. >> As there is no file "functions" in my init.d directory, I get only an >> error message. Could not find this file, neither on the debian homepage nor >> anywhere else in the www. >> Can anybody help an tell send me this file or tell me where to download it? You need a Debianized startup script, the Redhat version won't work. >> Every hint appreciated. > >Where did you get the /etc/init.d/functions? >As far as i can remember it doesnt link to tomcat. >You can try adding the tomcat startup commands via.. > >/etc/rc.boot just make a 775 *perm* file so it will run on your next boot. /etc/rc.boot is officially deprecated. It doesn't even exist on new installs. It was also never meant to start daemons from. Do not use it. Read /etc/init.d/README and /etc/init.d/skeleton to see how to do things the right (debian) way. Mike. -- To UNSUBSCRIBE, email to debian-user-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |