Operating System - HP-UX
1834400 Members
3127 Online
110067 Solutions
New Discussion

swinstall - I/O error, /tmp or /usr/tmp not big enough

 
Hue Vang
Occasional Contributor

swinstall - I/O error, /tmp or /usr/tmp not big enough

HI,

I cannot get the swinstall utility to work when I tried to install Ignite-ux bundle.
The error says that I do not have enough space in the tmp or /usr/tmp directory. My /tmp is 60 Mb and I also increased to 80 Mb and still receiving the same message. Could it be something else??

System is:
HP 9000 E25, 64 Mb RAM, 2 Gig HDD, 11.0 hp-ux.

Any ideas where I went wrong?

Thanks
5 REPLIES 5
Rita C Workman
Honored Contributor

Re: swinstall - I/O error, /tmp or /usr/tmp not big enough

I'm not sure...but maybe we could begin by ruling out some things.
First thought, you said you have /tmp now at 8mb. But how much is actually free?? (I generally set /tmp to about 100mb or so....but that's a personal decision)
Second idea, if you have enough space in /tmp, then I might try stopping swagentd and restarting
/sbin/init.d/swagentd stop
/sbin/init.d/swagentd start
...then retry the install..

Just a couple things to try...no guarantees !

/rcw

Andy Monks
Honored Contributor

Re: swinstall - I/O error, /tmp or /usr/tmp not big enough

Have a look at the swinstall.log, swagent.log and swagentd.log files. It will tell you how much space it's actually looking for.

Then size the filesystems according to it's recommendations.
Bill Hassell
Honored Contributor

Re: swinstall - I/O error, /tmp or /usr/tmp not big enough

Your system:

HP 9000 E25, 64 Mb RAM, 2 Gig HDD, 11.0 hp-ux.

is extremely small, especially the disk. I don't think you can even buy a 2 Gb disk anymore.

/tmp is OK at 30 to 50 megs but /var should be 750 to 2500 megs in size depending on what you need for the apps that you are running. Your problem with swinstall will continue to get worse.../var/adm/sw will grow with every patch and application. Time for a lot more disk space.

NOTE: there is no such directory as /usr/tmp. Use the command:

ll -d /usr/tmp

Just like /bin and /lib, these are obsolete directory names and your system is using transition links (aka, symbolic links) to keep the old paths alive. You need to add lots of space to /var/tmp. (the swinstall error message needs to be updated)


Bill Hassell, sysadmin
TILLY
New Member

Re: swinstall - I/O error, /tmp or /usr/tmp not big enough

I have got the same message with 1 Gb free space in /tmp and /usr/tmp and solved with the following:

The file /var/adm/sw/.codewords does not exist and need to be created.
touch /var/adm/sw/.codewords
Bill McNAMARA_1
Honored Contributor

Re: swinstall - I/O error, /tmp or /usr/tmp not big enough

Problem caused by patch unpacking..
sh PHSS_1234
for exa,ple..;

you can try to unpack it on another server
with more disk space and swreg the depot
then install it over the network
After touching /var/adm/sw/PATCH_NOSAVE
but there are disadvantages of doing that
you might want to man swinstall

Make an ignite tape before installing the
patch. you can download that free and it's not
so big from software.hp.com/products/IUX/

Use bdf in anycase to report filesystem sizes
you might want to increase their size.


Later,
Bill
It works for me (tm)