Am Freitag 01 Dezember 2006 17:36 schrieb David Nolan:

> Looking at your script it should be an issue, you're not checking for
> errors from getopt (for extra unparsed args..)

I'll add them; nonetheless, I checked for extra unparsed args and there 
were none.

> Who owns the file on disk is not necessarily the same as the user the
> process is running as.  Run 'ps waux | grep mon' or similar...  Since
> you're trying to open /dev/ttyS1 you need to make sure that device is
> writable by the user mon is executing as.

root is the user who runs the process.

> I don't see any issues with the script offhand...  Did you try adding
> debugging code near the 'no connection with serial port' case?

Yes, unsuccessful.

> If you're still having issues, post your mon.cf snippet next...

How much of a snippet?

> -David

Regards,
Steven

_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to