Xymon Mailing List Archive search

Latest 4.2-pre snapshot doesn't install CGI scripts

6 messages in this thread

list Frédéric Mangeant · Tue, 14 Feb 2006 17:22:16 +0100 ·
Hi Henrik

installing the latest snapshot fails, as it seems that none of the cgi-bin/ and cgi-secure/ files get copied to the destination directory :

chown hobbituser /var/log/hobbit /BB/hobbit/server /BB/hobbit/server/* /BB/hobbit/server/bin/* /BB/hobbit/server/etc/* /BB/hobbit/server/ext/* /BB/hobbit/server/web/* /BB/hobbit/server/www/gifs /BB/hobbit/server/www/gifs/* /BB/hobbit/server/www/menu /BB/hobbit/server/www/menu/* /BB/hobbit/server/www/help /BB/hobbit/server/www/notes /BB/hobbit/server/www/html /BB/hobbit/server/www/wml /BB/hobbit/data /BB/hobbit/data/* /BB/hobbit/cgi-bin /BB/hobbit/cgi-bin/* /BB/hobbit/cgi-secure /BB/hobbit/cgi-secure/*
chown: cannot access `/BB/hobbit/cgi-bin/*': No such file or directory
chown: cannot access `/BB/hobbit/cgi-secure/*': No such file or directory
make[1]: *** [install-cfg] Error 1
make[1]: Leaving directory `/BB/src/snapshot/hobbitd'
make: *** [install-hobbitd] Error 2

The Makefile I've generated with "./configure --server" is the same than with previous snapshots.

-- 

Frédéric Mangeant

Steria EDC Sophia-Antipolis
list Henrik Størner · Tue, 14 Feb 2006 18:02:18 +0100 ·
quoted from Frédéric Mangeant
On Tue, Feb 14, 2006 at 05:22:16PM +0100, Frédéric Mangeant wrote:
Hi Henrik

installing the latest snapshot fails, as it seems that none of the cgi-bin/ and cgi-secure/ files get copied to the destination directory :

chown hobbituser /var/log/hobbit /BB/hobbit/server /BB/hobbit/server/* /BB/hobbit/server/bin/* /BB/hobbit/server/etc/* /BB/hobbit/server/ext/* /BB/hobbit/server/web/* /BB/hobbit/server/www/gifs /BB/hobbit/server/www/gifs/* /BB/hobbit/server/www/menu /BB/hobbit/server/www/menu/* /BB/hobbit/server/www/help /BB/hobbit/server/www/notes /BB/hobbit/server/www/html /BB/hobbit/server/www/wml /BB/hobbit/data /BB/hobbit/data/* /BB/hobbit/cgi-bin /BB/hobbit/cgi-bin/* /BB/hobbit/cgi-secure /BB/hobbit/cgi-secure/*
chown: cannot access `/BB/hobbit/cgi-bin/*': No such file or directory
chown: cannot access `/BB/hobbit/cgi-secure/*': No such file or directory
I've moved many of the cgi tools around, and probably messed up the
Makefile along the way. Will check - thanks for noticing.


Henrik
list Lars Ebeling · Wed, 15 Feb 2006 08:13:44 +0100 ·
Is this fixed in today's snapshot. I installed yesterday's snapshot and got 
problems with the cgi's
I wanrt to know before I run "make install"

/Lars
quoted from Henrik Størner

I've moved many of the cgi tools around, and probably messed up the
Makefile along the way. Will check - thanks for noticing.


Henrik

list Henrik Størner · Wed, 15 Feb 2006 12:28:12 +0100 ·
quoted from Lars Ebeling
On Wed, Feb 15, 2006 at 08:13:44AM +0100, lars ebeling wrote:
Is this fixed in today's snapshot. I installed yesterday's snapshot and got 
problems with the cgi's
I wanrt to know before I run "make install"
No, I haven't looked at it. But it works OK for me if you install on
top of an existing installation.

Henrik
list Lars Ebeling · Wed, 15 Feb 2006 14:01:41 +0100 ·
bb-hostsvc.sh doesn't work. apache errorlog:
ÄWed Feb 15 13:56:26 2006Å ÄerrorÅ Äclient 192.168.0.5Å Premature end of 
script
headers: bb-hostsvc.sh, referer: http://192.168.0.2/hobbit/bb.html
hobbitd dumps. output from gdb:

warning: Can't find file hobbitd referenced in dld_list.
Reading symbols from /usr/lib/libnsl.1...done.
Reading symbols from /usr/lib/libxti.2...done.
Reading symbols from /usr/lib/libc.2...done.
Reading symbols from /usr/lib/libdld.2...done.
#0  0xc020bad0 in kill () from /usr/lib/libc.2
(gdb) bt
#0  0xc020bad0 in kill () from /usr/lib/libc.2
#1  0xc01a655c in raise () from /usr/lib/libc.2
#2  0xc01e69a8 in abort_C () from /usr/lib/libc.2
#3  0xc01e6a04 in abort () from /usr/lib/libc.2
#4  0x000143a0 in sigsegv_handler (signum=8216) at sig.c:57
#5  <signal handler called>
#6  0xc01afb4c in strstr () from /usr/lib/libc.2
#7  0x0000a95c in do_message (msg=0x4000ab60, origin=0x16b18 "")
    at hobbitd.c:3033
#8  0x0000d4f0 in main (argc=10485759, argv=0x4000ab60) at hobbitd.c:4051
(gdb) q

Regards
Lars
quoted from Henrik Størner

----- Original Message ----- 
From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Wednesday, February 15, 2006 12:28 PM
Subject: Re: [hobbit] Latest 4.2-pre snapshot doesn't install CGI scripts

On Wed, Feb 15, 2006 at 08:13:44AM +0100, lars ebeling wrote:
Is this fixed in today's snapshot. I installed yesterday's snapshot and 
got
problems with the cgi's
I wanrt to know before I run "make install"
No, I haven't looked at it. But it works OK for me if you install on
top of an existing installation.

Henrik

list Neil D. ManTech Ctr Camp · Wed, 15 Feb 2006 08:23:01 -0500 ·
I have been having the same problem on HP-UX. I have tried everything I could think of, even tried older releases of Hobbit. I think all my shared libs are in the right place, as well as compiled correctly. Everything is 64 bit, I may try to make everything 32 bit, if that could make a difference.

--neil
 
ManTech
DeCA Operations Systems Administrator
(XXX) XXX-XXXX
user-22a6a1b96d9d@xymon.invalid
quoted from Lars Ebeling
 

-----Original Message-----
From: lars ebeling [mailto:user-1fecd3eafd52@xymon.invalid] 
Sent: Wednesday, February 15, 2006 8:02 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Latest 4.2-pre snapshot doesn't install CGI scripts

bb-hostsvc.sh doesn't work. apache errorlog:
ÄWed Feb 15 13:56:26 2006Å ÄerrorÅ Äclient 192.168.0.5Å Premature end of 
script
headers: bb-hostsvc.sh, referer: http://192.168.0.2/hobbit/bb.html
hobbitd dumps. output from gdb:

warning: Can't find file hobbitd referenced in dld_list.
Reading symbols from /usr/lib/libnsl.1...done.
Reading symbols from /usr/lib/libxti.2...done.
Reading symbols from /usr/lib/libc.2...done.
Reading symbols from /usr/lib/libdld.2...done.
#0  0xc020bad0 in kill () from /usr/lib/libc.2
(gdb) bt
#0  0xc020bad0 in kill () from /usr/lib/libc.2
#1  0xc01a655c in raise () from /usr/lib/libc.2
#2  0xc01e69a8 in abort_C () from /usr/lib/libc.2
#3  0xc01e6a04 in abort () from /usr/lib/libc.2
#4  0x000143a0 in sigsegv_handler (signum=8216) at sig.c:57
#5  <signal handler called>
#6  0xc01afb4c in strstr () from /usr/lib/libc.2
#7  0x0000a95c in do_message (msg=0x4000ab60, origin=0x16b18 "")
    at hobbitd.c:3033
#8  0x0000d4f0 in main (argc=10485759, argv=0x4000ab60) at hobbitd.c:4051
(gdb) q

Regards
Lars

----- Original Message ----- 
From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid>
To: <user-ae9b8668bcde@xymon.invalid>
Sent: Wednesday, February 15, 2006 12:28 PM
Subject: Re: [hobbit] Latest 4.2-pre snapshot doesn't install CGI scripts

On Wed, Feb 15, 2006 at 08:13:44AM +0100, lars ebeling wrote:
Is this fixed in today's snapshot. I installed yesterday's snapshot and 
got
problems with the cgi's
I wanrt to know before I run "make install"
No, I haven't looked at it. But it works OK for me if you install on
top of an existing installation.

Henrik