Gentoo Archives: gentoo-user

From: Michael <confabulate@××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] boa server won't start
Date: Mon, 21 Mar 2022 16:18:00
Message-Id: 4411085.cEBGB3zze1@lenovo.localdomain
1 I've moved my local portage distfiles server to a new installation, with no
2 changes in the configuration. I expected www-servers/boa to start, but for
3 reasons I fail to understand it won't do so:
4
5 ~ # rc-service -v boa start
6 * Caching service dependencies ... [ ok ]
7 * Executing: /lib/rc/sh/openrc-run.sh /lib/rc/sh/openrc-run.sh /etc/init.d/
8 boa start
9 * Starting boa ...
10 * start-stop-daemon: fopen `/run/boa.pid': No such file or directory
11 * Detaching to start `/usr/sbin/boa' ...
12 [21/Mar/2022:15:46:43 +0000] Before parse_debug, debug_level is: 0
13 [21/Mar/2022:15:46:43 +0000] Enabling CGI Input debug level.
14 [21/Mar/2022:15:46:43 +0000] After parse_debug, debug_level is: 4
15 gethostbyname:: Success
16 * start-stop-daemon: failed to start `/usr/sbin/boa'
17 * Failed to start boa
18 [ !! ]
19 * ERROR: boa failed to start
20
21
22 This is the content of my boa.conf:
23
24 ~ # cat /etc/boa/boa.conf | grep ^[^#]
25 Port 5024
26 Listen 192.168.023
27 User nobody
28 Group nogroup
29 ErrorLog /var/log/boa/error_log
30 AccessLog /var/log/boa/access_log
31 UseLocaltime
32 DocumentRoot /var/cache/distfiles
33 UserDir public_html
34 DirectoryIndex index.html
35 DirectoryMaker /usr/lib/boa/boa_indexer
36 KeepAliveMax 1000
37 KeepAliveTimeout 10
38 MimeTypes /etc/boa/mime.types
39 DefaultType text/plain
40 Alias /doc /usr/share/doc
41 Alias /icons /var/www/localhost/icons
42 Alias /distfiles /var/cache/distfiles
43 ScriptAlias /cgi-bin/ /var/www/localhost/cgi-bin/
44 PidFile /run/boa.pid
45
46
47 The /var/cache/distfiles directory is readable by all:
48
49 ~ # stat /var/cache/distfiles
50 File: /var/cache/distfiles
51 Size: 98304 Blocks: 200 IO Block: 4096 directory
52 Device: 802h/2050d Inode: 854295 Links: 2
53 Access: (0775/drwxrwxr-x) Uid: ( 0/ root) Gid: ( 250/ portage)
54 Access: 2022-03-21 11:31:07.571755000 +0000
55 Modify: 2022-03-21 15:44:43.278010793 +0000
56 Change: 2022-03-21 15:44:43.278010793 +0000
57 Birth: 2022-03-18 19:24:56.282024446 +0000
58
59 Can you see anything amiss in the above setup, to explain why the server does
60 not start?

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] boa server won't start Michael <confabulate@××××××××.com>
Re: [gentoo-user] boa server won't start Kusoneko <kusoneko@××××××××.moe>