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