Unix Technical Forum

Re: Start at boot time with /etc/init.d/functions

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Debian Linux > Debian Linux Users forum

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 08:20 AM
Louie Miranda
 
Posts: n/a
Default Re: Start at boot time with /etc/init.d/functions

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 08:20 AM
Miquel van Smoorenburg
 
Posts: n/a
Default Re: Start at boot time with /etc/init.d/functions

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:15 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com