httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lamot...@softhome.net
Subject [users@httpd] Re: Restarting Apache
Date Wed, 08 Nov 2006 22:51:26 GMT
Sean Conner writes: 

> It was thus said that the Great Jonathan Horne once stated:
>> On Tuesday 07 November 2006 20:32, Lamotkin@softhome.net wrote:
>> > I'm a newbie to Apache, actually, a dummy (:
>> >
>> > Can someone please explain to me,
>> > why am I allowed to restart Apache with
>> >
>> > httpd -k {restart|graceful}
>> >
>> > while working in shell interactively,
>> > and am failed to do so if it's done
>> > as a part of shell script started by cron?
>> > 
>> 
>> my first guess, would that maybe you didnt include the path to the binary in 
>> your cron statement?
> 
>   I was thinking the cron job might be running as the wrong user myself ...  
> 
>   -spc (But this is getting into the realm of OS issues, not Apache ... ) 
> 

Thank you very much, guys, and sorry for disturbing.
I fixed the problem by adding the job to the 'root' user crontab
(I did it to an ordinary user crontab before).
Thanks again! 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message