HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: strange problem: "file cannot access: No such ...
Operating System - HP-UX
1834150
Members
2268
Online
110064
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
Forums
Discussions
Discussions
Discussions
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
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
12-18-2003 10:20 AM
12-18-2003 10:20 AM
I just backup my system using make_tape_recovery, there's a warning inside:
...
pax: home/oracle/D:\iasm8home/oracle/verisign_cert.sh : No such file or directory
WARNING: The pax command returned a non-zero exit status (exit status 1)
WARNING: The pax command returned a non-zero exit status (exit status 1)
* Creation of system archive complete
...
I check the folder '/home/oracle', it did have a strange file:
#ll
...
-rw-r----- 1 oracle oinstall 74 Jul 24 11:58 D:\iasm8\click\log\clickstreamAgent.log
...
then i tried:
# mv D:\iasm8\click\log\clickstreamAgent.log abc
mv: D:iasm8clicklogclickstreamAgent.log: cannot access: No such file or directory
# rm D:\iasm8\click\log\clickstreamAgent.log
rm: D:iasm8clicklogclickstreamAgent.log non-existent
So, how can i get rid of that file ?
Thanks!
...
pax: home/oracle/D:\iasm8home/oracle/verisign_cert.sh : No such file or directory
WARNING: The pax command returned a non-zero exit status (exit status 1)
WARNING: The pax command returned a non-zero exit status (exit status 1)
* Creation of system archive complete
...
I check the folder '/home/oracle', it did have a strange file:
#ll
...
-rw-r----- 1 oracle oinstall 74 Jul 24 11:58 D:\iasm8\click\log\clickstreamAgent.log
...
then i tried:
# mv D:\iasm8\click\log\clickstreamAgent.log abc
mv: D:iasm8clicklogclickstreamAgent.log: cannot access: No such file or directory
# rm D:\iasm8\click\log\clickstreamAgent.log
rm: D:iasm8clicklogclickstreamAgent.log non-existent
So, how can i get rid of that file ?
Thanks!
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 10:28 AM
12-18-2003 10:28 AM
Solution
I would do a rm -i D*. This will prompt you for a y/n before unlinking the file. After your file has been listed and removed, hit Ctrl-C (or whatever your INTR is set to) to terminate the rm command.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 10:31 AM
12-18-2003 10:31 AM
Re: strange problem: "file cannot access: No such file or directory"
Hi,
rm -i *iasm*
or ls -li *iasm*
first col is inode
find ./ -inum ... -exec rm -i "{}" ";"
greetings,
Michael
rm -i *iasm*
or ls -li *iasm*
first col is inode
find ./ -inum ... -exec rm -i "{}" ";"
greetings,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2003 02:43 PM
12-18-2003 02:43 PM
Re: strange problem: "file cannot access: No such file or directory"
The problem is that the filename contains \ characters which have special meaning to shells. In this case, each \ means that the next character is to be interpreted without special processing. And the rm command never sees the \ character. The secret is remove the special meaning of \ by adding another \ as in:
rm D:\\iasm8\\click\\log\\clickstreamAgent.log
Ont the other hand, you could let the shell use pattern matching to find the file. Try:
echo D:*
echo *Agent.log
If either of these returns just the require filename, change echo to rm and the file will be gone. This file exists because you are likely sharing files with PC users.
Bill Hassell, sysadmin
rm D:\\iasm8\\click\\log\\clickstreamAgent.log
Ont the other hand, you could let the shell use pattern matching to find the file. Try:
echo D:*
echo *Agent.log
If either of these returns just the require filename, change echo to rm and the file will be gone. This file exists because you are likely sharing files with PC users.
Bill Hassell, sysadmin
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP