Docker 2.3.0.p14 - sed Error on Startup

CMK version:
2.3.0.p14
OS version:
Docker
Error message:
sed: -e expression #1, char 26: unknown option to `s’

Output of “cmk --debug -vvn hostname”: (If it is a problem with checks or plugins)

Getting this error on container start, had to regress to p13 to restore service.

same, not sure the error, I just get 404, I rolled back.

Is this the complete error message you are getting?

sed: -e expression #1, char 26: unknown option to `s’

I am not able to reproduce the problem on a fresh site with agent agent based host and a ping only host. Running “cmk --debug -vvn” against these hostnames works as expected.

Yes, this is what is observed by tailing the container logs. Micky’s observation is what happens as a result in the browser window - 404 error.

Can you share the complete log and also $OMD_ROOT/var/log/web.log ?

This is all I can get out of it, I can’t attach to the container itself as it states it is still in the process of starting. :expressionless:

docker ps | grep monitoring
f42c11a9292a checkmk/check-mk-raw:2.3.0p14 “/docker-entrypoint.…” 7 minutes ago Restarting (1) 44 seconds ago monitoring-checkmk-1

I was able to get the container running under a different name via a command line start and not using the docker-compose.yml statement I was previously using. I was using Traefik as a proxy to CheckMK, so I believe the problem lies there.

Yes, it doesn’t look like a Checkmk problem to me. I tried to follow 2 different upgrade paths with the Raw edition i.e. CMK 2.2.x > 2.3.0p14 and CMK 2.3.0p12 > 2.3.0p14 and cannot see the error.

I always see this:

-|  21/23 Remove persisted graph options...
-|  22/23 BI config...
-|  23/23 Update core config...
-| Generating configuration for core (type nagios)...
-| Precompiling host checks...OK
-| Done (success)
OK
Finished update.

Reloading Apache...AH00558: apache2: 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
httpd not running, trying to start
OK
### STARTING XINETD
 * Starting internet superserver xinetd                                                                                                                                                                     [ OK ] 
### STARTING SITE
Preparing tmp directory /omd/sites/cmk/tmp...Starting agent-receiver...OK
Starting mkeventd...OK
Starting rrdcached...OK
Starting npcd...OK
Starting nagios...OK
Starting apache...OK
Starting redis...OK
Initializing Crontab...OK
### STARTING CRON
### CONTAINER STARTED

Again this upgrade is performed based on a single host with no custom changes. If you are okay with it please go ahead and mark this thread as solved.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.