Hi, I've toyed around with the calendarserver for about a month, when I decided to upgrade to the latest svn-version because of a problem I had. Since then I'm unable to connect to the server. I purged my config and checked out a complete new version. My config-file is the default config, I only change I made is to allow connection from everywhere, not only localhost. Now I cant even connect to the http-interface. When I try to connect to http://server:8008/, I get the following error (and the rest of the startup output):
root@primus:~/caldav/CalendarServer# ./run 2007-04-24 08:26:58+0200 [-] Log opened. 2007-04-24 08:26:58+0200 [-] twistd 2.5.0+r19773 (/usr/bin/python 2.4.4) starting up 2007-04-24 08:26:58+0200 [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'> 2007-04-24 08:26:58+0200 [-] 1 processors found, configuring 1 processes. 2007-04-24 08:26:58+0200 [-] twistedcaldav.logging.AMPLoggingFactory starting on "'logs/caldavd.sock'" 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Log opened. 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] twistd 2.5.0+r19773 (/usr/bin/python 2.4.4) starting up 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'> 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Configuring directory service of type: twistedcaldav.directory.xmlfile.XMLDirectoryService 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Configuring SudoDirectoryService with file: conf/sudoers.plist 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Setting up document root at: twistedcaldav/test/data/ 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Setting up principal collection: <class 'twistedcaldav.directory.principal.DirectoryPrincipalProvisioningResource'> 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Setting up calendar collection: <class 'twistedcaldav.static.CalendarHomeProvisioningFile'> 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Setting up root resource: <class 'twistedcaldav.root.RootResource'> 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Setting up default ACEs on root resource 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Setting up AdminPrincipals 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Added /principals/users/admin/ as admin principal 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Setting root ACL 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Configuring authentication for realm: Test Realm 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Setting up scheme: basic 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Configuring authentication wrapper 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Setting up service 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Configuring log observer: <twistedcaldav.logging.AMPCommonAccessLoggingObserver object at 0xb745466c> 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Adding server at :8008 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Adding SSL server at :8443 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] twisted.web2.channel.http.HTTPFactory starting on 8008 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Starting factory <twisted.web2.channel.http.HTTPFactory instance at 0xb74546ec> 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] twisted.web2.channel.http.HTTPFactory starting on 8443 2007-04-24 08:27:00+0200 [twistedcaldav.logging.AMPLoggingFactory] AMPLoggingProtocol connection established (HOST:UNIXSocket('logs/caldavd.sock') PEER:UNIXSocket('')) 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('logs/caldavd.sock')) 2007-04-24 08:29:14+0200 [-] [caldav-8008] [-] Exception rendering: 2007-04-24 08:29:14+0200 [-] [caldav-8008] [-] Unhandled Error 2007-04-24 08:29:14+0200 [-] [caldav-8008] Traceback (most recent call last): 2007-04-24 08:29:14+0200 [-] [caldav-8008] Failure: twisted.internet.error.ConnectError: An error occurred while connecting: 2: No such file or directory. 2007-04-24 08:29:14+0200 [-] [caldav-8008]
Help would be much appreciated, Jakob
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Jakob, Sorry for the inconvenience, and thanks for your interest. This is a known bug with uniprocessor mode http://trac.macosforge.org/projects/ calendarserver/ticket/162 Hopefully I will have time to resolve it this afternoon. Until then you can work around it by setting ProcessType to "Single" in the config file. - -David On Apr 23, 2007, at 11:39 PM, Jakob Lenfers wrote:
Hi,
I've toyed around with the calendarserver for about a month, when I decided to upgrade to the latest svn-version because of a problem I had.
Since then I'm unable to connect to the server. I purged my config and checked out a complete new version. My config-file is the default config, I only change I made is to allow connection from everywhere, not only localhost.
Now I cant even connect to the http-interface. When I try to connect to http://server:8008/, I get the following error (and the rest of the startup output):
root@primus:~/caldav/CalendarServer# ./run 2007-04-24 08:26:58+0200 [-] Log opened. 2007-04-24 08:26:58+0200 [-] twistd 2.5.0+r19773 (/usr/bin/python 2.4.4) starting up 2007-04-24 08:26:58+0200 [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'> 2007-04-24 08:26:58+0200 [-] 1 processors found, configuring 1 processes. 2007-04-24 08:26:58+0200 [-] twistedcaldav.logging.AMPLoggingFactory starting on "'logs/ caldavd.sock'" 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Log opened. 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] twistd 2.5.0 +r19773 (/usr/bin/python 2.4.4) starting up 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'> 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Configuring directory service of type: twistedcaldav.directory.xmlfile.XMLDirectoryService 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Configuring SudoDirectoryService with file: conf/sudoers.plist 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Setting up document root at: twistedcaldav/test/data/ 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Setting up principal collection: <class 'twistedcaldav.directory.principal.DirectoryPrincipalProvisioningReso urce'> 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Setting up calendar collection: <class 'twistedcaldav.static.CalendarHomeProvisioningFile'> 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Setting up root resource: <class 'twistedcaldav.root.RootResource'> 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Setting up default ACEs on root resource 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Setting up AdminPrincipals 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Added /principals/ users/admin/ as admin principal 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Setting root ACL 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Configuring authentication for realm: Test Realm 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Setting up scheme: basic 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Configuring authentication wrapper 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Setting up service 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Configuring log observer: <twistedcaldav.logging.AMPCommonAccessLoggingObserver object at 0xb745466c> 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Adding server at : 8008 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Adding SSL server at :8443 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] twisted.web2.channel.http.HTTPFactory starting on 8008 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] Starting factory <twisted.web2.channel.http.HTTPFactory instance at 0xb74546ec> 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] twisted.web2.channel.http.HTTPFactory starting on 8443 2007-04-24 08:27:00+0200 [twistedcaldav.logging.AMPLoggingFactory] AMPLoggingProtocol connection established (HOST:UNIXSocket('logs/ caldavd.sock') PEER:UNIXSocket('')) 2007-04-24 08:27:00+0200 [-] [caldav-8008] [-] AMP connection established (HOST:UNIXSocket(None) PEER:UNIXSocket('logs/ caldavd.sock')) 2007-04-24 08:29:14+0200 [-] [caldav-8008] [-] Exception rendering: 2007-04-24 08:29:14+0200 [-] [caldav-8008] [-] Unhandled Error 2007-04-24 08:29:14+0200 [-] [caldav-8008] Traceback (most recent call last): 2007-04-24 08:29:14+0200 [-] [caldav-8008] Failure: twisted.internet.error.ConnectError: An error occurred while connecting: 2: No such file or directory. 2007-04-24 08:29:14+0200 [-] [caldav-8008]
Help would be much appreciated, Jakob
_______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/calendarserver-users
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFGLj1KrsrO6aeULcgRApkCAKCOLIXcYKLKo4uUMWe70d2xuuSrdgCfaj67 RmXFzFnPoahlYCfHikeNh0E= =0hvX -----END PGP SIGNATURE-----
David Reid schrieb:
Sorry for the inconvenience, and thanks for your interest. This is a known bug with uniprocessor mode http://trac.macosforge.org/projects/calendarserver/ticket/162
Thanks for the software, I'm sure it'll work out great! :-)
Hopefully I will have time to resolve it this afternoon.
Until then you can work around it by setting ProcessType to "Single" in the config file.
I've changed the entry in conf/caldavd-dev.plist: <key>ProcessType</key> <string>Single</string> Sadly its still the same problem. I guess I forgot some information in my first email: I'm using linux with Python 2.4.4c1 on an old dual cpu P3. Is there anything else that could help pinpointing the problem? TIA, Jakob
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Jakob, I got to #162 a little earlier than I was expecting, it should no longer try to connect to the caldavd-pydir.sock with ProcessType=Combined and MultiProcess/ProcessCount=1. So the stock config with a single processor should work fine after an SVN up. But you say you're on a Dual P3? So the default config should have started you up in multiprocess mode. I see from your previous logfile that getNCPU executed fine, it just only found one processor. Are you running an SMP kernel? What kernel version are you using? What libc version? Can you show me /proc/cpuinfo? I'd like to make sure getNCPU supports as many platforms as possible. Thanks, - -David On Apr 24, 2007, at 11:44 AM, Jakob Lenfers wrote:
David Reid schrieb:
Sorry for the inconvenience, and thanks for your interest. This is a known bug with uniprocessor mode http://trac.macosforge.org/projects/calendarserver/ticket/162
Thanks for the software, I'm sure it'll work out great! :-)
Hopefully I will have time to resolve it this afternoon.
Until then you can work around it by setting ProcessType to "Single" in the config file.
I've changed the entry in conf/caldavd-dev.plist: <key>ProcessType</key> <string>Single</string>
Sadly its still the same problem. I guess I forgot some information in my first email:
I'm using linux with Python 2.4.4c1 on an old dual cpu P3. Is there anything else that could help pinpointing the problem?
TIA, Jakob
_______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/calendarserver-users
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFGLmYNrsrO6aeULcgRAl/6AKCG+H4zF5wxh6bGLgE2vt0ok5Xx7ACgjjW3 ZKgY13C4SKvSeeM+01uGHC8= =kQUp -----END PGP SIGNATURE-----
David Reid schrieb:
So the stock config with a single processor should work fine after an SVN up.
Everythings working now, thanks! I'll test it in the next couple of days.
But you say you're on a Dual P3? So the default config should have started you up in multiprocess mode. I see from your previous logfile
Gee, sorry, I got the two servers mixed up. I installed it on the single processor machine. But I tried it out on the second server and it works there too. Sorry for the mixup.
that getNCPU executed fine, it just only found one processor. Are you running an SMP kernel? What kernel version are you using? What libc version? Can you show me /proc/cpuinfo? I'd like to make sure getNCPU supports as many platforms as possible.
If its going to help you for something else, here you go:
root@nero:~# uname -a Linux nero 2.6.17-10-server #2 SMP Tue Dec 5 22:29:32 UTC 2006 i686 GNU/Linux root@nero:~# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 7 model name : Pentium III (Katmai) stepping : 3 cpu MHz : 451.037 cache size : 512 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse bogomips : 903.25
processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 7 model name : Pentium III (Katmai) stepping : 3 cpu MHz : 451.037 cache size : 512 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse bogomips : 902.09
root@nero:~#
libc6 2.4
Jakob
participants (2)
-
David Reid
-
Jakob Lenfers