sendmail/ntp/qdaemon not starting automaticlly after reboot ?!


 
Thread Tools Search this Thread
Operating Systems AIX sendmail/ntp/qdaemon not starting automaticlly after reboot ?!
# 1  
Old 12-14-2008
sendmail/ntp/qdaemon not starting automaticlly after reboot ?!

Hi all,
I have a small problem, after a reboot the following services do not start automaticly, like they are supposed to do even though they are commented in in /etc/rc.tcpip
sendmail
xntpd
qdaemon
snmpd
snmpmibd
aixmibd
hostmibd

why ?!?! anybody ? Smilie
# 2  
Old 12-15-2008
rc.tcpip is called from the inittab so you might check whether it is activated at runlevel 2. Sometimes inittab is rewritten, e.g. HACMP changes start of rc.tcpip from runlevel 2 to runlevel a and most daemons are activated when the cluster starts only.
Another possibility was that the install assistant did not run after a fresh install. Check inittab for entry calling a script named "firstboot". If it exists reactivate the install assistant with smitty install_assist and follow the steps.
If rc.tcpip was called from inittab at runlevel 2 but the daemons are deactivated after you log in check the boot process with
# alog -ot boot
and look for messages related to the daemons you mentioned.
# 3  
Old 12-16-2008
So if HACMP changes the level from 2 to a is it OK to change it back to 2 ?

/etc/inittab snippet:
fbcheck:23456789:wait:/usr/sbin/fbcheck 2>&1 | alog -tboot > /dev/console # run /etc/firstboot
srcmstr:23456789:respawn:/usr/sbin/srcmstr # System Resource Controller
harc:2:wait:/usr/es/sbin/cluster/etc/harc.net # HACMP for AIX network startup
rctcpip:a:wait:/etc/rc.tcpip > /dev/console 2>&1 # Start TCP/IP daemons
# 4  
Old 12-16-2008
Quote:
Originally Posted by art
So if HACMP changes the level from 2 to a is it OK to change it back to 2 ?[...]
rctcpip:a:wait:/etc/rc.tcpip > /dev/console 2>&1 # Start TCP/IP daemons
I would not recommend that.... The reason for this change of the startup procedure is that HACMP does not know whether an IP address that is necessary for operation is available after reboot. It would be possible to start the cluster with addresses that are used for heartbeat only and without a proper network connection the daemons might fail or at least fill your logs with all sorts of errors. So what you could do is make sure that the cluster nodes have a suitable active and routeable IP even while HACMP is not started e.g. as a persistant address. Then you can either start daemons separately from inittab or (if there are too many daemons you need) from a separate rc file which again could be called from inittab at runlevel 2. You should not however change the rc.tcpip as trying to start a daemon twice does not result in problems usually while it might turn out to be a problem if the clusters misses a daemon it expects to have started itself. You must not change an inittab entry from runlevel a back to runlevel 2. That would be very bad administration practice (and btw might be reversed by the cluster occasionally without giving notice).
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Application services not starting with server reboot

Hi All, My application uses three different sub-services to make complete application up and running to normal. The entry of all the three services are present in /etc/init.d directory with proper softlink created to application home path where it actually exists. In one rare case one of the... (3 Replies)
Discussion started by: hk_kamozalwar
3 Replies

2. Red Hat

Ntp client sync with local over ntp server

Hi, I have two ntp servers in my cluster and I want all the nodes in my cluster to sync with either of the ntp servers or just one. Unfortunately it keep rotating the sync, between my ntp server 1, ntp server 2 and local. Is there anyway I can change the sync to avoid local? # ntpq -p ... (3 Replies)
Discussion started by: pjeedu2247
3 Replies

3. HP-UX

Setting up NTP HP-UX clients from solaris NTP server

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

4. Linux

How often does Linux NTP server update its time with the external NTP server?

All here, thank you for listening. Now I've set up a Linux NTP server by adding a external windows NTP server in /etc/ntp.conf. Then I start the ntpd daemon. But how often does the Linux NTP server update its time with the external NTP server? I've looked up everywhere but found no information... (1 Reply)
Discussion started by: MichaelLi
1 Replies

5. Solaris

Problem starting Sendmail on Solaris 9

Hi, I am getting problem in starting up Sendmail on solaris. When I do /etc/init.d/sendmail start in Process list it shows sendmail process properly. But when I do portcheck by netstat it doesn't show Port 25/smtp. What could be the problem ? Thanks NeeleshG (6 Replies)
Discussion started by: neel.gurjar
6 Replies

6. UNIX for Dummies Questions & Answers

Starting daemons at reboot.

I rebooted my server (solaris 5.8) and I had to manually start the cron and mailx daemons. How do I get these to automatically start at reboot? Thanks in advance. (2 Replies)
Discussion started by: shorty
2 Replies

7. AIX

Can you stop qdaemon from emailing users?

Morning, All. Does anyone know how to stop qdaemon from emailing users when print jobs fail? This is causing a problem as the application that we use is mail-aware; users get a prompt onscreen when they have unread mail in their UNIX account, however they don't all have access to the part of... (2 Replies)
Discussion started by: alexop
2 Replies

8. Solaris

starting Oracle on Reboot

Hi All, I have to maunally startup oracle and the associated listeners whenever the Sun Solaris server is rebooted. Is there any way by which, everytime the server boots up, The Oracle startups itself. Do we need to change the init.ora file or the init.d file? Please let me know which files... (1 Reply)
Discussion started by: rahulrathod
1 Replies

9. Solaris

ntp server and ntp client

All, How do you set a Solaris 9 server which received ntp updates from a ntp server to broadcast them on a local subnet. I have created a /etc/inet/ntp.conf file to receive the updates from a server on network and need to make this server become like a ntp relay from the main server. Any... (1 Reply)
Discussion started by: bubba112557
1 Replies

10. UNIX for Dummies Questions & Answers

qdaemon

I am being taught UNIX hands on. Recently, I have been having problems with my qdaemon going down. I know that the short cut to start it is startsrc -s qdaemon. My question is, through smit, processes & subsystems, subsystems, start a subsystem... I know it is the qdaemon I want to start,... (2 Replies)
Discussion started by: spunky
2 Replies
Login or Register to Ask a Question