Install privacyidea on Ubuntu 14.04 server

Hi,

I am trying to test privacyidea on an Ubuntu 14.04.04 server. I am testing
on both a blank - clean - Ubuntu install and on an existing running server
with mysql and apache already configured and running with various web pages.

The install process seems to go along. I can create the admin account
(although it does not allow to add the email address at that stage).

But then a few things are strange.

On both server, the install process create a privacyidea.conf file in
apache, pointing to /var/www for the web page.
Problems with that:

  1. Nothing is created - in neither server
  2. On the server already running apache, it disable all existing sites, and
    regardless of the server configuration, it creates a conf file that points
    to /var/www instead of /srv/www where all the other sites are installed.

There is no information in /var/log/privacyidea/privacyidea.log

Obviously from there, I am stuck.

Any ideas what went wrong ?

Thanks for the help,

Regards,

Dominique

Hi Dominique,

you can put privacyIDEA in a subdirectory like this:

http://privacyidea.readthedocs.org/en/latest/installation/system/wsgiscript.html#running-apache-instances

Kind regards
CorneliusAm Montag, den 18.01.2016, 12:22 -0800 schrieb Dominique Couot:

Hi Cornelius,

Thanks for the quick answer. That actually worked.
However, it generates another problem to me…
https://myserver/ should point to my existing server at the same
address…
How do I got both working at the same time ?

Thanks

Dominique

On Monday, January 18, 2016 at 8:36:55 PM UTC+1, Dominique Couot wrote:
Hi,

    I am trying to test privacyidea on an Ubuntu 14.04.04 server.
    I am testing on both a blank - clean - Ubuntu install and on
    an existing running server with mysql and apache already
    configured and running with various web pages.
    
    The install process seems to go along. I can create the admin
    account (although it does not allow to add the email address
    at that stage).
    
    But then a few things are strange.
    
    On both server, the install process create a privacyidea.conf
    file in apache, pointing to /var/www for the web page.
    Problems with that:
    1. Nothing is created - in neither server
    2. On the server already running apache, it disable all
    existing sites, and regardless of the server configuration, it
    creates a conf file that points to /var/www instead
    of /srv/www where all the other sites are installed.
    
    There is no information
    in /var/log/privacyidea/privacyidea.log
    
    Obviously from there, I am stuck.
    
    Any ideas what went wrong ?
    
    Thanks for the help,
    
    Regards,
    
    Dominique


You received this message because you are subscribed to the Google
Groups “privacyidea” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to privacyidea+unsubscribe@googlegroups.com.
To post to this group, send email to privacyidea@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/privacyidea/930878ef-b5d3-41af-bc9c-f87bb72b06f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Cornelius Kölbel
@cornelinux
+49 151 2960 1417

NetKnights GmbH
http://www.netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798

Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel

signature.asc (836 Bytes)

The documentroot in /etc/apache2/sites-enabled/privacyidea.conf points
to /var/www.
But that does not matter, since no documents are being served.

The only interesting part is the WSGIScriptAlias.

You should be able to access https://yourserver/

Kind regards
CorneliusAm Montag, den 18.01.2016, 11:36 -0800 schrieb Dominique Couot:

Hi,

I am trying to test privacyidea on an Ubuntu 14.04.04 server. I am
testing on both a blank - clean - Ubuntu install and on an existing
running server with mysql and apache already configured and running
with various web pages.

The install process seems to go along. I can create the admin account
(although it does not allow to add the email address at that stage).

But then a few things are strange.

On both server, the install process create a privacyidea.conf file in
apache, pointing to /var/www for the web page.
Problems with that:

  1. Nothing is created - in neither server
  2. On the server already running apache, it disable all existing
    sites, and regardless of the server configuration, it creates a conf
    file that points to /var/www instead of /srv/www where all the other
    sites are installed.

There is no information in /var/log/privacyidea/privacyidea.log

Obviously from there, I am stuck.

Any ideas what went wrong ?

Thanks for the help,

Regards,

Dominique


You received this message because you are subscribed to the Google
Groups “privacyidea” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to privacyidea+unsubscribe@googlegroups.com.
To post to this group, send email to privacyidea@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/privacyidea/8684aa9f-2352-4b75-a508-92b3b8a874da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Cornelius Kölbel
@cornelinux
+49 151 2960 1417

NetKnights GmbH
http://www.netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798

Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel

signature.asc (836 Bytes)

Hi Cornelius,

Thanks for the quick answer. That actually worked.
However, it generates another problem to me…
https://myserver/ should point to my existing server at the same address…
How do I got both working at the same time ?

Thanks

DominiqueOn Monday, January 18, 2016 at 8:36:55 PM UTC+1, Dominique Couot wrote:

Hi,

I am trying to test privacyidea on an Ubuntu 14.04.04 server. I am testing
on both a blank - clean - Ubuntu install and on an existing running server
with mysql and apache already configured and running with various web pages.

The install process seems to go along. I can create the admin account
(although it does not allow to add the email address at that stage).

But then a few things are strange.

On both server, the install process create a privacyidea.conf file in
apache, pointing to /var/www for the web page.
Problems with that:

  1. Nothing is created - in neither server
  2. On the server already running apache, it disable all existing sites,
    and regardless of the server configuration, it creates a conf file that
    points to /var/www instead of /srv/www where all the other sites are
    installed.

There is no information in /var/log/privacyidea/privacyidea.log

Obviously from there, I am stuck.

Any ideas what went wrong ?

Thanks for the help,

Regards,

Dominique