Professional Web Applications Themes

cron does no restart - AIX

After "kill -9 <cronpid>" cron doesn't restart. Error: "cron is already running." But "ps -ef" doesn't show any cron. Can anyone help ? I didn't find any pid-File for cron. It's an AIX 5.2 on a p670. Ralf...

  1. #1

    Default cron does no restart

    After "kill -9 <cronpid>" cron doesn't restart.
    Error: "cron is already running."
    But "ps -ef" doesn't show any cron.

    Can anyone help ? I didn't find any pid-File for cron.
    It's an AIX 5.2 on a p670.

    Ralf
    BBCONS GmbH Guest

  2. #2

    Default Re: cron does no restart

    Inittab should automatically respawn cron if its killed....

    Check your inittab:

    # lsitab cron
    cron:23456789:respawn:/usr/sbin/cron

    If its in inittab, then I'd suggest checking your error log- errpt.

    Regards,


    "BBCONS GmbH" <Ralf.Baerwaldtgmx.de> wrote in message
    news:e1f4433c.0307290736.14e72447posting.google.c om...
    > After "kill -9 <cronpid>" cron doesn't restart.
    > Error: "cron is already running."
    > But "ps -ef" doesn't show any cron.
    >
    > Can anyone help ? I didn't find any pid-File for cron.
    > It's an AIX 5.2 on a p670.
    >
    > Ralf

    Simon Edmonds Guest

  3. #3

    Default Re: cron does no restart


    Uzytkownik "BBCONS GmbH" <Ralf.Baerwaldtgmx.de> napisal w wiadomosci
    news:e1f4433c.0307290736.14e72447posting.google.c om...
    > After "kill -9 <cronpid>" cron doesn't restart.
    > Error: "cron is already running."
    > But "ps -ef" doesn't show any cron.
    >
    > Can anyone help ? I didn't find any pid-File for cron.
    > It's an AIX 5.2 on a p670.
    >
    > Ralf

    Don't you really have following file containing pid of "killed -9" cron?

    /var/locks/LCK..cron

    If you have it remove it before next cron starting...


    Yoyo Guest

  4. #4

    Default Re: cron does no restart

    > After "kill -9 <cronpid>" cron doesn't restart.
    > Error: "cron is already running."
    > But "ps -ef" doesn't show any cron.
    > Can anyone help ? I didn't find any pid-File for cron.
    > It's an AIX 5.2 on a p670.
    We have the exact same problem on AIX 5.1.0.0 on a new
    p610. "cron" just vanishes and does not restart.

    It is listed in /etc/inittab -
    cron:23456789:respawn:/usr/sbin/cron

    There is a /var/locsk/LCK..cron but I can remove that
    and still nothing happens.
    Adam Williams Guest

  5. #5

    Default Re: cron does no restart

    > Inittab should automatically respawn cron if its killed....
    >
    > Check your inittab
    > # lsitab cron
    > cron:23456789:respawn:/usr/sbin/cron
    > If its in inittab, then I'd suggest checking your error log- errpt.
    drill:/ $ lsitab cron
    cron:23456789:respawn:/usr/sbin/cron

    Our error log looks like -
    2BFA76F6 0708231503 T S SYSPROC SYSTEM SHUTDOWN BY USER
    9DBCFDEE 0708232503 T O errdemon ERROR LOGGING TURNED ON
    192AC071 0708231403 T O errdemon ERROR LOGGING TURNED OFF
    C60BB505 0708161703 P S SYSPROC SOFTWARE PROGRAM ABNORMALLY
    TERMINATE

    and the last one isn't cron, it is an SQL gatewat process.
    Cron died last night but there is nothing in the error log.
    Adam Williams Guest

Similar Threads

  1. cron job
    By cljlk in forum Linux / Unix Administration
    Replies: 1
    Last Post: April 2nd, 06:50 PM
  2. rsh and cron
    By cljlk in forum Linux / Unix Administration
    Replies: 2
    Last Post: November 14th, 03:20 PM
  3. Cron problems
    By Vema Venkata in forum PERL Beginners
    Replies: 2
    Last Post: August 18th, 08:33 AM
  4. cron
    By Richard Lynch in forum PHP Development
    Replies: 0
    Last Post: August 15th, 05:14 PM
  5. cron job with checkpoint fw log
    By Barry Margolin in forum Sun Solaris
    Replies: 4
    Last Post: July 22nd, 09:56 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139