LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-21-2007, 04:24 PM   #1
Mearth
LQ Newbie
 
Registered: Feb 2007
Location: Cleveland Ohio
Distribution: Mepis
Posts: 16

Rep: Reputation: 0
program startup at boot


How does one go about setting up an app to startup at bootup on a Mepis installation? I have tried: 'update-rc.d ez-ipupdate defaults' but get an error to the effect that the program is already setup. However I do not see the app running in ps. I did configure it to run as a daemon.
 
Old 02-22-2007, 11:12 AM   #2
Zyglow
Member
 
Registered: Nov 2004
Location: Texas
Distribution: CentOS, RHEL, Ubuntu
Posts: 73
Blog Entries: 1

Rep: Reputation: 16
If you just need the program to run you could add it to rc.local
 
Old 02-22-2007, 01:06 PM   #3
Mearth
LQ Newbie
 
Registered: Feb 2007
Location: Cleveland Ohio
Distribution: Mepis
Posts: 16

Original Poster
Rep: Reputation: 0
I thought that this should/could not be done on a Debian system.
 
Old 02-22-2007, 01:51 PM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Does the cron in Mepis allow for

@reboot command
 
Old 02-22-2007, 02:28 PM   #5
Mearth
LQ Newbie
 
Registered: Feb 2007
Location: Cleveland Ohio
Distribution: Mepis
Posts: 16

Original Poster
Rep: Reputation: 0
I looked up some info on the net and it seems this will work. I am going to give it a shot tonight. I had no idea how to use cron. I just remember from back in my programing days that it allows one to automate commands. Thanks for your help. I will post my commands and results tonight.
 
Old 02-22-2007, 06:22 PM   #6
Mearth
LQ Newbie
 
Registered: Feb 2007
Location: Cleveland Ohio
Distribution: Mepis
Posts: 16

Original Poster
Rep: Reputation: 0
I decided to check the syslog and found this when the app tried to start. Can anybody tell me what might be the problem?

Feb 20 03:54:42 localhost ez-ipupdate[3443]: could not create pid file /var/run/ez-ipupdate/default.pid (Bad file descriptor), exiting
 
Old 02-25-2007, 07:25 PM   #7
Mearth
LQ Newbie
 
Registered: Feb 2007
Location: Cleveland Ohio
Distribution: Mepis
Posts: 16

Original Poster
Rep: Reputation: 0
Smile

I gave up on ez-ipupdate since it seems to be lacking in current support or documentation. I installed ddclient instead, which comes with a setup wizard. Now my dynamic dns seems to be working. Except I cannot even ping my public ip or domain name. But it did update the dns server at least.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
getting a program to startup Cyric Slackware 4 10-23-2004 06:50 AM
start a program at startup. abhay Slackware 3 10-14-2003 01:02 PM
Program crashing on startup niteshadw Linux - Distributions 9 04-12-2003 10:44 AM
running a program at startup beccala33 Linux - Newbie 3 04-25-2002 05:00 PM
X Startup Program ryanstrayer Linux - General 1 01-29-2002 03:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration