Missing /etc/rc.d in 5L? (Yes, an old question) - Aix

This is a discussion on Missing /etc/rc.d in 5L? (Yes, an old question) - Aix ; All: I'm new to AIX, but learning by being thrown into the deep end. And without a lifeguard in sight. (And I think the last sysadmin pee'd in the pool too.....) Anyway, I'm trying to troubleshoot some issues in my ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: Missing /etc/rc.d in 5L? (Yes, an old question)

  1. Missing /etc/rc.d in 5L? (Yes, an old question)

    All:

    I'm new to AIX, but learning by being thrown into the deep end. And
    without a lifeguard in sight. (And I think the last sysadmin pee'd in
    the pool too.....)

    Anyway, I'm trying to troubleshoot some issues in my enviroment. One
    is the (apparant) non-existance of a /etc/rc.d directory. Now, I
    understand, that prior to AIX 4.3.3.25 /etc/rc.d did not exist.

    What is odd it that these entries do exist in /etc:

    -bash-2.05b$ ls -al init*
    lrwxrwxrwx 1 root system 14 Jun 09 2006 init -> /usr/
    sbin/init
    lrwxrwxrwx 1 root system 16 Jun 19 2006 init.d -> /
    etc/rc.d/init.d
    -rw-r--r-- 1 root system 3398 Apr 07 14:57 inittab
    -rw-r--r-- 1 root system 3216 Jun 20 2006 inittab.
    864300
    -rw-r--r-- 1 root system 3265 Oct 16 2006 inittab.
    864308
    -rw-r--r-- 1 root system 3314 Oct 16 2006 inittab.
    876790
    -rw-r--r-- 1 root system 3314 Oct 16 2006
    inittab.pentasafe


    and /etc/inittab looks contains these entries (I'm snipping out
    portions):

    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

    So in my mind, all evidence points to someone "accidentally" rm'ing /
    etc/rc.d. Or, maybe this used to be a AIX 4.3 installation that was
    "upgraded", but somehow not everything happened to upgrade it
    properly.


    Any thoughts? It's more than an academic exercize for me because a
    software package we use is failing on something related to this
    issue. I know this is carzy to ask... but is there a way to "get
    it back"? I'd prefer a new clean enviroment, but I don;t think that
    is gonna happen. Maybe I could tar up a copy from another 5.3L
    enviroment and dump it?


    I realize there is a whole debate on the fact that this was not the
    "AIX" way. But to maintain support with my vendor, I'd prefer to
    avoid patching his scripts to directly modiy inittab.

    thanks in advance for all help, pity, etc.


    d.










  2. Re: Missing /etc/rc.d in 5L? (Yes, an old question)

    I forgot to mention... this is AIX 5.3 (L). Thanks

  3. Re: Missing /etc/rc.d in 5L? (Yes, an old question)

    On May 21, 2:31 am, Dave wrote:
    > I forgot to mention... this is AIX 5.3 (L). Thanks



    Determine which package provides which file/directory

    $ which_fileset /etc/rc.d
    /etc/rc.d bos.rte.control 5.3.0.0
    /opt/csm/samples/etc/rc.d csm.server 1.4.0.0

    $ lslpp -w /etc/rc.d
    File Fileset
    Type

    ----------------------------------------------------------------------------
    /etc/rc.d bos.rte.control
    Directory


    So your system might be an upgrade from AIX 4.3.3 or 5.1

    BTW: To modify the inittab you have the commands
    lsitab
    chitab
    rmitab

    hth
    Hajo

  4. Re: Missing /etc/rc.d in 5L? (Yes, an old question)

    Dave wrote:
    > [snip]
    >
    > Any thoughts? It's more than an academic exercize for me because a
    > software package we use is failing on something related to this
    > issue. I know this is carzy to ask... but is there a way to "get
    > it back"? I'd prefer a new clean enviroment, but I don;t think that
    > is gonna happen. Maybe I could tar up a copy from another 5.3L
    > enviroment and dump it?


    That will work, since (my) aix 5.3 /etc/rc.d only contains the empty
    directories and the rc file


    --
    * Alberto Varesio * - /IBM eServer Certified Specialist/
    /S&N Competence Center Application Engineer/
    * SPAZIOSYSTEM S.p.A. * - http://www.spaziosystem.com/
    Tel.: +39 011 19520213 - Cell.: 335 1811324

    Confidential notice: This message and its attachments may contain
    confidential information that is addressed solely to the above person.
    If you have received this message without authorization, delete it
    along with any other copy and inform the sender.
    Please consider your environmental impact before printing this e-mail
    ==
    BOFH Excuse: Ionisation from the air-conditioning

  5. Re: Missing /etc/rc.d in 5L? (Yes, an old question)

    Dave wrote:
    > All:
    >
    > I'm new to AIX, but learning by being thrown into the deep end. And
    > without a lifeguard in sight. (And I think the last sysadmin pee'd in
    > the pool too.....)
    >
    > Anyway, I'm trying to troubleshoot some issues in my enviroment. One
    > is the (apparant) non-existance of a /etc/rc.d directory.
    >

    [snip]
    >
    > So in my mind, all evidence points to someone "accidentally" rm'ing /
    > etc/rc.d. Or, maybe this used to be a AIX 4.3 installation that was
    > "upgraded", but somehow not everything happened to upgrade it
    > properly.
    >
    >
    > Any thoughts? It's more than an academic exercize for me because a
    > software package we use is failing on something related to this
    > issue. I know this is carzy to ask... but is there a way to "get
    > it back"? I'd prefer a new clean enviroment, but I don;t think that
    > is gonna happen. Maybe I could tar up a copy from another 5.3L
    > enviroment and dump it?
    >


    Have a check on the system by using lppchk, instfix, oslevel and
    similar commands, which can tell you about missing files, requisites and
    things like that.



    --
    * Alberto Varesio * - /IBM eServer Certified Specialist/
    /S&N Competence Center Application Engineer/
    * SPAZIOSYSTEM S.p.A. * - http://www.spaziosystem.com/
    Tel.: +39 011 19520213 - Cell.: 335 1811324

    Confidential notice: This message and its attachments may contain
    confidential information that is addressed solely to the above person.
    If you have received this message without authorization, delete it
    along with any other copy and inform the sender.
    Please consider your environmental impact before printing this e-mail
    ==
    Better to be safe than . . . . . . . . . . . punch a 5th grader

+ Reply to Thread