i have a problem with my AIX 5L installation (Release 07/2006). I have
instaled the OS with the standard options. after the automatic reboot,
i can configure the tcp/ip parameters, the root passwd etc. finaly i
have closed the configration assistant and the OS has rebooted. while
the booting the last message i get is that an ctrmc proces or daemon is
started and i never get a shell or a login. my hardware is: IBM Series
p5 9110-51A mit 2GB-RAM und 2HDD's. What i can do. (it'S my first AIX
installation, i have more experience with Solaris)
Have anybody any ideas??
Regards
Michael
I assume that you have a tty console of some type since you are getting
the message that ctrmc is starting. Boot up in maintenance mode and
use "smitty console" to set the console. If it is set correctly then
take a look at /etc/inittab and there should be a line that reads
cons:0123456789:respawn:/usr/sbin/getty /dev/console
If the line is not there try adding it at the bottom and rebooting.
-P
If you have an older LFT (low function terminal, aka PC monitor) you
may have to change the size/refresh rate. Boot into maintenance mode
and do:
# smit g_display
-- Select the Display Resolution and Refresh Rate
and change accordingly then reboot into normal mode.
and i have still the same problem.
pric...@blm.gov schrieb:
this is my inittab:
# cat inittab
: @(#)49 1.28.2.11 src/bos/etc/inittab/inittab, cmdoper, bos530
2/19/04 11:22:58
: IBM_PROLOG_BEGIN_TAG
: This is an automatically generated prolog.
:
: bos530 src/bos/etc/inittab/inittab 1.28.2.11
:
: Licensed Materials - Property of IBM
:
: (C) COPYRIGHT International Business Machines Corp. 1989,1993
: All Rights Reserved
:
: US Government Users Restricted Rights - Use, duplication or
: disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
:
: IBM_PROLOG_END_TAG
:
: COMPONENT_NAME: CMDOPER
:
: ORIGINS: 3, 27
:
: (C) COPYRIGHT International Business Machines Corp. 1989, 1993
: All Rights Reserved
: Licensed Materials - Property of IBM
:
: US Government Users Restricted Rights - Use, duplication or
: disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
:
: Note - initdefault and sysinit should be the first and second entry.
:
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
mkatmpvc:2:once:/usr/sbin/mkatmpvc >/dev/console 2>&1
atmsvcd:2:once:/usr/sbin/atmsvcd >/dev/console 2>&1
load64bit:2:wait:/etc/methods/cfg64 >/dev/console 2>&1 # Enable 64-bit
execs
tunables:23456789:wait:/usr/sbin/tunrestore -R > /dev/console 2>&1 #
Set tunables
rc:23456789:wait:/etc/rc 2>&1 | alog -tboot > /dev/console # Multi-User
checks
fbcheck:23456789:wait:/usr/sbin/fbcheck 2>&1 | alog -tboot >
/dev/console # run /etc/firstboot
srcmstr:23456789:respawn:/usr/sbin/srcmstr # System Resource Controller
rctcpip:23456789:wait:/etc/rc.tcpip > /dev/console 2>&1 # Start TCP/IP
daemons
sniinst:2:wait:/var/adm/sni/sniprei > /dev/console 2>&1
rcnfs:23456789:wait:/etc/rc.nfs > /dev/console 2>&1 # Start NFS Daemons
cron:23456789:respawn:/usr/sbin/cron
piobe:2:wait:/usr/lib/lpd/pioinit_cp >/dev/null 2>&1 # pb cleanup
cons:0123456789:respawn:/usr/sbin/getty /dev/console
qdaemon:23456789:wait:/usr/bin/startsrc -sqdaemon
writesrv:23456789:wait:/usr/bin/startsrc -swritesrv
uprintfd:23456789:respawn:/usr/sbin/uprintfd
shdaemon:2:off:/usr/sbin/shdaemon >/dev/console 2>&1 # High
availability daemon
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6
l7:7:wait:/etc/rc.d/rc 7
l8:8:wait:/etc/rc.d/rc 8
l9:9:wait:/etc/rc.d/rc 9
naudio::boot:/usr/sbin/naudio > /dev/null
ntbl_reset:2:once:/usr/bin/ntbl_reset_datafiles
rcml:2:once:/usr/sni/aix53/rc.ml > /dev/console 2>&1
logsymp:2:once:/usr/lib/ras/logsymptom # for system dumps
perfstat:2:once:/usr/lib/perf/libperfstat_updt_dictionary >/dev/console
2>&1
diagd:2:once:/usr/lpp/diagnostics/bin/diagd >/dev/console 2>&1
xmdaily:2:once:/usr/bin/xmwlm -L 2>&1 >/dev/null # Start xmwlm daily
recording
ctrmc:2:once:/usr/bin/startsrc -s ctrmc > /dev/console 2>&1
ha_star:h2:once:/etc/rc.ha_star >/dev/console 2>&1
vty1:2:off:/usr/sbin/getty /dev/vty1
#
pric...@blm.gov schrieb:
Example:
:ctrmc:2:once:/usr/bin/startsrc -s ctrmc > /dev/console 2>&1
:ha_star:h2:once:/etc/rc.ha_star >/dev/console 2>&1
:vty1:2:off:/usr/sbin/getty /dev/vty1
In case you get your login prompt start each comment line from the
command line to see which line causes the problem.
BTW: the /etc/rc.. re not used by AIX
hth
Hajo
> Deactivate the in the /etc/inittab any starting with ctrmc by adding a
> ":" as the first sign for each line
>
> Example:
> :ctrmc:2:once:/usr/bin/startsrc -s ctrmc > /dev/console 2>&1
> :ha_star:h2:once:/etc/rc.ha_star >/dev/console 2>&1
> :vty1:2:off:/usr/sbin/getty /dev/vty1
>
> In case you get your login prompt start each comment line from the
> command line to see which line causes the problem.
>
> BTW: the /etc/rc.. re not used by AIX
>
> hth
> Hajo
this doesn't solved the problem :(
Could please post what you have done or better post your complete
/etc/inittab
Hajo
Hello Hajo,
this is my inittab:
So please supply the following information
1 ) What kind of terminal is connected to the p5 ( Graphics or Ascii )
?
2 ) Can you login via the network ?
3 ) The start of the ctrmc daemon is the last message you see on your
screen ?
To trouble-shoot the /etc/inittab please do the follwoing changes
1) Boot into maintenance mode from CD
2) Change the inittab so that the the last 3 line from the inittab
looks like:
...
:ctrmc:2:once:/usr/bin/startsrc -s ctrmc > /dev/console 2>&1
:ha_star:h2:once:/etc/rc.ha_star >/dev/console 2>&1
:vty1:2:off:/usr/sbin/getty /dev/vty1
3) reboot and post what will be displayed on the screen
or read and follow
Problem Solving and Troubleshooting in AIX 5L - Section 3.7
http://www.redbooks.ibm.com/abstracts/SG245496.html?Open
hth
Hajo
BTW: Answer like
> this doesn't solved the problem :(
is not really helpfull
> Hm, i can not see any changes done to the inittab.
>
> So please supply the following information
> 1 ) What kind of terminal is connected to the p5 ( Graphics or Ascii )
> ?
my terminal is Ascii (vt100).
> 2 ) Can you login via the network ?
no
> Problem Solving and Troubleshooting in AIX 5L - Section 3.7
> http://www.redbooks.ibm.com/abstracts/SG245496.html?Open
thanks for that link
Michael
> To trouble-shoot the /etc/inittab please do the follwoing changes
> 1) Boot into maintenance mode from CD
> 2) Change the inittab so that the the last 3 line from the inittab
> looks like:
> ...
> :ctrmc:2:once:/usr/bin/startsrc -s ctrmc > /dev/console 2>&1
> :ha_star:h2:once:/etc/rc.ha_star >/dev/console 2>&1
> :vty1:2:off:/usr/sbin/getty /dev/vty1
>
> 3) reboot and post what will be displayed on the screen
my last output looks like this (the output is in german and english, i
hope it's no problem):
-------------------------------------------------------------------------------
Welcome to AIX.
boot image timestamp: 15:13 10/06
The current time and date: 18:00:15 10/09/2006
number of processors: 1 size of memory: 1904MB
boot device:
/pci@800000020000002/pci@2,4/pci1069,b166@1/scsi@1/sd@5:2
kernel size: 14149648; 64 bit kernel
-------------------------------------------------------------------------------
Saving Base Customize Data to boot disk
Starting the sync daemon
Mounting the platform dump file system, /var/adm/ras/platform
Starting the error daemon
System initialization completed.
Optimierbare Parameter werden festgelegt...Abgeschlossen
Initialisierung der Benutzer in einem Mehrbenutzersystem wird gestartet
Automatisches Varyon der Datenträgergruppen wird durchgeführt
Alle Paging-Bereiche werden aktiviert
0517-075 swapon: Die Paging-Einheit /dev/hd6 ist bereits aktiv.
The current volume is: /dev/hd1
Primary superblock is valid.
The current volume is: /dev/hd10opt
Primary superblock is valid.
Alle automatischen Mounts werden durchgeführt
Die Initialisierung der Benutzer in einem Mehrbenutzersystem ist
abgeschlossen
Checking for srcmstr active...complete
Starting tcpip daemons:
0513-059 Das Subsystem syslogd wurde gestartet.
Prozess-ID des Subsystems: 143460
0513-059 Das Subsystem sendmail wurde gestartet.
Prozess-ID des Subsystems: 155734
0513-059 Das Subsystem portmap wurde gestartet.
Prozess-ID des Subsystems: 184460
0513-059 Das Subsystem inetd wurde gestartet.
Prozess-ID des Subsystems: 159896
0513-059 Das Subsystem snmpd wurde gestartet.
Prozess-ID des Subsystems: 188522
0513-059 Das Subsystem hostmibd wurde gestartet.
Prozess-ID des Subsystems: 180326
0513-059 Das Subsystem snmpmibd wurde gestartet.
Prozess-ID des Subsystems: 176224
0513-059 Das Subsystem aixmibd wurde gestartet.
Prozess-ID des Subsystems: 168034
Finished starting tcpip daemons.
NFS-Dienste starten:
0513-059 Das Subsystem muxatmd wurde gestartet.
Prozess-ID des Subsystems: 233588
0513-059 Das Subsystem biod wurde gestartet.
Prozess-ID des Subsystems: 209014
Thats all ? If yes you should disable the NFS startup
by changing :
rcnfs:2:wait:/etc/rc.nfs > /dev/console 2>&1 # Start NFS Daemons
to
:rcnfs:2:wait:/etc/rc.nfs > /dev/console 2>&1 # Start NFS Daemons
Please post the result after you applied the changes and rebooted the
machine.
regards
Hajo
NFS-Dienste starten:
0513-059 Das Subsystem muxatmd wurde gestartet.
Prozess-ID des Subsystems: 233588
0513-059 Das Subsystem biod wurde gestartet.
Prozess-ID des Subsystems: 209014
0513-059 Das Subsystem rpc.statd wurde gestartet.
Prozess-ID des Subsystems: 213112
0513-059 Das Subsystem rpc.lockd wurde gestartet.
Prozess-ID des Subsystems: 221306
NFS-Dienste beendet.
after this output, the system freeze
and finaly as the last line in the /etc/inittab
echo6:2:once:/usr/bin/echo End of INITTAB > /dev/console
For further information. A wait in the /etc/inittab for a process means
that the init process will wait until this command finished or put
itself into background. Otherwise init will wait for ever. ( At least
on AIX 5.1 afaik )
So either a command hangs and stop the init to proceed further or you
have problems with your console.
The above steps are for trouble shooting the first .
hth
Hajo
init:2:initdefault:
brc::sysinit:/sbin/rc.boot 3 >/dev/console 2>&1 # Phase 3 of system
boot
echo1:2:once:/usr/bin/echo End of brc > /dev/console
powerfail::powerfail:/etc/rc.powerfail 2>&1 | alog -tboot >
/dev/console # Power Failure Detection
echo2:2:once:/usr/bin/echo End of powerfail > /dev/console
mkatmpvc:2:once:/usr/sbin/mkatmpvc >/dev/console 2>&1
echo3:2:once:/usr/bin/echo End of mkatmpvc > /dev/console
atmsvcd:2:once:/usr/sbin/atmsvcd >/dev/console 2>&1
echo4:2:once:/usr/bin/echo End of atmsvcd > /dev/console
load64bit:2:wait:/etc/methods/cfg64 >/dev/console 2>&1 # Enable 64-bit
execs
echo5:2:once:/usr/bin/echo End of load64bit > /dev/console
tunables:23456789:wait:/usr/sbin/tunrestore -R > /dev/console 2>&1 #
Set tunables
echo6:2:once:/usr/bin/echo End of tunables > /dev/console
rc:23456789:wait:/etc/rc 2>&1 | alog -tboot > /dev/console # Multi-User
checks
echo7:2:once:/usr/bin/echo End of rc > /dev/console
fbcheck:23456789:wait:/usr/sbin/fbcheck 2>&1 | alog -tboot >
/dev/console # run /etc/firstboot
echo8:2:once:/usr/bin/echo End of fbcheck > /dev/console
srcmstr:23456789:respawn:/usr/sbin/srcmstr # System Resource Controller
echo9:2:once:/usr/bin/echo End of srcmstr > /dev/console
rctcpip:23456789:wait:/etc/rc.tcpip > /dev/console 2>&1 # Start TCP/IP
daemons
echo10:2:once:/usr/bin/echo End of rctcpip > /dev/console
sniinst:2:wait:/var/adm/sni/sniprei > /dev/console 2>&1
echo11:2:once:/usr/bin/echo End of sniinst > /dev/console
rcnfs:23456789:wait:/etc/rc.nfs > /dev/console 2>&1 # Start NFS Daemons
echo12:2:once:/usr/bin/echo End of rcnfs > /dev/console
cron:23456789:respawn:/usr/sbin/cron
echo13:2:once:/usr/bin/echo End of cron > /dev/console
piobe:2:wait:/usr/lib/lpd/pioinit_cp >/dev/null 2>&1 # pb cleanup
echo14:2:once:/usr/bin/echo End of piobe > /dev/console
cons:0123456789:respawn:/usr/sbin/getty /dev/console
echo15:2:once:/usr/bin/echo End of cons > /dev/console
qdaemon:23456789:wait:/usr/bin/startsrc -sqdaemon
echo16:2:once:/usr/bin/echo End of qdaemon > /dev/console
writesrv:23456789:wait:/usr/bin/startsrc -swritesrv
echo17:2:once:/usr/bin/echo End of writesrv > /dev/console
uprintfd:23456789:respawn:/usr/sbin/uprintfd
echo18:2:once:/usr/bin/echo End of uprintfd > /dev/console
shdaemon:2:off:/usr/sbin/shdaemon >/dev/console 2>&1 # High
availability daemon
echo19:2:once:/usr/bin/echo End of shdaemon > /dev/console
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6
l7:7:wait:/etc/rc.d/rc 7
l8:8:wait:/etc/rc.d/rc 8
l9:9:wait:/etc/rc.d/rc 9
naudio::boot:/usr/sbin/naudio > /dev/null
echo20:2:once:/usr/bin/echo End of naudio > /dev/console
ntbl_reset:2:once:/usr/bin/ntbl_reset_datafiles
echo21:2:once:/usr/bin/echo End of ntbl_reset > /dev/console
rcml:2:once:/usr/sni/aix53/rc.ml > /dev/console 2>&1
echo22:2:once:/usr/bin/echo End of rcml > /dev/console
logsymp:2:once:/usr/lib/ras/logsymptom # for system dumps
echo23:2:once:/usr/bin/echo End of logsymp > /dev/console
perfstat:2:once:/usr/lib/perf/libperfstat_updt_dictionary >/dev/console
2>&1
echo24:2:once:/usr/bin/echo End of perfstat > /dev/console
diagd:2:once:/usr/lpp/diagnostics/bin/diagd >/dev/console 2>&1
echo25:2:once:/usr/bin/echo End of diagd > /dev/console
xmdaily:2:once:/usr/bin/xmwlm -L 2>&1 >/dev/null # Start xmwlm daily
recording
echo26:2:once:/usr/bin/echo End of xmdaily > /dev/console
ctrmc:2:once:/usr/bin/startsrc -s ctrmc > /dev/console 2>&1
echo27:2:once:/usr/bin/echo End of ctrmc > /dev/console
ha_star:h2:once:/etc/rc.ha_star >/dev/console 2>&1
echo28:2:once:/usr/bin/echo End of ha_star > /dev/console
vty0:2:off:/usr/sbin/getty /dev/vty0
echo1:2:once:/usr/bin/echo End of vty0 > /dev/console
echo6:2:once:/usr/bin/echo End of INITTAB > /dev/console
after a new reboot i got this output:
[...]
End of rc
End of fbcheck
End of srcmstr
Checking for srcmstr active...complete
Starting tcpip daemons:
0513-059 Das Subsystem syslogd wurde gestartet.
Prozess-ID des Subsystems: 163922
0513-059 Das Subsystem sendmail wurde gestartet.
Prozess-ID des Subsystems: 200802
0513-059 Das Subsystem portmap wurde gestartet.
Prozess-ID des Subsystems: 192656
0513-059 Das Subsystem inetd wurde gestartet.
Prozess-ID des Subsystems: 139366
0513-059 Das Subsystem snmpd wurde gestartet.
Prozess-ID des Subsystems: 188522
0513-059 Das Subsystem hostmibd wurde gestartet.
Prozess-ID des Subsystems: 180334
0513-059 Das Subsystem snmpmibd wurde gestartet.
Prozess-ID des Subsystems: 176222
0513-059 Das Subsystem aixmibd wurde gestartet.
Prozess-ID des Subsystems: 151662
Finished starting tcpip daemons.
End of rctcpip
End of sniinst
NFS-Dienste starten:
0513-059 Das Subsystem muxatmd wurde gestartet.
Prozess-ID des Subsystems: 237686
0513-059 Das Subsystem biod wurde gestartet.
Prozess-ID des Subsystems: 217210
0513-059 Das Subsystem rpc.statd wurde gestartet.
Prozess-ID des Subsystems: 77950
0513-059 Das Subsystem rpc.lockd wurde gestartet.
Prozess-ID des Subsystems: 204982
NFS-Dienste beendet.
End of rcnfs
End of cron
End of piobe
End of cons
End of qdaemon
End of writesrv
End of uprintfd
End of shdaemon
End of naudio
End of ntbl_reset
End of rcml
End of logsymp
End of perfstat
End of diagd
End of ctrmc
End of ha_star
End of xmdaily
End of vty0
End of INITTAB
0513-059 Das Subsystem ctrmc wurde gestartet.
Prozess-ID des Subsystems: 270482
BTW:
- Are you sure that you configured the network during the initial
installation ? Because then you should be able to login via network
- On which port is your ascii console connected to ?
But anyway - the next step is to check the console.
1) Please boot into maintenance mode and execute the following command:
1.1
$ /usr/sbin/lscons
In case you get a /dev/vty0 please execute:
$ /usr/sbin/chcons /dev/vty0 -a login=enable
Reboot to make the change effective
$ reboot
These step were just in case the console login has been disabled.
2)
In case the above does not solved the problem
For this step it would be the best to create a simple script which
should be run at the end of the inittab.
But before you do so please run all commands mentioned below step by
step in maintenance mode. So you can compare the output later.
Script:
cat chkcons <<EOF
#/usr/bin/ksh
echo "Checking console settings"
check if the getty process is running
/usr/bin/ps ax | /usr/bin/grep console
# Show the current console and its attributs
/usr/sbin/lscons -a
# Check the file type of the console
ls -l $( /usr/sbin/lscons )
ls -l /dev/console
# Get the attribut for the current console
/usr/sbin/lsattr -El $( /usr/sbin/lscons | /usr/bin/cut -f3- -d"/" )
EOF
Do not forget to enable execute mode for the script
$ chmod +x /chkcons
And add the following line at the end of the /etc/inittab
chkcons:2:once:/chkcons >/dev/console 2>&1
and reboot the machine.
hth
Hajo
thanks Hajo for your support.
Thats right, press F6 in smitty and you will see the command smitty is
using or take a look at ~/smit.script.
You would see:
chcons -a 'login=enable' ....
SCNR ;-)
Hajo