Hi,
Today I install postgresql server on OpenBSD 6.6 server.
Into file postgresql.conf, I set socket_unix_directories, as:
Code:
unix_socket_directories = '/var/www/tmp/postgresql, /tmp'
But, the server deny to start!
Quote:
2020-03-04 14:02:04.169 CET [50162] LOG: listening on IPv4 address "127.0.0.1", port 5432
2020-03-04 14:02:04.169 CET [50162] LOG: listening on IPv6 address "::1", port 5432
2020-03-04 14:02:04.170 CET [50162] FATAL: could not open lock file "/var/www/tmp/postgresql/.s.PGSQL.5432.lock": Permission denied
2020-03-04 14:02:04.170 CET [50162] LOG: database system is shut down
|
The rights on FS are:
Code:
# ls -al /var/www/ | grep tmp
drwx-----T 3 www www 512 Mar 4 01:00 tmp/
# ls -al /var/www/tmp
total 12
drwx-----T 3 www www 512 Mar 4 01:00 ./
drwxr-xr-x 13 root daemon 512 Mar 4 00:35 ../
drwxr-xr-x 2 _postgresql www 512 Mar 4 01:00 postgresql/
One idea/suggestion?!