Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: trying to setup HTTPS & seafile |
|
Author |
|
tangerine
Joined: 16 Nov 2016 Posts: 2
|
Posted: Wed 16 Nov '16 18:36 Post subject: trying to setup HTTPS & seafile |
|
|
Hi there,
I am trying to setup HTTPS access to a seafile server, following instructions on https://manual.seafile.com/deploy/deploy_with_apache.html & https://manual.seafile.com/deploy/https_with_apache.html - when I try to access my https server-address from WAN I get
Quote: | Service Unavailable
The server is temporarily unable to service your
request due to maintenance downtime or capacity
problems. Please try again later.
Apache/2.4.7 (Ubuntu) Server at xx.xx-xx.xx Port 443 |
OS is Ubuntu 14.04 running via chroot/Deploy Linux on Android.
SELinux is permissive & no apparmor installed.
Seafile & Seahub Server/fast-cgi are running.
apache.log file says
Quote: | [Fri Nov 11 17:38:48.627827 2016] [proxy:error] pid 12721:tid 2934961200Permission denied: AH00952: FCGI: error creating fam 2 socket for target 127.0.0.1
[Fri Nov 11 17:38:48.628010 2016] [proxy:error] [pid 12721:tid 2934961200] AH00959: ap_proxy_connect_backend disabling worker for (127.0.0.1) for 60s
[Fri Nov 11 17:38:48.628041 2016] [proxy_fcgi:error] [pid 12721:tid 2934961200] [client 192.168.20.21:56429] AH01079: failed to make connection to backend: 127.0.0.1
[Fri Nov 11 17:38:49.208150 2016] [proxy:error] [pid 12721:tid 3044013104] AH00940: FCGI: disabled connection for (127.0.0.1) |
Posted already on the seafile forum & on Deploy Linux, but the issue could not be solved there. Please help. How to debug ? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Sat 19 Nov '16 10:13 Post subject: |
|
|
Quote: |
Permission denied: AH00952: FCGI: error creating fam 2 socket for target 127.0.0.1
|
The options are .
A) The fast cgi server isn't running at all.
B) The fast cgi server does listen on a different port.
c) sea* are running with a different user and apache can not access the socket. |
|
Back to top |
|
tangerine
Joined: 16 Nov 2016 Posts: 2
|
Posted: Sat 19 Nov '16 14:16 Post subject: |
|
|
Hello and thank you for taking the time to give this a shot. -
Update:
editing /etc/apache2/envvars solves the problem:
change www-data > seafile
APACHE_RUN_USER=seafile
APACHE_RUN_GROUP=seafile
Seahub works with https now: but is this safe ? |
|
Back to top |
|
|
|
|
|
|