Skip to content

ERROR: output of '/usr/bin/dig localhost' does not match (?^i:query time:\s+([0-9.]+)\smsec.*) #113

@PPCM

Description

@PPCM

Smokeping doesn't start

Expected Behavior

A functional Smokeping

Current Behavior

In Docker's log file:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...
usermod: no changes

-------------------------------------
          _         ()
         | |  ___   _    __
         | | / __| | |  /  \
         | | \__ \ | | | () |
         |_| |___/ |_|  \__/


Brought to you by linuxserver.io
-------------------------------------

To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

User uid:    1000
User gid:    1000
-------------------------------------


@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

Your DockerHost is most likely running an outdated version of libseccomp

To fix this, please visit https://docs.linuxserver.io/faq#libseccomp

Some apps might not behave correctly without this

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
[cont-init.d] 30-config: exited 0.
[cont-init.d] 99-custom-files: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the 'ServerName' directive globally to suppress this message
ERROR: output of '/usr/bin/dig localhost' does not match (?^i:query time:\s+([0-9.]+)\smsec.*)
 at (eval 71) line 1.

ERROR: output of '/usr/bin/dig localhost' does not match (?^i:query time:\s+([0-9.]+)\smsec.*)
 at (eval 71) line 1.

When the dig command is runned directly in the container

root@50708294fadc:/# /usr/bin/dig localhost
time.c:126: Operation not permitted
timer.c:634: fatal error: RUNTIME_CHECK(isc_time_now((&now)) == 0) failed
Aborted (core dumped)

The date of the container is still

root@50708294fadc:/# date
Thu Jan  1 01:00:00 CET 1970

And when I try to display a page with ping results, in apache2 logs, the following errors are throwned

[Wed Jun 17 05:46:09.994467 2037] [fcgid:warn] [pid 293] [client 192.168.2.5:53120] mod_fcgid: stderr: [Wed Sep 26 23:35:28 46542] smokeping_cgi [client 192.168.2.5]: the first entry to fetch should be after 1980 (-1), referer: http://172.20.255.10/smokeping/?target=XXXXX
[Wed Jun 17 05:46:09.994467 2037] [fcgid:warn] [pid 293] [client 192.168.2.5:53120] mod_fcgid: stderr: [Wed Sep 26 23:35:28 46542] smokeping_cgi [client 192.168.2.5]: the first entry to fetch should be after 1980 (-1), referer: http://172.20.255.10/smokeping/?target=XXXXX
[Wed Jun 17 05:46:09.994467 2037] [fcgid:warn] [pid 293] [client 192.168.2.5:53120] mod_fcgid: stderr: [Wed Sep 26 23:35:28 46542] smokeping_cgi [client 192.168.2.5]: the first entry to fetch should be after 1980 (-1), referer: http://172.20.255.10/smokeping/?target=XXXXX
[Wed Jun 17 05:46:09.994467 2037] [fcgid:warn] [pid 293] [client 192.168.2.5:53120] mod_fcgid: stderr: [Wed Sep 26 23:35:28 46542] smokeping_cgi [client 192.168.2.5]: the first entry to fetch should be after 1980 (-1), referer: http://172.20.255.10/smokeping/?target=XXXXX
[Wed Jun 17 05:46:09.994467 2037] [fcgid:warn] [pid 293] [client 192.168.2.5:53120] mod_fcgid: stderr: [Wed Sep 26 23:35:28 46542] smokeping_cgi [c, referer: http://172.20.255.10/smokeping/?target=XXXXX
[Wed Jun 17 05:49:13.994467 2037] [core:error] [pid 293] [client 192.168.2.5:53120] malformed header from script 'smokeping.cgi': Bad header: <p>the first entry to fetch sh, referer: http://172.20.255.10/smokeping/?target=XXXXX

Previously, the Target file worked fine of standard Smokeping installation (without Docker)

Steps to Reproduce

  1. Fresh install of the OS
    2.Fresh install of Docker
  2. Fresh install of the Smokeping Container

Environment

OS: Raspbian GNU/Linux 10
CPU architecture: arm32 (RPi 3B)
How docker service was installed: from the official docker repo

Command used to create docker container (run/create/compose/screenshot)

docker run -d
--name=smokeping
-e PUID=1000
-e PGID=1000
-e TZ=Europe/Paris
-p 80:80
-v /smokeping/config:/config
-v /smokeping/data:/data
--restart unless-stopped
ghcr.io/linuxserver/smokeping

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions