Apivita

Q: An error occured on the server while reading settings

Hi to everyone,

 

Today i renewed my server's Profiles Manager Code Signing Certificate following this link http://support.apple.com/kb/HT5358

 

The certificate was renewed sucessfully for one year.

I switched the Profile Manager Off then next to "Sign configuration profiles" i clicked the Edit button and from the Certificate list, i selected the certificate named "myserver.mydomain.com Code Signing Certificate - myserver.mydomain.com OD Intermediate CA" which was the only listed certificate that i had renewed.

When i turned on the Profile Manager i faced the issue.

 

An error occured on the server while reading settings so the Profile Manager can't start.

 

From Logs

 

Error: The server '127.0.0.1' reported an error while processing a command of type: 'readSettings' in plug-in: 'servermgr_devicemgr'. Error: Error Domain=servermgr_devicemgr Code=1 "/Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendo r/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb :941:in `initialize': could not connect to server: Connection refused (PGError)

 

Is the server running locally and accepting

          connections on Unix domain socket "/Library/Server/PostgreSQL For Server Services/Socket/.s.PGSQL.5432"?

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb: 941:in `connect'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb: 941:in `connect'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb: 217:in `initialize'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb: 37:in `new'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb: 37:in `postgresql_connection'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:223:in `send'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:223:in `new_connection'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:245:in `checkout_new_connection'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:188:in `checkout'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:184:in `loop'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:184:in `checkout'

          from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor .rb:242:in `synchronize'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:183:in `checkout'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:98:in `connection'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:326:in `retrieve_connection'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_sp ecification.rb:123:in `retrieve_connection'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_sp ecification.rb:115:in `connection'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/base.rb:1299:in `table_exists?'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config /initializers/settings.rb:10

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activesupport/lib/active_support/dependencies.rb:173:in `load_without_new_constant_marking'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activesupport/lib/active_support/dependencies.rb:173:in `load'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /../config/../vendor/rails/railties/lib/initializer.rb:622:in `load_application_initializers'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /../config/../vendor/rails/railties/lib/initializer.rb:621:in `each'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /../config/../vendor/rails/railties/lib/initializer.rb:621:in `load_application_initializers'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /../config/../vendor/rails/railties/lib/initializer.rb:176:in `process'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /../config/../vendor/rails/railties/lib/initializer.rb:113:in `send'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /../config/../vendor/rails/railties/lib/initializer.rb:113:in `run'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config /environment.rb:55

          from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygem s/custom_require.rb:31:in `gem_original_require'

          from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygem s/custom_require.rb:31:in `require'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/railties/lib/commands/runner.rb:39

          from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygem s/custom_require.rb:31:in `gem_original_require'

          from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygem s/custom_require.rb:31:in `require'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /runner:3

" UserInfo=0x7ff048a8dc20 {NSLocalizedDescription=/Applications/Server.app/Contents/ServerRoot/usr/share/ devicemgr/backend/vendor/rails/activerecord/lib/active_record/connection_adapter s/postgresql_adapter.rb:941:in `initialize': could not connect to server: Connection refused (PGError)

          Is the server running locally and accepting

          connections on Unix domain socket "/Library/Server/PostgreSQL For Server Services/Socket/.s.PGSQL.5432"?

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb: 941:in `connect'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb: 941:in `connect'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb: 217:in `initialize'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb: 37:in `new'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb: 37:in `postgresql_connection'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:223:in `send'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:223:in `new_connection'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:245:in `checkout_new_connection'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:188:in `checkout'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:184:in `loop'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:184:in `checkout'

          from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/monitor .rb:242:in `synchronize'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:183:in `checkout'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:98:in `connection'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_po ol.rb:326:in `retrieve_connection'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_sp ecification.rb:123:in `retrieve_connection'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/connection_adapters/abstract/connection_sp ecification.rb:115:in `connection'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activerecord/lib/active_record/base.rb:1299:in `table_exists?'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config /initializers/settings.rb:10

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activesupport/lib/active_support/dependencies.rb:173:in `load_without_new_constant_marking'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/activesupport/lib/active_support/dependencies.rb:173:in `load'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /../config/../vendor/rails/railties/lib/initializer.rb:622:in `load_application_initializers'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /../config/../vendor/rails/railties/lib/initializer.rb:621:in `each'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /../config/../vendor/rails/railties/lib/initializer.rb:621:in `load_application_initializers'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /../config/../vendor/rails/railties/lib/initializer.rb:176:in `process'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /../config/../vendor/rails/railties/lib/initializer.rb:113:in `send'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /../config/../vendor/rails/railties/lib/initializer.rb:113:in `run'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/config /environment.rb:55

          from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygem s/custom_require.rb:31:in `gem_original_require'

          from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygem s/custom_require.rb:31:in `require'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/vendor /rails/railties/lib/commands/runner.rb:39

          from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygem s/custom_require.rb:31:in `gem_original_require'

          from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygem s/custom_require.rb:31:in `require'

          from /Applications/Server.app/Contents/ServerRoot/usr/share/devicemgr/backend/script /runner:3

}

 

 

Do anyone can help me ? I will appriciate it so much.

 

I' m looking forward to your reply.

 

Thanks a lot.

I

OS X Mountain Lion (10.8.5), Server.app

Posted on Nov 12, 2013 3:46 AM

Close

Q: An error occured on the server while reading settings

  • All replies
  • Helpful answers