Created on 02-01-2016 02:06 PM - edited 09-16-2022 03:01 AM
I have been working on Hortonworks Sandbox. The Sandbox is deployed on CentOS 6.7 server. I was, at some point in time, able to access the Web UIs on my browser from remote PC. But most of the services are not accessible except the welcome page on port 8888. When I try to start the services with command line in PuTTY, no success! That is, the services are not running. When I run this command, netstat -nltu , I can't see the service ports in the list of listening ports. How can I make the ports listen for TCP connection. Any walk through on configuration of iptables and port forwarding would also be highly appreciated!
Created 02-03-2016 01:25 PM
The problem with PostgreSQL is now solved. error log from /var/lib/pgsql/pgstartup.log says:
"Starting PostgreSQL FATAL: could not create lock file "/tmp/.s.PGSQL.5432.lock": Permission denied"
As root user type "chmod 1777 /tmp"in terminal.
PostgreSQL will now start successfully.
> service postgresql start
Postgres cannot write a file to /tmp because of permissions set on /tmp directory.
Created 02-03-2016 01:25 PM
The problem with PostgreSQL is now solved. error log from /var/lib/pgsql/pgstartup.log says:
"Starting PostgreSQL FATAL: could not create lock file "/tmp/.s.PGSQL.5432.lock": Permission denied"
As root user type "chmod 1777 /tmp"in terminal.
PostgreSQL will now start successfully.
> service postgresql start
Postgres cannot write a file to /tmp because of permissions set on /tmp directory.
Created 05-07-2017 08:15 AM
Thanks a lot sir..You saved my day
Created on 04-28-2016 04:07 AM - edited 08-19-2019 03:34 AM
Hi everyone,
I getting an issue in starting postgresql.Can anyone help me to solve this