calender server on debian

View: New views
5 Messages — Rating Filter:   Alert me  

calender server on debian

by Tom Wright-9 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Can I please ask for some help getting calendarserver to run on debian.
Having followed the instructions at:
http://www.deanspot.org/content/installing-apples-calendarserver-ubuntu

it seems to start but I cant access it from a web browser and the error  
log seems to fill up with complaints about a depreciated use of twisted  
(see below for a segment, this seems to be repeated as long at the daemon  
is running).
I'm new to calendarserver so thank you for your patience
tom

ERROR LOG:
2009-05-06 12:10:48-0400 [-] [caldav-8008]  
/usr/lib/python2.5/site-packages/twisted/plugins/twisted_web2.py:22:  
DeprecationWarning: mktap and related support modules are deprecated as of  
Twisted 8.0.  Use Twisted Application Plugins with the 'twistd' command  
directly, as described in 'Writing a Twisted Application Plugin for  
twistd' chapter of the Developer Guide.
2009-05-06 12:10:48-0400 [-] [caldav-8008]   from twisted.scripts.mktap  
import _tapHelper
2009-05-06 12:10:49-0400 [-] [caldav-8008] Traceback (most recent call  
last):
2009-05-06 12:10:49-0400 [-] [caldav-8008]   File "/usr/bin/twistd", line  
21, in <module>
2009-05-06 12:10:49-0400 [-] [caldav-8008]     run()
2009-05-06 12:10:49-0400 [-] [caldav-8008]   File  
"/usr/lib/python2.5/site-packages/twisted/scripts/twistd.py", line 27, in  
run
2009-05-06 12:10:49-0400 [-] [caldav-8008]     app.run(runApp,  
ServerOptions)
2009-05-06 12:10:49-0400 [-] [caldav-8008]   File  
"/usr/lib/python2.5/site-packages/twisted/application/app.py", line 614,  
in run
2009-05-06 12:10:49-0400 [-] [caldav-8008]     runApp(config)
2009-05-06 12:10:49-0400 [-] [caldav-8008]   File  
"/usr/lib/python2.5/site-packages/twisted/scripts/twistd.py", line 23, in  
runApp
2009-05-06 12:10:49-0400 [-] [caldav-8008]      
_SomeApplicationRunner(config).run()
2009-05-06 12:10:49-0400 [-] [caldav-8008]   File  
"/usr/lib/python2.5/site-packages/twisted/application/app.py", line 330,  
in run
2009-05-06 12:10:49-0400 [-] [caldav-8008]     self.application =  
self.createOrGetApplication()
2009-05-06 12:10:49-0400 [-] [caldav-8008]   File  
"/usr/lib/python2.5/site-packages/twisted/application/app.py", line 411,  
in createOrGetApplication
2009-05-06 12:10:49-0400 [-] [caldav-8008]     ser =  
plg.makeService(self.config.subOptions)
2009-05-06 12:10:49-0400 [-] [caldav-8008]   File  
"/usr/lib/python2.5/site-packages/twistedcaldav/tap.py", line 749, in  
makeService
2009-05-06 12:10:49-0400 [-] [caldav-8008]     service =  
serviceMethod(options)
2009-05-06 12:10:49-0400 [-] [caldav-8008]   File  
"/usr/lib/python2.5/site-packages/twistedcaldav/tap.py", line 471, in  
makeService_Slave
2009-05-06 12:10:49-0400 [-] [caldav-8008]     baseDirectory =  
directoryClass(**config.DirectoryService["params"])
2009-05-06 12:10:49-0400 [-] [caldav-8008]   File  
"/usr/lib/python2.5/site-packages/twistedcaldav/directory/xmlfile.py",  
line 53, in __init__
2009-05-06 12:10:49-0400 [-] [caldav-8008]     self._accounts()
2009-05-06 12:10:49-0400 [-] [caldav-8008]   File  
"/usr/lib/python2.5/site-packages/twistedcaldav/directory/xmlfile.py",  
line 96, in _accounts
2009-05-06 12:10:49-0400 [-] [caldav-8008]     parser =  
XMLAccountsParser(self.xmlFile)
2009-05-06 12:10:49-0400 [-] [caldav-8008]   File  
"/usr/lib/python2.5/site-packages/twistedcaldav/directory/xmlaccountsparser.py",  
line 88, in __init__
2009-05-06 12:10:49-0400 [-] [caldav-8008]     self.log("Ignoring file %r  
because it is not a repository builder file" % (self.xmlFile,))
2009-05-06 12:10:49-0400 [-] [caldav-8008] AttributeError:  
'XMLAccountsParser' object has no attribute 'log'

_______________________________________________
calendarserver-users mailing list
calendarserver-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

Re: calender server on debian

by Jochen Grotepass :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

There seems to be an error in your accounts.xml file according to this line:

2009-05-06 12:10:49-0400 [-] [caldav-8008] AttributeError:
'XMLAccountsParser' object has no attribute 'log'

Please check either your caldavd.plist or your accounts.xml for propper
formatting and correct tags.

Jochen

Tom Wright schrieb:

> Can I please ask for some help getting calendarserver to run on debian.
> Having followed the instructions at:
> http://www.deanspot.org/content/installing-apples-calendarserver-ubuntu
>
> it seems to start but I cant access it from a web browser and the
> error log seems to fill up with complaints about a depreciated use of
> twisted (see below for a segment, this seems to be repeated as long at
> the daemon is running).
> I'm new to calendarserver so thank you for your patience
> tom
>
> ERROR LOG:
> 2009-05-06 12:10:48-0400 [-] [caldav-8008]
> /usr/lib/python2.5/site-packages/twisted/plugins/twisted_web2.py:22:
> DeprecationWarning: mktap and related support modules are deprecated
> as of Twisted 8.0.  Use Twisted Application Plugins with the 'twistd'
> command directly, as described in 'Writing a Twisted Application
> Plugin for twistd' chapter of the Developer Guide.
> 2009-05-06 12:10:48-0400 [-] [caldav-8008]   from
> twisted.scripts.mktap import _tapHelper
> 2009-05-06 12:10:49-0400 [-] [caldav-8008] Traceback (most recent call
> last):
> 2009-05-06 12:10:49-0400 [-] [caldav-8008]   File "/usr/bin/twistd",
> line 21, in <module>
> 2009-05-06 12:10:49-0400 [-] [caldav-8008]     run()
> 2009-05-06 12:10:49-0400 [-] [caldav-8008]   File
> "/usr/lib/python2.5/site-packages/twisted/scripts/twistd.py", line 27,
> in run
> 2009-05-06 12:10:49-0400 [-] [caldav-8008]     app.run(runApp,
> ServerOptions)
> 2009-05-06 12:10:49-0400 [-] [caldav-8008]   File
> "/usr/lib/python2.5/site-packages/twisted/application/app.py", line
> 614, in run
> 2009-05-06 12:10:49-0400 [-] [caldav-8008]     runApp(config)
> 2009-05-06 12:10:49-0400 [-] [caldav-8008]   File
> "/usr/lib/python2.5/site-packages/twisted/scripts/twistd.py", line 23,
> in runApp
> 2009-05-06 12:10:49-0400 [-] [caldav-8008]    
> _SomeApplicationRunner(config).run()
> 2009-05-06 12:10:49-0400 [-] [caldav-8008]   File
> "/usr/lib/python2.5/site-packages/twisted/application/app.py", line
> 330, in run
> 2009-05-06 12:10:49-0400 [-] [caldav-8008]     self.application =
> self.createOrGetApplication()
> 2009-05-06 12:10:49-0400 [-] [caldav-8008]   File
> "/usr/lib/python2.5/site-packages/twisted/application/app.py", line
> 411, in createOrGetApplication
> 2009-05-06 12:10:49-0400 [-] [caldav-8008]     ser =
> plg.makeService(self.config.subOptions)
> 2009-05-06 12:10:49-0400 [-] [caldav-8008]   File
> "/usr/lib/python2.5/site-packages/twistedcaldav/tap.py", line 749, in
> makeService
> 2009-05-06 12:10:49-0400 [-] [caldav-8008]     service =
> serviceMethod(options)
> 2009-05-06 12:10:49-0400 [-] [caldav-8008]   File
> "/usr/lib/python2.5/site-packages/twistedcaldav/tap.py", line 471, in
> makeService_Slave
> 2009-05-06 12:10:49-0400 [-] [caldav-8008]     baseDirectory =
> directoryClass(**config.DirectoryService["params"])
> 2009-05-06 12:10:49-0400 [-] [caldav-8008]   File
> "/usr/lib/python2.5/site-packages/twistedcaldav/directory/xmlfile.py",
> line 53, in __init__
> 2009-05-06 12:10:49-0400 [-] [caldav-8008]     self._accounts()
> 2009-05-06 12:10:49-0400 [-] [caldav-8008]   File
> "/usr/lib/python2.5/site-packages/twistedcaldav/directory/xmlfile.py",
> line 96, in _accounts
> 2009-05-06 12:10:49-0400 [-] [caldav-8008]     parser =
> XMLAccountsParser(self.xmlFile)
> 2009-05-06 12:10:49-0400 [-] [caldav-8008]   File
> "/usr/lib/python2.5/site-packages/twistedcaldav/directory/xmlaccountsparser.py",
> line 88, in __init__
> 2009-05-06 12:10:49-0400 [-] [caldav-8008]     self.log("Ignoring file
> %r because it is not a repository builder file" % (self.xmlFile,))
> 2009-05-06 12:10:49-0400 [-] [caldav-8008] AttributeError:
> 'XMLAccountsParser' object has no attribute 'log'
>
> _______________________________________________
> calendarserver-users mailing list
> calendarserver-users@...
> http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

_______________________________________________
calendarserver-users mailing list
calendarserver-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

Re: calender server on debian

by Cyrus Daboo-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

--On May 6, 2009 6:21:54 PM +0200 Jochen Grotepass
<jgrotepass@...> wrote:

> There seems to be an error in your accounts.xml file according to this
> line:
>
> 2009-05-06 12:10:49-0400 [-] [caldav-8008] AttributeError:
> 'XMLAccountsParser' object has no attribute 'log'

The attribute error is a bug fixed in r4192.

> Please check either your caldavd.plist or your accounts.xml for propper
> formatting and correct tags.

The cause of the error is that the xml file being pointing to via the
caldavd.plist file is not valid. So check what that is pointing to and make
sure it is a proper accounts.xml style file.

--
Cyrus Daboo

_______________________________________________
calendarserver-users mailing list
calendarserver-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

Re: calender server on debian

by Tom Wright-9 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the very quick replies, that put me in the right direction.
CalendarServer now starts on the standard http port but not ssl. setting  
HTTPPort to 0 gives the following error:

twistedcaldav.config.ConfigurationError: Can't create TwistdSlaveProcess  
without a TCP Port


my snakeoil certificates seem to exist and should be readable by the  
ssl-cert group
  any pointers appreciated

Thanks
tom
On Wed, 06 May 2009 12:27:06 -0400, Cyrus Daboo <cdaboo@...> wrote:

> Hi,
>
> --On May 6, 2009 6:21:54 PM +0200 Jochen Grotepass  
> <jgrotepass@...> wrote:
>
>> There seems to be an error in your accounts.xml file according to this
>> line:
>>
>> 2009-05-06 12:10:49-0400 [-] [caldav-8008] AttributeError:
>> 'XMLAccountsParser' object has no attribute 'log'
>
> The attribute error is a bug fixed in r4192.
>
>> Please check either your caldavd.plist or your accounts.xml for propper
>> formatting and correct tags.
>
> The cause of the error is that the xml file being pointing to via the  
> caldavd.plist file is not valid. So check what that is pointing to and  
> make sure it is a proper accounts.xml style file.
>


_______________________________________________
calendarserver-users mailing list
calendarserver-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

Re: calender server on debian

by Jochen Grotepass :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Maybe you can provide the caldavd.plist and the location where your ssl
cert is stored (full qualified file name).

Jochen

Tom Wright schrieb:

> Thanks for the very quick replies, that put me in the right direction.
> CalendarServer now starts on the standard http port but not ssl.
> setting HTTPPort to 0 gives the following error:
>
> twistedcaldav.config.ConfigurationError: Can't create
> TwistdSlaveProcess without a TCP Port
>
>
> my snakeoil certificates seem to exist and should be readable by the
> ssl-cert group
>  any pointers appreciated
>
> Thanks
> tom
> On Wed, 06 May 2009 12:27:06 -0400, Cyrus Daboo <cdaboo@...> wrote:
>
>> Hi,
>>
>> --On May 6, 2009 6:21:54 PM +0200 Jochen Grotepass
>> <jgrotepass@...> wrote:
>>
>>> There seems to be an error in your accounts.xml file according to this
>>> line:
>>>
>>> 2009-05-06 12:10:49-0400 [-] [caldav-8008] AttributeError:
>>> 'XMLAccountsParser' object has no attribute 'log'
>>
>> The attribute error is a bug fixed in r4192.
>>
>>> Please check either your caldavd.plist or your accounts.xml for propper
>>> formatting and correct tags.
>>
>> The cause of the error is that the xml file being pointing to via the
>> caldavd.plist file is not valid. So check what that is pointing to
>> and make sure it is a proper accounts.xml style file.
>>
>
>
> _______________________________________________
> calendarserver-users mailing list
> calendarserver-users@...
> http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users

_______________________________________________
calendarserver-users mailing list
calendarserver-users@...
http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users