As above, LANG=C (or similar) must be set for rpcd to work correctly. other
uv services work fine with LANG set to anything, rpc needs it tho ...


Rgds

On 10/05/06, Lembit Pirn <[EMAIL PROTECTED]> wrote:
>
> Is the LANG setting correct (C) ?
>
> Senn, Bruce wrote:
>
> >FWIW, you can't always be sure of the environment when running something
> >from cron. You might be missing something in the PATH variable or some
> >other environment variable.
> >
> >I guess a question is whether this has worked in the past or is
> >something new that you are trying to do?
> >
> >HTH.
> >
> >Bruce.
> >------------------------------------------------------------------------
> >----
> >  Bruce J. Senn                        Phone:  (518) 388-6664
> >  Senior System Manager        FAX:    (518) 388-6458
> >  Union College                        E-mail:  [EMAIL PROTECTED]
> >  Schenectady, NY 12308        WWW:  http://www1.union.edu/~sennb
> >------------------------------------------------------------------------
> >----
> >
> >
> >-----Original Message-----
> >From: [EMAIL PROTECTED]
> >[mailto:[EMAIL PROTECTED] On Behalf Of Jacques G.
> >Sent: Tuesday, May 09, 2006 4:02 PM
> >To: u2-users@listserver.u2ug.org
> >Subject: [U2] [UV] unirpc daemon, stopping and re-starting it from cron
> >
> >Hello,
> >
> >We have a cron job which does the following:
> >
> >1- Uses Universe's  uv.rc script to stop Universe and
> >unirpc daemon
> >2- Make a backup of the Production account into a
> >different filesystem on the production machine.
> >3- Restart Universe & unirps using the uv.rc script
> >4- Start the backup to tape of the copy of the
> >production environment.
> >
> >When Universe is re-started along with the unirpc
> >daemon within the cron job, Universe works but the
> >unirpc daemon doesn't work correctly.  It must be
> >stopped manually from the uv menu and re-started.  Has
> >anyone here encountered a similar problem ?
> >
> >I've tried to get support help from IBM but I get the
> >run-around.  I'm told that IBM won't debug my
> >companies script even though I've repeatedly told them
> >that the script we are using the uv.rc script that was
> >written by IBM.
> >
> >We are running Universe 10.1.8 on a HP.UX 11i machine.
> >
> >
> >
> >
> >
> >
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Tired of spam?  Yahoo! Mail has the best spam protection around
> >http://mail.yahoo.com
> >-------
> >u2-users mailing list
> >u2-users@listserver.u2ug.org
> >To unsubscribe please visit http://listserver.u2ug.org/
> >-------
> >u2-users mailing list
> >u2-users@listserver.u2ug.org
> >To unsubscribe please visit http://listserver.u2ug.org/
> >
> >
> >
>
> --
> Lembit Pirn
>
> 7+7 Software
> Mustamde tee 4
> Tallinn 10621
> Estonia
> phone: +372 6566 232
> GSM: +372 5028707
> e-mail: [EMAIL PROTECTED]
> -------
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to