Bekijk de volledige versie : Installation of the postgresql-Database

23-10-2005, 23:04

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
No postgres user found, creating postgres user ... cp: unable to open `/share/hdd/conf/': No such file or directory
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

02-11-2005, 16:25
When I install the full debian on the WL-HDD according to WIKI, will I then be able to install mysql package?

02-11-2005, 21:05
Okay, i followed WIKI on this topic.

But I have some problems at this line

[I have no name!@NAStyServer archives]$ dpkg --force-all -i libc6*deb
(Reading database ... 4207 files and directories currently installed.)
Unpacking libc6 (from libc6_2.3.2.ds1-22_mipsel.deb) ...
Version of dpkg with working epoch support not yet configured.
Please use `dpkg --configure dpkg', and then try again.
dpkg: error processing libc6_2.3.2.ds1-22_mipsel.deb (--install):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
[I have no name!@NAStyServer archives]$

The problem is, that I cannot call `dpkg --configure dpkg', because it depends on libc6*.deb.

What can I do?