Operating System - HP-UX
1826790 Members
1729 Online
109702 Solutions
New Discussion

Re: HPUX 11i Sam Core dump when started

 
Hui Kuan ANG
Occasional Advisor

HPUX 11i Sam Core dump when started

Hi!

Before i intalled the DCE Tools on the HPUX11i server, i can start sam perfectly. After installation, it core dump. The following is the error message:

/usr/lib/dld.sl: Cannot find path for shared library: libdcekt.1
/usr/lib/dld.sl: No such file or directory
/usr/sbin/sam[220]: 3155 Abort(coredump)

The /usr/lib/dld.sl file has not been overwritten by the installation. I tried to uninstall the dce tools but sam still core dump.

There is an existing sam patch installed: PHCO_24118. Any idea what happens?


13 REPLIES 13
Michael Tully
Honored Contributor

Re: HPUX 11i Sam Core dump when started

Hi,

You could try and reinstall the existing patch again, but the best idea maybe to try installing the latest SAM cumulative patch
PHCO_25870. Make sure that you create an ignite tape before loading any patch. The SAM patch does not require an outage.

Cheers
~Michael~
Anyone for a Mutiny ?
Hui Kuan ANG
Occasional Advisor

Re: HPUX 11i Sam Core dump when started

Hi Michael,

I've already tried to installed patch PHCO_25870, but the problem persists.

Regards
Hui Kuan

U.SivaKumar_2
Honored Contributor

Re: HPUX 11i Sam Core dump when started

Hi,
#cat /etc/SHLIB_PATH
Can you find /usr/lib in the output , if not add the entry to the above file.

regards,
U.SivaKumar
Innovations are made when conventions are broken
Hui Kuan ANG
Occasional Advisor

Re: HPUX 11i Sam Core dump when started

Hi U.SivaKumar,

Yes, /usr/lib is already in /etc/SHLIB_PATH

Regards
Hui Kuan
Michael Tully
Honored Contributor

Re: HPUX 11i Sam Core dump when started

Hi,

Can you check the permissions on:

# ll /usr/lib/dld.sl
-r-xr-xr-x 1 bin bin 155648 Nov 14 2000 /usr/lib/dld.sl

Michael
Anyone for a Mutiny ?
Hui Kuan ANG
Occasional Advisor

Re: HPUX 11i Sam Core dump when started

Hi Michael,

It's exactly the same as that you've stated above.

Regards
Hui Kuan
U.SivaKumar_2
Honored Contributor

Re: HPUX 11i Sam Core dump when started

hi,
Check the permissions of this file.
/etc/sam/custom/default.tp should be only readable to root .
-r-------- 1 root bin 643 Oct 27 1997 default.tp
Also you try restoring /etc/sam files from /usr/newconfig/etc/sam

regards,
U.SivaKumar

Innovations are made when conventions are broken
Wilfred Chau_1
Respected Contributor

Re: HPUX 11i Sam Core dump when started

Is it the DCE Kernel Thread bundle?
If it is, remove it. Not for 11i.

swlist -l product |grep -i dce

You should see one has already been installed.

Only need to install that on a 11.0 system.

Michael Tully
Honored Contributor

Re: HPUX 11i Sam Core dump when started

Hi,

I am fairly sure that removing the DCE filesets which has also removed the transition links. Have a look at the man page for 'tlinstall'. Running this should fix it. It puts back the old links that may have gone missing through this type of installation and removal.

Michael
Anyone for a Mutiny ?
Hui Kuan ANG
Occasional Advisor

Re: HPUX 11i Sam Core dump when started

Hi All,

Even if before i uninstall the DCE tools, Sam already coredump. Same happens after uninstalling it.

I've checked the following also and its correct.
-r-------- 1 root bin 643 Oct 27 1997 default.tp

The only file newly created in /etc/sam is reg_dirs.db which cannot be found in /usr/newconfig/etc/sam. I've also tried to search for the file in the system, but there isn't any other copy

I've tried running tlinstall also, it doesn't seems to help.

I've checked the core, there is this error:
-----------
/usr/lib/dld.sl
ERROR: mmap failed for DLD
ERROR: mmap failed for TSD
No Error!?
Invalid Magic number
/dev/config - permission denied
...
-----------------

the permission for /dev/config is
crw-r--r-- 1 root sys 69 0x000000 Oct 19 2001 config

Any more ideas?
U.SivaKumar_2
Honored Contributor

Re: HPUX 11i Sam Core dump when started

Hi,
Suspect the reg_dirs.db is the problem.
please compare the file which i have attached
with your's.
If anything differs , move that old file and put my file with proper old permissions and
try again.

Also check whether you have got a user named
sam_exec in /etc/passwd file.

regards,
U.SivaKumar

Innovations are made when conventions are broken
U.SivaKumar_2
Honored Contributor

Re: HPUX 11i Sam Core dump when started

Hi,
Also check for the permission of that file . it should be
--r--r--r-- 1 root bin 79 Feb 14 15:26 /etc/sam/reg_dirs.db

regards,
U.SivaKumar
Innovations are made when conventions are broken
Hui Kuan ANG
Occasional Advisor

Re: HPUX 11i Sam Core dump when started

Hi everyone!

I'm not sure what happens. But after i install DCE tools for HPUX 11.00, sam seems to be up and running again. It went dead if i install DCE for HPUX 11.11. The strange thing is that OS i'm using is HPUX 11.11.

Thanks everyone for your help! 8)

Regards
Hui Kuan