--
You received this message because you are subscribed to the Google Groups "dSIPRouter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dSIPRouter+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dSIPRouter/c5299739-c5ab-48a0-9843-14e80f82e66cn%40googlegroups.com.
On Dec 21, 2020, at 6:08 PM, Joli Martinez <mrjo...@gmail.com> wrote:
Hello,the permissions were already set on the directory, but I went ahead and set it anyways and no luck. There is no file inside the dsiprouter dir. I have restarted nginx as well.[root@dsiprouter01 run]# ls -la /var/run/dsiprouter/
total 0
drwxr-xr-x. 2 dsiprouter dsiprouter 40 Dec 21 18:02 .
drwxr-xr-x. 40 root root 1160 Dec 21 18:02 ..
[root@dsiprouter01 run]#Thanks,
On Dec 21, 2020, at 6:29 PM, Joli Martinez <mrjo...@gmail.com> wrote:
it is empty.[root@dsiprouter01 ~]# cd /var/log/
[root@dsiprouter01 log]# ls -la dsiprouter.log
-rw-r--r--. 1 root root 0 Dec 21 00:05 dsiprouter.log
[root@dsiprouter01 log]#
Thanks,
Hello,Below is the command output.[root@dsiprouter01 log]# dsiprouter restart -debug
+ shift
+ (( 0 == 0 ))
+ STOP_DSIPROUTER=1
+ START_DSIPROUTER=1
+ (( 0 > 0 ))
+ for RUN_COMMAND in '${RUN_COMMANDS[@]}'
+ stop
+ local STOP_DSIPROUTER=1
+ local STOP_KAMAILIO=0
+ local STOP_RTPENGINE=0
+ updatePythonRuntimeSettings
+ (( 1 == 1 ))
+ setConfigAttrib DEBUG True /opt/dsiprouter/gui/settings.py
+ local NAME=DEBUG
+ local VALUE=True
+ local CONFIG_FILE=/opt/dsiprouter/gui/settings.py
+ (( 3 >= 4 ))
+ sed -i -r -e 's|DEBUG[ \t]*=[ \t]*.*|DEBUG = True|g' /opt/dsiprouter/gui/settings.py
+ (( 0 == 1 ))
+ (( 0 == 1 ))
+ (( 1 == 1 ))
+ '[' -e /etc/dsiprouter/.dsiprouterinstalled ']'
+ systemctl stop nginx
+ systemctl stop dsiprouter
+ systemctl is-active --quiet dsiprouter
+ pprint 'dSIPRouter was stopped'
+ [[ dSIPRouter was stopped == \-\n ]]
+ printf '%b%s%b\n' '\033[1;36m' 'dSIPRouter was stopped' '\033[39;49;00m'
dSIPRouter was stopped
+ for RUN_COMMAND in '${RUN_COMMANDS[@]}'
+ start
+ local START_DSIPROUTER=1
+ local START_KAMAILIO=0
+ local START_RTPENGINE=0
+ updatePythonRuntimeSettings
+ (( 1 == 1 ))
+ setConfigAttrib DEBUG True /opt/dsiprouter/gui/settings.py
+ local NAME=DEBUG
+ local VALUE=True
+ local CONFIG_FILE=/opt/dsiprouter/gui/settings.py
+ (( 3 >= 4 ))
+ sed -i -r -e 's|DEBUG[ \t]*=[ \t]*.*|DEBUG = True|g' /opt/dsiprouter/gui/settings.py
+ (( 0 == 1 ))
+ (( 0 == 1 ))
+ (( 1 == 1 ))
+ '[' -e /etc/dsiprouter/.dsiprouterinstalled ']'
+ '[' 1 -eq 1 ']'
+ /usr/bin/python3 /opt/dsiprouter/gui/dsiprouter.py runserver
getDBURI() returned: ["mysql://kamailio:PlAwSkcWW3a1ASEbqLVC5huoD6fQRwMaMdZYET3dRZwh2yfr8nHLzW2e7pbupdlo@localhost/kamailio"]
((( EXCEPTION )))
[CLASS]: None
[VALUE]: None
((( EXCEPTION )))
[CLASS]: None
[VALUE]: None
Traceback (most recent call last):
File "/opt/dsiprouter/gui/database/__init__.py", line 498, in createValidEngine
raise sql_exceptions.SQLAlchemyError(errors)
sqlalchemy.exc.SQLAlchemyError: [ModuleNotFoundError("No module named 'MySQLdb'",)]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/dsiprouter/gui/dsiprouter.py", line 21, in <module>
from database import db_engine, SessionLoader, DummySession, Gateways, Address, InboundMapping, OutboundRoutes, Subscribers, \
File "/opt/dsiprouter/gui/database/__init__.py", line 655, in <module>
db_engine = createValidEngine(getDBURI())
File "/opt/dsiprouter/gui/database/__init__.py", line 500, in createValidEngine
raise Exception(errors)
Exception: [ModuleNotFoundError("No module named 'MySQLdb'",)]
+ PID=
+ ps -p
+ printerr 'Unable to start dSIPRouter'
+ [[ Unable to start dSIPRouter == \-\n ]]
+ printf '%b%s%b\n' '\033[1;31m' 'Unable to start dSIPRouter' '\033[39;49;00m'
Unable to start dSIPRouter
+ cleanupAndExit 1
+ unset DSIP_PROJECT_DIR DSIP_INSTALL_DIR DSIP_KAMAILIO_CONFIG_DIR DSIP_KAMAILIO_CONFIG DSIP_DEFAULTS_DIR SYSTEM_KAMAILIO_CONFIG_DIR DSIP_CONFIG_FILE
+ unset REQ_PYTHON_MAJOR_VER DISTRO DISTRO_VER PYTHON_CMD PATH_UPDATE_FILE SYSTEM_RTPENGINE_CONFIG_DIR SYSTEM_RTPENGINE_CONFIG_FILE SERVERNAT RTPENGINE_VER
+ unset SRC_DIR DSIP_SYSTEM_CONFIG_DIR BACKUPS_DIR DSIP_RUN_DIR KAM_VERSION DEBUG IPV6_ENABLED KAM_SIP_PORT KAM_SIPS_PORT KAM_DMQ_PORT KAM_WSS_PORT
+ unset MYSQL_ROOT_PASSWORD MYSQL_ROOT_USERNAME MYSQL_ROOT_DATABASE KAM_DB_HOST KAM_DB_TYPE KAM_DB_PORT KAM_DB_NAME KAM_DB_USER KAM_DB_PASS
+ unset RTP_PORT_MIN RTP_PORT_MAX DSIP_PORT EXTERNAL_IP EXTERNAL_FQDN INTERNAL_IP INTERNAL_NET PERL_MM_USE_DEFAULT AWS_ENABLED DO_ENABLED
+ unset GCE_ENABLED AZURE_ENABLED TEAMS_ENABLED SET_DSIP_PRIV_KEY SSHPASS DSIP_CERTS_DIR DSIP_SSL_KEY DSIP_SSL_CERT DSIP_PROTO DSIP_API_PROTO
+ unset INTERNAL_FQDN DSIP_SSL_EMAIL HASHED_CREDS_ENCODED_MAX_LEN AESCTR_CREDS_ENCODED_MAX_LEN VULTR_ENABLED CLOUD_PLATFORM
+ unset -f setPythonCmd reconfigureMysqlSystemdService apt-get yum make
+ rm -f /etc/apt/apt.conf.d/local
+ set +x
To view this discussion on the web visit https://groups.google.com/d/msgid/dSIPRouter/10c533d6-7d14-4ca6-a540-26700e4f6d7en%40googlegroups.com.
Traceback (most recent call last):
File "/opt/dsiprouter/gui/dsiprouter.py", line 21, in <module>
from database import db_engine, SessionLoader, DummySession, Gateways, Address, InboundMapping, OutboundRoutes, Subscribers, \
File "/opt/dsiprouter/gui/database/__init__.py", line 655, in <module>
db_engine = createValidEngine(getDBURI())
File "/opt/dsiprouter/gui/database/__init__.py", line 500, in createValidEngine
raise Exception(errors)
Exception: [ModuleNotFoundError("No module named 'MySQLdb'",)]
On Jun 27, 2023, at 12:21 PM, Antonio <sats...@gmail.com> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/dSIPRouter/3910eed1-c06a-42b2-89c4-26a6e8c90758n%40googlegroups.com.
{apt-get update -y && apt-get install -y git && cd /opt && git clone https://github.com/dOpensource/dsiprouter.git && cd dsiprouter && ./dsiprouter.sh install}
python3-dev first
apt-get install python3-dev
To view this discussion on the web visit https://groups.google.com/d/msgid/dSIPRouter/2629d2a0-9f7e-4503-92c4-e68865bbf97fn%40googlegroups.com.
<Screenshot 2023-06-28 at 21.18.44.png>
To view this discussion on the web visit https://groups.google.com/d/msgid/dSIPRouter/f4a709d0-2841-4d5a-803e-d0475edaadffn%40googlegroups.com.
On Apr 6, 2024, at 8:08 PM, J coley <jcol...@gmail.com> wrote:
1st error that I see post installation is: 502 Bad Gateway
nginx/1.22.1Then I notice that when I try to start dsiprouter I get "Unable to start dSIPRouter"I have tried debug, that was no help at all. I tried restarting my VM and hardware. Please note that I have this software installed on Virtualbox and VMWARE, no difference in error. If anyone can help on this I would appreciate it very much.This is DEBIAN 12.1The software is surprisingly buggy.
To view this discussion on the web visit https://groups.google.com/d/msgid/dSIPRouter/ff8d1c39-3c51-48ca-a88e-1147683480cbn%40googlegroups.com.
<fgjgfvjgvkkl.PNG>
Hey J,
To unsubscribe from this group and stop receiving emails from it, send an email to dSIPRouter+unsubscribe@googlegroups.com.
Hey J,
To view this discussion on the web visit https://groups.google.com/d/msgid/dSIPRouter/ff8d1c39-3c51-48ca-a88e-1147683480cbn%40googlegroups.com.
<fgjgfvjgvkkl.PNG>
--
You received this message because you are subscribed to the Google Groups "dSIPRouter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dSIPRouter+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dSIPRouter/CADaqeCB330b8%2B7Og7oKwDrYAtfFsXiFmPF9ePzRNP8RzCo%2Bgrw%40mail.gmail.com.