[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[LDM #BRA-809880]: ldmd.conf hostname


> Using apostrophes instead of escaped quotes did not work.
> Jul 26 17:08:55 partner2 rpc.ldmd[9572] NOTE: child 9577 exited with status 
> 2: /bin/sh --noprofile -c '/sbin/ifconfig eth0:0 | grep addr:>&/dev/null&&  
> exec dir_watch_wrap -k 1>>/usr/local/ldm/logs/dir_watch/dir_watch_wrap_stdout 
> 2>>/usr/local/ldm/logs/dir_watch/dir_watch_wrap_stderr'

An exit status of 2 means that the pqact(1) process successfully located the 
programs to be executed ("/bin/sh" in this case) but that the program 
terminated due to an error.

If you execute the command manually ("/bin/sh --noprofile -c '...'") does it 

Does "/bin/sh" on your system understand ">&/dev/null"?

Is there anything in "dir_watch_wrap_stdout" or "dir_watch_wrap_stderr" that 
indicates a problem?

> Ryan

Steve Emmerson

Ticket Details
Ticket ID: BRA-809880
Department: Support LDM
Priority: Normal
Status: Closed

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.