Operating System - HP-UX
1832502 Members
4622 Online
110043 Solutions
New Discussion

Re: mk_kernel: config: Execute permission denied.

 
Govinda
Advisor

mk_kernel: config: Execute permission denied.

hi,

this is a strange problem for me..

when i try to create new kernel i am getting the following " Execute Permission denied " Error.. please help.

/usr/sbin/mk_kernel: config: Execute permission denied.


thanks & regards,
Govind.
5 REPLIES 5
Sridhar Bhaskarla
Honored Contributor

Re: mk_kernel: config: Execute permission denied.

Hi Govind,

See if the file /usr/sbin/config is owned by bin:bin with 555 permissions. Compare it with another system.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Govinda
Advisor

Re: mk_kernel: config: Execute permission denied.

hi sri,

ll /usr/sbin/config
-r-xr-xr-x 1 bin bin 48128 Oct 1 21:17 /usr/sbin/config

its the same in other system also.

regards,
Govind.
Cheryl Griffin
Honored Contributor

Re: mk_kernel: config: Execute permission denied.

/etc/config is a link.
# ll /etc/config
lrwxr-xr-t 1 root sys 16 Oct 8 2003 /etc/config -> /usr/sb
in/config

What are the results of:
# what /etc/config

The link might be broken or the file may be corrupt.
"Downtime is a Crime."
Govinda
Advisor

Re: mk_kernel: config: Execute permission denied.

# ll /etc/config
lr-xr-xr-t 1 root sys 16 Apr 12 2004 /etc/config -> /usr/sbin/config

feels likw this file is corrupted..

how do i resote/recreate this file

regards,
Govind
Cheryl Griffin
Honored Contributor

Re: mk_kernel: config: Execute permission denied.

Do you have it on a backup?

By chance a make_tape_recovery? If so,
# cd /
# mt fsf 1
# tar xvf /dev/rmt/0mn usr/sbin/config
# mt rew

Alternatively you can copy it from another system that is alike in version.
The file is originally installed with the OS-Core.CORE-KRN fileset.
"Downtime is a Crime."