วันศุกร์ที่ 20 มีนาคม พ.ศ. 2558

เปิดหน้าเว็บ Airwave ไม่ได้

เว็บ Airwave ใช้งานไม่ได้ ทั้งที่เครื่อง server เปิดใช้งานอยู่


เข้าสู่ระบบทำการตรวจสอบการทำงาน
[root@1]# service pound status
pound is stopped
ตรวจสอบการทำงานของระบบ

[root@1]# service postgresql status
postmaster is stopped

[root@1]# service postgresql restart
Starting postgresql service:    [Failed]
postmaster dead but pid file exists

Cause : To get a better idea on why postgres is not starting we can check the pgsql log under /var/log

# cd /var/log
# less pgsql

Jan 15 10:24:06 rgppaws001 postgres[29137]: [1-2] LOCATION:  CreateLockFile, miscinit.c:919
Jan 15 10:24:52 rgppaws001 postgres[29256]: [1-1] FATAL:  53100: could not write lock file "/tmp/.s.PGSQL.5432.lock": No space left 
on device

The above message states that database is not able to write any more to /tmp/s.PGSQL.5432.lock since there is no space left in "/tmp"

We can do df -h to confirm the space.

Resolution : Clear up the old files in "/tmp" directory. We can use rm -rf command to clear files. Once we get free space under "/tmp" we can try restarting the postgres service.
[root@1 log]# service postgresql restart
Stopping postgresql service:                               [  OK  ]
Starting postgresql service:                               [  OK  ]

[root@1]# service pound restart



ข้อมูลจาก http://community.arubanetworks.com

ไม่มีความคิดเห็น:

แสดงความคิดเห็น