Don't you also have to be sure that the script takes "start" as an argument? > -----Original Message----- > From: ScanMan [mailto:scanman at scanman.mine.nu] > Sent: Wednesday, December 12, 2001 8:54 AM > To: tclug-list at mn-linux.org > Subject: Re: [TCLUG] problems getting some services to start > > > Init runs Perl scripts just fine, but you have to be sure to > put #!/usr/bin/perl at the beginning and make it executable. > > On Wed, 2001-12-12 at 06:49, scott.w.fischer at att.net wrote: > > Umm, I thought the init scripts were fired with sh/bash > rather than > > perl. sh a script starting with #!/usr/bin/perl will just give an > > error anyway. I think you're gonna have to change your script to > > bash. > > > > -swf > > > > -- > > "It's kind of fun to do the impossible." - Walt Disney > > Key Fingerprint = 6FB4 A47C 793F 55C4 E2A7 6626 CC49 424A 155C AAD3 > > > I am trying to get mrtg and apache to start automatically. I have > > > been through the docs, and feel I have done things right, but > > > obviously something is wrong. > > > > > > mrtg: > > > > > > I created a script called mrtg that launches 17 > different configs. > > > It is located in /ect/rc.d/init.d . I also created a > symbolic link > > > to the mrtg script in /etc/rc3.d named S65mrtg. > > > > > > It is my understanding this should launch mrtg at boot, but it > > > doesn't. If I do a "perl S65mrtg" it fires of. > > > > > > I also have about the same problem with apache. > > > > > > Any advice would be appreciated. > > > > > > This is running on RedHat 7.1 in case that matters. > > > > > > > > > Raymond > > > > > > _______________________________________________ > > > Twin Cities Linux Users Group Mailing List - > Minneapolis/St. Paul, > > > Minnesota http://www.mn-linux.org tclug-list at mn-linux.org > > > https://mailman.mn-linux.org/mailman/listinfo/tclug-list > > _______________________________________________ > > Twin Cities Linux Users Group Mailing List - Minneapolis/St. Paul, > > Minnesota http://www.mn-linux.org tclug-list at mn-linux.org > > https://mailman.mn-linux.org/mailman/listinfo/tclug-list > > > > > _______________________________________________ > Twin Cities Linux Users Group Mailing List - Minneapolis/St. > Paul, Minnesota > http://www.mn-linux.org > tclug-list at mn-linux.org > https://mailman.mn-linux.org/mailman/listinfo/tclug-list >