Networker

Re: [Networker] Savepnpc and Output @ Console in Linux

2008-10-07 20:33:36
Subject: Re: [Networker] Savepnpc and Output @ Console in Linux
From: A Darren Dunham <ddunham AT TAOS DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 8 Oct 2008 00:30:33 +0000
On Tue, Oct 07, 2008 at 07:34:20PM -0400, JGillTech wrote:
> My groupname.res file looks like this on the client: 
> 
> type: savepnpc;
> precmd:  "/bin/bash /etc/init.d/mysql stop";
> pstcmd:  "/bin/bash /etc/init.d/mysql start";
> timeout:  "12:00:00";
> abort precmd with group:  Yes;
> 
> When the backup runs, I am getting the output of these commands on the 
> console (when I am on tty1).  Looks like this:
> 
> root@limes:/nsr/res#  * Stopping MySQL database server mysqld .... done
>
> This takes away my prompt until I press enter... is there anyway to
> surpress this?  I have admins working on this server that are
> receiving this output.  This occurs even when I am logged out.

My suspicion is that this doesn't have anything to do with Networker or
savepnpc, but that the /etc/init.d/mysql script is sending output
directly to the console.

Does it happen even if you run it by hand?

-- 
Darren

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER