http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15032
--- Comment #13 from Jonathan Druart <[email protected]> --- I made it works on kohadevbox:ansible, using plackup, ports and the koha.psgi from the source: vagrant@kohadevbox:~$ sudo KOHA_CONF=/etc/koha/sites/kohadev/koha-conf.xml PERL5LIB=/home/vagrant/kohaclone INTRANET=1 INTRANETDIR=/home/vagrant/kohaclone plackup --port 5001 /home/vagrant/kohaclone/misc/plack/koha.psgi -E deployment and /etc/koha/apache-shared-intranet-plack.conf ProxyPass /cgi-bin/koha http://localhost:5001/cgi-bin/koha ProxyPassReverse /cgi-bin/koha http://localhost:5001/cgi-bin/koha Otherwise, trying with socket: vagrant@kohadevbox:~$ sudo KOHA_CONF=/etc/koha/sites/kohadev/koha-conf.xml PERL5LIB=/home/vagrant/kohaclone INTRANET=1 INTRANETDIR=/home/vagrant/kohaclone plackup --socket /var/run/koha/kohadev/plack.sock /home/vagrant/kohaclone/misc/plack/koha.psgi -E deployment # using Koha intranet CGI from /home/vagrant/kohaclone failed to listen to port 8080: Address already in use at /usr/share/perl5/HTTP/Server/PSGI.pm line 94. --socket does not seems to work here (??) Note that it works if I use Starman: sudo KOHA_CONF=/etc/koha/sites/kohadev/koha-conf.xml PERL5LIB=/home/vagrant/kohaclone INTRANET=1 INTRANETDIR=/home/vagrant/kohaclone plackup -s Starman --socket /var/run/koha/kohadev/plack.sock /home/vagrant/kohaclone/misc/plack/koha.psgi -E deployment # using Koha intranet CGI from /home/vagrant/kohaclone 2015/10/27-11:42:45 Starman::Server (type Net::Server::PreFork) starting! pid(11966) Binding to UNIX socket file "/var/run/koha/kohadev/plack.sock" Setting gid to "0 0 0" But when I try and access the interface: [Tue Oct 27 11:45:11.077045 2015] [proxy_http:error] [pid 12238] (70008)Partial results are valid but processing is incomplete: [client 192.168.50.1:47165] AH01110: error reading response, referer: http://kohadev-intra.box.vm:8080/ and finish with a 503 Service Unavailable -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
