There is a VMware machine at work running CentOS 6.7. It uses Postgres 9.2. All I wanted is to start postgres service. This is probably related to it but I don't know what to do: https://kb.vmware.com/s/article/2111236. Note that I don't know what people did to it back in the time.
service postgresql-9.2 start
It keeps failing. I found where the logs were located at
FATAL: could not write lock file "/tmp/.s.PGSQL.5432.lock": No space left on device
Disk free information:
df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 52G 51G 0 100% / tmpfs 2.9G 0 2.9G 0% /dev/shm /dev/sda3 40G 6.3G 31G 17% /var
The problem is obviously related to the lack of space but how do I solve it? Where is postgressql data located at?