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

Gatling works, boa doesn't.

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to