Mailing List Archive

Issue with running Ntop on linux (Centos 5)
Hi all,



I have compiled ntop using the latest version. It compiled fine and
installed fine, now when I try to run I get the following error.



ntop: error while loading shared libraries:
/usr/local/lib/libntop-3.3.3.so: cannot restore segment prot after
reloc: Permission denied



Any one got any idea, cos im stumped.



Rgds

Steve
RE: Issue with running Ntop on linux (Centos 5) [ In reply to ]
Hi Steven,

you can either disable SELinux (if you're sure you can live without it)

/etc/sysconfig/selinux:
SELINUX=disabled

or change the SELinux security context of the library file

/usr/bin/chcon system_u:object_r:textrel_shlib_t
/usr/local/lib/libntop-3.3.3.so

Cheers
Stefan

________________________________

From: ntop-bounces@unipi.it [mailto:ntop-bounces@unipi.it] On
Behalf Of Steven Relf
Sent: Friday, 14 September, 2007 15:49
To: ntop@unipi.it
Subject: [Ntop] Issue with running Ntop on linux (Centos 5)



Hi all,



I have compiled ntop using the latest version. It compiled fine
and installed fine, now when I try to run I get the following error.



ntop: error while loading shared libraries:
/usr/local/lib/libntop-3.3.3.so: cannot restore segment prot after
reloc: Permission denied



Any one got any idea, cos im stumped.



Rgds

Steve


_______________________________________________
Ntop mailing list
Ntop@unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop
RE: Issue with running Ntop on linux (Centos 5) [ In reply to ]
Stefen,

You sir are a prince, thanks for your help, i would never had worked that out on my own. only my 2nd day of using linux.

Again thanks.

sTeve

________________________________

From: ntop-bounces@unipi.it on behalf of Stefan Radman
Sent: Fri 14/09/2007 10:51
To: ntop@unipi.it
Subject: RE: [Ntop] Issue with running Ntop on linux (Centos 5)



Hi Steven,

you can either disable SELinux (if you're sure you can live without it)

/etc/sysconfig/selinux:
SELINUX=disabled

or change the SELinux security context of the library file

/usr/bin/chcon system_u:object_r:textrel_shlib_t
/usr/local/lib/libntop-3.3.3.so

Cheers
Stefan

________________________________

From: ntop-bounces@unipi.it [mailto:ntop-bounces@unipi.it] On
Behalf Of Steven Relf
Sent: Friday, 14 September, 2007 15:49
To: ntop@unipi.it
Subject: [Ntop] Issue with running Ntop on linux (Centos 5)



Hi all,



I have compiled ntop using the latest version. It compiled fine
and installed fine, now when I try to run I get the following error.



ntop: error while loading shared libraries:
/usr/local/lib/libntop-3.3.3.so: cannot restore segment prot after
reloc: Permission denied



Any one got any idea, cos im stumped.



Rgds

Steve


_______________________________________________
Ntop mailing list
Ntop@unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop