Professional Web Applications Themes

rsh and cron - Linux / Unix Administration

I have Ultra 60 with Solaris 2.6, and the rsh always work fine, until recently I foud the rsh does not work on the Ultra 60. But I don't have any clue. I use "rsh hostname(Ultra 60) soft_application" from one of my server. And I got permission denied. Please shed a light. Another question here.. How do I detect that the cron job is running accordingly? I set a cron job as "0,10,20,30,40,50 * * * * application_here" And I found that the cron job did not run every 10 minute. I mean, the cron job sometime run, but sometime ...

  1. #1

    Default rsh and cron

    I have Ultra 60 with Solaris 2.6, and the rsh always work fine, until
    recently I foud the rsh does not work on the Ultra 60. But I don't have
    any clue. I use "rsh hostname(Ultra 60) soft_application" from one of
    my server. And I got permission denied. Please shed a light.

    Another question here..
    How do I detect that the cron job is running accordingly?

    I set a cron job as "0,10,20,30,40,50 * * * * application_here"
    And I found that the cron job did not run every 10 minute. I mean,
    the cron job sometime run, but sometime does not run. It skip some of
    schedule.
    Thanks

    cljlk Guest

  2. #2

    Default Re: rsh and cron

    In article <bp13n3$rk4$1bob.news.rcn.net>, cljlk <cljlkhotmail.com> wrote:
    >I have Ultra 60 with Solaris 2.6, and the rsh always work fine, until
    >recently I foud the rsh does not work on the Ultra 60. But I don't have
    >any clue. I use "rsh hostname(Ultra 60) soft_application" from one of
    >my server. And I got permission denied. Please shed a light.
    Is the problem only with the client machine you're running the rsh command
    on, or the server you're trying to run soft_application on?

    If it's the client, make sure /usr/bin/rsh is owned by root and setuid.

    If it's the server, make sure the client is in your ~/.rhosts file on the
    server.
    >Another question here..
    >How do I detect that the cron job is running accordingly?
    From the cron(1M) man page:

    To keep a log of all actions taken by cron, CRONLOG=YES (by
    default) must be specified in the /etc/default/cron file.
    If CRONLOG=NO is specified, no logging is done. Keeping the
    log is a user configurable option since cron usually creates
    huge log files.
    >I set a cron job as "0,10,20,30,40,50 * * * * application_here"
    >And I found that the cron job did not run every 10 minute. I mean,
    >the cron job sometime run, but sometime does not run. It skip some of
    >schedule.
    I can't think of a good reason for this.

    --
    Barry Margolin, [email]barry.margolinlevel3.com[/email]
    Level(3), Woburn, MA
    *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
    Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
    Barry Margolin Guest

  3. #3

    Default Re: rsh and cron

    Please read the reply below:

    "Barry Margolin" <barry.margolinlevel3.com> wrote in message
    news:dGUsb.500$lK3.74news.level3.com...
    > In article <bp13n3$rk4$1bob.news.rcn.net>, cljlk <cljlkhotmail.com>
    wrote:
    > >I have Ultra 60 with Solaris 2.6, and the rsh always work fine, until
    > >recently I foud the rsh does not work on the Ultra 60. But I don't have
    > >any clue. I use "rsh hostname(Ultra 60) soft_application" from one of
    > >my server. And I got permission denied. Please shed a light.
    >
    > Is the problem only with the client machine you're running the rsh command
    > on, or the server you're trying to run soft_application on?
    The problem is occured on client host.
    >
    > If it's the client, make sure /usr/bin/rsh is owned by root and setuid.
    It is owned by root and setuid
    >
    > If it's the server, make sure the client is in your ~/.rhosts file on the
    > server.
    It is in ~/.rhosts.


    Thanks for the cron job information.
    Basicly, it was working for more than one year, suddently, it stop working.
    >
    > >Another question here..
    > >How do I detect that the cron job is running accordingly?
    >
    > From the cron(1M) man page:
    >
    > To keep a log of all actions taken by cron, CRONLOG=YES (by
    > default) must be specified in the /etc/default/cron file.
    > If CRONLOG=NO is specified, no logging is done. Keeping the
    > log is a user configurable option since cron usually creates
    > huge log files.
    >
    > >I set a cron job as "0,10,20,30,40,50 * * * * application_here"
    > >And I found that the cron job did not run every 10 minute. I mean,
    > >the cron job sometime run, but sometime does not run. It skip some of
    > >schedule.
    >
    > I can't think of a good reason for this.
    >
    > --
    > Barry Margolin, [email]barry.margolinlevel3.com[/email]
    > Level(3), Woburn, MA
    > *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to
    newsgroups.
    > Please DON'T copy followups to me -- I'll assume it wasn't posted to the
    group.


    cljlk Guest

Similar Threads

  1. cron job
    By cljlk in forum Linux / Unix Administration
    Replies: 1
    Last Post: April 2nd, 06:50 PM
  2. cron
    By Richard Lynch in forum PHP Development
    Replies: 0
    Last Post: August 15th, 05:14 PM
  3. Cron Not Restarted
    By Adam Williams in forum AIX
    Replies: 1
    Last Post: August 7th, 04:25 PM
  4. CRON: bad user
    By friesje306 in forum Sun Solaris
    Replies: 0
    Last Post: July 31st, 09:52 AM
  5. cron log ts=139 errors
    By Chris Thompson in forum Sun Solaris
    Replies: 0
    Last Post: June 28th, 05:36 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