Re: Inappropriate I/O control operation

Petr Lázňovský <[email protected]>
Newsgroups gmane.network.mrtg.user
Message-ID <[email protected]>
> On 5/14/12 9:01 AM, "Petr Lázňovský" <[email protected]> wrote:

>> Monitoring data via external script. Work OK if started from cmdline, but
>> produce errormessage if run as service.
>> Have many other mrtg monitoring via external scripts and run as service, but
>> those work OK.

>> W2k3, Perl 5.10.1, MRTG 2.16.2

>> Any ideas?

>> L. 

>> 2012-05-14 14:07:55 -- 2012-05-14 14:07:53: WARNING: Could not get any data
>> from external command 'C:\scripts\active_scripts\signatures_count.cmd'
>> Maybe the external command did not even start. (Inappropriate I/O control
>> operation)


> Looks like some sort of permissions error - the user running mrtg in batch
> mode doesn't have access to run something in your script.

I do not think so. The service run under LOCAL SYSTEM account, which is highest permission ever. After your mail I try to change service account to the same as used on cmdline, but help.

L.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.