denniskupec / iqfeed-docker

IQFeed client running on wine in docker
9 stars 6 forks source link

Not starting up #1

Closed yssoe closed 4 years ago

yssoe commented 4 years ago

Hi, thanks for your iqfeed-docker

I have this going recently when starting the docker, this is the docker logs output:

2020-06-17 11:43:01,409 CRIT Supervisor running as root (no user in config file) 2020-06-17 11:43:01,411 INFO supervisord started with pid 1 2020-06-17 11:43:02,413 INFO spawned: 'xvfb' with pid 8 2020-06-17 11:43:02,414 INFO spawned: 'wine-iqfeed-startup' with pid 9 2020-06-17 11:43:02,416 INFO spawned: 'netcat' with pid 10 2020-06-17 11:43:02,431 INFO exited: netcat (exit status 1; not expected) /bin/bash: /home/wine/DTN/IQFeed/wine.log: Permission denied 2020-06-17 11:43:02,434 INFO exited: wine-iqfeed-startup (exit status 1; not expected) _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root 2020-06-17 11:43:03,457 INFO success: xvfb entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) 2020-06-17 11:43:03,458 INFO spawned: 'wine-iqfeed-startup' with pid 14 2020-06-17 11:43:03,459 INFO spawned: 'netcat' with pid 15 2020-06-17 11:43:03,467 INFO exited: netcat (exit status 1; not expected) /bin/bash: /home/wine/DTN/IQFeed/wine.log: Permission denied 2020-06-17 11:43:03,468 INFO exited: wine-iqfeed-startup (exit status 1; not expected) 2020-06-17 11:43:05,471 INFO spawned: 'wine-iqfeed-startup' with pid 17 2020-06-17 11:43:05,472 INFO spawned: 'netcat' with pid 18 2020-06-17 11:43:05,479 INFO exited: netcat (exit status 1; not expected) /bin/bash: /home/wine/DTN/IQFeed/wine.log: Permission denied 2020-06-17 11:43:05,481 INFO exited: wine-iqfeed-startup (exit status 1; not expected) 2020-06-17 11:43:08,486 INFO spawned: 'wine-iqfeed-startup' with pid 20 2020-06-17 11:43:08,487 INFO spawned: 'netcat' with pid 21 2020-06-17 11:43:08,495 INFO exited: netcat (exit status 1; not expected) /bin/bash: /home/wine/DTN/IQFeed/wine.log: Permission denied 2020-06-17 11:43:08,496 INFO exited: wine-iqfeed-startup (exit status 1; not expected) 2020-06-17 11:43:12,501 INFO spawned: 'wine-iqfeed-startup' with pid 23 2020-06-17 11:43:12,502 INFO spawned: 'netcat' with pid 24 2020-06-17 11:43:12,511 INFO exited: netcat (exit status 1; not expected) /bin/bash: /home/wine/DTN/IQFeed/wine.log: Permission denied 2020-06-17 11:43:12,512 INFO exited: wine-iqfeed-startup (exit status 1; not expected) 2020-06-17 11:43:17,518 INFO spawned: 'wine-iqfeed-startup' with pid 26 2020-06-17 11:43:17,519 INFO spawned: 'netcat' with pid 27 2020-06-17 11:43:17,527 INFO exited: netcat (exit status 1; not expected) /bin/bash: /home/wine/DTN/IQFeed/wine.log: Permission denied 2020-06-17 11:43:17,528 INFO gave up: netcat entered FATAL state, too many start retries too quickly 2020-06-17 11:43:17,528 INFO exited: wine-iqfeed-startup (exit status 1; not expected) 2020-06-17 11:43:18,529 INFO gave up: wine-iqfeed-startup entered FATAL state, too many start retries too quickly

Did something change?

Thanks

denniskupec commented 4 years ago

The problem is caused by the bind mount for the client log. If you don't care for it, start the container without the mount.

If you really need the log file, then this is a quick fix: chmod -R 757 /var/log/iqfeed