Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Dec 2017 22:50:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 224166] nginx-full won't start with missing http.conf error
Message-ID:  <bug-224166-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D224166

            Bug ID: 224166
           Summary: nginx-full won't start with missing http.conf error
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: psuh@lcis.bs

Installed latest nginx-full-1.12.2_2,2 via pkg.=20

Error in /var/log/nginx/error.log:=20

[2017-12-07 17:24:56] ERROR - file: ini_file_reader.c, line: 631, include f=
ile
"http.conf" not exists, line: "#include http.conf"
[2017-12-07 17:24:56] ERROR - file:
/wrkdirs/usr/ports/www/nginx-full/work/fastdfs-nginx-module-5a8110f/src/com=
mon.c,
line: 155, load conf file "/usr/local/etc/fdfs/mod_fastdfs.conf" fail, ret
code: 2

This appears to be coming from the fastdfs-nginx-module. My GoogleFu turned=
 up
this link with the fix, but I can't locate the http.conf file.=20

http://blog.csdn.net/freewebsys/article/details/45150941

I couldn't find a valid http.conf file in the file system, so as a test I
created an empty one by doing

touch /usr/local/etc/fdfs/http.conf

This led to a further error at which point I give up.=20

[2017-12-07 17:42:22] ERROR - file: client_func.c, line: 112, conf file
"/usr/local/etc/fdfs/mod_fastdfs.conf", host "tracker" is invalid

>From the output of nginx -V, it appears that the fdfs module is compiled in,
with no way to disable or not load it.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224166-13>