- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /etc/resolv.conf file always be changed automatica...
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
Discussions
Discussions
Forums
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
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
тАО11-17-2010 07:56 AM
тАО11-17-2010 07:56 AM
Re: /etc/resolv.conf file always be changed automatically
Verify the permissions of the file. It should be owned by root and have 644 (-rw-r--r--) permission mode. Therefore whatever is changing it is running as root.
Check if there is a batch scheduling tool installed other than cron.
Check if you have sudo installed and which users are allowed to run commands via sudo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2010 06:28 PM
тАО11-17-2010 06:28 PM
Re: /etc/resolv.conf file always be changed automatically
But I can not find /var/cfengine in the server.
DiaoXin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2010 06:51 PM
тАО11-17-2010 06:51 PM
Re: /etc/resolv.conf file always be changed automatically
tcpdump is not installed .
I checked the permission of /etc/resolv.conf , it is 644 . and we use sudo in the server , but I find some users in sudoers file and I can not delete them because I am not sure whether they are necessary for some applications .
For the batch scheduler not cronjob , sorry I don't know how to check it in the server . Can you give me any ideas?
Diaoxin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2010 06:52 PM
тАО11-17-2010 06:52 PM
Re: /etc/resolv.conf file always be changed automatically
Use HIDS to find out whats happening.
Tcpdump in that time is a good idea.
If its non-prod or if you can afford, take the network down for the said period and see if it happens just to isolate the cause being from n/w or local.
Think when the issue started and if you get a date/time, see what was changed if your change control is good.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2010 10:11 PM
тАО11-17-2010 10:11 PM
Re: /etc/resolv.conf file always be changed automatically
You can install it from:
http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/tcpdump-4.1.1/
Best regards,
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2010 10:17 PM
тАО11-17-2010 10:17 PM
Re: /etc/resolv.conf file always be changed automatically
The " last " command can not works ,it shows the error "Invalid record size. Unable to continue ...".
diaoxin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2010 10:19 PM
тАО11-17-2010 10:19 PM
Re: /etc/resolv.conf file always be changed automatically
This means that you have a corrupted wtmp file.
You must do this:
cat /dev/null > /var/adm/wtmp
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2010 10:23 PM
тАО11-17-2010 10:23 PM
Re: /etc/resolv.conf file always be changed automatically
Just figure out which wtmp you have by running ls on /var/adm.
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2010 10:25 PM
тАО11-17-2010 10:25 PM
Re: /etc/resolv.conf file always be changed automatically
I run the commands as below,
server# cat /dev/null > /var/adm/wtmps
server# last
WTMPS_FILE begins at Thu Jan 1 07:59:59
it works.
diaoxin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-17-2010 10:26 PM
тАО11-17-2010 10:26 PM
Re: /etc/resolv.conf file always be changed automatically
Horia.
Horia.