On 11/22/2015 1:54 AM, Alex Luya wrote:
*tail  /var/lib/pgsql/9.4/pgstartup.log,got*

    < 2015-11-22 11:47:42.691 CST >LOG:  could not create IPv6 socket:
    Address family not supported by protocol
    < 2015-11-22 11:47:42.718 CST >LOG:  redirecting log output to
    logging collector process
    < 2015-11-22 11:47:42.718 CST >HINT:  Future log output will
    appear in directory "pg_log".


Questions are:
1, Is this "could not create IPv6..." just a warning or the actual reason of starting failure?

thats typically just a warning.

  2, Where is the pg_log directory?

By default, the logs past that above are in $PGDATA/pg_log, which on your system should /var/libpgsql/9.4/data/pg_log ... look for the newest file after a failed start, and look at the last set of logs.




--
john r pierce, recycling bits in santa cruz

Reply via email to