Thanks Rowland,

 

Now however my Debian system fails to install slapd.

$ apt-get install slapd

 

Output:

 

root@server2:/etc/apache2/conf.d# apt-get install slapd

Reading package lists... Done

Building dependency tree

Reading state information... Done

Suggested packages:

  ldap-utils

The following NEW packages will be installed:

  slapd

0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.

Need to get 0 B/1,589 kB of archives.

After this operation, 4,018 kB of additional disk space will be used.

Preconfiguring packages ...

Selecting previously deselected package slapd.

(Reading database ... 64390 files and directories currently installed.)

Unpacking slapd (from .../slapd_2.4.23-7.2_amd64.deb) ...

Processing triggers for man-db ...

Setting up slapd (2.4.23-7.2) ...

  Moving old database directory to /var/backups:

  - directory unknown... done.

  Creating initial configuration... done.

  Creating LDAP directory... done.

Starting OpenLDAP: slapd failed!

invoke-rc.d: initscript slapd, action "start" failed.

dpkg: error processing slapd (--configure):

subprocess installed post-installation script returned error exit status 1

configured to not write apport reports

                                      Errors were encountered while
processing:

slapd

E: Sub-process /usr/bin/dpkg returned an error code (1)

 

I've tried googling, some say it's a broken package. Is this true? Do I need
to compile from source as well?

 

Another question why does SOGo require slapd? Can't it use Samba4 to
authenticate? Doesn't Samba4 have its own slapd? Is that possibly what is
causing the issue?

 

Thanks in advance

 

Regards,

Steven Swarts

 

From: Rowland Penny [mailto:[email protected]] 
Sent: Saturday, 26 January 2013 1:39 AM
To: [email protected]
Subject: Re: [SOGo] Help installing from source

 

On 25/01/13 17:12, Steven Swarts wrote:

Thank you for the heads up, I have now completed everything up until the run
command.

As openchange user I run the command

 

$ sogod 

 

This is what it comes back with:

 

-su: sogod: command not found

 

Any ideas?

 

Regards,

Steven Swarts

 

From: Rowland Penny [mailto:[email protected]] 
Sent: Friday, 25 January 2013 7:15 PM
To: [email protected]
Subject: Re: [SOGo] Help installing from source

 

On 25/01/13 03:38, Steven Swarts wrote:

G'day guys,

 

I'm following this tutorial: 

 

Major steps 

 

1)      http://www.openchange.org/developers/initializing.html 

2)      http://www.openchange.org/developers/downloading.html 

3)      http://www.openchange.org/developers/building.html

4)      http://www.openchange.org/developers/configuring.html

5)      http://www.openchange.org/developers/backends/sogo/index.html

 

Now I'm trying to compile and run openchange, sogo, sope as an exchange
replacement on the Debian 6 Squeeze server.

 

So far everything is working as expected.

 

However part of the SOGo tutorial assumes that I have a user openchange
which I've created (I'm guessing from the beginning) but I didn't.

 

All I have is root user access, and so far that didn't cause any issues.

 

Does this mean that I have duped my whole system? Need to re-install
everything using sudoers and a username openchange?? Does he have to be part
of root group?

 

I couldn't find any information on the tutorial about that.

 

Thanks in advance,

Steve


-- 
This message has been scanned for viruses and 
dangerous content by  <http://www.mailscanner.info/> MailScanner, and is 
believed to be clean. 

Hi, I pointed this out some time ago, just create the user:

useradd -d /home/openchange -m -N -r -s /bin/false openchange

then become the user:

su - -s /bin/bash openchange

then continue where you left off, just type 'exit' after you have done the
SOGo commands, you will need to become the openchange user again to run SOGo
later.

Rowland


-- 
This message has been scanned for viruses and 
dangerous content by  <http://www.mailscanner.info/> MailScanner, and is 
believed to be clean. 


-- 
This message has been scanned for viruses and 
dangerous content by  <http://www.mailscanner.info/> MailScanner, and is 
believed to be clean. 

Hi again, just use the full path: /usr/local/sbin/sogod

Rowland

-- 
This message has been scanned for viruses and 
dangerous content by  <http://www.mailscanner.info/> MailScanner, and is 
believed to be clean. 

-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to