[Cppcms-users] wikipp error socket operation on non-socket
Brought to you by:
artyom-beilis
|
From: Eric J. <jan...@gm...> - 2018-06-02 10:06:24
|
Hi All,
Need your assistance on installing wikipp on FreeBSD 11. I failed and
resulted in 503 Service Not Available. I do not know what causes this.
when I attempted to run wikipp using lighttpd as root access, I got the
following result:
root@freebsd:/usr/local/bin # cppcms_run wikipp -c
/usr/local/share/wikipp/config.txt
TestWeb Server Host:127.0.0.1
Web Server Port:8080
Document Root:/usr/local/bin
Script:/wikipp
Api:fastcgi
Socket:stdin
Server:/usr/local/sbin/lighttpd -f /usr/local/bin/cppcms_rundir/lighty.conf
Starting Application Server:/wikipp
Application Server PID:1623
Starting Web Server
2018-06-02 17:44:41; wikipp, error: system: Socket operation on non-socket
(main.cpp:14)
system: Socket operation on non-socket
Web Server PID:1626
------------------------------------
- Press Any Key To Stop The Server -
------------------------------------
The content of the /usr/local/etc/lighttpd/conf.d/fastcgi.conf:
fastcgi.server = (
"/wikipp" => ((
"bin-path" => "wikipp -c /usr/local/share/wikipp/config.js",
"socket" => "/tmp/wikipp-socket",
"max-procs" => 1,
"check-local" => "disable"
))
)
I edited and enabled the following in /usr/local/etc/lighttpd.conf:
server.port = 8080
server.document-root = "/usr/local/www/data/"
static-file.exclude-extensions = ( ".fcgi", ".scgi" )
index-file.names += (
"index.xhtml", "index.html", "index.htm", "default.htm"
)
Last, I only added the private key into the sample of config file from
wikipp installation and rename it to config.js.
*ERIC JANSEN*
|