101t / jasmin-web-panel

📨 Jasmin Web Panel for Jasmin SMS Gateway
https://youtu.be/z-BFJzWtq1M
82 stars 78 forks source link

Hi i try to start jasmin-web.service but getting failed #57

Closed techcommy closed 1 year ago

techcommy commented 1 year ago

sms@iZrj9f22ge5wsb14ybl485Z:/etc/systemd/system$ sudo nano jasmin-web.service sms@iZrj9f22ge5wsb14ybl485Z:/etc/systemd/system$ sms@iZrj9f22ge5wsb14ybl485Z:/etc/systemd/system$ sms@iZrj9f22ge5wsb14ybl485Z:/etc/systemd/system$ sudo systemctl daemon-reload sms@iZrj9f22ge5wsb14ybl485Z:/etc/systemd/system$ sudo systemctl enable jasmin-web.service sms@iZrj9f22ge5wsb14ybl485Z:/etc/systemd/system$ sudo systemctl start jasmin-web.service sms@iZrj9f22ge5wsb14ybl485Z:/etc/systemd/system$ sudo systemctl status jasmin-web.service × jasmin-web.service - Jasmin Web Panel Loaded: loaded (/etc/systemd/system/jasmin-web.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Tue 2023-01-31 21:24:43 CST; 3s ago Process: 2260 ExecStart=/opt/jasmin-web-panel/env/bin/gunicorn --bind 127.0.0.1:8000 config.wsgi -w 3 --timeout=120 --log-l> Main PID: 2260 (code=exited, status=222/STDERR) CPU: 2ms

Jan 31 21:24:43 iZrj9f22ge5wsb14ybl485Z systemd[1]: jasmin-web.service: Scheduled restart job, restart counter is at 5. Jan 31 21:24:43 iZrj9f22ge5wsb14ybl485Z systemd[1]: Stopped Jasmin Web Panel. Jan 31 21:24:43 iZrj9f22ge5wsb14ybl485Z systemd[1]: jasmin-web.service: Start request repeated too quickly. Jan 31 21:24:43 iZrj9f22ge5wsb14ybl485Z systemd[1]: jasmin-web.service: Failed with result 'exit-code'. Jan 31 21:24:43 iZrj9f22ge5wsb14ybl485Z systemd[1]: Failed to start Jasmin Web Panel.

101t commented 1 year ago

Hello,

What would you say is the correct permission for the user directory ?

could you check the user/group permission on directory ?

techcommy commented 1 year ago

On jasmin-web.service the username/group right,my jasmin-web-panel at user(sms)directory i have changed on the.service file to username=sms / group=sms

techcommy commented 1 year ago

image

101t commented 1 year ago
sudo systemctl daemon-reload
sudo systemctl enable jasmin-web.service
sudo systemctl start jasmin-web.service
sudo systemctl status jasmin-web.service
techcommy commented 1 year ago

sudo systemctl daemon-reload

sudo systemctl enable jasmin-web.service

sudo systemctl start jasmin-web.service

sudo systemctl status jasmin-web.service

I have tried but still same On the status are still failed

techcommy commented 1 year ago

It's is i need give chmod 775 to the jasmin-web-panel directory?

techcommy commented 1 year ago

image

hi i have resolve the issue already. thanks

techcommy commented 1 year ago

thanks for help

PawelZ3 commented 8 months ago

@techcommy can you help me? I have same issue.