jookies / jasmin

Jasmin - Open source SMS gateway
http://jasminsms.com
Other
1.02k stars 549 forks source link

Cannot connect to telnet console after starting Jasmin #1052

Open salushaikh opened 2 years ago

salushaikh commented 2 years ago

Installed Jasmin on Ubuntu 20.04 according to the installation guide. RabbitMQ and Redis servers are up and running. jcli.log shows following error: 2022-04-25 10:55:35 INFO 116545 Waiting for AMQP to get ready
2022-04-25 10:55:35 INFO 116545 [sref:1] New session started for 192.168.1.1:54321
2022-04-25 10:55:35 ERROR 116545 Config loading error: Cannot load from //etc/jasmin//store//jcli-prod.filters: [Errno 2] No such file or directory: '//etc/jasmin//store//jcli-prod.filters'
2022-04-25 10:55:35 ERROR 116545 Config loading error: Cannot load from //etc/jasmin//store//jcli-prod.httpccs: [Errno 2] No such file or directory: '//etc/jasmin//store//jcli-prod.httpccs'
2022-04-25 10:55:35 INFO 116545 OnStart loading configuration default profile with username: 'jcliadmin' Please help rectify the issue. Screenshot_2022_0425_064334

salushaikh commented 2 years ago

Screenshot_2022_0425_120147 Getting following error when ran 'systemctl status jasmind' Before running telnet output was different. Like this: Screenshot_2022_0425_120455

tarikogut commented 1 year ago

mkdir -p /etc/jasmin chown -R jasmin:jasmin /etc/jasmin systemctl restart jasmind

salushaikh @.***>, 25 Nis 2022 Pzt, 09:35 tarihinde şunu yazdı:

[image: Screenshot_2022_0425_120147] https://user-images.githubusercontent.com/104337315/165032873-0cd1d26e-9916-41aa-91a7-59bace9c7b94.png Getting following error when ran 'systemctl status jasmind' Before running telnet output was different. Like this: [image: Screenshot_2022_0425_120455] https://user-images.githubusercontent.com/104337315/165033252-04e0e279-271e-4c79-85ca-9d134027384c.png

— Reply to this email directly, view it on GitHub https://github.com/jookies/jasmin/issues/1052#issuecomment-1108132617, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPZPXGRDMCTR4TF7LJTN63VGY4LPANCNFSM5UHHWJFQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

7atemyassin commented 10 months ago

Could you please help me ,, i have installed rabbit and redis running properly but jasmin doesn't open telnent jcli.

[root@jasmin resource]# systemctl status jasmind ● jasmind.service - Jasmin SMS Gateway Loaded: loaded (/usr/lib/systemd/system/jasmind.service; enabled; vendor preset: disabled) Active: inactive (dead) since Mon 2023-11-06 01:54:14 EST; 5s ago Process: 25788 ExecStart=/usr/local/bin/jasmind.py --username jcliadmin --password jclipwd (code=exited, status=0/SUCCESS) Main PID: 25788 (code=exited, status=0/SUCCESS)

Nov 06 01:54:11 jasmin.sms systemd[1]: Started Jasmin SMS Gateway. Nov 06 01:54:14 jasmin.sms jasmind[25788]: /usr/local/lib/python3.6/site-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: > Nov 06 01:54:14 jasmin.sms jasmind[25788]: from cryptography import x509 Nov 06 01:54:14 jasmin.sms jasmind[25788]: Lock not acquired ! exiting Nov 06 01:54:14 jasmin.sms systemd[1]: jasmind.service: Succeeded.

farirat commented 10 months ago

Lock not acquired ! exiting

Check the .lock files in /tmp and remove any, they are kept there if jasmin were forced to stopp (system reboot, power outage, etc ...)