[CentOS] executable on /etc/rc.local doesn't start

Mike Kercher mike at vesol.com
Thu Jul 20 16:50:54 UTC 2006


Have you tried the rc script that someone provided?  It probably won't
start from rc.local because all of the environment variables are not
set.

Mike



________________________________

	From: centos-bounces at centos.org
[mailto:centos-bounces at centos.org] On Behalf Of Mark Quitoriano
	Sent: Thursday, July 20, 2006 11:16 AM
	To: CentOS mailing list
	Subject: Re: [CentOS] executable on /etc/rc.local doesn't start
	
	
	i also tried to put the absolute path name for each scripts but
it still doesn't work.
	
	
	On 7/20/06, Collins Richey < crichey at gmail.com
<mailto:crichey at gmail.com> > wrote: 

		On 7/19/06, Mark Quitoriano < markquitoriano at gmail.com
<mailto:markquitoriano at gmail.com> > wrote:
		> hi yes it works.
		> when i start this manually i don't have problem but
when i put the same
		> command on /etc/rc.local the tomcat doesn't start.
		>
		
		I haven't been following this too closely, but the usual
reason for 
		this discrepancy - works when executed manually but
fails in a
		boot-time script or cron script, is reliance on the
shell environment.
		Does each command executed by your script use absolute
path names or
		do some of them rely on a (maybe not available at
rc.local time) $PATH
		setting?
		
		--
		Collins Richey
		     If you fill your heart with regrets of yesterday
and the worries
		     of tomorrow, you have no today to be thankful for.
		_______________________________________________ 
		CentOS mailing list
		CentOS at centos.org
		http://lists.centos.org/mailman/listinfo/centos
		




	-- 
	Regards,
	Mark Quitoriano, CCNA
	
	Fan the flame...
	http://www.spreadfirefox.com/?q=user/register&r=19441 




More information about the CentOS mailing list