So Matt,
 
Let's review.
You are running OWFS 2.5p6 as root.
You compiled the programs from source.
Trying to connect to a serial adapter.
You eventual goal is Nagios support, but the current testing doesn't invlolve Nagios.
Platform is Debian.
 
Background owserver works if not connecting to the serial port.
Forground owserver works connected to serial port.
 
Did I summarize correctly?
 
Paul
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Matt
Sent: Wednesday, November 08, 2006 2:48 AM
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] Problems

 

Paul,

 

I’m somewhat unschooled in device permissions but heres what I have :

crw-rw----  1 root dialout 4, 64 2005-02-26 17:39 /dev/ttyS0

 

For all the tests so far, I have been logged in as root.

 

Thanks


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Alfille
Sent: Monday, 6 November 2006 10:48 PM
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] Problems

 

That suggests that serial port access is blocked for the background process.
What are the permissions on /dev/ttyS0 ?

Paul Alfille

On 11/6/06, Matt <[EMAIL PROTECTED]> wrote:

Paul,

 

The foreground (hardware) server worked for multiple queries.

The background server worked for multiple queries.

 

I quite them both and ran another background server (hardware) and it quit after one query.

 

Thanks for you help.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Paul Alfille
Sent: Monday, 6 November 2006 8:00 AM
To: owfs-developers@lists.sourceforge.net
Subject: Re: [Owfs-developers] Problems

 

1. Release 2.5p5 had a problem where a bad path (parsing ok, but not the correct type) in one of the owshell programs could crash owserver. That is fixed in 2.5p6 which will be released very soon.

2. The fact that going into the background gived problems with "reconnecting" suggests that there is something blocking owserver in the background from talking to hardware.

Lat's try a test. run an extra owserver in the foreground connected to the serial adapter, and run the background owserver connecting to the foreground owserver. There should be no permissions issues then. Does owdir against the second (background) owserver still crash?

Example:

./owserver -d /dev/ttyS0 -p 4001 --error_level=4 --foreground

./owserver -s 4001 -p 3001 --error_level=4

# should be ok:
./owdir -s 4001 /

# The big test:
./owdir -s 3001 /

Paul Alfille


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to