Xymon Mailing List Archive search

S.O. upgrade

10 messages in this thread

list Francisco Carmona León · Thu, 23 Mar 2006 10:10:19 -0600 ·
Hello all, this is my first post.

I upgraded my Fedora from 4 to 5 (really cool) but I having problems
with hobbit.

The first is it doesnt start when my FC5 boot and when I start it
manually I get this errors on /var/log/http/error file

(13)Permission denied: exec of '/usr/lib/hobbit/cgi-bin/bb-hostsvc.sh'
failed


Francisco Carmona León
Administración de Redes
CFE-Laguna Verde
Veracruz, México.
229 9899090 x 4703
list Frédéric Mangeant · Thu, 23 Mar 2006 17:10:27 +0100 ·
▸ quoted from Francisco Carmona León
Francisco Carmona León a écrit :
Hello all, this is my first post.

I upgraded my Fedora from 4 to 5 (really cool) but I having problems
with hobbit.

The first is it doesnt start when my FC5 boot and when I start it
manually I get this errors on /var/log/http/error file

(13)Permission denied: exec of '/usr/lib/hobbit/cgi-bin/bb-hostsvc.sh'
failed

  
Hi

maybe SELinux is enabled. Can you post the result of this :

$ cat /etc/selinux/config

-- 

Frédéric Mangeant

Steria EDC Sophia-Antipolis
list Henrik Størner · Thu, 23 Mar 2006 17:11:02 +0100 ·
▸ quoted from Francisco Carmona León
On Thu, Mar 23, 2006 at 10:10:19AM -0600, Francisco Carmona León wrote:
Hello all, this is my first post.

I upgraded my Fedora from 4 to 5 (really cool) but I having problems
with hobbit.

The first is it doesnt start when my FC5 boot and when I start it
manually I get this errors on /var/log/http/error file

(13)Permission denied: exec of '/usr/lib/hobbit/cgi-bin/bb-hostsvc.sh'
failed
My first guess would be that you have some SElinux features enabled that
prevents execution of these CGI programs.


Henrik
list Francisco Carmona León · Thu, 23 Mar 2006 10:16:05 -0600 ·
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - SELinux is fully disabled.
SELINUX=enforcing
# SELINUXTYPE= type of policy in use. Possible values are:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.
SELINUXTYPE=targeted

# SETLOCALDEFS= Check local definition changes
SETLOCALDEFS=0
▸ quoted from Frédéric Mangeant


On Thu, 2006-03-23 at 17:10 +0100, Frédéric Mangeant wrote:
Francisco Carmona León a écrit :
Hello all, this is my first post.

I upgraded my Fedora from 4 to 5 (really cool) but I having problems
with hobbit.

The first is it doesnt start when my FC5 boot and when I start it
manually I get this errors on /var/log/http/error file

(13)Permission denied: exec of '/usr/lib/hobbit/cgi-bin/bb-hostsvc.sh'
failed

  
Hi

maybe SELinux is enabled. Can you post the result of this :

$ cat /etc/selinux/config
Francisco Carmona León
Administración de Redes
CFE-Laguna Verde

229 9899090 x 4703
list Frédéric Mangeant · Thu, 23 Mar 2006 17:20:11 +0100 ·
▸ quoted from Francisco Carmona León
Francisco Carmona León a écrit :
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - SELinux is fully disabled.
SELINUX=enforcing
  
Try with

SELINUX=disabled


I *think* you have to reboot.

-- 

Frédéric Mangeant

Steria EDC Sophia-Antipolis
list Francisco Carmona León · Thu, 23 Mar 2006 10:27:02 -0600 ·
it works and I din't have to reboot

I'll be looking for the exact rule for enable selinux and permit hobbit
to work with out problem

thanks and sorry about my english
▸ quoted from Frédéric Mangeant


On Thu, 2006-03-23 at 17:20 +0100, Frédéric Mangeant wrote:
Francisco Carmona León a écrit :
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - SELinux is fully disabled.
SELINUX=enforcing
  
Try with

SELINUX=disabled


