Hi, Serge.

Few days ago, I build a PostgreSQL cluster with Ubuntu 10.04 LTS. In
Ubuntu 10.04 /var/run directory is a tmpfs and when node restart (for
example, with a stonith) is clean. Then postgres proccess throws an
error because /var/run/postgresql not exists.

I added next lines in pgsql_start() function and all is ok (but I
don't know if they must be in that function):

# create socket directory
    if [ -d /var/run/postgresql ]; then
        chmod 2775 /var/run/postgresql
    else
        install -d -m 2775 -o postgres -g postgres /var/run/postgresql
    fi

Maybe, you want add them in pgsql ra ;-)
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to