problem fixed, bug closed. calling freopen on the std streams does the trick. Code extracted to new function in server.c,server_daemonize if you want to see how it's done atm.
-- ________________________________________________________________ Paul Stevens paul at nfg.nl NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31 The Netherlands________________________________http://www.nfg.nl