AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  Runlevel:

    Posted Thu January 07, 2010 04:58 AM

    Originally posted by: GanesanBI


    Hi friends,
    Why i con't change default runlevel other than 2 in Aix? I can change but after rebooting, Machine starts in runlevel 2 only.

    Please direct me in a correct path to become an Aix system administrator in Indian Railways department.

    Thank you.,

    S.Ganesan.
    #AIX-Forum


  • 2.  Re: Runlevel:

    Posted Thu January 07, 2010 07:11 AM

    Originally posted by: Morten_Torstensen


    Runlevels are not really used in AIX. Are you sure you want to use them? If you really really want to, change the "init:2:initdefault:" line at the top of /etc/inittab (below the comments).

    The AIX way would be to make groups in SRC and start/stop them as needed.
    #AIX-Forum


  • 3.  Re: Runlevel:

    Posted Thu January 07, 2010 09:30 AM

    Originally posted by: GanesanBI


    Yes Mr.Morten, i can add any line to /etc/inittab file using # mkitab command. Is this following command right for boot with runlevel 5?

    • # mkitab abc:5:wait:test

    Please tell me, will it boot in runlevel 5 after boot my machine?

    Please direct me in a correct path to become an Aix system administrator in Indian Railways department.

    Thank you.,

    S.Ganesan.
    #AIX-Forum


  • 4.  Re: Runlevel:

    Posted Thu January 07, 2010 10:32 AM

    Originally posted by: hdkutz


    Hello,
    as mentioned before:
    You do not need to add another entry to inittab with mkitab.
    Change the initdefault Entry in inittab to the desired runlevel.
    Your machine will boot to this Level.
    <snip>
    : 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
    <snip>

    E.G:
    <snip>
    : Note - initdefault and sysinit should be the first and second entry.
    init:5:initdefault:
    brc::sysinit:/sbin/rc.boot 3 >/dev/console 2>&1 # Phase 3 of system boot
    <snip>

    Cheers,
    ku
    #AIX-Forum


  • 5.  Re: Runlevel:

    Posted Fri January 08, 2010 10:51 AM

    Originally posted by: GanesanBI


    Thank you Mr.Hdkutz, i'll try this. Could u tell me how can i open multiple session in Aix? In linux, i can open 5 users session in terminal mode by holding following keys, <Ctrl> + <Alt> + <F2> to <F6>.

    Now, i'm student, learning Aix very interestingly, so let me know in detail or else give me a link to learn.

    Please direct me in a correct path to become an Aix system administrator in Indian Railways department.

    Thank you.,

    S.Ganesan.
    #AIX-Forum


  • 6.  Re: Runlevel:

    Posted Sat January 09, 2010 11:57 PM

    Originally posted by: Kosala


    Hi,

    The configuration for the multiple terminals is done through /etc/inittab. In AIX there is only one getty for the /dev/console. I do not think the multiple terminals will work like in Linux, since I can't find any tty* in AIX. But you can start multiple getty instances in AIX, which you can bind to either a serial port or a modem.

    Have a look at getty man page.

    Cheers,
    Kosala
    #AIX-Forum


  • 7.  Re: Runlevel:

    Posted Sun January 10, 2010 12:01 PM

    Originally posted by: GanesanBI


    Thank you Mr.Kosala, for your detailed answer of some of my questions. We'll meet in my another question. Thank you once again.

    Now, i'm a student, learning Aix very interestingly, so let me know in detail or else give me a link to learn.

    Please direct me in a correct path to become an Aix system administrator in Indian Railways department.

    Thank you.,

    S.Ganesan.
    #AIX-Forum