Gentoo Archives: gentoo-user

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