Results 1 to 3 of 3

Thread: Installation of the postgresql-Database

  1. #1

    Installation of the postgresql-Database

    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

  2. #2
    When I install the full debian on the WL-HDD according to WIKI, will I then be able to install mysql package?

  3. #3
    Okay, i followed WIKI on this topic.

    But I have some problems at this line
    Code:
    [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:
     libc6_2.3.2.ds1-22_mipsel.deb
    [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?

Similar Threads

  1. Poptop installation
    By Jethro in forum WL-500g Q&A
    Replies: 16
    Last Post: 09-03-2009, 17:29
  2. Help about installation and config Oleg FW.
    By BDW in forum WL-HDD Custom Development
    Replies: 7
    Last Post: 26-10-2005, 18:20
  3. php-mysql, but no mysql and postgresql and no php-postgresql :-)
    By macsat in forum WL-500g Custom Development
    Replies: 2
    Last Post: 21-10-2005, 11:18
  4. Complete webserver+ftp installation
    By seann in forum WL-500g Q&A
    Replies: 9
    Last Post: 19-12-2004, 22:01
  5. Ipkg installation manager
    By Rom666 in forum WL-500g Q&A
    Replies: 1
    Last Post: 16-09-2004, 11:34

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •