Operating System - HP-UX
1834394 Members
2002 Online
110066 Solutions
New Discussion

Re: database startup automatically upon server restart in /etc/inittab

 
SOLVED
Go to solution
apple
Super Advisor

Re: database startup automatically upon server restart in /etc/inittab

do i need to change for both files the permission? hope to hear from you. thank you
Dennis Handly
Acclaimed Contributor

Re: database startup automatically upon server restart in /etc/inittab

>do I need to change for both files the permission?

No, only the real one, permissions on symlinks don't matter.
Yogeeraj_1
Honored Contributor

Re: database startup automatically upon server restart in /etc/inittab

hi,

In this case, symbollic links are created by root and the source file should be owned by bin:bin or root:sys.

you should perform the following operations on your script:

chmod 755 /sbin/init.d/monitor_sybaseiq.sh
and
chown bin:bin /sbin/init.d/monitor_sybaseiq.sh

or
chown root:sys /sbin/init.d/monitor_sybaseiq.sh

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