- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- File deletion
Operating System - HP-UX
1752801
Members
5743
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
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
тАО06-19-2011 11:02 PM
тАО06-19-2011 11:02 PM
File deletion
We have two HP UX systems.
One of the file systems of Machine1 is mounted on Machine2.
We have some Java classes using file.delete method to clean up the left out files.
Whenever these classes are run, sometimes the files get deleted properly and sometimes they don't. We are not getting why the files are not getting deleted.
Additional info:
* The files are used only for reading. So, there is no chance for any process to lock them for writing.
* Proper directory and file permissions exist.
* No ERROR messages in the logs.
* No connectivity issues.
Any problem with NFS file system??
Any patches available?
Please help.
One of the file systems of Machine1 is mounted on Machine2.
We have some Java classes using file.delete method to clean up the left out files.
Whenever these classes are run, sometimes the files get deleted properly and sometimes they don't. We are not getting why the files are not getting deleted.
Additional info:
* The files are used only for reading. So, there is no chance for any process to lock them for writing.
* Proper directory and file permissions exist.
* No ERROR messages in the logs.
* No connectivity issues.
Any problem with NFS file system??
Any patches available?
Please help.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2011 11:17 PM
тАО06-19-2011 11:17 PM
Re: File deletion
That's strange, either it should work on not.
You could use tusc on the failing case and see why it fails.
Are these classes using absolute path or relative? If the latter, could the CWD some how being changed to something unexpected for the delete?
You could use tusc on the failing case and see why it fails.
Are these classes using absolute path or relative? If the latter, could the CWD some how being changed to something unexpected for the delete?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2011 11:23 PM
тАО06-19-2011 11:23 PM
Re: File deletion
Hi Dennis,
Yes, even we wondered when it was only with some files and and not ALL. But this is the existing situation.
We do not have any error/warning messages in any of the logs.
The classes use absolute path to locate the files.
Yes, even we wondered when it was only with some files and and not ALL. But this is the existing situation.
We do not have any error/warning messages in any of the logs.
The classes use absolute path to locate the files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-26-2011 08:01 PM
тАО06-26-2011 08:01 PM
Re: File deletion
>even we wondered when it was only with some files and and not ALL.
Is the difference due to different directories or all in one directory?
>We do not have any error/warning messages in any of the logs.
tusc would help, if you can duplicate the problem.
Is the difference due to different directories or all in one directory?
>We do not have any error/warning messages in any of the logs.
tusc would help, if you can duplicate the problem.
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