Hello

I following that igestis tutorial step by step (they claim it works with 
debian). The repo I using atm is:

deb http://inverse.ca/debian-nightly wheezy wheezy
deb-src http://inverse.ca/debian-nightly wheezy wheezy


A bit of a follow up. I have managed to install these packages:

apt-get install openchangeserver sogo-openchange openchangeproxy 
openchange-rpcproxy

What I couldn't install was:

1)     openchange-ocsmanager [Not Installed]              
2)     python-ocsmanager [Not Installed]               

So what I did was apt-get download the debs and extract them to their place...

-rw-r--r-- 1 root root  38772 May 19 07:27 
openchange-ocsmanager_3%3a2.3-zentyal11_all.deb
-rw-r--r-- 1 root root  76074 May 19 07:27 
python-ocsmanager_3%3a2.3-zentyal11_all.deb

Further analyzing the Zentyal Ubuntu appliance I rsynced over some additional 
python scripts from that.

Then I have installed:

ii  python-mapistore                   3:2.3-zentyal11               amd64      
  Python bindings for the mapistore library
ii  python-pylons                      1.0-2                         all        
  Python web framework emphasizing flexibility and rapid development


But sadly I get python errors:

/usr/bin/paster serve /etc/ocsmanager/ocsmanager.ini --pid-file 
/var/run/ocsmanager/ocsmanager.pid --log-file /var/log/ocsmanager/ocsmanager.log
root@mail:~# cat /var/log/ocsmanager/ocsmanager.log
Traceback (most recent call last):
  File "/usr/bin/paster", line 4, in <module>
    command.run()
  File "/usr/lib/python2.7/dist-packages/paste/script/command.py", line 104, in 
run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/python2.7/dist-packages/paste/script/command.py", line 143, in 
invoke
    exit_code = runner.run(args)
  File "/usr/lib/python2.7/dist-packages/paste/script/command.py", line 238, in 
run
    result = self.command()
  File "/usr/lib/python2.7/dist-packages/paste/script/serve.py", line 284, in 
command
    relative_to=base, global_conf=vars)
  File "/usr/lib/python2.7/dist-packages/paste/script/serve.py", line 321, in 
loadapp
    **kw)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, 
in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, 
in loadobj
    return context.create()
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, 
in create
    return self.object_type.invoke(self)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 146, 
in invoke
    return fix_call(context.object, context.global_conf, **context.local_conf)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 56, in 
fix_call
    val = callable(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/ocsmanager/config/middleware.py", line 
43, in make_app
    config = load_environment(global_conf, app_conf)
  File "/usr/lib/python2.7/dist-packages/ocsmanager/config/environment.py", 
line 157, in load_environment
    mstore = mapistore.MAPIStore(config['ocsmanager']['main']['mapistore_root'])
SystemError: error in openchange_ldb_init
Removing PID file /var/run/ocsmanager/ocsmanager.pid
Traceback (most recent call last):
  File "/usr/bin/paster", line 4, in <module>
    command.run()
  File "/usr/lib/python2.7/dist-packages/paste/script/command.py", line 104, in 
run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/python2.7/dist-packages/paste/script/command.py", line 143, in 
invoke
    exit_code = runner.run(args)
  File "/usr/lib/python2.7/dist-packages/paste/script/command.py", line 238, in 
run
    result = self.command()
  File "/usr/lib/python2.7/dist-packages/paste/script/serve.py", line 284, in 
command
    relative_to=base, global_conf=vars)
  File "/usr/lib/python2.7/dist-packages/paste/script/serve.py", line 321, in 
loadapp
    **kw)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, 
in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, 
in loadobj
    return context.create()
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, 
in create
    return self.object_type.invoke(self)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 146, 
in invoke
    return fix_call(context.object, context.global_conf, **context.local_conf)
  File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 56, in 
