- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Patches rollback Save Directory
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
03-14-2007 09:16 PM
03-14-2007 09:16 PM
Patches rollback Save Directory
I am having a problem that my HP-UX box 11.11 is not understanding the patch database which i was removed earlier.
But now when i have moved the files to a proper location from where i had made a tar.System still does not understands it.
a snippet of my swlist command is belows.
bash-2.04# swlist -l patch
# Initializing...
# Contacting target "mercury"...
#
# Target: mercury:/
#
# gcc 4.1.1 gcc
# gcc.gcc-INC
# gcc.gcc-MAN
# gcc.gcc-RUN
# gettext 0.16 gettext
# gettext.gettext-MAN
# gettext.gettext-RUN
# gettext.gettext-SHLIBS
# libgcc 4.1.1 libgcc
# libgcc.libgcc-RUN
# libiconv 1.11 libiconv
# libiconv.libiconv-RUN
# make 3.81 make
# make.make-RUN
See here none of patch is hsowing.
Thanks in advance.
Ajay Shikhare
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2007 09:46 PM
03-14-2007 09:46 PM
Re: Patches rollback Save Directory
What exactly did you remove?
It could be you have a corrupt IPD (index file). Try this to resolve it.
# cd /var/adm/sw/products
# mv INDEX INDEX.bad
# cd /tmp
# vi void.psf
product
tag void
fileset
tag void
:wq!
# swpackage -s /tmp/void.psf
# swinstall void
# swremove void
# rm void.psf
# swremove -d void
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2007 09:55 PM
03-14-2007 09:55 PM
Re: Patches rollback Save Directory
U r talking about which patch database ?
Is it /var/adm/sw ?
If yes then why u have deleted the patch database?
If u want to reclaim some space in /var filesystem then u have to use patch cleanup utility, see
# man cleanup
This will cleanup the comitted patch and u can gain some space.
if u r not getting proper o/p of
# swlist -l patch
then /var/adm/sw may be corrupted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2007 09:57 PM
03-14-2007 09:57 PM
Re: Patches rollback Save Directory
See i tarred save folder and kept it under root. to save my server from space crunch.
Now i need to put some patches. Is there any way i can build the repository again.
May be i am new to HP-UX.
But you help would definetaly help.
Thanks in advance.
Ajay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2007 10:05 PM
03-14-2007 10:05 PM
Re: Patches rollback Save Directory
But even if i have put the files back in the place.its not working.
I guess its not recognising the files present in the folder or something sort of that.
Another thing is it works like a INDEX file in the saved file folder. and so if i can create a INDEX file fron that.
Regards
Ajay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2007 10:43 PM
03-14-2007 10:43 PM
Re: Patches rollback Save Directory
Am I messed my HP-UX box big time.
Please help.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2007 11:11 PM
03-14-2007 11:11 PM
Re: Patches rollback Save Directory
Don't get upset.
Just give following info.
Which files/dir u have backed up / copied?
What is utility used for backup/copy ?
How and where have u restored?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2007 11:16 PM
03-14-2007 11:16 PM
Re: Patches rollback Save Directory
Do u have Ignite Backup of ur system? If yes then try to restore from it .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2007 11:22 PM
03-14-2007 11:22 PM
Re: Patches rollback Save Directory
I first did tar of /var/adm/sw/save directory to / since root had more free space. Then I straight away deleted the files present in save directory.
I knew the fact that that files need to be there so os understands about the installed patches and same can be revert back.
Now since I have untarred the file in right directory. I am not able to see the patch database of my box.
Changed the permission too, tried many things but no help.
Thanks in advance.
Ajay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2007 04:48 PM
03-17-2007 04:48 PM
Re: Patches rollback Save Directory
The real issue is that your swlist does not see some very important products. I would like you to run the command:
swlist -l fileset OS-Core
If this command fails, then more is missing than just the rollback files. The only simple answer at that point would be to backup data and reinstall (I am assuming that no IUX recovery image exists).
My assumption is that all of /var/adm/sw was removed at one point as only contributed software is being listed.