Operating System - HP-UX
1836612 Members
3909 Online
110102 Solutions
New Discussion

Re: swinstall causes memory fault (coredump)

 
SOLVED
Go to solution

swinstall causes memory fault (coredump)

I'm trying to do an swinstall on a server running HP-UX 11i and when we run that command the GUI comes up for a second and then disappears and we get 'memory fault (coredump)'. Does anyone know of a fix or workaround for this?

Thanks in advance!
11 REPLIES 11
Steven E. Protter
Exalted Contributor

Re: swinstall causes memory fault (coredump)

Shalom,

/sbin/init.d/swagentd -r

That restarts swagent.

In case its the gui, try it form the command line without the DISPLAY variable set.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Arunvijai_4
Honored Contributor

Re: swinstall causes memory fault (coredump)

Hello,

Check the latest patch available for SD. Also, do a # file and what process caused the core dump.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"

Re: swinstall causes memory fault (coredump)

I looked at the SD patch and there is a later patch that I need to put on, the problem is that I can't since I am getting the memory fault error. I can't install the patch to fix the problem because the problem is keeping me from installing the patch.
uk2999
Advisor

Re: swinstall causes memory fault (coredump)

Have you tried running swinstall w/ -s ?

Re: swinstall causes memory fault (coredump)

Yes, I tried
'swinstall -s //.depot' and it still won't work. I think I need to copy it to a depot, but swcopy gives me the same memory fault errors.
Arunvijai_4
Honored Contributor

Re: swinstall causes memory fault (coredump)

Hello,

Have you tried command line mode without GUI?
# swinstall -s

-Arun

P.S Remember to assign points
"A ship in the harbor is safe, but that is not what ships are built for"

Re: swinstall causes memory fault (coredump)

Thanks for the suggestion, but I'm not sure what you're meaning. I copied the .depot file to a directory (/hysas_5041) because that is the only directory that had enough room. When I tried to install it using 'swinstall -s /hysas_5041/.depot' it starts the GUI and then it fails and gives me the memory fault (core) error message. I can't swcopy the .depot file to our actual depot (/var/spool/sw) because I get the same error. When I try to swinstall without using the GUI it tells me that there is no software in my depot (var/spool/sw) but that's because I can't copy it there.

Ps- I will definitely assign points, I just need to know what fixes this first. Thanks for all the help!!!
Steven E. Protter
Exalted Contributor
Solution

Re: swinstall causes memory fault (coredump)

Shalom again George,

swinstall -s /hysas_5041/.depot \*

You need the shlash star to tell it to install all parts of the depot from the command line.

Its important that you restart swagentd as I recommend earlier and that the UNIX95 variable not be set. This variable can cause checksum errors with swinstall.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com

Re: swinstall causes memory fault (coredump)

SEP-
Thanks. Do I need to start swagentd before or after I run that command? And how do I check to see if UNIX95 variable is set?

Sorry for all the questions!
Muthukumar_5
Honored Contributor

Re: swinstall causes memory fault (coredump)

To restart swagend then,

/sbin/init.d/swagentd stop
/sbin/init.d/swagentd start

To view UNIX95 variable setting then,

# echo $UNIX95

it must be null.

# UNIX95=""
# echo $UNIX95

that is it.

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: swinstall causes memory fault (coredump)

Hello,

Do I need to start swagentd before or after I run that command? And how do I check to see if UNIX95 variable is set?

You need to restart swagentd before running the command.

# echo $UNIX95

It should be null. (sh: UNIX95: Parameter not set.)

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"