Honeypots mailing list archives

Re: honeyd 1.0 and rrdtool error


From: Zof <batzof () gmail com>
Date: Wed, 5 Jan 2005 15:56:26 +0100

Hi, got the same error regarding rrdtool on a Slackware 10.0 (even
tryied to downgrade rrd to a lower version: no change).
Rrdtool works with the examples provided on the package.

insideout, a quick look at the python code shows that the webserver
can only be accessed on the same machine via loopback, is that what
you try?


Regards, 

Zof


On Wed, 05 Jan 2005 17:56:52 +1300, insideout <insideout () orcon net nz> wrote:
Hi all,
I've just installed honeyd-1.0 on RH 8 (not the latest I know, but all I
had on hand). I added the current  libevent, libdnet and rrdtool-1.0.49
as required, libpcap and python were already there. Everything appears
to have gone fine, but on starting honeyd I get the following repeating
in the logs:
honeyd: rrdtool_fork: execv(/usr/local/rrdtool-1.0.49/): Permission denied
honeyd[825]: rrdtool returning errors - restarting.
honeyd[825]: Respawing rrdtool too quickly

I have not been able to find any information to help fix this :-( I must
have missed something - any pointers?

My honeyd startup is:
#/bin/shell
/usr/local/bin/honeyd -d \
-f /etc/honeyd.conf \
-u 501 \
-g 501 \
-l /var/log/honeyd \
-p /usr/local/share/honeyd/nmap.prints \
-x /usr/local/share/honeyd/xprobe2.conf \
-a /usr/local/share/honeyd/nmap.assoc \
-0 /usr/local/share/honeyd/pf.os \
-i eth0 \
--rrdtool-path=/usr/local/rrdtool-1.0.49/ \
--webserver-port=9876 \
--webserver-root=/usr/local/share/honeyd/webserver/htdocs/ \
--fix-webserver-permissions

cutting it down to this makes no difference to the errors:
#/bin/shell
/usr/local/bin/honeyd -d \
-f /etc/honeyd.conf \
--rrdtool-path=/usr/local/rrdtool-1.0.49/

the web page just returns this:
Error response

Error code 404.

Message: File not found.

Error code explanation: 404 = Nothing matches the given URI.

honeyd-1.0 runs fine with --disable-webserver, but it would be nice to
have it all running.  (I have also tried chmod 777 and chown root:501
the rrdtool and webroot directories to try and eliminate rights errors,
but no luck)

TIA
Mike

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.298 / Virus Database: 265.6.8 - Release Date: 03/01/2005




-- 
Zof
0486 98 30 86
msn: vive_le_mac () hotmail com


Current thread: