Hi,

On Fri, Jan 6, 2012, at 04:46 PM, cr...@mailhaven.com wrote:
> That's already underway.
...

With current memcached and a few more tweaks & hoops I managed to get
CalendarServer to build on opensuse 12.1/64,

        ./run -s > ~/calendarserver_build_log.txt

        ls -al bin/
                total 128K
                drwxr-xr-x  3 root root 4.0K Jan  6 19:26 ./
                drwxr-xr-x 17 root root 4.0K Jan  6 20:00 ../
                -rwxr-xr-x  1 root root 4.3K Jan  6 19:26 caldavd*
                -rwxr-xr-x  1 root root  945 Jan  6 19:26
                calendarserver_bootstrap_database*
                -rwxr-xr-x  1 root root  940 Jan  6 19:26
                calendarserver_command_gateway*
                -rwxr-xr-x  1 root root  939 Jan  6 19:26
                calendarserver_config*
                -rwxr-xr-x  1 root root  937 Jan  6 19:26
                calendarserver_dbinspect*
                -rwxr-xr-x  1 root root  939 Jan  6 19:26
                calendarserver_export*
                -rwxr-xr-x  1 root root  940 Jan  6 19:26
                calendarserver_load_augmentdb*
                -rwxr-xr-x  1 root root  940 Jan  6 19:26
                calendarserver_make_partition*
                -rwxr-xr-x  1 root root  942 Jan  6 19:26
                calendarserver_manage_augments*
                -rwxr-xr-x  1 root root  942 Jan  6 19:26
                calendarserver_manage_postgres*
                -rwxr-xr-x  1 root root  942 Jan  6 19:26
                calendarserver_manage_principals*
                -rwxr-xr-x  1 root root  943 Jan  6 19:26
                calendarserver_manage_timezones*
                -rwxr-xr-x  1 root root  937 Jan  6 19:26
                calendarserver_migrate_resources*
                -rwxr-xr-x  1 root root  941 Jan  6 19:26
                calendarserver_monitor_notifications*
                -rw-r--r--  1 root root 2.0K Jan  6 19:26
                _calendarserver_preamble.py
                -rwxr-xr-x  1 root root  992 Jan  6 19:26
                calendarserver_purge_attachments*
                -rwxr-xr-x  1 root root  964 Jan  6 19:26
                calendarserver_purge_events*
                -rwxr-xr-x  1 root root  972 Jan  6 19:26
                calendarserver_purge_principals*
                -rwxr-xr-x  1 root root  938 Jan  6 19:26
                calendarserver_shell*
                -rwxr-xr-x  1 root root  940 Jan  6 19:26
                calendarserver_upgrade*
                -rwxr-xr-x  1 root root  937 Jan  6 19:26
                calendarserver_verify_data*
                -rwxr-xr-x  1 root root  939 Jan  6 19:26
                calendarserver_warmup*
                -rwxr-xr-x  1 root root  941 Jan  6 19:26
                icalendar_split*
                -rwxr-xr-x  1 root root 1013 Jan  6 19:26 make-ssl-ca*
                -rwxr-xr-x  1 root root 2.4K Jan  6 19:26 make-ssl-key*
                -rw-r--r--  1 root root 6.0K Jan  6 19:26 proxyclean
                drwxr-xr-x  6 root root 4.0K Jan  6 19:27 .svn/
                -rwxr-xr-x  1 root root  366 Jan  6 19:26
                watch_memcached*


Whatever got built, execs, too,

        cd /usr/local/src/CalendarServer/CalendarServer
        cp ./conf/caldavd-test.plist ./conf/caldavd-dev.plist
        ./run -n

                Using system version of setuptools.


                Using python2.7 as Python

                Starting server...
                Reading configuration from file:
                
