Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

inittab will not start qdaemon

Status
Not open for further replies.

dchp

IS-IT--Management
Aug 23, 2001
24
0
0
US
Would anyone know of a reason that inittab will not spawn qdaemon? I have cleaned out all of the var spool directories including qconfig.bin. Checked all the file permissions I could think of. The entries in inittab are correct, they were verified against an rs that is working. The interesting thing, is when startsrc -g spooler is run, all three parts of the spooler subsystem come up without error, and the machine prints? Why would inittab apparently not be parsed? System is running AIX version 4.3.3

Any help will be appreciated.
 
dchp,

So you can start it via startsrc -s spooler - does startsrc -s qdaemon start it?

Post up your inittab file....

Cheers

PSD
IBM Certified Specialist - AIX V4.3 Systems Support
IBM Certified Specialist - AIX V4 HACMP
 
Thanks for the reponse PSD. The inittab is below, as well as the reponse to startsrc -s and g commands. I did need to issue a stopsrc since I had previously started the spooler manually.

init:2:initdefault:
brc::sysinit:/sbin/rc.boot 3 >/dev/console 2>&1 # Phase 3 of system boot
powerfail::powerfail:/etc/rc.powerfail 2>&1 | alog -tboot > /dev/console # Power
Failure Detection
rc:2:wait:/etc/rc 2>&1 | alog -tboot > /dev/console # Multi-User checks
fbcheck:2:wait:/usr/sbin/fbcheck 2>&1 | alog -tboot > /dev/console # run /etc/fi
rstboot
srcmstr:2:respawn:/usr/sbin/srcmstr # System Resource Controller
gpms1:2:wait:/etc/rc.idx.pre > /dev/console 2>&1
cons:0123456789:respawn:/usr/sbin/getty /dev/console
rctcpip:2:wait:/etc/rc.tcpip > /dev/console 2>&1 # Start TCP/IP daemons
gpms2:2:wait:/etc/rc.idx > /dev/console 2>&1
rcnfs:2:wait:/etc/rc.nfs > /dev/console 2>&1 # Start NFS Daemons
rcport:2:wait:/etc/rc.post > /dev/console 2>&1 # Start JobSoft (Post Proc) Items
cron:2:respawn:/usr/sbin/cron
piobe:2:wait:/usr/lib/lpd/pio/etc/pioinit >/dev/null 2>&1 # pb cleanup
qdaemon:2:wait:/usr/bin/startsrc -sqdaemon
writesrv:2:wait:/usr/bin/startsrc -swritesrv
uprintfd:2:respawn:/usr/sbin/uprintfd
pmd:2:wait:/usr/bin/pmd > /dev/console 2>&1 # Start PM daemon
diagd:2:eek:nce:/usr/lpp/diagnostics/bin/diagd >/dev/console 2>&1
logsymp:2:eek:nce:/usr/lib/ras/logsymptom # for system dumps
ptypa:2:respawn:/usr/sbin/getty /dev/ttypa #PCIforDOS
rcpci:2:eek:nce:/etc/rc.pci > /usr/spool/pcilog/start.log
tty6:2:eek:ff:/usr/sbin/getty /dev/tty6
apache1:2:eek:nce:/etc/rc.apache
tty5:2:respawn:/usr/sbin/getty /dev/tty5
tty8:2:respawn:/usr/sbin/getty -r /dev/tty8
tty2:2:eek:ff:/usr/sbin/getty /dev/tty2
tty9:2:respawn:/usr/sbin/getty -r /dev/tty9
tty1:2:respawn:/usr/sbin/getty /dev/tty1
lpd:2:eek:nce:/usr/bin/startsrc -s lpd


[root @ chc] # stopsrc -g spooler
0513-044 The qdaemon Subsystem was requested to stop.
0513-044 The writesrv Subsystem was requested to stop.
0513-044 The lpd Subsystem was requested to stop.
[root @ chc] # startsrc -sqdaemon
0513-059 The qdaemon Subsystem has been started. Subsystem PID is 11400.
[root @ chc] # stopsrc -sqdaemon
0513-044 The qdaemon Subsystem was requested to stop.
[root @ chc] # startsrc -gspooler
0513-059 The qdaemon Subsystem has been started. Subsystem PID is 11402.
0513-059 The writesrv Subsystem has been started. Subsystem PID is 8268.
0513-059 The lpd Subsystem has been started. Subsystem PID is 7756.


 
dchp,

This is very very odd. It appears from your mail that qdaemon starts o.k. via src and the inittab is o.k.

On reboot what is shown on screen does qdaemon come back with an error?

I would check your df -k output for full filesystems...

There is nothing obviously wrong here.

Cheers

Paul PSD
IBM Certified Specialist - AIX V4.3 Systems Support
IBM Certified Specialist - AIX V4 HACMP
 
one thing to maybe check......you added entries to the inittab I think?

qpms? and rcport? Perhaps order is important...as in the qpms lines (2 of them)
and rcport may effect how the printers or the daemons are handled? and in inittab are interfering with the qdaemon...or maybe the timing of it?

I would make a copy of inittab and then maybe move the qpms and the rcport lines to the end of the inittab instead of in the middle by the root functions and see if it doesn't improve things?

I do not know what qpms or rcport is.........just a thought...
 
Thanks for your responses. I resetup one of the printers that was recently added to a generic mod script from an hp4, and it started working. I have no idea why that would make a difference.

Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top