solaris 9 ssh hangs from cron...

egold_at_fsa.com
Date: 08/06/03

  • Next message: Charles Idonije: "Implementing Nested Groups in Solaris"
    To: sunmanagers@sunmanagers.org
    Date: Wed, 6 Aug 2003 14:48:50 -0400
    
    

    I have a job i run that ssh-es to all my servers and runs a command, it
    works fine from the command line but from cron it hangs on each host, the
    ssh process does not return from the remote command. The remote command
    only takes 30 seconds to run but it never returns.
    My server is solaris 9 and the clients are solaris 8 running openssh.

    here is the "ps -ef" of the problem:

    root@host2:/tmp/sarcheck/030806# date
    Wed Aug 6 14:48:04 EDT 2003

    root@host2:/tmp/sarcheck/030806# psg sarch
        root 15877 15640 0 11:50:08 ? 0:01 ssh fsasun9
    /usr/local/bin/run_sarcheck
        root 15639 469 0 11:50:01 ? 0:00 sh -c
    /opt/local/bin/make_sarcheck_web > /tmp/make_sarcheck_web.log 2>&1
        root 15640 15639 0 11:50:01 ? 0:00 /bin/ksh
    /opt/local/bin/make_sarcheck_web

    my cronjob looks like the following:

    for i in fsasun9 host2 host3
    do
    ssh $i "/usr/local/bin/run_sarcheck"
    done

    Evan Gold
    Financial Security Assurance
    Tel: 212.893.2762
    Fax: 212.339.0852
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: Charles Idonije: "Implementing Nested Groups in Solaris"

    Relevant Pages

    • [2/3] POHMELFS: Documentation.
      ... * Client is able to switch between different servers (if one goes down, ... * Read requests balancing between multiple servers. ... Each transaction contains all information needed to process given command ...
      (Linux-Kernel)
    • [2/3] POHMELFS: documentation.
      ... +POHMELFS: Parallel Optimized Host Message Exchange Layered File System. ... * Read request balancing between multiple servers. ... +command (or set of commands, which is frequently used during data writing: ... +POHMELFS is capable of full data channel encryption and/or strong crypto hashing. ...
      (Linux-Kernel)
    • [HPADM] Summary: How to verify if ftpserver & webserver are used ("last" command?)
      ... Thanks a lot, besides the replies, I've also found out for Solaris, ... we can use "lsof" command & run a regular script that do ... Take a look on the log files of http and ftp servers. ... I can use the "last" command to see ...
      (HP-UX-Admin)
    • Re: AD 2003 - Time Services
      ... You shouldn't have run the /setsntp command on anything other than the PDCe. ... All other domain members are set, by default, to use Nt5Ds -which means the ... Win2000/2003 Servers in a mixed-mode 2003 Active Directory. ... The time service is no longer synchronized and cannot provide the time to other clients or update the system clock. ...
      (microsoft.public.windows.server.active_directory)
    • Re: Dump of user accounts
      ... Both are LDAP servers and both support LDIFDE.exe, ... you can omit the attributes from the ... the command will run using the credentials of the ...
      (microsoft.public.win2000.active_directory)