Hi everyone, I hope that someone can help and this isn't too obvious a 
question. I have been trying everything I can think of to get things 
straight here.

The RB system I am trying to set up is on Fedora 22 with lighttpd + 
mod_fastcgi and MariaDB.

My lighty configuration is the file generated by the RB setup script with a 
couple of mods to use the lighttpd default error log and access log 

Extract from my lighttpd.conf file (hope I cover all the relevant parts, 
everything else is untouched from time of site creation):
server.document-root = "/var/www/lighttpd/"
server.errorlog      = "/var/log/lighttpd/error.log"
accesslog.filename   = "/var/log/lighttpd/access.log"

fastcgi.debug = 1

$HTTP["host"] =~ "rb\.senceive\.com" {
    # This is not used directly, it is superceded by our aliases below.
    server.document-root = "/var/www/rb-site/htdocs"
    #server.errorlog      = "/var/www/rb-site/logs/lighttpd-error.log"
    #accesslog.filename   = "/var/www/rb-site/logs/lighttpd-access.log"

    fastcgi.debug = 1
    fastcgi.server = (
        "/reviewboard.fcgi" => (
            "main" => (
                "bin-path" => "/var/www/rb-site/htdocs/reviewboard.fcgi",
                "socket" => "/var/www/rb-site/tmp/fastcgi.sock",
                "check-local" => "disable",

And when I launch lighttpd I get the following entries in the 
lighttpd/error.log file:

2015-10-27 17:37:12: (log.c.194) server started
2015-10-27 17:37:12: (mod_fastcgi.c.1364) --- fastcgi spawning local \n\
tproc: /var/www/rb-site/htdocs/reviewboard.fcgi \n\tport: 0 \n\tsocket /var/
www/rb-site/tmp/fastcgi.sock \n\tmax-procs: 4
2015-10-27 17:37:12: (mod_fastcgi.c.1388) --- fastcgi spawning \n\tport: 0 \
n\tsocket /var/www/rb-site/tmp/fastcgi.sock \n\tcurrent: 0 / 4
2015-10-27 17:37:12: (mod_fastcgi.c.974) bind failed for: unix:/var/www/rb-
site/tmp/fastcgi.sock-0 Permission denied
2015-10-27 17:37:12: (mod_fastcgi.c.1396) [ERROR]: spawning fcgi failed.
2015-10-27 17:37:12: (server.c.1025) Configuration of plugins failed. Going 

I am at a loss as to what is going wrong here. My understanding is that 
lighttpd should execute the reviewboard.fcgi script when it starts up, but 
it appears to be failing to launch.

I attempted to launch reviewboard.fcgi without any parameters from the 
command line which highlighted that the flup package was not installed as I 
expected via 'easy_install ReviewBoard'. I then ran 'easy_install flup' 
which seems to have corrected that problem.

Lighttpd runs as the user 'lighttpd' on this system. Some directory 
[admin@localhost rb-site]$ ls -l
total 4
drwxr-xr-x. 2 root     root     4096 Oct 27 17:31 conf
drwxr-xr-x. 2 lighttpd root        6 Oct 27 15:57 data
drwxr-xr-x. 4 root     root       70 Oct 27 15:57 htdocs
drwxr-xr-x. 2 lighttpd lighttpd    6 Oct 27 17:36 logs
drwxrwxrwx. 2 lighttpd lighttpd   25 Oct 27 17:20 tmp
[admin@localhost rb-site]$ ls -l tmp
total 0
-rw-r--r--. 1 lighttpd lighttpd 0 Oct 27 17:20 fastcgi.sock
[admin@localhost rb-site]$ ls -l logs
total 0

I manually created the file tmp/fastcgi.sock in order to try and get it to 
work. I see the same error messages in the lighty error log regardless of 
whether this file is present or not.

Hope this all makes sense to somebody! I am honestly a bit lost with 
fastcgi stuff, and am not sure where to go from here. Thanks!

Supercharge your Review Board with Power Pack: 
Want us to host Review Board for you? Check out RBCommons: 
Happy user? Let us know! https://www.reviewboard.org/users/
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to