RE: init/runlevel help needed in RHL 8.

2003-02-14 Thread Robert Tinsley
On Fri, 2003-02-14 at 16:29, Stone, Timothy wrote: > Robert, > > I'm trying your suggestion, but I'm not familiar with what is implied between the >lines: > > * replace the link with a script to call apachectl instead. before it > calls apachectl, dump your environment to a temporary file, and a

RE: init/runlevel help needed in RHL 8.

2003-02-14 Thread Robert Tinsley
On Fri, 2003-02-14 at 14:11, Rick Carroll wrote: > What you're missing, is that apachectl uses start, stop, etc to control the httpd >server as it always has. > This is NOT an init.d script, it's virtually the same apachectl they have been using >for years. > > When S85httpd gets run by init it

Re: Newbie question---Logrotate not rotating Reply

2003-02-11 Thread Robert Tinsley
On Tue, 2003-02-11 at 18:09, [EMAIL PROTECTED] wrote: > Hi Robert, > > Can't find anything (to me) that looks unusual. Tried to do > > ./logrotate -f /etc/logrotate.conf and got this > error: /etc/logrotate.conf:26 duplicate log entry for > /usr/logs/as5300.log from your previous mail... > #

Re: Newbie question---Logrotate not rotating

2003-02-11 Thread Robert Tinsley
On Tue, 2003-02-11 at 17:31, [EMAIL PROTECTED] wrote: > Hi All, > > I did some searches and can't find a solution to my problem. My > logrotate is not rotating. I am sure that it is something simple that > I am not doing/configuring. is the 'crond' process running? can you see anything strange in

Re: ftp'ing directories

2003-02-11 Thread Robert Tinsley
On Tue, 2003-02-11 at 17:20, Ted Gervais wrote: > I normally do ftp'ing from the command line and today I sturggled to find a > way to ftp a directory and all its subdirectories. any ftp-mirror package should work. i installed this one the other day, which claims to recurse... http://www.ohse.de

Re: Bash and testing a variable

2003-02-11 Thread Robert Tinsley
On Tue, 2003-02-11 at 16:31, Anthony E. Greene wrote: > How about a case statement: > > case $var in >1234567890) i think you mean 1|2|3|4|5|6|7|8|9|0) > do something;; >*) > echo $var is not a number > esac cheers, -- [EMAIL PROTECTED] [ do NOT use the following e-

Re: Bash and testing a variable

2003-02-11 Thread Robert Tinsley
On Tue, 2003-02-11 at 16:07, Gordon wrote: > I've searched all over for an answer to this and haven't found one yet! > > Is there a way in a bash script to test if a variable contains an > integer? I want to create a script that uses some simple arithmetic but > bash bombs out if you try to do a

Re: su and ifconfig, shutdown

2003-02-11 Thread Robert Tinsley
On Tue, 2003-02-11 at 15:13, Robert E. Martin wrote: > >this shouldn't be necessary for root on a stock red hat box, provided > >you "su -" rather than just "su". could you try that and see whether it > >works for you? > Yes this does work. Why is this different from the older versions of > bash?

Re: su and ifconfig, shutdown

2003-02-11 Thread Robert Tinsley
On Tue, 2003-02-11 at 14:34, Robert E. Martin wrote: > Well...here we go again with the dumb questions.. > I am tring to create an alias for the command ifconfig, > > alias ifconfig=/sbin/ifconfig > > when I leave root user and go back to root, the alias I created is gone. > Help!! this shou