Operating System - HP-UX
1845825 Members
3399 Online
110250 Solutions
New Discussion

"execute permission denied" at system startup/shutdown

 
Bart_6
Advisor

"execute permission denied" at system startup/shutdown

In the rc.log file several startup/kill scripts give "execute permission denied[xx].Within every script the error occurs when the rc.config file is being sourced (. rc.config)
All my S/K scripts,rc.config are unchanged.
oh no.... not THAT again
5 REPLIES 5
Kellogg Unix Team
Trusted Contributor

Re: "execute permission denied" at system startup/shutdown

Hi,

Is your default shell for root changed? I am assuming that you have already checked the permissions of rc files.

...Manjeet
work is fun ! (my manager is standing behind me!!)
Helen French
Honored Contributor

Re: "execute permission denied" at system startup/shutdown

One possibility is an issue with /etc/rc.config.d directory. Check this directory and make sure that you don't have any unnecessary files here (any copies of files, any old files, orginial files etc). This directory should only contain the configuration files. It's possible that somebody kept a copy of a file here before editing it. Also check the permissions of all files and directories.
Life is a promise, fulfill it!
melvyn burnard
Honored Contributor

Re: "execute permission denied" at system startup/shutdown

have you checked te files in /sbin/init.d to ensure there are no changes there?
What, if any, other changes have been made to this system?
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Bart_6
Advisor

Re: "execute permission denied" at system startup/shutdown

Default shell for root hasn't changed,execute permissions are in place.No old files in /etc/rc.config.d directory

I know of no changes that sould have affected the system startup
oh no.... not THAT again
Bart_6
Advisor

Re: "execute permission denied" at system startup/shutdown

I just found out what was wrong.
One of the files in the /etc/rc.config.d directory contained a ~ character which ofcourse is replaced by the user's home directory which is ofcourse not an executable file.
obviously someone copied in a faulty config file.

thx for all your suggestions
oh no.... not THAT again