Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.
Moderator: mike
-
cdukes
- Posts: 7
- Joined: Wed Jun 06, 2018 11:58 pm
- Location: RTP, NC
-
Contact:
Post
by cdukes » Thu Jun 07, 2018 7:34 pm
I can't even type
or
I also see this in dmesg:
Code: Select all
[Thu Jun 7 15:19:01 2018] systemd[1]: [/etc/systemd/system/cpulimit.service:7] Executable path is not absolute, ignoring: (/usr/bin/killall -9 cpulimit-daemon.php & /usr/bin/killall -TERM cpulimit )
[Thu Jun 7 15:19:01 2018] systemd[1]: [/etc/systemd/system/capdog.service:7] Executable path is not absolute, ignoring: (/usr/bin/killall -9 capdog.sh )
-
cdukes
- Posts: 7
- Joined: Wed Jun 06, 2018 11:58 pm
- Location: RTP, NC
-
Contact:
Post
by cdukes » Thu Jun 07, 2018 7:39 pm
Here's the fix for the capdog problem in dmesg - but this still hasn't fixed the docker problem. So probably unrelated.
Replace
Code: Select all
/etc/systemd/system/capdog.service
with:
Code: Select all
[Unit]
Description=capture docker cleaner
[Service]
Type=simple
ExecStart=/opt/unetlab/scripts/capdog.sh &
ExecStop=/usr/bin/killall -9 /opt/unetlab/scripts/capdog.sh
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
Code: Select all
systemctl daemon-reload
systemctl restart capdog
Last edited by
cdukes on Thu Jun 07, 2018 7:55 pm, edited 1 time in total.
-
cdukes
- Posts: 7
- Joined: Wed Jun 06, 2018 11:58 pm
- Location: RTP, NC
-
Contact:
Post
by cdukes » Thu Jun 07, 2018 7:46 pm
This may be the problem...yes?
Code: Select all
root@eve-ng [~]: # bash -x /opt/unetlab/scripts/capdog.sh
+ alias 'dc=docker -H 127.0.0.1:4243'
+ true
++ dc ps
/opt/unetlab/scripts/capdog.sh: line 4: dc: command not found
++ grep Capture-
++ sed -e 's/.* //'
+ sleep 30
-
cdukes
- Posts: 7
- Joined: Wed Jun 06, 2018 11:58 pm
- Location: RTP, NC
-
Contact:
Post
by cdukes » Thu Jun 07, 2018 7:50 pm
And...to fix that script, do this:
Replace the first line:
Code: Select all
alias dc="docker -H 127.0.0.1:4243"
With:
Code: Select all
dc () {
docker -H 127.0.0.1:4243 $@
}
-
cdukes
- Posts: 7
- Joined: Wed Jun 06, 2018 11:58 pm
- Location: RTP, NC
-
Contact:
Post
by cdukes » Thu Jun 07, 2018 8:04 pm
FWIW, this is also borked:
Code: Select all
[Thu Jun 7 15:53:49 2018] systemd[1]: [/etc/systemd/system/cpulimit.service:7] Executable path is not absolute, ignoring: (/usr/bin/killall -9 cpulimit-daemon.php & /usr/bin/killall -TERM cpulimit )
Fix it by removing the outer parens in
Code: Select all
/etc/systemd/system/cpulimit.service
e.g.:
Code: Select all
ExecStop=/usr/bin/killall -9 cpulimit-daemon.php & /usr/bin/killall -TERM cpulimit
After I rebooted, all dmesg errors from the two systemd files are gone now.
-
cdukes
- Posts: 7
- Joined: Wed Jun 06, 2018 11:58 pm
- Location: RTP, NC
-
Contact:
Post
by cdukes » Thu Jun 07, 2018 8:53 pm
I've tried a myriad of things at this point but can't get docker to work. Every command just hangs.
I can't upgrade to the latest docker version because eve-ng includes some custom one
Any ideas would be great. Thanks!