Posts

Showing posts from June, 2014

Foreman Session Idle Time

After Foreman installation finished, whenever wanted to click on any links on the web based gui, it throw me out with "Your session has expired, please login again" message.

Solution is to change the idle timeout which is by default sets to 0 to another value like 30 or 60:


Administer > Settings > General 

set idle_timeout 0 -> 60




Issue with Starting Postgresql server RHEL/CentOS 6

After I've installed postgresql on my Redhat enterprise Linux 6, it failed to start:

# service postgresql start
Starting postgresql service:                               [FAILED]

After I checked the postgresql logs, 
# vim /var/lib/pgsql/pgstartup.log
The files belonging to this database system will be owned by user "postgres". This user must also own the server process.
The database cluster will be initialized with locale en_US.UTF-8. The default database encoding has accordingly been set to UTF8. The default text search configuration will be set to "english".
fixing permissions on existing directory /var/lib/pgsql/data ... ok creating subdirectories ... ok selecting default max_connections ... 100 selecting default shared_buffers ... 32MB creating configuration files ... ok creating template1 database in /var/lib/pgsql/data/base/1 ... ok initializing pg_authid ... ok initializing dependencies ... ok creating system views ... ok loading system objects' descriptions ... ok c…