The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

postgresql failed

Discussion in 'General Discussion' started by Secret Agent, May 27, 2005.

  1. Secret Agent

    Secret Agent Guest

    postgresql failed

    postgresql has failed, please contact the sysadmin (result was "postmaster is not running"). May 27 18:37:25 server postgresql: Starting postgresql service: failed


    service postgresql start

    Starting postgresql service: [FAILED]

    ???

    I'm not sure what else to try.
     
  2. anup123

    anup123 Well-Known Member

    Joined:
    Mar 29, 2004
    Messages:
    897
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    This Planet
    If you have postmaster.pid in /var/lib/pgsql/data then try
    mv postmaster.pid postmaster.pid.old
    and then restart pgsql

    Anup
     
  3. Secret Agent

    Secret Agent Guest

    Still getting this

    root@server [/var/lib/pgsql/data]# ls -lh
    total 48K
    drwx------ 6 postgres postgres 4.0K Jun 6 22:34 ./
    drwxr-xr-x 3 root root 4.0K May 27 18:35 ../
    drwx------ 4 postgres postgres 4.0K May 2 20:26 base/
    drwx------ 2 postgres postgres 4.0K Jun 6 19:59 global/
    drwx------ 2 postgres postgres 4.0K May 2 20:26 pg_clog/
    -rw------- 1 postgres postgres 146 Jun 6 22:30 pg_hba.conf
    -rw------- 1 postgres postgres 1.5K May 2 20:26 pg_ident.conf
    -rw------- 1 postgres postgres 4 May 2 20:26 PG_VERSION
    drwx------ 2 postgres postgres 4.0K May 2 20:26 pg_xlog/
    -rw------- 1 postgres postgres 7.7K May 2 20:26 postgresql.conf
    -rw------- 1 postgres postgres 59 May 27 20:33 postmaster.opts


    I tried to restart it again, no good
     
Loading...

Share This Page