Thread: Restart trouble

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    2
    Rep Power
    0

    Restart trouble


    Hi,

    I got in a situation that is strange and i hope some of you could help me out on this.

    What I did is kinda simple, I added a post to pg_hba.conf which is
    Code:
    host all all xx.xx.xx.xx(local IP) trust
    to give access to another user.

    After that i run command:
    Code:
    sudo /etc/init.d/postgresql-8.3 restart
    It says [OK]

    But when i try to access the website i get this error:

    could not connect to database

    Please, I need some help to get the website back again, did I do something wrong? Or do I need to restart the server itself as well? This is an bigger database running lvs cluster

    Best regards,
    Mikkel
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Posts
    2
    Rep Power
    0
    Some additional information, it says that it is online:

    Code:
    # sudo /etc/init.d/postgresql-8.3 status
    8.3 main 5432 online postgres /var/lib/postgresql/8.3/main /var/log/postgresql/postgresql-8.3-main.log


    But still can't access db or see the site

IMN logo majestic logo threadwatch logo seochat tools logo