/usr/local/src/CalendarServer/CalendarServer/conf/caldavd-dev.plist
                2012-01-06 20:28:19-0800 [-] Log opened.
                2012-01-06 20:28:19-0800 [-] twistd 11.0.0
                (/usr/bin/python2.7 2.7.2) starting up.
                2012-01-06 20:28:19-0800 [-] reactor class:
                twisted.internet.selectreactor.SelectReactor.
                2012-01-06 20:28:19-0800 [-]
                calendarserver.accesslog.AMPLoggingFactory starting on
                "'./data/Logs/state/caldavd.sock'"
                2012-01-06 20:28:19-0800 [-]
                calendarserver.tap.caldav.CalDAVStatisticsServer
                starting on "'./data/Logs/state/caldavd-stats.sock'"
                2012-01-06 20:28:19-0800 [-]
                [txdav.base.datastore.subpostgres#info] received
                postgres stdout 'waiting for server to start...'
                2012-01-06 20:28:19-0800 [-]
                [txdav.base.datastore.subpostgres#info] received
                postgres stdout '.'
                2012-01-06 20:28:20-0800 [-]
                [txdav.base.datastore.subpostgres#info] received
                postgres stdout ' done\nserver started\n'
                2012-01-06 20:28:20-0800 [-]
                [txdav.base.datastore.subpostgres#info] postgres process
                ended <twisted.python.failure.Failure <class
                'twisted.internet.error.ProcessDone'>>
                NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit
                index "calendar_home_pkey" for table "calendar_home"
                NOTICE:  CREATE TABLE / UNIQUE will create implicit
                index "calendar_home_owner_uid_key" for table
                "calendar_home"
                NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit
                index "calendar_home_metadata_pkey" for table
                "calendar_home_metadata"
                NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit
                index "calendar_pkey" for table "calendar"
                NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit
                index "notification_home_pkey" for table
                "notification_home"
                NOTICE:  CREATE TABLE / UNIQUE will create implicit
                index "notification_home_owner_uid_key" for table
                "notification_home"
                NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit
                index "notification_pkey" for table "notification"
                NOTICE:  CREATE TABLE / UNIQUE will create implicit
                index
                
"notification_notification_uid_notification_home_resource_id_key"
                for table "notification"
                NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit
                index "calendar_bind_pkey" for table "calendar_bind"
                NOTICE:  CREATE TABLE / UNIQUE will create implicit
                index
                
"calendar_bind_calendar_home_resource_id_calendar_resource_n_key"
                for table "calendar_bind"
                NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit
                index "calendar_bind_mode_pkey" for table
                "calendar_bind_mode"
                NOTICE:  CREATE TABLE / UNIQUE will create implicit
                index "calendar_bind_mode_description_key" for table
                "calendar_bind_mode"
                NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit
                index "calendar_bind_status_pkey" for table
                "calendar_bind_status"
                NOTICE:  CREATE TABLE / UNIQUE will create implicit
                index "calendar_bind_status_description_key" for table
                "calendar_bind_status"
                NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit
                index "calendar_object_pkey" for table "calendar_object"
                NOTICE:  CREATE TABLE / UNIQUE will create implicit
                index
                "calendar_object_calendar_resource_id_resource_name_key"
                for table "calendar_object"
                NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit
                index "calendar_object_attachments_mode_pkey" for table
                "calendar_object_attachments_mode"
                NOTICE:  CREATE TABLE / UNIQUE will create implicit
                index "calendar_object_attachments_mode_description_key"
                for table "calendar_object_attachments_mode"
                NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit
                index "calendar_access_type_pkey" for table
                "calendar_access_type"
                NOTICE:  CREATE TABLE / UNIQUE will create implicit
                index "calendar_access_type_description_key" for table
                "calendar_access_type"
                NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit
                index "time_range_pkey" for table "time_range"
                NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit
                index "free_busy_type_pkey" for table "free_busy_type"
                NOTICE:  CREATE TABLE / UNIQUE will create implicit
                index "free_busy_type_description_key" for table
                "free_busy_type"
                NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit
                index "attachment_pkey" for table "attachment"
                NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit
                index "resource_property_pkey" for table
                "resource_property"
                NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit
                index "addressbook_home_pkey" for table
                "addressbook_home"
                NOTICE:  CREATE TABLE / UNIQUE will create implicit
                index "addressbook_home_owner_uid_key" for table
                "addressbook_home"
                NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit
                index "addressbook_home_metadata_pkey" for table
                "addressbook_home_metadata"
                NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit
                index "addressbook_pkey" for table "addressbook"
                NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit
                index "addressbook_bind_pkey" for table
                "addressbook_bind"
                NOTICE:  CREATE TABLE / UNIQUE will create implicit
                index
                
"addressbook_bind_addressbook_home_resource_id_addressbook_r_key"
                for table "addressbook_bind"
                NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit
                index "addressbook_object_pkey" for table
                "addressbook_object"
                NOTICE:  CREATE TABLE / UNIQUE will create implicit
                index
                "addressbook_object_addressbook_resource_id_resource_name_key"
                for table "addressbook_object"
                NOTICE:  CREATE TABLE / UNIQUE will create implicit
                index
                "addressbook_object_addressbook_resource_id_vcard_uid_key"
                for table "addressbook_object"
                NOTICE:  CREATE TABLE / UNIQUE will create implicit
                index
                
"notification_object_revisions_notification_home_resource_id_key"
                for table "notification_object_revisions"
                NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit
                index "apn_subscriptions_pkey" for table
                "apn_subscriptions"
                NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit
                index "calendarserver_pkey" for table "calendarserver"
                2012-01-06 20:28:30-0800 [-]
                [twistedcaldav.upgrade#warn] Upgrading to version 1
                2012-01-06 20:28:30-0800 [-]
                [twistedcaldav.upgrade#info] Fetching delegate
                assignments and auto-schedule settings from directory
                2012-01-06 20:28:30-0800 [-] [twistedcaldav.sql#info]
                Initializing database
                ./data/Data/mailgatewaytokens.sqlite
                2012-01-06 20:28:30-0800 [-]
                [twistedcaldav.upgrade#warn] Upgraded to version 1
                2012-01-06 20:28:30-0800 [-]
                [twistedcaldav.upgrade#warn] Upgrading to version 2
                2012-01-06 20:28:30-0800 [-]
                [twistedcaldav.upgrade#warn] Upgraded to version 2
                2012-01-06 20:28:30-0800 [-]
                
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseSchemaService#warn]
                Beginning database schema check.
                2012-01-06 20:28:30-0800 [-]
                
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseSchemaService#warn]
                Required database key VERSION: 7.
                2012-01-06 20:28:31-0800 [-]
                
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseSchemaService#warn]
                Actual database key VERSION: 7.
                2012-01-06 20:28:31-0800 [-]
                
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseSchemaService#warn]
                Schema version check complete: no upgrade needed.
                2012-01-06 20:28:31-0800 [-]
                
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseSchemaService#warn]
                Database schema check complete.
                2012-01-06 20:28:31-0800 [-]
                
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseDataService#warn]
                Beginning database data check.
                2012-01-06 20:28:31-0800 [-]
                
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseDataService#warn]
                Required database key CALENDAR-DATAVERSION: 2.
                2012-01-06 20:28:31-0800 [-]
                
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseDataService#warn]
                Actual database key CALENDAR-DATAVERSION: 2.
                2012-01-06 20:28:31-0800 [-]
                
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseDataService#warn]
                Data version check complete: no upgrade needed.
                2012-01-06 20:28:31-0800 [-]
                
[txdav.common.datastore.upgrade.sql.upgrade.UpgradeDatabaseDataService#warn]
                Database data check complete.
                2012-01-06 20:28:31-0800 [-]
                [twistedcaldav.database#info] Initializing database
                Proxies
                2012-01-06 20:28:34-0800 [PooledMemCacheProtocol,client]
                [calendarserver.tap.util#info] Configuring augment
                service of type: <class
                'twistedcaldav.directory.augment.AugmentXMLDB'>
                2012-01-06 20:28:34-0800 [PooledMemCacheProtocol,client]
                [calendarserver.tap.util#info] Configuring directory
                service of type:
                twistedcaldav.directory.xmlfile.XMLDirectoryService
                2012-01-06 20:28:34-0800 [PooledMemCacheProtocol,client]
                [calendarserver.tap.util#info] Configuring resource
                service of type: <class
                'twistedcaldav.directory.xmlfile.XMLDirectoryService'>
                2012-01-06 20:28:34-0800 [PooledMemCacheProtocol,client]
                [calendarserver.tap.util#info] Configuring
                SudoDirectoryService with file: ./conf/sudoers.plist
                2012-01-06 20:28:34-0800 [PooledMemCacheProtocol,client]
                [calendarserver.tap.util#info] Setting up principal
                collection: <class
                
'twistedcaldav.directory.principal.DirectoryPrincipalProvisioningResource'>
                2012-01-06 20:28:34-0800 [PooledMemCacheProtocol,client]
                
[twistedcaldav.directory.directory.GroupMembershipCacheUpdater#info]
                Updating group membership cache
                2012-01-06 20:28:34-0800 [PooledMemCacheProtocol,client]
                
[twistedcaldav.directory.directory.GroupMembershipCacheUpdater#info]
                Group membership snapshot file does not yet exist
                2012-01-06 20:28:34-0800 [PooledMemCacheProtocol,client]
                
[twistedcaldav.directory.directory.GroupMembershipCacheUpdater#info]
                Retrieving list of all proxies
                2012-01-06 20:28:34-0800 [-]
                
[twistedcaldav.directory.directory.GroupMembershipCacheUpdater#info]
                There are 4 proxies
                2012-01-06 20:28:34-0800 [-]
                
[twistedcaldav.directory.directory.GroupMembershipCacheUpdater#info]
                Retrieving group hierarchy from directory
                2012-01-06 20:28:34-0800 [-]
                
[twistedcaldav.directory.directory.GroupMembershipCacheUpdater#info]
                8 groups retrieved from the directory
                2012-01-06 20:28:34-0800 [-]
                
[twistedcaldav.directory.directory.GroupMembershipCacheUpdater#info]
                2 groups are proxies
                2012-01-06 20:28:34-0800 [-]
                
[twistedcaldav.directory.directory.GroupMembershipCacheUpdater#info]
                There are 6 users delegated-to via groups
                2012-01-06 20:28:34-0800 [-]
                
[twistedcaldav.directory.directory.GroupMembershipCacheUpdater#info]
                Taking snapshot of group memberships to
                
/usr/local/src/CalendarServer/CalendarServer/data/Data/memberships_cache
                2012-01-06 20:28:34-0800 [-]
                
[twistedcaldav.directory.directory.GroupMembershipCacheUpdater#info]
                Storing 6 group memberships in memcached
                2012-01-06 20:28:34-0800 [PooledMemCacheProtocol,client]
                
[twistedcaldav.directory.directory.GroupMembershipCacheUpdater#info]
                Group memberships cache updated
                2012-01-06 20:28:34-0800 [-] <class
                'twext.web2.metafd.LimitingInheritingProtocolFactory'>
                starting on 8008
                2012-01-06 20:28:34-0800 [-] <class
                'twext.web2.metafd.LimitingInheritingProtocolFactory'>
                starting on 8800
                2012-01-06 20:28:34-0800 [-] <class
                'twext.web2.metafd.LimitingInheritingProtocolFactory'>
                starting on 8443
                2012-01-06 20:28:34-0800 [-] <class
                'twext.web2.metafd.LimitingInheritingProtocolFactory'>
                starting on 8843
                2012-01-06 20:28:34-0800 [-]
                [calendarserver.tap.caldav.CalDAVServiceMaker#info]
                Adding group caching service
                2012-01-06 20:28:43-0800 [-] [caldav-0] Reading
                configuration from file:
                
/usr/local/src/CalendarServer/CalendarServer/conf/caldavd-dev.plist
                2012-01-06 20:28:43-0800 [-] [caldav-0]  [-] Log opened.
                2012-01-06 20:28:43-0800 [-] [caldav-0]  [-] twistd
                11.0.0 (/usr/bin/python2.7 2.7.2) starting up.
                2012-01-06 20:28:43-0800 [-] [caldav-0]  [-] reactor
                class: twisted.internet.selectreactor.SelectReactor.
                2012-01-06 20:28:43-0800
                [calendarserver.accesslog.AMPLoggingFactory]
                AMPLoggingProtocol connection established
                (HOST:UNIXAddress('./data/Logs/state/caldavd.sock')
                PEER:UNIXAddress(''))
                2012-01-06 20:28:43-0800 [-] [caldav-0]  [-] AMP
                connection established (HOST:UNIXAddress(None)
                PEER:UNIXAddress('./data/Logs/state/caldavd.sock'))
                2012-01-06 20:28:43-0800 [-] [caldav-1] Reading
                configuration from file:
                
/usr/local/src/CalendarServer/CalendarServer/conf/caldavd-dev.plist
                2012-01-06 20:28:43-0800 [-] [caldav-1]  [-] Log opened.
                2012-01-06 20:28:43-0800 [-] [caldav-1]  [-] twistd
                11.0.0 (/usr/bin/python2.7 2.7.2) starting up.
                2012-01-06 20:28:43-0800 [-] [caldav-1]  [-] reactor
                class: twisted.internet.selectreactor.SelectReactor.
                2012-01-06 20:28:43-0800
                [calendarserver.accesslog.AMPLoggingFactory]
                AMPLoggingProtocol connection established
                (HOST:UNIXAddress('./data/Logs/state/caldavd.sock')
                PEER:UNIXAddress(''))
                2012-01-06 20:28:43-0800 [-] [caldav-1]  [-] AMP
                connection established (HOST:UNIXAddress(None)
                PEER:UNIXAddress('./data/Logs/state/caldavd.sock'))
                2012-01-06 20:28:43-0800 [-] [groupcacher] 2012-01-06
                20:28:43-0800 [-] Log opened.
                2012-01-06 20:28:44-0800 [-] [groupcacher] 2012-01-06
                20:28:44-0800 [-] twistd 11.0.0 (/usr/bin/python2.7
                2.7.2) starting up.
                2012-01-06 20:28:44-0800 [-] [groupcacher] 2012-01-06
                20:28:44-0800 [-] reactor class:
                twisted.internet.selectreactor.SelectReactor.
                2012-01-06 20:28:44-0800 [-] [groupcacher] 2012-01-06
                20:28:44-0800 [-]
                
[twistedcaldav.directory.directory.GroupMembershipCacherService#warn]
                Starting group membership cacher service
                2012-01-06 20:28:44-0800 [-] [groupcacher] 2012-01-06
                20:28:44-0800 [PooledMemCacheProtocol,client]
                
[twistedcaldav.directory.directory.GroupMembershipCacheUpdater#info]
                Updating group membership cache
                2012-01-06 20:28:44-0800 [-] [groupcacher] 2012-01-06
                20:28:44-0800 [PooledMemCacheProtocol,client]
                
[twistedcaldav.directory.directory.GroupMembershipCacheUpdater#info]
                Group membership snapshot file exists:
                
/usr/local/src/CalendarServer/CalendarServer/data/Data/memberships_cache
                2012-01-06 20:28:44-0800 [-] [groupcacher] 2012-01-06
                20:28:44-0800 [PooledMemCacheProtocol,client]
                
[twistedcaldav.directory.directory.GroupMembershipCacheUpdater#info]
                Attempting to acquire group membership cache lock
                2012-01-06 20:28:44-0800 [-] [groupcacher] 2012-01-06
                20:28:44-0800 [PooledMemCacheProtocol,client]
                
[twistedcaldav.directory.directory.GroupMembershipCacheUpdater#info]
                Acquired lock
                2012-01-06 20:28:44-0800 [-] [groupcacher] 2012-01-06
                20:28:44-0800 [PooledMemCacheProtocol,client]
                
[twistedcaldav.directory.directory.GroupMembershipCacheUpdater#info]
                Retrieving list of all proxies
                2012-01-06 20:28:44-0800 [-] [groupcacher] 2012-01-06
                20:28:44-0800 [-]
                
[twistedcaldav.directory.directory.GroupMembershipCacheUpdater#info]
                There are 4 proxies
                2012-01-06 20:28:44-0800 [-] [groupcacher] 2012-01-06
                20:28:44-0800 [-]
                
[twistedcaldav.directory.directory.GroupMembershipCacheUpdater#info]
                Retrieving group hierarchy from directory
                2012-01-06 20:28:44-0800 [-] [groupcacher] 2012-01-06
                20:28:44-0800 [-]
                
[twistedcaldav.directory.directory.GroupMembershipCacheUpdater#info]
                8 groups retrieved from the directory
                2012-01-06 20:28:44-0800 [-] [groupcacher] 2012-01-06
                20:28:44-0800 [-]
                
[twistedcaldav.directory.directory.GroupMembershipCacheUpdater#info]
                2 groups are proxies
                2012-01-06 20:28:44-0800 [-] [groupcacher] 2012-01-06
                20:28:44-0800 [-]
                
[twistedcaldav.directory.directory.GroupMembershipCacheUpdater#info]
                There are 6 users delegated-to via groups
                2012-01-06 20:28:44-0800 [-] [groupcacher] 2012-01-06
                20:28:44-0800 [-]
                
[twistedcaldav.directory.directory.GroupMembershipCacheUpdater#info]
                Taking snapshot of group memberships to
                
/usr/local/src/CalendarServer/CalendarServer/data/Data/memberships_cache
                2012-01-06 20:28:44-0800 [-] [groupcacher] 2012-01-06
                20:28:44-0800 [-]
                
[twistedcaldav.directory.directory.GroupMembershipCacheUpdater#info]
                Storing 6 group memberships in memcached
                2012-01-06 20:28:44-0800 [-] [groupcacher] 2012-01-06
                20:28:44-0800 [PooledMemCacheProtocol,client]
                
[twistedcaldav.directory.directory.GroupMembershipCacheUpdater#info]
                Releasing lock
                2012-01-06 20:28:44-0800 [-] [groupcacher] 2012-01-06
                20:28:44-0800 [PooledMemCacheProtocol,client]
                
[twistedcaldav.directory.directory.GroupMembershipCacheUpdater#info]
                Group memberships cache updated
                2012-01-06 20:28:44-0800 [-] [groupcacher] 2012-01-06
                20:28:44-0800 [PooledMemCacheProtocol,client]
                
[twistedcaldav.directory.directory.GroupMembershipCacherService#info]
                Scheduling next group membership update


        netstat -an  | egrep "8008|8443"
                tcp        0      0 0.0.0.0:8008            0.0.0.0:*   
                           LISTEN
                tcp        0      0 0.0.0.0:8443            0.0.0.0:*   
                           LISTEN
                tcp        0      0 127.0.0.1:39542        
                127.0.0.1:8008          FIN_WAIT2
                tcp        1      0 127.0.0.1:8008         
                127.0.0.1:39542         CLOSE_WAIT

Now I just need to figure out of it was built, and is working, right.

Does the output above look about right?  Anything look problematic to
you?

That's enough for tonight. Thanks.

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

Reply via email to