I have a scenario for linux webserver having PostgreSQL v7.3.4 database and hosting one website on https://192.168.1.75.
The website is a type of employee time database management system. The credentials for authorized access are stored in PostgreSQL database.
The website is running and accepting requests on the login page only but the time I try to submit login information, it says fatal error.
I used ISQL for PostgreSQL query analyzer and couple of other query analyzers as well for PostgreSQL database, but the message that returns while connecting on default port i.e. 5432 is as follows:
could not connect to server:_Connection refused (0x0000274D/10061)
Is the server running on host "192.168.1.75" and accepting TCP/IP connections on port 5432?.
The admin page for this website is showing the following error:
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
What I believe that the website part is running healthy as it is accepting connections and sending pages back to the requesters but the socks part which connects the website to PostgreSQL is turned off accidentally or somewhat.
Is there any way to know whether server is accepting socks connections on 5432 and in working state or in other words can we know that PostgreSQL service is running on it or not?
The kernel for this system is customized, locked and named DEBIAN LILO 22.214.171.124-tt.
I have managed to log into the root and used the following command:
this command returns the following error message:
pg_ctl: cannot find /var/lib/postgres/data/postmaster.pid
Is postmaster running?
Starting PostgreSQL postmaster
Postmaster successfully started
The version which I am using for PostgreSQL is: PostgreSQL 7.3.4
If we copy postmaster.pid file to the data directory under PostgreSQL folder, will it help?
Kindly support on this issue as I don't have much knowledge on linux commands as well as it's kernel.
Thank you very much,
Last edited by zulkifal.mushtaq; 03-22-09 at 00:09.