Projects
Wiki     Timeline     Roadmap     Browse Source     View Tickets     New Ticket     Search

Ticket #400 (closed Defect: Configuration changed)

Opened 3 years ago

Last modified 5 months ago

Postgres error (apparently won't start)

Reported by: mrzombie@… Owned by: wsanchez@…
Priority: 5: Not set Milestone:
Component: Calendar Server Severity: Other
Keywords: Cc: kurt.leubner@…
Port:

Description

Using Mac OS X 10.6.4 and the README file directions, I couldn't get the Calendar Server to start. Find enclosed in an attachment the logfile.

Attachments

logfile (8.7 KB) - added by mrzombie@… 3 years ago.
Log file

Change History

Changed 3 years ago by mrzombie@…

Log file

comment:1 follow-up: ↓ 2 Changed 3 years ago by dre@…

It seems this was due to Mr. Zombie having a separate instance of postgres running. When he terminated that instance, calendar server was able to start its own postgres instance. This requires investigation...

comment:2 in reply to: ↑ 1 Changed 3 years ago by dre@…

Replying to dre@…:

It seems this was due to Mr. Zombie having a separate instance of postgres running. When he terminated that instance, calendar server was able to start its own postgres instance. This requires investigation...

Have a look at CalendarServer/CalendarServer/data/Logs/postgres.log. This hopefully will contain some information about why calendar server's postgres instance failed to start. I've got a dollar that says it's kernel shared memory limits. If this is true, what you encountered is not a bug, but rather a configuration issue, and you can read more about the tunings you would need to run multiple instances here: http://www.postgresql.org/docs/8.1/static/kernel-resources.html.

Also note that although there is a postgres.conf config file, a couple key settings are specified as command line options when calendar server starts postgres. They are: -c shared_buffers=30 -c max_connections=20. I mention this only because the command line args always take precedence over what's in the config file.

comment:3 Changed 3 years ago by wsanchez@…

  • Status changed from new to closed
  • Resolution set to Configuration changed

comment:4 Changed 5 months ago by kurt.leubner@…

  • Cc kurt.leubner@… added

Cc Me!

comment:5 Changed 5 months ago by kurt.leubner@…

  • Cc kurt.leubner@… removed

Cc Me!

comment:6 Changed 5 months ago by kurt.leubner@…

  • Cc kurt.leubner@… added

Cc Me!

Note: See TracTickets for help on using tickets.