RE: [U2] anyone seen this error before?

2007-12-27 Thread Doug Chanco
# cat uvcron.c /* This c routine can be used to start universe processes in cron or at. Normally only one process can run at a time because they use the same printer memory segment. simply replace the 'uv' command with 'uvcron' for example: uvcron 'BATCH-REPORT1' dave.mail */

Re: [U2] anyone seen this error before?

2007-12-27 Thread Rex Gozar
Doug, First off, it looks like you are missing the # signs on the compiler directives: #if UCB setpgrp(0,getpid()); #else setpgrp(); #endif I don't have access to an aix compiler, but this seems to fix it for gcc. rex --- u2-users mailing list

RE: [U2] anyone seen this error before?

2007-12-27 Thread Anthony Youngman
... Cheers, Wol -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Chanco Sent: 27 December 2007 13:43 To: u2-users@listserver.u2ug.org Subject: RE: [U2] anyone seen this error before? # cat uvcron.c /* This c routine can be used to start universe processes

RE: [U2] anyone seen this error before?

2007-12-27 Thread Anthony Youngman
if and else blocks inside curly brackets, even if they're not needed ...) Cheers, Wol -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Chanco Sent: 27 December 2007 13:43 To: u2-users@listserver.u2ug.org Subject: RE: [U2] anyone seen this error before

RE: [U2] anyone seen this error before?

2007-12-27 Thread Doug Chanco
Of Hona, David S Sent: Tuesday, December 18, 2007 9:52 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] anyone seen this error before? Here is Dave Church's solution/workaround to address the long outstanding UV cron issue, it's a little C program... -Original Message- From: Hona, David

RE: [U2] anyone seen this error before?

2007-12-27 Thread Doug Chanco
That was the problem! Thanks a million dougc -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rex Gozar Sent: Thursday, December 27, 2007 10:01 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] anyone seen this error before? Doug, First off

Re: [U2] anyone seen this error before?

2007-12-20 Thread doug chanco
*/ printf(exec failed \n); exit(-1); } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Clifton Oliver Sent: Tuesday, December 18, 2007 3:20 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] anyone seen this error before? Because that id

RE: [U2] anyone seen this error before?

2007-12-20 Thread Perry Taylor
] [mailto:[EMAIL PROTECTED] On Behalf Of doug chanco Sent: Thursday, December 20, 2007 10:55 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] anyone seen this error before? thanks! but I am curious is this a better solution than just using PHANTOM in the shell script? dougc Hona, David S wrote

RE: [U2] anyone seen this error before?

2007-12-20 Thread Hona, David S
for from the vendor, the other you use at your own risk. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of doug chanco Sent: Friday, December 21, 2007 2:55 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] anyone seen this error before? thanks! but I am

RE: [U2] anyone seen this error before?

2007-12-18 Thread Hona, David S
] On Behalf Of Clifton Oliver Sent: Tuesday, December 18, 2007 3:20 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] anyone seen this error before? Because that id is used to determine the id of the printer memory segment for the process. If you have two UV processes with the same gpid, they end up

RE: [U2] anyone seen this error before?

2007-12-17 Thread Doug Chanco
Of Clifton Oliver Sent: Sunday, December 16, 2007 1:38 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] anyone seen this error before? I don't know about perl, but I am *guessing* that would work. An early solution (circa 1997/8) was to use a little program written in C to do the same thing. I've

Re: [U2] anyone seen this error before?

2007-12-17 Thread Clifton Oliver
Because that id is used to determine the id of the printer memory segment for the process. If you have two UV processes with the same gpid, they end up sharing the memory segment. This is where your MFILE structures are stored (rotating file pool), among other things. Pointers get mixed

Re: [U2] anyone seen this error before?

2007-12-15 Thread John Godzina
:[EMAIL PROTECTED] On Behalf Of Doug Chanco Sent: Friday, December 14, 2007 5:00 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] anyone seen this error before? Actually I think that's exactly what we are doing! dougc You want to make sure you only run UV cron jobs as phantoms

Re: [U2] anyone seen this error before?

2007-12-15 Thread Clifton Oliver
That is the reason for having the cron script use the PHANTOM command. - Clif On Dec 15, 2007, at 1:46 PM, John Godzina wrote: I'm not sure, but wasn't there some discussion a while back stating that multiple UV processes initiated via cron would be fine if each process had their own

Re: [U2] anyone seen this error before?

2007-12-15 Thread John Godzina
Hi Cliff, Can I also simply wrap the UV process in something that changes the pgid? (e.g.: the setpgrp command in perl) John Clifton Oliver wrote: That is the reason for having the cron script use the PHANTOM command. - Clif On Dec 15, 2007, at 1:46 PM, John Godzina wrote: I'm not

Re: [U2] anyone seen this error before?

2007-12-15 Thread Clifton Oliver
I don't know about perl, but I am *guessing* that would work. An early solution (circa 1997/8) was to use a little program written in C to do the same thing. I've have to search my records or the list archive to dig that out. But it begs the question, why not just use PHANTOM? Are you

RE: [U2] anyone seen this error before?

2007-12-14 Thread Doug Chanco
Actually I think that's exactly what we are doing! dougc -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Jenkins Sent: Thursday, December 13, 2007 7:37 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] anyone seen this error before? Any chance

RE: [U2] anyone seen this error before?

2007-12-14 Thread John Hester
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Chanco Sent: Friday, December 14, 2007 5:00 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] anyone seen this error before? Actually I think that's exactly what we are doing! dougc You

RE: [U2] anyone seen this error before?

2007-12-14 Thread John Jenkins
is why root? Regards JayJay -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Hester Sent: 14 December 2007 21:40 To: u2-users@listserver.u2ug.org Subject: RE: [U2] anyone seen this error before? -Original Message- From: [EMAIL PROTECTED

RE: [U2] anyone seen this error before?

2007-12-13 Thread Jerry Banker
Unauthorized access to the tmp directory would be my first guess. The next would be that the select file was not created in the tmp directory because it ran out of room. Jerry Banker Sr Programmer Analyst Affiliated Acceptance Corp Sunrise Beach, MO 1-800-233-8483 www.affiliated.org

Re: [U2] anyone seen this error before?

2007-12-13 Thread Raul_Dominguez
What happens when you run the script using the same id from the shell prompt? What happens when you run the command from the TCL? - Original Message - From: Jerry Banker [EMAIL PROTECTED] Sent: 12/13/2007 03:54 PM CST To: u2-users@listserver.u2ug.org Subject: RE: [U2] anyone seen

RE: [U2] anyone seen this error before?

2007-12-13 Thread John Jenkins
Any chance you are running a UniVerse foreground task from root crontab on AIX? Regards JayJay -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Doug Chanco Sent: 13 December 2007 20:49 To: u2-users@listserver.u2ug.org Subject: [U2] anyone seen this error