On Sat, Mar 6, 2010 at 1:18 PM, Roseen, Göran <
[email protected]> wrote:

> Hi all,
>
> I have a DLink DNS-323 Network Attached Storage, and besides storing stuff
> on it, it is a perfect little server for things you want to keep running 24
> hours. Like the WRT54G, but with a lot more storage.
>
>
Any idea what distribution you are using? Especially what C library. It
looks like the handling of glibc and uclibc on matters like fork and daemon
are different.


> I downloaded owfs-2.7p28 and ran ./configure and make install, and hey! It
> compiled with no errors!
> I then tried to run owserver with a test adapter. It started three threads
> in the background that I can see with ps ax, but owdir shows nothing.
>
> Then I tried running owserver in the foreground, and that works fine! It
> works nicely with -u and owget gives me the temperature on a connected
> sensor.
>
> (I haven't got Fuse, so I don't intend to run owfs. Configure detected this
> nicely.)
>
> I see a line of code in owserver.c, saying something about special
> treatment of exit() on the wrt54, compiled in with the macro __UCLIBC__.
> Perhaps this is needed on the DNS-323 too. I do have uclibc on the machine,
> but I am not sure if the library path is set correctly. And I can't see
> anything in ./configure or the Makefiles referring to this macro.
>
>
The code to go into the background is in modules/owlib/src/c/daemon.c



> Does anyone have any ideas on how I can go on debugging? I tried running
> with verbose output redirected to a file, but when running in the background
> I don't get any output at all.
>
Are there any messages posted to syslog?
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to