- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Files in /var/adm/syslog
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
01-17-2003 02:05 AM
01-17-2003 02:05 AM
I hv one N- Class server , having 2 vpars ,
The main partition (OS is 11i)shows following file in /var/adm/syslog , the attributes of the files are also unknown & when i try to remove them it shows file does not exists ...
what could be the reason ..is it some OS problem
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 02:10 AM
01-17-2003 02:10 AM
Re: Files in /var/adm/syslog
No the problem is that the rm command can not locate your files. You can use
# rm -- file name
just execute this command for every file you want to delete.
Kind regards,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 02:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 02:17 AM
01-17-2003 02:17 AM
Re: Files in /var/adm/syslog
when i try to remove the file i get the following message
"file non-existent"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 02:20 AM
01-17-2003 02:20 AM
Re: Files in /var/adm/syslog
find the inode of the file and remove it then:
# ls -i
# find
Perhaps that helps.
Regards ...
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 02:21 AM
01-17-2003 02:21 AM
Re: Files in /var/adm/syslog
Eugeny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 02:23 AM
01-17-2003 02:23 AM
Re: Files in /var/adm/syslog
you have file names with spaces, perhaps a result of failed redirection. Try to get hold of the file names first by quoting, e.g.
# ls -l "64, minor i"
or by using single qoutes. Then you can remove them.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2003 02:27 AM
01-17-2003 02:27 AM
Re: Files in /var/adm/syslog
it's not OS problem. you can remove the files as mentioned in the previous posts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2003 11:37 AM
01-18-2003 11:37 AM
Re: Files in /var/adm/syslog
rm garbage
Do that with each file!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2003 01:40 PM
01-18-2003 01:40 PM
Re: Files in /var/adm/syslog
ll -ab
Since there aren't very many files, use this command to remove the files interactively:
/usr/bin/rm -i * .[!.]*
The first * takes care of finding files that don't start with a . and the second string finds files that start with a . but excludes the special directory file ..
You then answer y to each filename that you want to remove and n to leave the file. As mentioned, run fsck on this filesystem. Since it is the /var directory, ypou'll need to go int single user mode since virtually everything has active files in /var.
Bill Hassell, sysadmin