Networker

Re: [Networker] linux client trying to use itself as server

2012-04-18 14:16:47
Subject: Re: [Networker] linux client trying to use itself as server
From: Yaron Zabary <yaron AT ARISTO.TAU.AC DOT IL>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 18 Apr 2012 21:16:41 +0300
The /nsr/res/servers file is actually the list of those Networker servers which are allowed to backup the client. If the file is empty, then all Networker servers can backup the client. This is like the -s flag for nsrexecd (check its man page, it also discusses the servers file).

On 04/18/2012 05:30 PM, Dsouza, Rovinabishek wrote:
This might be caused because of the servers file. As far I have experienced on linux a 
servers file is not created under /nsr/res folder. You will have to manually create a 
file by the name "servers" no extensions under /nsr/res on that client machine. 
Open servers file with a text editor eg. vi and put in the name of the NetWorker server. 
Once done restart he nsrexecd service on the client machine. That should get it going.

Rovin A. D'Souza
rovinabi AT gmail DOT com

-----Original Message-----
From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On 
Behalf Of =?utf-8?Q?Christian_Jurecka?=
Sent: Wednesday, April 18, 2012 7:41 PM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: [Networker] linux client trying to use itself as server

Hi everybody,

we have a problem with Postgres on linux doing backup with savepnpc.
OS is Redhat 5.7, networker version is 7.6.2.7.

Node is running a PostgresDB, backup goes with savepnpc. Pstclientsave sends 
WAL-Logs from client to server. Sometimes (not very often) the following 
messages appears in savepnpc.log:

3817:save: Using "clientname" as server
39076:save: RPC warning: RPC cannot make a procedure call: Create failed:
Program not registered

After that it continues with
3817:save: Using "networker server" as server and backup goes on.

Savesets on the server are complete, so it seems the saveset is sent again with the right 
servername and saved on tape as it should be. However, script sends back a returncode 
"1" and our Postgres-admin asks why backup has gone wrong.

Any ideas how to avoid this?

Regards, Christian

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

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


--

-- Yaron.

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