postgresql error
  • Hey guys,
    I had to uninstall campcaster and reinstall it. Now it doesn't start. I'm pretty sure it has to do with the postgresql database not being visible or set up properly. Any ideas where to go and fix it?
    Thanks.
    hamish
  • 1 Comment sorted by
  • Here's what apt-get is saying....




    The following packages were automatically installed and are no longer required:
    vorbis-tools libnet-daemon-perl liboggflac3 gfxboot-theme-ubuntu cdda2wav
    libdbi-perl libcurl3-gnutls libplrpc-perl icedax flac sox mpg321
    Use 'apt-get autoremove' to remove them.
    The following NEW packages will be installed:
    campcaster-studio
    0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
    2 not fully installed or removed.
    Need to get 0B/1088kB of archives.
    After unpacking 3699kB of additional disk space will be used.
    WARNING: The following packages cannot be authenticated!
    campcaster-studio
    Install these packages without verification [y/N]? Y
    Selecting previously deselected package campcaster-studio.
    (Reading database ... 120319 files and directories currently installed.)
    Unpacking campcaster-studio (from .../campcaster-studio_1.2.0-1feisty1_i386.deb) ...
    Setting up postgresql-8.2 (8.2.3-3) ...
    * Starting PostgreSQL 8.2 database server * The PostgreSQL server failed to start. Please check the log output:
    2007-09-18 22:34:53 ICT FATAL: unsafe permissions on private key file "server.key"
    2007-09-18 22:34:53 ICT DETAIL: File must be owned by the database user or root, must have no write permission for "group", and must have no permissions for "other".
    [fail]
    invoke-rc.d: initscript postgresql-8.2, action "start" failed.
    dpkg: error processing postgresql-8.2 (--configure):
    subprocess post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of campcaster-station:
    campcaster-station depends on postgresql-8.2; however:
    Package postgresql-8.2 is not configured yet.
    dpkg: error processing campcaster-station (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of campcaster-studio:
    campcaster-studio depends on campcaster-station (= 1.2.0-1feisty1); however:
    Package campcaster-station is not configured yet.
    dpkg: error processing campcaster-studio (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    postgresql-8.2
    campcaster-station
    campcaster-studio
    E: Sub-process /usr/bin/dpkg returned an error code (1)