Re: rsh and cron

From: cljlk (cljlk_at_hotmail.com)
Date: 11/14/03

  • Next message: don: "History of Unix"
    Date: Fri, 14 Nov 2003 10:20:07 -0500
    
    

    Please read the reply below:

    "Barry Margolin" <barry.margolin@level3.com> wrote in message
    news:dGUsb.500$lK3.74@news.level3.com...
    > In article <bp13n3$rk4$1@bob.news.rcn.net>, cljlk <cljlk@hotmail.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, barry.margolin@level3.com
    > 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.


  • Next message: don: "History of Unix"

    Relevant Pages

    • Re: Active Directory User Account Activity
      ... You can use scripts to parse the log files looking for specific information. ... Running a script on the client side is fine, but how do you tune it? ... The program i used used a main app on the server that constantly logged ...
      (microsoft.public.windows.server.active_directory)
    • Re: VPN Error 733, Event Log Error 20050 with SBS 2003
      ... client to the server, but not the other way around. ... as far as I'm aware you can't reinstall RRAS (I think you could ... there are *lots* of log files in the directory of that name. ...
      (microsoft.public.windows.server.sbs)
    • Re: rsh and cron
      ... or the server you're trying to run soft_application on? ... The problem is occured on client host. ... Thanks for the cron job information. ... > huge log files. ...
      (comp.unix.admin)
    • Re: rsh and cron
      ... or the server you're trying to run soft_application on? ... The problem is occured on client host. ... Thanks for the cron job information. ... > huge log files. ...
      (comp.unix.solaris)
    • Re: SMS Client showing = No
      ... check following log files to see if there is any error: ... Ccmexec.log (this is the log of the client service) ... SMS 2003 Server discovered the workstation & SMS Client also gets ... "If the MP is W2k3: Verify that the BITS Web Extensions are enabled." ...
      (microsoft.public.sms.admin)