Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The postgresql 9.1 database server is not starting.

Can anyone help in this.

* Restarting PostgreSQL 9.1 database server                                     
* Removed stale pid file.
The PostgreSQL server failed to start. Please check the log output:
2013-07-25 10:59:52 IST PANIC:  could not read from control file: Input/output error
                                                                         [fail]

Thanks in advance.

share|improve this question
    
Which version of Ubuntu are you using? – saji89 Jul 25 '13 at 5:59
3  
Please post output of: tail /var/log/postgresql/postgresql-9.1-main.log – saji89 Jul 25 '13 at 6:00
    
tail -n 50 would be good; the default line count from tail is often not sufficient. – Craig Ringer Jul 25 '13 at 6:17
    
we have ubuntu 12.04 LTS – Atul Modi Jul 25 '13 at 7:32
    
Here the error code from the log file 2013-07-25 10:33:13 IST PANIC: could not read from control file: Input/output error 2013-07-25 10:59:52 IST PANIC: could not read from control file: Input/output error 2013-07-25 11:19:46 IST PANIC: could not read from control file: Input/output error 2013-07-25 11:23:03 IST PANIC: could not read from control file: Input/output error – Atul Modi Jul 25 '13 at 7:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.