This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

start eggdrop via rc.d / startproc

Old posts that have not been replied to for several years.
Locked
User avatar
GodOfSuicide
Master
Posts: 463
Joined: Mon Jun 17, 2002 8:00 pm
Location: Austria

start eggdrop via rc.d / startproc

Post by GodOfSuicide »

my server is currently quite unstable, it rebootes multiple times a day.

so i tried to solve the problem via rc.d and a "startproc" command, but i couldnt get eggdrop to start.
startproc -f -u gos -g users v /home/gos/eggie/eggdrop /home/gos/eggie/leaf.conf
resulted in eggdrop not finding the linked modules ([15:22] MSG20B dns: //modules/dns.so: cannot open shared object file: No such file or directory, etc)

has anyone ever worked with startproc and could give me a hint how to solve the problem ?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

The problem is that you need to "cd" into the eggdrop dir, prior to running it.

Why not use a crontab?
User avatar
GodOfSuicide
Master
Posts: 463
Joined: Mon Jun 17, 2002 8:00 pm
Location: Austria

Post by GodOfSuicide »

even if i go into eggdrops main folder and call startproc as root it doesnt work

and: i use rc.d because my cron daemon isn't working correct too
soon i'll start the server from the scratch, but until i got time i'd need it via rc.d
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

The quickest method I see is to create a botchk script used for crontab, and call that using your startproc system.
Locked