Unix Technical Forum

Startup script problem

This is a discussion on Startup script problem within the pgsql Novice forums, part of the PostgreSQL category; --> Hi, I downloaded and install postgres from postgresql-8.1.4.tar.gz. I wanted to start it when machine boots, so i copied ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Novice

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 10:11 PM
Elias Chavarria
 
Posts: n/a
Default Startup script problem

Hi,

I downloaded and install postgres from postgresql-8.1.4.tar.gz.

I wanted to start it when machine boots, so i copied the "linux" init script from /contrib/startup-scripts/ to /etc/init.d/postgresql.

Then i used "chkconfig --add postgresql". I then tryed to start the postgresql service with "service postgresql start" and it started correctly, i was able to connect to the "test" database i made before.

However, when i reboot, the system spends some time in "postgresql start" and then hangs after "Enabling swap space".

The last messages were:

Enabling swap space: OK

set_rtc_mmss: can't update from 2 to 47
set_rtc_mmss: can't update from 3 to 48
set_rtc_mmss: can't update from 4 to 49

Thanks for the help

Elias

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:05 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com