Discussion:
[SOGo] SOGo installation with Apache2
Michael Angelozzi
2015-10-20 15:25:02 UTC
Permalink
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
--
***@sogo.nu
https://inverse.ca/sogo/lists
Martin Simovic
2015-10-20 15:45:31 UTC
Permalink
Post by 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....???
Scalable Open Groupware.
Post by Michael Angelozzi
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.
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.
sudo nano /etc/apache2/conf-enabled/SOGo.conf
Line 47: ProxyRequests Off
Line 48: SetEnv proxy-nokeepalive 1
Line 49: ProxyPreserveHost On
apachectl configtest
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.
Rather commenting stuff out you should enable required apache modules

a2enmod proxy
a2enmod proxy_http
a2enmod headers
Post by Michael Angelozzi
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 configuration for Apache is located in /etc/httpd/conf.d/SOGo.conf"
But I dont have a file there?
This is a location for CentOS. On Ubuntu your config file will be somewhere in /etc/apache2/conf-available or /etc/apache2/conf.d/

Regards
Martin.
Michael Angelozzi
2015-10-20 16:06:08 UTC
Permalink
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
Post by 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
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.
sudo nano /etc/apache2/conf-enabled/SOGo.conf
Line 47: ProxyRequests Off
Line 48: SetEnv proxy-nokeepalive 1
Line 49: ProxyPreserveHost On
apachectl configtest
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.
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 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
--
***@sogo.nu
https://inverse.ca/sogo/lists
Chris Coleman
2015-10-20 16:11:12 UTC
Permalink
What does the SOGo acronym stand for?

*OGo = O*pen*G*roupware.*o*rg
http://www.opengroupware.org/en/about/index.html

"MDlink GmbH, the original author of the OpenGroupware.org reference
server, was founded as an Internet service provider (ISP) in Germany in
1994. The company started development on the LSOffice application server
in about 1996 to extend it's Internet offerings with a powerful
collaboration platform usable over the Internet.

Some years later LSOffice was renamed to SKYRiX 3 and finally in 2000 a
separate company, SKYRIX Software AG <http://www.skyrix.com/>, was
forked to concentrate on the further development of the product.

The SKYRiX Groupware Server is certainly one of the earliest GNU/Linux
based groupware solutions (being now, in [2015], about [nineteen] years
old).

The OpenGroupware.org source code initially includes the technology
SKYRIX Software AG <http://www.skyrix.com/> has been developing for the
future versions of the SKYRiX groupware server. *The source is mainly
written in Objective-C and delivers language-neutral and scriptable
functionality, including XML interfaces.*

/Differences between OpenGroupware.org and SKYRiX/

Starting with the launch of OpenGroupware.org, SKYRiX becomes an
enterprise *distribution* of the OpenGroupware.org software. That is,
SKYRiX is a maintained selection of stable parts of the OGo sources.
The SKYRiX distribution also includes some additional software which is
not available as part of the OpenGroupware.org project, like:

* Application Level Load Balancer (snsd)
* Various other SKYRiX 5 User Interface Themes
* Support for Oracle and Sybase databases
* CTI Support for CSTA based telephone switches
* Outlook Support for ZideStore"


*SOGo = S*calable*O*pen*G*roupware.*o*rg
http://www.scalableogo.org/
http://www.sogo.nu/
Developed today by inverse (Canada).
SOGo uses OpenChange to provide native Outlook/Exchange protocol
compatibility, which is developed by Zentyal (Spain).
Post by 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
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.
sudo nano /etc/apache2/conf-enabled/SOGo.conf
Line 47: ProxyRequests Off
Line 48: SetEnv proxy-nokeepalive 1
Line 49: ProxyPreserveHost On
apachectl configtest
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.
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 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
--
***@sogo.nu
https://inverse.ca/sogo/lists
Per Jessen
2015-10-20 16:11:21 UTC
Permalink
Post by Michael Angelozzi
Hi All,
Firstly, what does SOGo stand for?
Scalable Open Groupware.org I believe.
Post by Michael Angelozzi
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.
Post by Michael Angelozzi
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.
--
***@sogo.nu
https://inverse.ca/sogo/lists
Michael Angelozzi
2015-10-20 23:45:12 UTC
Permalink
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)!
Post by Per Jessen
Post by Michael Angelozzi
Hi All,
Firstly, what does SOGo stand for?
Scalable Open Groupware.org I believe.
Post by Michael Angelozzi
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.
Post by Michael Angelozzi
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.
--
https://inverse.ca/sogo/lists
--
***@sogo.nu
https://inverse.ca/sogo/lists
Loading...