![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
$ sudo psql psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? I'm really looking to make a backup of the TimeTrac Database befor I attempt an upgrade. Suggestions? |
#3
| |||
| |||
|
|
On Tue, 30 Nov 2010 22:40:31 -0500, Mick wrote: $ sudo psql psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? I'm really looking to make a backup of the TimeTrac Database befor I attempt an upgrade. Suggestions? Start the freaking PostgreSQL server. I note you cut my first line before posting your rudeness. |
#4
| |||
| |||
|
|
If TimeTrex is accessing it surely the server is already running. |
#5
| |||
| |||
|
|
BTW, yes, I am having fun writing this. |
#6
| |||
| |||
|
|
and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? |
#7
| |||||
| |||||
|
|
I never installed of configured the PostgreSQL server or client. I assume that was done by the TimeTrex install. |
|
When I go to upgrade to a later TimeTrex version to correct a couple of issues they say "First back up your database". |
|
I did not intend to become a Postres expert or DB admin I simply wanted to back up my Db which timetrex accesses fine. Unfortunately their tech support tends to answer in One-liners which blame everybody else except their own people for any error. |
|
Meanwhile their Db contains some payroll and Tax information that I can't afford to lose without a lot of grief and hard work so I came to the PGSQL experts hoping somebody would take sympathy on a finance man who wants to use the system not become a Guru on it and explain in simple terms what I could do. |
|
So enjoy yourself and lets hope for you that the next time you seek financial or any other advice in a field you are NOT an expert in. The people you come in contact with treat you with greater respect. |
#8
| |||
| |||
|
|
On Thu, 02 Dec 2010 00:05:07 -0500, Mick wrote: I never installed of configured the PostgreSQL server or client. I assume that was done by the TimeTrex install. There is such a thing as putting in a minimum effort. When I go to upgrade to a later TimeTrex version to correct a couple of issues they say "First back up your database". Now, that takes exactly 10 minutes to learn. I did not intend to become a Postres expert or DB admin I simply wanted to back up my Db which timetrex accesses fine. Unfortunately their tech support tends to answer in One-liners which blame everybody else except their own people for any error. If you are responsible for the database, you are the DB admin, whether you like it or not. If you don't have a dedicated DBA is irrelevant. You're it, you are responsible for the database, you might as well learn how to use it and configure it properly. Also, a consultant may be an option. Meanwhile their Db contains some payroll and Tax information that I can't afford to lose without a lot of grief and hard work so I came to the PGSQL experts hoping somebody would take sympathy on a finance man who wants to use the system not become a Guru on it and explain in simple terms what I could do. You have a problem. You are responsible for a database that contains financial information and you don't know how to use it properly. You should get acquainted with the area of your responsibility. That will require putting in some minimal effort. So enjoy yourself and lets hope for you that the next time you seek financial or any other advice in a field you are NOT an expert in. The people you come in contact with treat you with greater respect. I was the only one who answered your question, so drop the attitude. You, if I understand you correctly, are asking for a ready made answers, without investing even a minimal effort, like using Google first. Your attitude is not exactly the right one. Second, your question was badly formulated because it doesn't contain either version or platform. Third, there is a novice mailing list on postgresql.org. I am a finance man trying to use a tool. A carpenter sawing wood doesn't |
#9
| |||
| |||
|
|
Mick, 01.12.2010 04:40: and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? Is it accepting *domain socket* connections? It seems the server is configured to only accept TCP/IP connection. Try to specify a port when running psql, like psql -p 5432 dbname username You might also verify the environment variables for that user. If the PG... variables are defined (especially PGPORT and PGHOST), make sure they point to the correct hostname and database http://www.postgresql.org/docs/curre...pq-envars.html Regards Thomas |
#10
| |||
| |||
|
|
I know PostgreSQL is installed and running as part of a TimeTrex install but when I try to access it: $ sudo psql psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? I'm really looking to make a backup of the TimeTrac Database befor I attempt an upgrade. |
![]() |
| Thread Tools | |
| Display Modes | |
| |