title: Cannot start Postgresql-9.5 service on CentOS 6.7
body: <p>1) Not able to start service Postgresql-9.5 on</p>
  
  <pre><code>[root@bmipgsqlt3 /]# /etc/init.d/postgresql-9.5 restart
  Stopping postgresql-9.5 service:                           [  OK  ]
  Starting postgresql-9.5 service:                           [FAILED]
  </code></pre>
  
  <p>Not able to start the postgres service after making changes following replication configuration from:
  <a href="http://www.unixmen.com/setup-postgresql-replication-centos/" rel="nofollow noreferrer">http://www.unixmen.com/setup-postgresql-replication-centos/</a></p>
  
  <pre><code>bash-4.1$ pg_basebackup -D /var/lib/pgsql/9.5/data -h 10.200.231.151 -U repluser
  NOTICE:  WAL archiving is not enabled; you must ensure that all required WAL segments are copied through other means to complete the backup
  </code></pre>
  
  <p>To get rid of this notice, I need to change WAL_archiving setting from postgres.conf. However, to make that change effective I will need to restart the service which I am not able to do now.</p>
  
  <p>This is slave server and everything is working fine on the master server. I am able to start and stop the service on Master.</p>
  
  <p>PS: I am at the step where I stopped the service on Slave server and executed pg_basebackup</p>
  
  <p>2) I dont see recovery.conf file in /data/ folder after I backuped the data</p>
  
  <pre><code>[root@bmipgsqlt3 /]# cd /var/lib/pgsql/9.5/data/
  [root@bmipgsqlt3 data]# ls
  backup_label  pg_dynshmem    pg_multixact  pg_stat      PG_VERSION
  base          pg_hba.conf    pg_notify     pg_stat_tmp  pg_xlog
  global        pg_ident.conf  pg_replslot   pg_subtrans  postgresql.auto.conf
  pg_clog       pg_log         pg_serial     pg_tblspc    postgresql.conf
  pg_commit_ts  pg_logical     pg_snapshots  pg_twophase
  </code></pre>