I *think* you have to reboot.
Francisco Carmona León
Administración de Redes
CFE-Laguna Verde
Veracruz, México
229 9899090 x 4703
list Francisco Carmona León · Thu, 23 Mar 2006 10:35:23 -0600 ·
Now, I have all my status in purple and they don't change color either
red
▸ quoted from Frédéric Mangeant


On Thu, 2006-03-23 at 17:20 +0100, Frédéric Mangeant wrote:
Francisco Carmona León a écrit :
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - SELinux is fully disabled.
SELINUX=enforcing
  
Try with

SELINUX=disabled


I *think* you have to reboot.
Francisco Carmona León
Administración de Redes
CFE-Laguna Verde
Veracruz, México
229 9899090 x 4703
list Francisco Carmona León · Thu, 23 Mar 2006 10:39:12 -0600 ·
and other question, why all my alerts have no number to knowledge?

Hobbit [0] sistlv11:ssh stopped reporting (PURPLE)
Hobbit [0] susnlvx01:conn stopped reporting (PURPLE)
Hobbit [0] susnlvx01:http stopped reporting (PURPLE)
Hobbit [0] sistlv11:imap stopped reporting (PURPLE)
Hobbit [0] mgpac114:conn stopped reporting (PURPLE)
Hobbit [0] R3-a:conn stopped reporting (PURPLE)
Hobbit [0] localhost:ssh stopped reporting (PURPLE)
▸ quoted from Frédéric Mangeant

On Thu, 2006-03-23 at 17:20 +0100, Frédéric Mangeant wrote:
Francisco Carmona León a écrit :
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - SELinux is fully disabled.
SELINUX=enforcing
  
Try with

SELINUX=disabled


I *think* you have to reboot.
Francisco Carmona León
Administración de Redes
CFE-Laguna Verde
229 9899090 x 4703
list Francisco Carmona León · Thu, 23 Mar 2006 11:07:07 -0600 ·
I got it.

in FC5 is necessary make some hardlink in order to make hobbit work
again:

in the /usr/lib directory

ln -s ../../lib/libssl.so.0.9.8a libssl.so.5
ln -s libldap-2.3.so.0.2.7 libldap-2.2.so.7
ln -s liblber-2.3.so.0.2.7 liblber-2.2.so.7
ln -s ../../lib/libcrypto.so.0.9.8a libcrypto.so.5
ln -s ../../lib/libcrypt.so.1 libcrypto.so.5

the result is:

lrwxrwxrwx   1 root root       23 Mar 23 09:09 libcrypto.so.5
-> ../../lib/libcrypt.so.1
lrwxrwxrwx   1 root root       20 Mar 23 09:07 liblber-2.2.so.7 ->
liblber-2.3.so.0.2.7
lrwxrwxrwx   1 root root       20 Mar 23 10:50 libldap-2.2.so.7 ->
libldap-2.3.so.0.2.7
lrwxrwxrwx   1 root root       26 Mar 23 10:52 libssl.so.5
-> ../../lib/libssl.s

because of the versions of my fedora core 5 and hobbit.

could anybody make a rpm for FC5 in onder to upgrade with out loosing
your head?

thankyou for you help, now, my skytel is happie receiving the alerts. 

grettings from a nuclear power plant Laguna Verde, located in Veracruz,
México.

Viva México Señores!!!
▸ quoted from Frédéric Mangeant

On Thu, 2006-03-23 at 17:20 +0100, Frédéric Mangeant wrote:
Francisco Carmona León a écrit :
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - SELinux is fully disabled.
SELINUX=enforcing
  
Try with

SELINUX=disabled


I *think* you have to reboot.
Francisco Carmona León
list Frédéric Mangeant · Thu, 23 Mar 2006 18:08:12 +0100 ·
▸ quoted from Francisco Carmona León
Francisco Carmona León a écrit :
could anybody make a rpm for FC5 in onder to upgrade with out loosing
your head?
Maybe you can rebuild the source package : 
http://www.hswn.dk/hobbitsw/hobbit-4.1.2p1-1.src.rpm

-- 

Frédéric Mangeant

Steria EDC Sophia-Antipolis