fix_call
    val = callable(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/ocsmanager/config/middleware.py", line 
43, in make_app
    config = load_environment(global_conf, app_conf)
  File "/usr/lib/python2.7/dist-packages/ocsmanager/config/environment.py", 
line 157, in load_environment
    mstore = mapistore.MAPIStore(config['ocsmanager']['main']['mapistore_root'])
SystemError: error in openchange_ldb_init
Removing PID file /var/run/ocsmanager/ocsmanager.pid


If I try to rsync the complete python folder: 

rsync -avz --numeric-ids --delete --delete-after 
[email protected]:/usr/lib/python2.7/dist-packages/ 
/usr/lib/python2.7/dist-packages/

That unfortunately pulls in couple of .so -s which are not compatible with my 
debian wheezy system and it will break a lot of tools including aptitude :((

Any idea how to proceed from here?

Thanks
 
 

Sent: Monday, May 18, 2015 at 8:22 PM
From: [email protected]
To: "Development list" <[email protected]>, "Julien Kerihuel" 
<[email protected]>
Subject: Re: [openchange][devel] ocsmanager and rpcproxy packages for debian
Did you perhaps install packages from the zentyal repository earlier? The two 
sets of packages are likely incompatible, since various components depend on 
specific versions of each other.

Cheers,

Jelmer
 
On 18 May 2015 5:18:58 pm GMT+02:00, Julien Kerihuel 
<[email protected]> wrote:
I am confused,

I can't see how you can end up with zentyal packages problems with this
tutorial because zentyal is never referred there as an apt repository.
Am I missing something?

Br,
Julien.

On 18/05/15 10:05, Martin Lund wrote:
Hello

I try to integrate openchange with all of it's components on Debian Whezy 7.8 
following the igestis tutorial:

http://iabsis.com/en/community/tuto/openchange-samba4-debian

Unfortunately at installing the mentioned packages I run into dependency 
problems:

A,


The following NEW packages will be installed:
javascript-common{a} libjs-jquery{a} libjs-mochikit{a} libjs-prototype{a} 
libjs-scriptaculous{a} libjs-sphinxdoc{a} libjs-underscore{a}
libxslt1.1{a} python-beaker{a} python-beautifulsoup{a} python-decorator{a} 
python-dns{a} python-formencode{a} python-lxml{a} python-mako{a}
python-markupsafe{a} python-nose{a} python-ocsmanager{b} python-openid{a} 
python-paste{a} python-pastedeploy{a} python-pastescript{a}
python-pygments{a} python-pylons{a} python-repoze.lru{a} python-routes{a} 
python-scgi{a} python-simplejson{a} python-sqlalchemy{a}
python-sqlalchemy-ext{a} python-tempita{a} python-weberror{a} 
python-webhelpers{a} python-webob{a} python-webtest{a} wwwconfig-common{a}
0 packages upgraded, 36 newly installed, 0 to remove and 0 not upgraded.
Need to get 76.1 kB/5,591 kB of archives. After unpacking 26.2 MB will be used.
The following packages have unmet dependencies:
python-ocsmanager : Depends: python-rpclib (>= 2.7.0) which is a virtual 
package.
Depends: python-mapistore (= 3:2.3-zentyal11) but it is not going to be 
installed.
Depends: python-sievelib which is a virtual package.
The following actions will resolve these dependencies:

Keep the following packages at their current version:
1) python-ocsmanager [Not Installed]



B,

The following packages have unmet dependencies:
openchange-ocsmanager : Depends: python-ocsmanager (= 3:2.3-zentyal11) but it 
is not going to be installed
E: Unable to correct problems, you have held broken packages.


I have tried both the debian/debian nightly packages from the repository with 
these results. After searching a bit online I found the reason:

On 09/12/2014 08:12, Jan Kraljič wrote:

since some packages are missing in debian-nightly is it even possible to create 
Native Microsoft Outlook from nightly builds?

Yes, but without ocsmanager and rpcproxy for now. So Outlook using RPC will 
work, but not RPC over HTTP.

This will be fixed as soon as v2.2.11 is released.


----

That is exactly what I need in my integration setup because all the 
exchange/outlook clients will connect from the internet, not the LAN.

If somebody made working packages from this for debian wheezy would he be so 
kind sharing them here? I know that the tutorial was written for both debian 
and ubuntu but the Igestis appliance is Ubuntu with a good reason (it have way 
more up to date packages). I seriously doubt that they have tried to install 
those packages in their wiki on Debian. They would end up with the same results.

I know it is a possibility to build these tools from source but I don't have 
too much time to complete this setup and switching the mail system to Ubuntu is 
not an option.

Thank you!
------------------------------------------------------------
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel[http://mailman.openchange.org/listinfo/devel]
--
Sent from my Android device with K-9 Mail. Please excuse my 
brevity._______________________________________________ devel mailing list 
[email protected] 
http://mailman.openchange.org/listinfo/devel[http://mailman.openchange.org/listinfo/devel]
_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to