Re: np-install stopped at "Path to pg_config?" - HELP
Wes Hardaker <[email protected]> Mon, 28 Feb 2005 12:54:13 -0800
| Newsgroups | gmane.network.net-policy.user |
|---|---|
| Organization | Sparta |
| Message-ID | <[email protected]> |
>>>>> On Mon, 28 Feb 2005 14:10:57 -0500, Carmine Greco <[email protected]> said: (by the way what OS is this on FC2? FC3?) Carmine> Got thru the install through a combination of the np-install Carmine> wizard and some manual RPM installs (unixODBC, Carmine> unixODBC-devel, mod_perl, opensnmp, opensnmp-devel, graphviz, Carmine> perl-Heap). I also had to link /usr/lib/libdb_cxx-4.2.so to Carmine> /usr/lib/libdb_cxx.so. The current versions of configure scripts and stuff have fixed this error fortunately... There are a number of places it needed fixing, including opensnmp net-policy and others. It turns out that every OS vendor (eg, redhat, freebsd) does different things with how db_cxx is installed. Wheeeeeee.... Carmine> Right at the very end, I saw the following error: Carmine> Running: service httpd restart Carmine> Stopping httpd: [FAILED] Carmine> Starting httpd: [Mon Feb 28 13:59:52 2005] [error] Can't load Carmine> '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBI/DBI.so' Carmine> for module DBI: Carmine> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBI/DBI.so: Carmine> failed to map segment from shared object: Permission denied at Wow. That's an error type I've never seen before (and that alone is stunning to me... I was sure I'd at least seen every load error known to man so far). So then this command probably fails with a similar error: perl -e 'use DBI;' Unfortunately, this is an issue directly with the DBI module and has nothing to do with net-policy. Having said that, we'll still try to see what we can do to help. You might try installing DBI again directly from a CPAN shell (or I think fedora provides a perl-DBI rpm that you could use instead as well). perl -MCPAN -e shell ... cpan> force install DBI And see if that fixes things. It looks like an odd shared library problem. The permission denied error is the most odd part about it... google seems to have answers. http://www.google.com/search?q=failed+to+map+segment+from+shared+object%3A+Permission+denied+at&ie=UTF-8&oe=UTF-8 http://www.codecomments.com/archive237-2004-12-334627.html - indicates SELinux problems. -- Wes Hardaker Sparta ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click