On Mon, 20 Jan 2003 04:58, Steve Jeppesen wrote: > On Sun, 19 Jan 2003 19:03:04 +1300 > > Sharrea <[EMAIL PROTECTED]> wrote: > > # chkconfig --add /etc/rc.d/rc.firewall > > # chkconfig --level 345 /etc/rc.d/rc.firewall on > > > > the 2nd line starts your firewall in run levels 3, 4 and 5. HTH > > > > Sharrea > > Something isn't right here; > [root@internet steve]# chkconfig --add /etc/rc.d/rc.firewall > error reading information on service /etc/rc.d/rc.firewall: No such file > or directory[root@internet steve]# ls /etc/rc.d > init.d/ rc0.d/ rc2.d/ rc4.d/ rc6.d/ rc.local* rc.sysinit* > rc* rc1.d/ rc3.d/ rc5.d/ rc.firewall* rc.modules* > > Am showing a listing for that directory to show that rc.firewall is > there. Maybe chkconfig has an option for stating/starting files rather > than a service? Doesn't show anything in man chkconfig... > > Thought maybe the group (owner?) was hosed up on rc.firewall; > [root@internet steve]# ls -g /etc/rc.d > total 92 > drwxr-x--- 2 adm 4096 Jan 18 02:04 init.d/ > -rwxr-xr-x 1 root 4321 Nov 18 21:46 rc* > drwxr-xr-x 2 root 4096 Jan 18 02:02 rc0.d/ > drwxr-xr-x 2 root 4096 Jan 18 02:02 rc1.d/ > drwxr-xr-x 2 root 4096 Jan 18 02:02 rc2.d/ > drwxr-xr-x 2 root 4096 Jan 18 02:02 rc3.d/ > drwxr-xr-x 2 root 4096 Jan 18 02:02 rc4.d/ > drwxr-xr-x 2 root 4096 Jan 18 02:02 rc5.d/ > drwxr-xr-x 2 root 4096 Jan 18 02:02 rc6.d/ > -rwxr-xr-x 1 root 9969 Jan 17 20:26 rc.firewall* > -rwxr-xr-x 1 root 1636 Jan 18 08:50 rc.local* > -rwxr-xr-x 1 root 483 Nov 18 21:46 rc.modules* > -rwxr-xr-x 1 root 32676 Nov 18 21:46 rc.sysinit* > > Any comments anybody? > > Ugh, I know this is something that "should" be so simple. > > > -- > > Help Microsoft stamp out piracy - give Linux to a friend today > > Here Here! I will gladly help M$ with this one! > > TIA > Steve
Hi Steve The file permissions look fine and I see that you're running the chkconfig command as root - I can't see why its not working! You can add the script using ksysvinit. If you haven't used ksysvinit before, after starting the program click the Help menu and read the basics there - its not as hard as it looks but be careful not to change anything else. To add the script you will need to place it in /etc/rc.d/init.d/ Perhaps thats why chkconfig isn't working? I guess you could place the script in /etc/rc.d/init.d/ and then try chkconfig --add ... again. Cheers Sharrea -- Help Microsoft stamp out piracy - give Linux to a friend today
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com