Operating System - HP-UX
1834640 Members
3102 Online
110069 Solutions
New Discussion

Re: hp-ux 11i v3 rc.log error

 
SOLVED
Go to solution
Asim_5
Frequent Advisor

hp-ux 11i v3 rc.log error

i am getting the Execute permission denied error whenever i start down the mission or the mission at startup shown the errors.

i have attached the file,
kindly someone help me how to remove the execute denied error.
8 REPLIES 8
Yogeeraj_1
Honored Contributor

Re: hp-ux 11i v3 rc.log error

hi,

Any error messages in your /var/adm/syslog/syslog.log?

revert
kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Dennis Handly
Acclaimed Contributor

Re: hp-ux 11i v3 rc.log error

This error occurs because there is no command before the name of your filesystem:
/sbin/rc1.d/S320hostname[36]: /dev/vg00/lvol3: Execute permission denied.

What's on line 36 of S320hostname?

Possibly it's like: $MOUNT /dev/vg00/lvol3
were the variable $MOUNT isn't defined?

You could also have some garbage files in your /etc/rc.config.d directory?
Yogeeraj_1
Honored Contributor

Re: hp-ux 11i v3 rc.log error

Dennis:

Problem is not just with the first script, the following ones also are generating similar errors:

/sbin/rc1.d/S320hostname[36]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc2.d/S020evm[67]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc2.d/S130pfilboot[5]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc2.d/S131ipfboot[5]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc2.d/S356dhcpv6.server[32]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc2.d/S360dhcpv6.client[40]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc2.d/S490mrouted[39]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc2.d/S500inetd[38]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc2.d/S510gated[38]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc2.d/S530rwhod[39]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc2.d/S538rtradvd[48]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc2.d/S540sendmail[115]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc2.d/S550ddfa[40]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc2.d/S560SnmpMaster[163]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc2.d/S565OspfMib[74]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc2.d/S565SnmpHpunix[203]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc2.d/S565SnmpIpv6[197]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc2.d/S565SnmpMib2[207]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc2.d/S565SnmpNaa[191]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc2.d/S565SnmpTrpDst[208]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc2.d/S590Rpcd[30]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc2.d/S606runner[21]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc2.d/S660xntpd[37]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc2.d/S700acct[39]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc2.d/S742diagnostic[28]: /dev/vg00/lvol1: Execute permission denied.
/sbin/rc2.d/S800spa[39]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc2.d/S900drd[21]: /dev/vg00/lvol1: Execute permission denied.
/sbin/rc2.d/S910rstEMSlistener[65]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc3.d/S823hpws_apache[46]: /dev/vg00/lvol3: Execute permission denied.
/sbin/rc3.d/S823hpws_tomcat[46]: /dev/vg00/lvol8: Execute permission denied.
/sbin/rc3.d/S823hpws_webmin[45]: /dev/vg00/lvol8: Execute permission denied.
/sbin/rc3.d/S823hpws_webproxy[44]: /dev/vg00/lvol8: Execute permission denied.
/sbin/rc3.d/S823hpws_xmltools[42]: /dev/vg00/lvol8: Execute permission denied.
/sbin/rc3.d/S828kwdbd[159]: /dev/vg00/lvol7: Execute permission denied.
/sbin/rc3.d/S998amgrd[59]: /dev/vg00/lvol1: Execute permission denied.



Investigating further, we find that the following line is at the source in every case:
. /etc/rc.config


We need to get more information on the /etc/rc.config file here


revert!

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Dennis Handly
Acclaimed Contributor

Re: hp-ux 11i v3 rc.log error

yogeeraj: We need to get more information on the /etc/rc.config file here

Then this is likely the garbage file in /etc/rc.config.d, I mentioned.
See this thread:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1216844
TTr
Honored Contributor

Re: hp-ux 11i v3 rc.log error

Is the server booted up after all this? or can you boot in single user mode?

Check all the permissions of the major system directories including root, (/) (ls -ld /).

Also check the /etc/fstab for any weird mount options.
Yogeeraj_1
Honored Contributor
Solution

Re: hp-ux 11i v3 rc.log error

Dennis: Thank you for the insight.
TTr: Read Dennis reply above. there is definitely a "problem" file in /etc/rc.config.d

If you go through the rc.log, you will also observe, that the system did finally start.

Asim:
# cd /etc/rc.config.d/
# ll -rtl

the last few files (i.e. changed recently) needs to be verified.


revert!
kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Asim_5
Frequent Advisor

Re: hp-ux 11i v3 rc.log error

thx yogeeraj there is one file @ which is deleted and now problem solved.

thx
Asif Sharif
Honored Contributor

Re: hp-ux 11i v3 rc.log error

Salam Asim,

If your problem solved then please assign points and close the thread.
http://forums11.itrc.hp.com/service/forums/helptips.do?#28

Regards,
Asif Sharif
Regards,
Asif Sharif