Ask a Question related to SCO, Design and Development.
-
Ronald J Marchand #1
error report redirection
In my printer interface script I have the following:
until /usr/bin/netgearcheck $PRTHOST $PRTPORT
do
sleep 10
done
If network traffic is really heavy, it occasionally encounters an error.
The error is mailed to the user who submitted the print job.
What can I do to this line to cause the lp system to ignore this problem and
not send the user mail OR redirect the mail to another user.
Any help appreciated.
TIA
Ron
Ronald J Marchand Guest
-
ASP .NET - Crystal Report Error
Hi, I got the following error when I set the report source of the CrystalReportViewer, Can anyone please help me. Thanks...doug. Private Sub... -
Error attempting to write location redirection
in the webserver.log, we are getting "Error attempting to write location redirection to web server (Windows NT error number -2147467259 occurred)"... -
Redirection limit error
I am a newbie to cold fusion. I am getting error "Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused... -
Error in report builder
I'm trying to add a line in the report builder using the line tool, as soon as I drag the line and release I get the error: Object: TReportBand... -
Please help: Error - Circular Redirection
Hi All I would very much appreciate your help: I have two scripts alternating in the background triggering themselves mutually. Here is how: ... -
Jean-Pierre Radley #2
Re: error report redirection
Tony Lawrence typed (on Thu, Jul 17, 2003 at 05:10:16PM +0000):
| Ronald J Marchand <rojomar@covad.net> wrote:
| >In my printer interface script I have the following:
| >until /usr/bin/netgearcheck $PRTHOST $PRTPORT
| >do
| > sleep 10
| >done
|
| >If network traffic is really heavy, it occasionally encounters an error.
| >The error is mailed to the user who submitted the print job.
|
| >What can I do to this line to cause the lp system to ignore this problem and
| >not send the user mail OR redirect the mail to another user.
|
| If your script always does an "exit 0" then the rest of lp is going
| to assume it was successful..
|
| What's actually happening here? Is it sleeping so long that lp
| assumes the script fails? Perhaps you can be more creative and
| only check for a short period of time?
|
| But then again, why wouldn't you want to notify the user of an error?
Starting in OSR 5.0.6, inserting CANCEL_MAIL=NO in /etc/default/lpd
will stop messages about failed printing jobs from being mailed to the
invoking user.
--
JP
Jean-Pierre Radley Guest
-
Ronald J Marchand #3
Re: error report redirection
"Jean-Pierre Radley" <jpr@jpr.com> wrote in message
news:20030717180018.GA12981@jpradley.jpr.com...error.> Tony Lawrence typed (on Thu, Jul 17, 2003 at 05:10:16PM +0000):
> | Ronald J Marchand <rojomar@covad.net> wrote:
> | >In my printer interface script I have the following:
> | >until /usr/bin/netgearcheck $PRTHOST $PRTPORT
> | >do
> | > sleep 10
> | >done
> |
> | >If network traffic is really heavy, it occasionally encounters anproblem and> | >The error is mailed to the user who submitted the print job.
> |
> | >What can I do to this line to cause the lp system to ignore thisUnfortunately this is pre 5.0.6. But the print job is not failing. The> | >not send the user mail OR redirect the mail to another user.
> |
> | If your script always does an "exit 0" then the rest of lp is going
> | to assume it was successful..
> |
> | What's actually happening here? Is it sleeping so long that lp
> | assumes the script fails? Perhaps you can be more creative and
> | only check for a short period of time?
> |
> | But then again, why wouldn't you want to notify the user of an error?
>
> Starting in OSR 5.0.6, inserting CANCEL_MAIL=NO in /etc/default/lpd
> will stop messages about failed printing jobs from being mailed to the
> invoking user.
>
>
> --
> JP
perl script (in netgearcheck) is encountering difficulty and that is what is
being mailed.
Ron
Ronald J Marchand Guest
-
tony@aplawrence.com #4
Re: error report redirection
Ronald J Marchand <rojomar@covad.net> wrote:
Umm, not in my experience. Are you using netcat?>The routine checks the status of the print server every 10 seconds. If it
>is ready, then the job prints else it continues to loop.
>
>Why?? you might ask. Because Netgear print servers are buggy.
I have dozens and dozens of netgears in the field, all using netcat. The
only time I have problems with these is with lpd or using their
Windows software to go directly. But with netcat
( [url]http://aplawrence.com/SCOFAQ/scotec7.html#getnetcat[/url] for those
who don't know), no problems at all.
Well, one Linux box the netgear keeps losing its ip address, but the
customer won't let me find out why, so I can't say that's really
a netgear problem.
--
[email]tony@aplawrence.com[/email] Unix/Linux/Mac OS X resources: [url]http://aplawrence.com[/url]
Get paid for writing about tech: [url]http://aplawrence.com/publish.html[/url]
tony@aplawrence.com Guest
-
tony@aplawrence.com #5
Re: error report redirection
Jean-Pierre Radley <jpr@jpr.com> wrote:
I knew about that, but does it also work for failed jobs as well>Starting in OSR 5.0.6, inserting CANCEL_MAIL=NO in /etc/default/lpd
>will stop messages about failed printing jobs from being mailed to the
>invoking user.
as cancelled?
--
[email]tony@aplawrence.com[/email] Unix/Linux/Mac OS X resources: [url]http://aplawrence.com[/url]
Get paid for writing about tech: [url]http://aplawrence.com/publish.html[/url]
tony@aplawrence.com Guest
-
Ronald J Marchand #6
Re: error report redirection
<tony@aplawrence.com> wrote in message news:bf6qne$vl9$1@pcls4.std.com...
it> Ronald J Marchand <rojomar@covad.net> wrote:
>> >The routine checks the status of the print server every 10 seconds. IfYes I am. And it works as expected. But Netgear print servers with a>> >is ready, then the job prints else it continues to loop.
> >
> >Why?? you might ask. Because Netgear print servers are buggy.
> Umm, not in my experience. Are you using netcat?
firmware later than 6017 have problems. We had a prior thread here on this
subject. If the printer is not on line, the job goes into never-never land.
If I only had one or two I would sledge hammer them into the trash can.
Check the firmware revision ....>
> I have dozens and dozens of netgears in the field, all using netcat. The
> only time I have problems with these is with lpd or using their
> Windows software to go directly. But with netcat
> ( [url]http://aplawrence.com/SCOFAQ/scotec7.html#getnetcat[/url] for those
> who don't know), no problems at all.
>
> Well, one Linux box the netgear keeps losing its ip address, but the
> customer won't let me find out why, so I can't say that's really
> a netgear problem.
Ron
Ronald J Marchand Guest
-
Bill Vermillion #7
Re: error report redirection
In article <bf6qne$vl9$1@pcls4.std.com>, <tony@aplawrence.com> wrote:
>Ronald J Marchand <rojomar@covad.net> wrote:
>>>>The routine checks the status of the print server every 10 seconds. If it
>>is ready, then the job prints else it continues to loop.
>>
>>Why?? you might ask. Because Netgear print servers are buggy.
>Umm, not in my experience. Are you using netcat?The old Netgears with the 6017 firmware worked fine. Then they>I have dozens and dozens of netgears in the field, all using netcat. The
>only time I have problems with these is with lpd or using their
>Windows software to go directly. But with netcat
>( [url]http://aplawrence.com/SCOFAQ/scotec7.html#getnetcat[/url] for those
>who don't know), no problems at all.
moved to 6026 ?? [from memory] and they stopped being 'fine.
--
Bill Vermillion - bv @ wjv . com
Bill Vermillion Guest



Reply With Quote

