I find this an interesting topic "running commands as root" , if anyone
is interested I would like to move this to "community" and keep on
talking about it (but only if others are interested, no fun talking to
myself)

:)
  

Dougc
 
_________________________________
Doug Chanco
Engineer Developer Senior, TLOTLD
 
Activant Solutions Inc.(tm)
Austin, Texas 78746
T: 800-678-5426
F: 512-278-5915
E-mail: [EMAIL PROTECTED] 
Web site: www.activant.com
_________________________________
 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:owner-u2-
> [EMAIL PROTECTED] On Behalf Of Jerry Banker
> Sent: Friday, July 13, 2007 8:51 AM
> To: [email protected]
> Subject: RE: [U2] Error code 2
> 
> The 'o' option is not available on Red Hat Linux 3. Is there a problem
> report that I can look at. And, yes any system administrator worth
their
> salt is not going to use commands in the cron that will potentially
> cause the s..t to hit the fan.
> 
> -----Original Message-----
> From: John Jenkins [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 12, 2007 3:04 PM
> To: [email protected]
> Subject: RE: [U2] Error code 2
> 
> Jerry
> 
> It relates to the UniVerse user number (which is now DERIVED from the
> PID by
> a means of information reduction to cater for long PIDs). There are a
> maximum of 32K foreground processes and 32K PHANTOM processes.
> 
> So you launch from crontab (a starting PID) and it generates a UV user
> number and attempts to attach to shared memory at that point (as
root).
> The
> answer is (of course) sir - certainly - right on - love you root.
> 
> Whether you see a problem is moot - it depends, but it's not a good
idea
> (and root is not a good idea for other reasons as Doug mentioned).
> 
> You MAY see a peripheral symptom of this:
> 
> ipcs -mop|grep 0xffff
> 
> Do you get these building up? Are they attached to the UV shared
memory
> segment? (compare "ipcs -mop" output for aceb, acec and ffff).
> 
> I'll try and force it tomorrow time permitting, but the system I have
is
> not
> heavily loaded and replication is not guaranteed.
> 
> Regards
> 
> JayJay
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Jerry Banker
> Sent: 12 July 2007 13:37
> To: [email protected]
> Subject: RE: [U2] Error code 2
> 
> John,
> You've said this before. Could you elaborate a little more on this? We
> run many tasks on cron as root and have never had any problems both
with
> Solaris and Linux.
> Jerry
> 
> -----Original Message-----
> From: John Jenkins [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 11, 2007 6:19 PM
> To: [email protected]
> Subject: RE: [U2] Error code 2
> 
> Karl
> 
> I can't see enough from your posting, but if you are running UniVerse
> foreground processes from crontab as root then please don't....
> especially
> AIX.
> 
> Change to a non-root crontab
> 
> Regards
> 
> JayJay
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> [EMAIL PROTECTED]
> Sent: 11 July 2007 15:07
> To: [email protected]
> Subject: [U2] Error code 2
> 
> The following cron response came to me at 2:30pm in the day. We have
> programs that run at various times, but this is the first time I've
seen
> this. What are the probable causes? TIA, Karl
> 
> ***************** BEGIN CRON EMAIL ********************
> 
> 1537 record(s) selected to SELECT list #0.
> A fatal error has occurred in UniVerse.
> Unable to re-open operating system file ""
> Error code   2
> 
> 
> *****************************************************************
>       cron: The previous message is the standard output
>       and standard error of one of the cron commands.
> 
> 
> ****************  END CRON EMAIL ********************
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to