From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | david(at)eclipsecat(dot)com |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: pg_dumpall not working? |
Date: | 2005-06-13 23:58:34 |
Message-ID: | 10352.1118707114@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
David Siebert <david(at)eclipsecat(dot)com> writes:
> Okay I have version 8.0.2 installed on CentOS 4.0 with all updates.
> I SSH into the server and try and run pg_dump all and get a stream of
> errors on the server screen but not on my ssh.
What do you get from
ls -Z /usr/bin/pg_dumpall
ls -Z /usr/bin/pg_dump
? On a reasonably up-to-date Fedora Core 3 system I get
-rwxr-xr-x root root system_u:object_r:bin_t /usr/bin/pg_dumpall
-rwxr-xr-x root root system_u:object_r:bin_t /usr/bin/psql
but it sounds a lot like you have something else, like postgresql_exec_t
(which is set up to forbid writes to /dev/tty, I believe). If so, try
restorecon on these files to see if that fixes it. If not, you have an
out-of-date SELinux policy RPM ... update that, or complain to CentOS
that they haven't borrowed Red Hat's latest version yet ;-)
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Shelby Cain | 2005-06-14 00:55:20 | Re: Hash Function: MD5 or other? |
Previous Message | Tom Lane | 2005-06-13 23:41:48 | Re: Index does not working. |
From | Date | Subject | |
---|---|---|---|
Next Message | Yann Michel | 2005-06-14 06:30:24 | Re: User Quota Implementation |
Previous Message | Tom Lane | 2005-06-13 23:50:43 | Re: User Quota Implementation |