GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   any linux experts around (https://gfy.com/showthread.php?t=790949)

Retributi0n 12-10-2007 07:01 AM

any linux experts around
 
getting a database error on a debian linux server setup..

"error while loading shared libraries:lib.pq.so"

anyone know the problem :helpme

teg0 12-10-2007 07:11 AM

lib.pq.so is a postgresql library i believe. When are you getting the error?

testpie 12-10-2007 07:12 AM

Quote:

Originally Posted by Retributi0n (Post 13493933)
getting a database error on a debian linux server setup..

"error while loading shared libraries:lib.pq.so"

anyone know the problem :helpme

Is this the first setup of the MySQL server? It sounds to me (although I should say I am not a Linux expert) like you've custom-compiled the MySQL application and are missing the dependancy which lib.pq.so is a part of, which at a guess, would be that you've compiled it with postegreSQL support but not installed the necessary dependency.

ro8in 12-10-2007 07:20 AM

Try disabling postgresql when choosing packages.

:)

AlbertE 12-10-2007 07:46 AM

Try:
apt-get install postgresql-libs

Retributi0n 12-10-2007 07:50 AM

found the problem. there is a c++ library by the name of libstdc++.so.5

i don`t have it on my system. I have libstdc++.so.6 which is another version

Retributi0n 12-10-2007 07:57 AM

ok that fixed that

Retributi0n 12-10-2007 08:03 AM

now i got a new error =o\

server version 0.5d initializing...
Warning: not going daemon due to the -nd or -generate switch
Changing directory to /lot...
Reading configuration from me_svr.conf
The server configuration tuples were read successfully from me_svr.conf

Connecting to the database...
Connection to the database dbse failed - Reason = could not connect to server: Connection refused
Is the server running on host "127.0.0.1" and accepting
TCP/IP connections on port 5432?
!!!

testpie 12-10-2007 08:25 AM

Quote:

Originally Posted by Retributi0n (Post 13494120)
now i got a new error =o\

server version 0.5d initializing...
Warning: not going daemon due to the -nd or -generate switch
Changing directory to /lot...
Reading configuration from me_svr.conf
The server configuration tuples were read successfully from me_svr.conf

Connecting to the database...
Connection to the database dbse failed - Reason = could not connect to server: Connection refused
Is the server running on host "127.0.0.1" and accepting
TCP/IP connections on port 5432?
!!!

Seems like you've configured it to use ports instead of sockets, so make sure that you haven't got a firewall like iptables running and preventing TCP/UDP connections to port 5432, or configure MySQL to use sockets instead and save yourself some hassle.


All times are GMT -7. The time now is 08:07 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123