Brennivin
23-10-2005, 23:04
Hi,
I popped another thread with the same question in the WL500g-CustomerDevelopment (please see: http://wl500g.info/showthread.php?t=2271
I know, sorry for cross-posting...)
I have a WL-HDD and my problem is now more a matter of Q&A, not Custom Development anymore...
Now to the main topic ;-)
I ipkg'd adduser and zlib and, of course, postgresql. The installation of the postgresql-package creates a new user "postgres".
ipkg install postgresql
Installing postgresql (8.0.3-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/un...3-1_mipsel.ipk
Configuring postgresql
No postgres group found, creating postgres group ... cp: unable to open `/share/hdd/conf/': No such file or directory
ok
No postgres user found, creating postgres user ... cp: unable to open `/share/hdd/conf/': No such file or directory
ok
The /opt/var/pgsql/data directory already exists
Starting PostgreSQL: ok
Successfully terminated.
[admin@(none) init.d]$ su -l postgres -c 'initdb -D /opt/var/pgsql/data'
initdb: file "" does not exist
This means you have a corrupted installation or identified
the wrong directory with the invocation option -L.
What can I do to get it running?
Please help
Brennivin
I popped another thread with the same question in the WL500g-CustomerDevelopment (please see: http://wl500g.info/showthread.php?t=2271
I know, sorry for cross-posting...)
I have a WL-HDD and my problem is now more a matter of Q&A, not Custom Development anymore...
Now to the main topic ;-)
I ipkg'd adduser and zlib and, of course, postgresql. The installation of the postgresql-package creates a new user "postgres".
ipkg install postgresql
Installing postgresql (8.0.3-1) to root...
Downloading http://ipkg.nslu2-linux.org/feeds/un...3-1_mipsel.ipk
Configuring postgresql
No postgres group found, creating postgres group ... cp: unable to open `/share/hdd/conf/': No such file or directory
ok
No postgres user found, creating postgres user ... cp: unable to open `/share/hdd/conf/': No such file or directory
ok
The /opt/var/pgsql/data directory already exists
Starting PostgreSQL: ok
Successfully terminated.
[admin@(none) init.d]$ su -l postgres -c 'initdb -D /opt/var/pgsql/data'
initdb: file "" does not exist
This means you have a corrupted installation or identified
the wrong directory with the invocation option -L.
What can I do to get it running?
Please help
Brennivin