<p>I'd like to use kamcmd to check one script counter via kamcmd.<br>
The following is all of the cmd execution results, look like not all of the commands runs sucessfully.</p>
<p>[root@kamailio-665b74f766-whhfv /]# cd /usr/local/sbin/<br>
[root@kamailio-665b74f766-whhfv sbin]# ls<br>
kamailio  kamcmd  kamctl  kamdbctl<br>
<strong>[root@kamailio-665b74f766-whhfv sbin]# ./kamcmd<br>
ERROR: connect_unix_sock: connect(/var/run/kamailio//kamailio_ctl): No such file or directory [2]</strong><br>
<strong>[root@kamailio-665b74f766-whhfv sbin]# ./kamdbctl<br>
ERROR: database engine not specified, please setup one in the config script</strong><br>
<strong>[root@kamailio-665b74f766-whhfv sbin]# ./kamctl<br>
which: no gdb in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/)</strong><br>
./kamctl 5.0.0</p>
<p>Existing commands:</p>
<p>-- command 'start|stop|restart|trap'</p>
<p>trap ............................... trap with gdb Kamailio processes<br>
restart ............................ restart Kamailio<br>
start .............................. start Kamailio<br>
stop ............................... stop Kamailio</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1909#issuecomment-477408175">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZUh79QkeHUNYeInEdiv0IWZabsEEks5vbBq7gaJpZM4cNKeN">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZbG1ffYiZoq1F2omoY1vBlpCdqkeks5vbBq7gaJpZM4cNKeN.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@aleczmw in #1909: I'd like to use kamcmd to check one script counter via kamcmd.\r\nThe following is all of the cmd execution results, look like not all of the commands runs sucessfully. \r\n\r\n[root@kamailio-665b74f766-whhfv /]# cd /usr/local/sbin/\r\n[root@kamailio-665b74f766-whhfv sbin]# ls\r\nkamailio  kamcmd  kamctl  kamdbctl\r\n**[root@kamailio-665b74f766-whhfv sbin]# ./kamcmd\r\nERROR: connect_unix_sock: connect(/var/run/kamailio//kamailio_ctl): No such file or directory [2]**\r\n**[root@kamailio-665b74f766-whhfv sbin]# ./kamdbctl\r\nERROR: database engine not specified, please setup one in the config script**\r\n**[root@kamailio-665b74f766-whhfv sbin]# ./kamctl\r\nwhich: no gdb in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/)**\r\n./kamctl 5.0.0\r\n\r\nExisting commands:\r\n\r\n -- command 'start|stop|restart|trap'\r\n\r\n trap ............................... trap with gdb Kamailio processes\r\n restart ............................ restart Kamailio\r\n start .............................. start Kamailio\r\n stop ............................... stop Kamailio\r\n\r\n\r\n\r\n\r\n"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1909#issuecomment-477408175"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1909#issuecomment-477408175",
"url": "https://github.com/kamailio/kamailio/issues/1909#issuecomment-477408175",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>