[SOGo] SOGo installation with Apache2

2015-10-20 Thread Michael Angelozzi
Hi All,

Firstly, what does SOGo stand for? I have googled intensively and only come
up with Society Of  Gas Operators, which I am i sure it does not stand for.
My guess would be: Super Openexchange Groupware O???

So I am trying to install SOGo on Ubuntu server 14.04.

I installed Apache2 which used to serve up a very simple page (as you will
see below it is now broken).
I installed mysql-server.
I installed Postfix with Dovecot using: sudo apt-get -y install
mail-stack-delivery
I did not install OpenLDAP because at the moment there is just myself in my
company. I would rather use a the MySQL database to store the users.

Then I installed SOGo, and I noticed towards the end of the installation
Apache2 fell over:
Setting up sogo:amd64 (2.3.2-1) ...
apache2_invoke: Enable configuration SOGo
Action 'configtest' failed.
The Apache error log may have more information.
apache2_reload: Your configuration is broken. Not reloading Apache 2
 * Starting SOGo sogo [
OK ]

I checked the Apache log and there was nothing helpful.

This is what is in the SOGo conf file:
sudo nano /etc/apache2/conf-enabled/SOGo.conf
shows:
Line 47: ProxyRequests Off
Line 48: SetEnv proxy-nokeepalive 1
Line 49: ProxyPreserveHost On

I ran the following command:
apachectl configtest

And got:
AH00526: Syntax error on line 47 of /etc/apache2/conf-enabled/SOGo.conf:
Invalid command 'ProxyRequests', perhaps misspelled or defined by a module
not included in the server configuration
Action 'configtest' failed.
So Commented out line 47, because Off is the default value in the Apache
documentation anyway.

Then I tried again and this time the same error but for line 49:
AH00526: Syntax error on line 49 of /etc/apache2/conf-enabled/SOGo.conf:
Invalid command 'ProxyPreserveHost', perhaps misspelled or defined by a
module not included in the server configuration
Action 'configtest' failed.

I figured it would be unwise to just keep commenting out stuff.
Any suggestions?

The SOGO Installation Guide.pdf page 45 says:
*"The SOGo configuration for Apache is located in
/etc/httpd/conf.d/SOGo.conf"*
But I dont have a file there?

Not sure how to proceed.

Kind Regards
Michael
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

[SOGo] Re: SOGo installation with Apache2

2015-10-20 Thread Michael Angelozzi
To anyone who has this problem in future:
I found the following worked:

Add Apache modules:
sudo a2enmod proxy
sudo a2enmod proxy_http
sudo a2enmod headers
sudo a2enmod rewrite

Restart Apache:
sudo service apache2 restart

Set the servername:
sudo nano /etc/apache2/conf-available/servername.conf
Add the following line to the end:
ServerName localhost

Then reload the service:
sudo service apache2 reload

Kind Regards

On 20 October 2015 at 17:25, Michael Angelozzi <mangelo...@gmail.com> wrote:

> Hi All,
>
> Firstly, what does SOGo stand for? I have googled intensively and only
> come up with Society Of  Gas Operators, which I am i sure it does not stand
> for.
> My guess would be: Super Openexchange Groupware O???
>
> So I am trying to install SOGo on Ubuntu server 14.04.
>
> I installed Apache2 which used to serve up a very simple page (as you will
> see below it is now broken).
> I installed mysql-server.
> I installed Postfix with Dovecot using: sudo apt-get -y install
> mail-stack-delivery
> I did not install OpenLDAP because at the moment there is just myself in
> my company. I would rather use a the MySQL database to store the users.
>
> Then I installed SOGo, and I noticed towards the end of the installation
> Apache2 fell over:
> Setting up sogo:amd64 (2.3.2-1) ...
> apache2_invoke: Enable configuration SOGo
> Action 'configtest' failed.
> The Apache error log may have more information.
> apache2_reload: Your configuration is broken. Not reloading Apache 2
>  * Starting SOGo sogo
> [ OK ]
>
> I checked the Apache log and there was nothing helpful.
>
> This is what is in the SOGo conf file:
> sudo nano /etc/apache2/conf-enabled/SOGo.conf
> shows:
> Line 47: ProxyRequests Off
> Line 48: SetEnv proxy-nokeepalive 1
> Line 49: ProxyPreserveHost On
>
> I ran the following command:
> apachectl configtest
>
> And got:
> AH00526: Syntax error on line 47 of /etc/apache2/conf-enabled/SOGo.conf:
> Invalid command 'ProxyRequests', perhaps misspelled or defined by a module
> not included in the server configuration
> Action 'configtest' failed.
> So Commented out line 47, because Off is the default value in the Apache
> documentation anyway.
>
> Then I tried again and this time the same error but for line 49:
> AH00526: Syntax error on line 49 of /etc/apache2/conf-enabled/SOGo.conf:
> Invalid command 'ProxyPreserveHost', perhaps misspelled or defined by a
> module not included in the server configuration
> Action 'configtest' failed.
>
> I figured it would be unwise to just keep commenting out stuff.
> Any suggestions?
>
> The SOGO Installation Guide.pdf page 45 says:
> *"The SOGo configuration for Apache is located in
> /etc/httpd/conf.d/SOGo.conf"*
> But I dont have a file there?
>
> Not sure how to proceed.
>
> Kind Regards
> Michael
>
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] SOGo installation with Apache2

2015-10-20 Thread Michael Angelozzi
Thanks Martin Simovic for answering all my questions!

Thanks Chris Coleman for the history of SOGo and SKYRiX, it was interesting.
SOGo certainly looks like an awesome piece of software!

And finally thanks to Per Jessen, and yes your memory serves you correctly
(impressive)!


On 20 October 2015 at 18:11, Per Jessen <p...@computer.org> wrote:

> Michael Angelozzi wrote:
>
> > Hi All,
> >
> > Firstly, what does SOGo stand for?
>
> Scalable Open Groupware.org I believe.
>
> > So I am trying to install SOGo on Ubuntu server 14.04.
> >
> > I installed Apache2 which used to serve up a very simple page (as you
> > will see below it is now broken).
> > I installed mysql-server.
> > I installed Postfix with Dovecot using: sudo apt-get -y install
> > mail-stack-delivery
> > I did not install OpenLDAP because at the moment there is just myself
> > in my company. I would rather use a the MySQL database to store the
> > users.
>
> Very similar to my setup.
>
> > And got:
> > AH00526: Syntax error on line 47 of
> > /etc/apache2/conf-enabled/SOGo.conf: Invalid command 'ProxyRequests',
> > perhaps misspelled or defined by a module not included in the server
>
> You need to include the proxy module in your apache installation.
>
> a2enmod proxy proxy_http
>
> (from memory).
>
>
> --
> Per Jessen, Zürich (9.2°C)
> http://www.hostsuisse.com/ - virtual servers, made in Switzerland.
>
> --
> users@sogo.nu
> https://inverse.ca/sogo/lists
-- 
users@sogo.nu
https://inverse.ca/sogo/lists