Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot connect to telnet console after starting Jasmin #1052

Open
salushaikh opened this issue Apr 25, 2022 · 4 comments
Open

Cannot connect to telnet console after starting Jasmin #1052

salushaikh opened this issue Apr 25, 2022 · 4 comments

Comments

@salushaikh
Copy link

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
Copy link
Author

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
Copy link

tarikogut commented Oct 11, 2022 via email

@7atemyassin
Copy link

7atemyassin commented Nov 6, 2023

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
Copy link
Contributor

farirat commented Nov 7, 2023

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 ...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants