i don't know how i change the permitions and the owner. My answer to all your questions is no. But the answer maybe a monitor software,no?
i just fix it, but i run this command again: sudo -u postgres /usr/lib/postgresql/8.3/bin/pg_ctl start -D /var/lib/postgresql/8.3/main -l /var/log/postgresql/postgresql-8.3-main.log -s -o config_file="/etc/postgresql/8.3/main/postgresql.conf" -c and i get in the log file /var/log/postgresql/postgresql-8.3-main.log this: postgres: invalid argument: "config_file=/etc/postgresql/8.3/main/postgresql.conf" Try "postgres --help" for more information. your command does't seem to work. what should i do? 2009/3/10 Martin Pitt <[email protected]> > saguas [2009-03-09 23:50 -0000]: > > pg_ctl: could not open PID file > > "/var/lib/postgresql/8.3/main/postmaster.pid": Permissão negada > > A-haaa! It seems that something altered the permissions of > /var/lib/postgresql/8.3/main/. It should be postgres:postgres 700. Can > you please do > > ls -ld /var/lib/postgresql/8.3/main/ > > and see what's wrong? > > You can fix it with > > sudo chown postgres:postgres /var/lib/postgresql/8.3/main/ > sudo chmod 700 /var/lib/postgresql/8.3/main/ > > I just wonder what wrecked them, did you happen to change them > manually? Or maybe have a backup/restore software which might have > wedged the permissions? Or perhaps you have /var/lib/postgresql/ on a > separate mounted file system or something such? > > -- > package postgresql-8.3 8.3.6-0ubuntu8.04 failed to install/upgrade: > subprocesso post-installation script retornou erro do status de saída 1 > https://bugs.launchpad.net/bugs/338336 > You received this bug notification because you are a direct subscriber > of the bug. > -- package postgresql-8.3 8.3.6-0ubuntu8.04 failed to install/upgrade: subprocesso post-installation script retornou erro do status de saída 1 https://bugs.launchpad.net/bugs/338336 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
