Announcement

Collapse
No announcement yet.

Errormessage websocket

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Errormessage websocket

    Hello, I get the following error message when starting the websocket service. In addition, the status of the service is set to finished. Is this correct?
    Or where is the error?

    ● espocrm-websocket.service - EspoCRM WebSocket Service
    Loaded: loaded (/etc/systemd/system/espocrm-websocket.service; enabled; vendor preset: disabled)
    Active: activating (auto-restart) (Result: exit-code) since Fr 2019-05-03 12:17:33 CEST; 1s ago
    Process: 5164 ExecStart=/usr/bin/php /var/www/html/crm/websocket.php (code=exited, status=217/USER)
    Main PID: 5164 (code=exited, status=217/USER)

    Mai 03 12:17:33 pluto-clone-bt2000-local systemd[1]: Unit espocrm-websocket.service entered failed state.
    Mai 03 12:17:33 pluto-clone-bt2000-local systemd[1]: espocrm-websocket.service failed.

    in the /vat/log/messages is still written:

    May 3 12:21:45 pluto-clone-bt2000-local systemd: Started EspoCRM WebSocket Service.
    May 3 12:21:45 pluto-clone-bt2000-local systemd: Failed at step USER spawning /usr/bin/php: No such process

    thx Frank
    Last edited by screamer277; 05-03-2019, 11:03 AM.

  • #2
    User Error ;-(

    i had the wrong user under

    [Service]
    Type=simple
    Restart=always
    RestartSec=5
    StartLimitIntervalSec=0
    User=www-data

    used.

    After entering the correct user the service starts without errors.

    Comment

    Working...
    X