Re: [SOGo] Sogo 2.0 nightly build : ImportError: No module named samba for Provision command

2012-09-26 Thread Devinder Singh
Thanks Jean, Command : which python Result: /usr/local/bin/python Command : python -V Result:Python 2.7 Command : echo -e 'import sys\nprint sys.path' | python Result: ['', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7', '/usr/local/lib/python2.7/plat-linux2',

Re: [SOGo] Sogo 2.0 nightly build : ImportError: No module named samba for Provision command

2012-09-26 Thread Devinder Singh
Hi Jean, Well I was able to execute by adding below PYTHONPATH line in the bashprofile. PYTHONPATH=$PYTHONPATH:/usr/local/bin/python2.7:/usr/lib/python2.7/site-packages/:/usr/lib/python2.6/site-packages/:/usr/lib/python2.6/site-packages/samba Maybe we should add this as well into the

Re: [SOGo] Sogo 2.0 nightly build : ImportError: No module named samba for Provision command

2012-09-26 Thread Jean Raby
On 12-09-26 3:20 AM, Devinder Singh wrote: Thanks Jean, Command : which python Result: /usr/local/bin/python This is wrong, well, not wrong, but it is not the system python, so that's why it was not finding the samba modules. Use /usr/bin/python /usr/sbin/provision ... that should work

Re: [SOGo] Sogo 2.0 nightly build : ImportError: No module named samba for Provision command

2012-09-25 Thread Devinder Singh
Hi Jean, I followed the below activities but yet receive the same error 1. Removed samba4-libs and reinstalled samba4-4.0.0beta5-3.el6.1.i686 Result -Their was no change and received same error 2. Removed all samba packages fetch by rpm -qa | grep samba and reinstalled

Re: [SOGo] Sogo 2.0 nightly build : ImportError: No module named samba for Provision command

2012-09-25 Thread Jean Raby
On 12-09-25 3:47 AM, Devinder Singh wrote: Hi Jean, I followed the below activities but yet receive the same error 1. Removed samba4-libs and reinstalled samba4-4.0.0beta5-3.el6.1.i686 Result - Their was no change and received same error 2. Removed all samba packages fetch by rpm -qa | grep

Re: [SOGo] Sogo 2.0 nightly build : ImportError: No module named samba for Provision command

2012-09-24 Thread Devinder Singh
Thanks Sebastien, Provision script is available in /usr/sbin/ and thats where I ran the command. I did not find the Provision script in /usr/share/samba/setup. However, I copied provision script from /usr/sbin/ to /usr/share/samba/setup and ran the command. Yet got the same error

Re: [SOGo] Sogo 2.0 nightly build : ImportError: No module named samba for Provision command

2012-09-24 Thread Jean Raby
On 12-09-24 8:24 AM, Devinder Singh wrote: Thanks Sebastien, Provision script is available in /usr/sbin/ and thats where I ran the command. I did not find the Provision script in /usr/share/samba/setup. However, I copied provision script from /usr/sbin/ to /usr/share/samba/setup and ran the

Re: [SOGo] Sogo 2.0 nightly build : ImportError: No module named samba for Provision command

2012-09-24 Thread Devinder Singh
Hi Jean, Below is the output of rpm -qa | grep samba samba-client-3.5.10-125.el6.i686 samba4-libs-4.0.0-23.alpha11.el6.i686 samba-common-3.5.10-125.el6.i686 samba-winbind-clients-3.5.10-125.el6.i686 samba4-4.0.0beta5-3.el6.1.i686 Thanks Regards, Devinder Singh Birdi On 9/24/2012 6:58

Re: [SOGo] Sogo 2.0 nightly build : ImportError: No module named samba for Provision command

2012-09-24 Thread Jean Raby
On 12-09-24 10:04 AM, Devinder Singh wrote: Hi Jean, Below is the output of rpm -qa | grep samba samba-client-3.5.10-125.el6.i686 samba4-libs-4.0.0-23.alpha11.el6.i686 samba-common-3.5.10-125.el6.i686 samba-winbind-clients-3.5.10-125.el6.i686 samba4-4.0.0beta5-3.el6.1.i686 Can you try

[SOGo] Sogo 2.0 nightly build : ImportError: No module named samba for Provision command

2012-09-21 Thread Devinder Singh
Hi All, I am facing the below issue when I run the command as per the instructions given in the SOGo Native Microsoft Outlook Configuration 2.0. provision --realm=example.com --domain=OPENCHANGE --adminpass='%1OpenChange' --server-role='domain controller' Traceback (most recent call last):

Re: [SOGo] Sogo 2.0 nightly build : ImportError: No module named samba for Provision command

2012-09-21 Thread Sébastien Blin
Le 21/09/2012 16:41, Devinder Singh a écrit : Hi All, I am facing the below issue when I run the command as per the instructions given in the SOGo Native Microsoft Outlook Configuration 2.0. provision --realm=example.com --domain=OPENCHANGE --adminpass='%1OpenChange' --server-role='domain