06-24-2010
DNS and NTP strange problem
Hi,
I'm having problem with my DNS and NTP.
For the DNS:
I'm using RHEL4, Bonding and heartbeat.
Bond0 IP address: 192.168.1.10
Heartbeat or Bond0:0: 192.168.1.50
Currently, I use my heartbeat ip address for my DNS or in named.conf
Everytime I reboot my server, it says that dns/named successfully started but when I type nslookup in shell, it did not show anything at all. But when I restart named by using "/etc/init.d/named restart" I able to nslookup my dns configuration.
I'm confused, what's going on? shouldnt redhat startup process starts my named? why do I need to restart again.. anyone can help?
--------------------------------------------------------------
For the NTP:
I'm using RHEL4, Bonding and heartbeat.
Bond0 IP address: 192.168.1.10
Heartbeat or Bond0:0: 192.168.1.50
I use NTP for server and client. I set my NTP configuration using my heartbeat IP (192.168.1.50)
I able to sync from server to client, the problem is also after I reboot the server. the ntpd is running, but when I trace the wireshark from my server, actually my server send the packets by using my bond0 ip address (192.168.1.10) instead using my heartbeat ip (192.168.1.50).
But when I restart ntpd "/etc/init.d/ntpd restart"
I trace again from wireshark, the server starts to send packets using my heartbeat ip address (192.168.1.50) which is the way it supposed to be.
I'm confused, whats happening here? is it because my named and ntpd starts before the heartbeat starts during the startup process when I reboot the server?
is there a way to tweak the named and ntpd to start after the heartbeat starts?
Thank You.
10 More Discussions You Might Find Interesting
1. HP-UX
Hi,
I have a problem using NTP.
We have a setup as following :
client --> HP Server(NTP) --> DMZ server --> DMZ server --> Internet
Only some clients and our HP server is using NTP, the others are using different software.
Now I get an error every day :
Oct 1 13:17:15 nlunx1n1 xntpd:... (4 Replies)
Discussion started by: davidg
4 Replies
2. Solaris
Dear All
I'm solaris user . I need to setup NTP authentication for my office server but I have some question for ntp setting up. I need to know if i set authen NTP the client that doesn't set for authen key can sync time from authen ntp server or not ?? when i setup the authen at ntp server ... (1 Reply)
Discussion started by: goasutlor
1 Replies
3. UNIX for Dummies Questions & Answers
All -
i tried to sysn the clock from our server to get the timing and the server IP has been added in the ntp.conf file and i have some problems here. if some1 help me to solve this problem.
1. i can ping server
2. i was unable to ntpq -p (time out, no response from remote server, it looks... (2 Replies)
Discussion started by: March_2007
2 Replies
4. AIX
Hello everybody! When I run command "ntpdate" the following error occures
"ksh: ntpdate: 0403-006 Execute permission denied.
"
# oslevel -s
5300-08-06-0918
oslevel -r
5300-08
eny suggestion friends? :-) (3 Replies)
Discussion started by: wwwzviadi
3 Replies
5. Red Hat
Hi,
I have 4 machines and all are NTP configured with same ntp.conf file. But 3 machines are in sync with Time server and 4th machine is not contacting & sync with the NTP server. Please see the below details.
# service ntpd stop
Stopping ntpd: ... (0 Replies)
Discussion started by: uday123
0 Replies
6. Solaris
Hi,
I have edited the /etc/inet/ntp.conf file to point to a new time server. When I restart ntp on Solaris 10 using 'svcadm disable/enable ntp' it still points to the old ntp server when I run a 'ntpq -p'.
Any ideas?
Thanks.
Sparcman (4 Replies)
Discussion started by: sparcman
4 Replies
7. UNIX for Advanced & Expert Users
Hello every one i want to setup a ntp on sco unix 5.0.6 and i don't have any time server how can i do this with local time (1 Reply)
Discussion started by: kaydream
1 Replies
8. HP-UX
Hi
I wonder if its possible to setup NTP clients running HP-UX o.s. from a solaris 10 NTP server?
FR (3 Replies)
Discussion started by: fretagi
3 Replies
9. AIX
I got an ntp time problem on AIX server.
os version is AIX7.1
OS LEVEL 7.1.0.0
i got below output,when i run the below command
bash-3.2# ntpdate -dv XXXXXXXXXXXXXXXXXXXXXXXX
4 Dec 12:50:49 ntpdate: 3.4y
transmit(xxxxxxxxx)
receive(xxxxxxxxx)
transmit(xxxxxxxx)
receive(xxxxxxxxx)... (9 Replies)
Discussion started by: murali969
9 Replies
10. UNIX for Beginners Questions & Answers
Someone, please help on this issue:-
Note : for security reason i didn't mention hostnames and ips.
==============================================================================
# ntpstat
unsynchronised
polling server every 1024 s
Ntpstat showing unsynchronised.
... (29 Replies)
Discussion started by: shanmugaraj
29 Replies
LEARN ABOUT DEBIAN
heartbeat
HEARTBEAT(8) System administration utilitie HEARTBEAT(8)
NAME
heartbeat - Heartbeat subsystem for High-Availability Linux
DESCRIPTION
heartbeat is a basic heartbeat subsystem for Linux-HA. It will run scripts at initialisation, and when machines go up or down. This version
will also perform IP address takeover using gratuitous ARPs. It works correctly for a 2-node configuration, and is extensible to larger
configurations.
It implements the following kinds of heartbeats:
o UDP/IP broadcast;
o UDP/IP multicast;
o UDP/IP unicast;
o Bidirectional Serial Rings ("raw" serial ports) -- this type is deprecated and should no longer be used;
o special "ping" heartbeats for routers, etc. -- this type has been superseded by functionality in pacemaker() and should no longer be
used.
Comprehensive documentation on heartbeat is available in the Heartbeat User's Guide. If this documentation is not installed on your system,
it can be found at http://linux-ha.org/.
OPTIONS
The following options are supported by heartbeat:
-d
Increment debugging level. Higher levels are more verbose.
-r
Reload heartbeat. This option is functionally identical to sending a running heartbeat process a HUP signal. If the configuration has
not changed, then this option is essentially a no-op. If ha.cf(5) or authkeys(5) has changed, then heartbeat will re-read these files
and update its configuration.
This option may not be used together with -R.
-k
Kill (stop) heartbeat.
-s
Report heartbeat status.
-R
Heartbeat restart exec flag (internal use only). May not be used with -r.
-C
Heartbeat current resource state for restart (internal use only). Only valid with -R.
-V
Print out heartbeat version.
Note that most of these options are used for supporting the heartbeat init script, which provides the conventional start, stop, status and
restart options (among others). It is recommended to use this rather than invoking the heartbeat command directly.
SEE ALSO
ha.cf(5), authkeys(5)
AUTHORS
Alan Robertson <alanr@unix.sh>
heartbeat
Juan Pedro Paredes Caballero <juampe@retemail.es>
man page
Simon Horman <horms@verge.net.au>
man page
Florian Haas <florian.haas@linbit.com>
man page
Heartbeat 3.0.5 24 Nov 2009 HEARTBEAT(8)