LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Getting daemon to run at startup (https://www.linuxquestions.org/questions/slackware-14/getting-daemon-to-run-at-startup-71452/)

HaPPYFaCe 07-09-2003 11:35 PM

Getting daemon to run at startup
 
1st- Hey everybody

2nd - Heres the deal, I've been trying to get my BIND server to run at startup. I uncommented some lines in the /etc/rc.d/rc.inet2 file to start it up. Seconds I created a user/group called named /w ID of 200 so that named could use it to fire things up. Third I did a chown on every file I could think of that BIND uses.

Unfortunatly even if I dont get errors at startup the service doesnt start. On the other hand, when I use /usr/sbin/named -u root in the rc script everything starts up nice and easy, but the goal of the exercise here is to make BIND more secure, so I dont want that.

I want it to work correctly before putting the whole thing in a chroot jail, adding dhcpd and linking all that stuff togheter.

Thanks for your time :D

HaPPYFaCe 07-10-2003 08:50 PM

Well I finally found the little thing that was blocking named

the directory /var/run/named didnt have the proper owner, so changed it to named and voilą, job done :)

Thanks anyways


All times are GMT -5. The time now is 07:46 PM.