This is an excerpt from /usr/share/postgresql-common/init.d-functions:

do_ctl_all() {
    [ "$1" ] || { echo "Error: invalid command '$1'" >&2; exit 1; }
    [ "$2" ] || { echo "Error: invalid version '$2'" >&2; exit 1; }
    [ -d "/etc/postgresql/$2" ] || return 0
    [ "$(ls /etc/postgresql/$2)" ] || return 0
    [ -x "/usr/lib/postgresql/$2/bin/postmaster" ] || return 0

    status=0
    log_daemon_msg "$3"
    for c in /etc/postgresql/"$2"/*; do
        [ -e "$c/pgdata" ] || continue
        name=$(basename "$c")
    :
    :

As you can see, there is a check for the directory /etc/postgresql/8.x.
This directory neither exists nor is it created during the installation
process (as you can verify by looking into the archive.

If you install 8.2 plain, I doubt that it will get started regardless of
i386 or x64 architecture (as both packages have similar postinst files).

Question: Where do I find information what needs to be in the directory
/etc/postgresql ?

-- 
postgresql does not start
https://bugs.launchpad.net/bugs/162517
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to