[hobbit] Install problems
Ben Fenstermaker
fensterb at ccri.net
Tue May 29 15:01:46 CEST 2007
First of all thanks for the help so far...looks like Henrik hit the nail on
the head here.
On 5/25/07 6:51 PM, "Henrik Stoerner" <henrik at hswn.dk> wrote:
> On Fri, May 25, 2007 at 04:05:44PM -0400, Ben Fenstermaker wrote:
>>> Have you checked your logfiles ? at /var/log/hobbit ?
>>
>> This doesn't look good but I am not sure what it means...
>>
>> Hobbitd.log:
>> 2007-05-25 15:16:13 Setup complete
>> 2007-05-25 15:21:14 hobbitd servername MACHINE='RESMACMGMT01' not listed in
>> bb-hosts, dropping hobbitd status
>
> Your Hobbit server thinks it's called RESMACMGMT01, but there's no
> such host listed in bb-hosts. However, I don't think it has anything
> to do with the missing webpages.
>
>> 2007-05-25 15:16:13 Setting up network listener on 0.0.0.0:1984
>
> This is normal, it means Hobbit will pick up status messages on
> port 1984 - for any IP address associated with the Hobbit server.
>
>> 2007-05-25 15:16:18 Task bbdisplay terminated, status 127
>
> This is the problem. Status 127 usually means the "bbgen" command
> won't even run. Is there anything at all in the bb-display.log file ?
I have the following error message repeating over and over:
bbgen: error while loading shared libraries: libpcre.so.0: cannot open
shared object file: No such file or directory
Interestingly enough the file does exist so it must not be looking in the
correct location.
hobbit at RESMACMGMT01:~/server/bin$ ls -al /usr/local/lib/libpcre.so*
lrwxrwxrwx 1 root root 16 2007-05-25 09:34 /usr/local/lib/libpcre.so ->
libpcre.so.0.0.1
lrwxrwxrwx 1 root root 16 2007-05-25 09:34 /usr/local/lib/libpcre.so.0
-> libpcre.so.0.0.1
-rwxr-xr-x 1 root root 232485 2007-05-25 09:34
/usr/local/lib/libpcre.so.0.0.1
Is there an environmental variable I can set to change this?
>
> What happens if you login as the Hobbit user, then runs
> bbcmd bbgen --recentgifs --subpagecolumns=2 --report
Obviously no love with this command:
hobbit at RESMACMGMT01:~/server/bin$ ./bbcmd bbgen --recentgifs
--subpagecolumns=2 --report
2007-05-29 08:56:26 Using default environment file
/home/hobbit/server/etc/hobbitserver.cfg
bbgen: error while loading shared libraries: libpcre.so.0: cannot open
shared object file: No such file or directory
Now hobbitserver.cfg hints to the fact that you may be able to point to
libraries in the config file:
-snip-
# Some systems need extra settings e.g. to locate run-time libraries.
# You can add these extra settings here:
-snip-
Is this possibly what I am looking for to point to the libpcre.so.0 library?
If so what is the syntax for adding it?
--
Ben Fenstermaker MCSE, MCSA, ACTC, Security+
UNIX/Macintosh Systems Administrator
Research Information Services
Phone: 614.355.2730
Email: Fensterb at ccri.net
More information about the Xymon
mailing list