- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Not enough room in /tmp when 'sh'ing a patch
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 12:20 AM
05-14-2003 12:20 AM
Other than extending the size of /tmp or deleting files, is there a way of using another filesystem for the unpacking ??
All help rewarded.
Thanks
Simon
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 12:25 AM
05-14-2003 12:25 AM
Re: Not enough room in /tmp when 'sh'ing a patch
#export TMPDIR
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 12:25 AM
05-14-2003 12:25 AM
Re: Not enough room in /tmp when 'sh'ing a patch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 12:26 AM
05-14-2003 12:26 AM
Re: Not enough room in /tmp when 'sh'ing a patch
Yes, the patch files is created in the directory where you unpack the sh-archive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 12:30 AM
05-14-2003 12:30 AM
Re: Not enough room in /tmp when 'sh'ing a patch
mv
#sh
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 12:41 AM
05-14-2003 12:41 AM
Re: Not enough room in /tmp when 'sh'ing a patch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 12:43 AM
05-14-2003 12:43 AM
Re: Not enough room in /tmp when 'sh'ing a patch
if /tmp is not having enough space u can unshar it in any file system which is enough to hold the file. do a bdf on ur system and see if any filesystem is free enough to hold the patch. copy this to that directory and run
#sh
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 12:48 AM
05-14-2003 12:48 AM
SolutionI think you have to edit the sh file and change at the end the next line:
uncompress
mv /tmp/compress$$ PHxx_NNNNN.depot
for this other
uncompress
mv /var/tmp/compress$$ PHxx_NNNNN.depot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 12:49 AM
05-14-2003 12:49 AM
Re: Not enough room in /tmp when 'sh'ing a patch
#mkdir /home/temp
#TMPDIR=/home/temp
#export TMPDIR
Revert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 12:55 AM
05-14-2003 12:55 AM
Re: Not enough room in /tmp when 'sh'ing a patch
rm -f /tmp/uud$$
(echo "begin 666 /tmp/uud$$\n#;VL*n#6%@x\n \nend" | uudecode) >/dev/null 2>&1
if [ X"`cat /tmp/uud$$ 2>&1`" = Xok ]
then
unpacker=uudecode
else
echo Compiling unpacker for non-ascii files
pwd=`pwd`; cd /tmp
Change /tmp to some other dir. And further down also change;
cc -o unpack$$ unpack$$.c
rm unpack$$.c
cd $pwd
unpacker=/tmp/unpack$$
fi
rm -f /tmp/uud$$
And 1 more further down the file;
uncompress
mv /tmp/compress$$ PHSS_28470.depot
Again change /tmp to a new dir; That shuold do it - 3 sections to change. Ive tried it and it works fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2003 12:59 AM
05-14-2003 12:59 AM
Re: Not enough room in /tmp when 'sh'ing a patch
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2282abe92dabd5118ff10090279cd0f9,00.html