postgresql down
Hey all,
postgresql seems to be down on my Gitlab CE 6.9/CentOS 6.5 install. I'm getting a 500 when visiting the site. Tried gitlab-ctl reconfigure
and gitlab-ctl restart
(and waiting till processes level out) several times, tried rebooting the box, issue persists.
Can't really figure out why - plenty of space left on the machine, but the postgresql logs are showing the following:
output of /var/log/gitlab/postgresql
```2014-06-25_15:25:52.78536 FATAL: could not write lock file "postmaster.pid": No space left on device
2014-06-25_15:25:53.82934 FATAL: could not write lock file "postmaster.pid": No space left on device
...etc...
output of sudo gitlab-ctl status:
run: nginx: (pid 3254) 1197s; run: log: (pid 832) 2481s
down: postgresql: 1s, normally up, want up; run: log: (pid 831) 2481s
run: redis: (pid 827) 2481s, got TERM; run: log: (pid 826) 2481s
run: sidekiq: (pid 3275) 1182s; run: log: (pid 828) 2481s
run: unicorn: (pid 3282) 1178s; run: log: (pid 830) 2481s
output of sudo gitlab-rake gitlab:check
sudo gitlab-rake gitlab:check
WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.7.8
Checking Environment ...
Git configured for git user? ... yes
Checking Environment ... Finished
Checking GitLab Shell ...
GitLab Shell version >= 1.9.4 ? ... OK (1.9.4)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
Satellites access is drwxr-x---? ... yes
update hook up-to-date? ... yes
update hooks in repos are links: ... rake aborted!
PG::Error: could not connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
Tasks: TOP => gitlab:check => gitlab:gitlab_shell:check
(See full trace by running task with --trace)
Anyone have suggestions? Are there additional logs I should post?
Thanks!