- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Changing mtime of a file
Operating System - HP-UX
1752788
Members
6178
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО07-23-2009 05:02 PM
тАО07-23-2009 05:02 PM
Hi, I am using hp unix 11.11 on "HP-UX mesprim B.11.11 U 9000/800 3680449747 unlimited-user license" server
I performed "swverify B3394BA" and in the resulting log, i saw that it was complaining that files /usr/old/usr/bin/bfs and /usr/sbin/cuegetty have "0" size. I coppied (ftp) these files from another same type of server and then again issued "swverify B3394BA" and now i see following
ERROR: File "/usr/old/usr/bin/bfs" should have mtime "974188800" but
the actual mtime is "1248395913".
ERROR: File "/usr/sbin/cuegetty" should have mtime "974188800" but
the actual mtime is "1248395946".
I tried to change mtime using following command but gain error. Please help
# touch -t 974188800 "/usr/old/usr/bin/bfs
date: bad conversion
Thanks
Salman
I performed "swverify B3394BA" and in the resulting log, i saw that it was complaining that files /usr/old/usr/bin/bfs and /usr/sbin/cuegetty have "0" size. I coppied (ftp) these files from another same type of server and then again issued "swverify B3394BA" and now i see following
ERROR: File "/usr/old/usr/bin/bfs" should have mtime "974188800" but
the actual mtime is "1248395913".
ERROR: File "/usr/sbin/cuegetty" should have mtime "974188800" but
the actual mtime is "1248395946".
I tried to change mtime using following command but gain error. Please help
# touch -t 974188800 "/usr/old/usr/bin/bfs
date: bad conversion
Thanks
Salman
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2009 06:00 PM
тАО07-23-2009 06:00 PM
Solution
"man touch" should explain the time format
which "touch" uses, which is, apparently, not
what swverify reports.
> I coppied (ftp) these files [...]
You might try using "tar" to bundle these
files, and their attributes, into a "tar"
archive, then transfer that, and then extract
the files from that.
which "touch" uses, which is, apparently, not
what swverify reports.
> I coppied (ftp) these files [...]
You might try using "tar" to bundle these
files, and their attributes, into a "tar"
archive, then transfer that, and then extract
the files from that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2009 06:17 PM
тАО07-23-2009 06:17 PM
Re: Changing mtime of a file
Thanks
TARing solved the issue :)
Salman
TARing solved the issue :)
Salman
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP