LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-01-2004, 11:34 AM   #1
hydra_76
LQ Newbie
 
Registered: Jan 2004
Distribution: RH9
Posts: 1

Rep: Reputation: 0
Angry Can't get DigiChat Server to start as a daemon


Having trouble Getting DigiChat's server to run as a Daemon. It will start from the command line with no issues however but as this defeats thepurpose of putting a symlink in runlevel 3, it is no good.

OS: Redhat 9
DigiChat Version: 4.0

Symlink "/etc/rc3.d/DigiChat_Server" points to "/etc/rc.d/init.d/DigiChat_Server" which inturn points to the main server "/root/DigiChat_4.0/DigiChat_Server".

The server will start from the command line using "/etc/rc3.d/DigiChat_Server &"

Any ideas?

Sign Frustrated
 
Old 01-01-2004, 05:47 PM   #2
kbcnetau
Member
 
Registered: Dec 2003
Location: South Australia (ex-Devon, UK)
Distribution: SuSE, Slackware, Fedora, Debian, Knoppix
Posts: 141

Rep: Reputation: 15
Looks like you may have a problem with your init script.

The syntax that should work is:
/etc/rc.d/init.d/DigiChat_Server start
/etc/rc.d/init.d/DigiChat_Server status
... etc.

Starting "/etc/rc3.d/DigiChat_Server &" almost sounds like you are calling the application directly rather than using an init script.

Have a look at the DigiChat script and compare it with another init script - something that you know works!

Generally, the init script should have a case statement to handle all the different start|stop|reset|status arguments that you might throw at it. The 'normal' way that the script starts the daemon running is to use startproc /path/to/my_application

Hope this helps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Start Jabber as daemon jgnasser Linux - Newbie 1 02-16-2004 01:44 PM
can't start mysql daemon IceGrill Linux - Software 3 07-29-2003 08:16 PM
start server as a daemon champ Programming 5 01-27-2003 06:40 PM
Getting a daemon to start at boot cmfarley19 Linux - General 5 12-14-2002 03:54 PM
How do I start the telnetd daemon cyberkatis Linux - Newbie 2 02-09-2002 09:11 AM


All times are GMT -5. The time now is 12:48 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration