- Code: Select all
bin/omero config get
prints nothing.
Just in case, I just reinstalled PostgreSQL 8.3
- Code: Select all
sudo port uninstall postgresql83-server
sudo port uninstall postgresql83
sudo port install postgresql83-server
dropped the omero database
- Code: Select all
afraser$ pgstart
afraser$ sudo su postgres -c psql
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
could not identify current directory: Permission denied
could not identify current directory: Permission denied
Welcome to psql 8.3.10, the PostgreSQL interactive terminal.
postgres=# DROP DATABASE omero;
DROP DATABASE
postgres=# ^C
and I'm now trying to recreate the db, but...
- Code: Select all
gm1f6-3a4:omero afraser$ sudo -u postgres createdb -O omero omero
Password:
could not identify current directory: Permission denied
gm1f6-3a4:omero afraser$ sudo -u postgres createdb -O omero omero
could not identify current directory: Permission denied
createdb: database creation failed: ERROR: database "omero" already exists
gm1f6-3a4:omero afraser$
Oddly, it looks like the command worked but the permission error is unnerving. Here are the permissionss on ~/Desktop/omero/ again... this shouldn't be owned by postgres should it? I have to admit, the reason for having these different users is lost on me.
- Code: Select all
drwxr-xr-x@ 12 afraser CHARLES\domain users 408 Jan 14 13:50 omero