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 07-30-2004, 09:39 AM   #1
jgnasser
Member
 
Registered: Feb 2004
Location: Kenya
Distribution: Red Hat
Posts: 57

Rep: Reputation: 15
jabber startup


I run Red hat Linux 7.3. I am creating a startup script for jabber. I
got some info and proceeded as follows:

I created this file as /etc/init.d/jabberd


#!/bin/sh

# chkconfig: 345 15 85
# description: Startup and shutdown script for Jabber open source
server.

JABBER_DIR=/usr/local/jabber-1.4. 3 /
export JABBER_DIR

case $1 in
'start' )
su - jabber -c "$JABBER_DIR/jabberd/jabberd &"
;;
'stop' )
kill `cat $JABBER_DIR/jabber.pid`
rm $JABBER_DIR/jabber.pid
;;
*)
echo "usage: `basename $0` {start|stop}"
esac



I then created a symbolic link (S96jabberd) to it in /etc/rc3.d

However its not working as jabber is not started and no error reported
as Linux starts. Anyone please help.
 
  


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
jabber IM on webmin paul_mat Linux - Networking 2 04-21-2005 05:42 PM
Jabber dev_rhce Linux - Networking 0 10-12-2004 06:17 AM
starting jabber server at startup lawadm1 Linux - Software 0 09-29-2004 09:55 PM
More jabber help SchoolITguy Linux - Software 2 03-13-2003 10:40 AM
Jabber and MSN Wolf Linux - Newbie 5 07-23-2002 12:07 PM

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

All times are GMT -5. The time now is 06:36 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