Page 1 of 1

No Asterisk Socket

PostPosted: Mon Jun 08, 2020 6:17 am
by PJ111288
Hi Williamconley

I am trying to install asterisk 13.21 on centos 6.10 and i have done all and getting 8 sockets to expect asterisk and astshalll.

[root@98 ~]# screen -ls
There are screens on:
2853.ASTupdate (Detached)
2879.ASTconf3way (Detached)
2855.ASTsend (Detached)
2871.ASTfastlog (Detached)
2857.ASTlisten (Detached)
2865.ASTVDremote (Detached)
2859.ASTVDauto (Detached)
2868.ASTVDadapt (Detached)
8 Sockets in /var/run/screen/S-root.



But asterisk is installed successfully and no error in CLI.


[root@98 ~]# perl /usr/share/astguiclient/ADMIN_keepalive_ALL.pl --debugX

----- SUPER-DUPER DEBUGGING -----

Asterisk version: 1 13
AST_update set to keepalive
AST_send_listen set to keepalive
AST_VDauto_dial set to keepalive
AST_VDremote_agents set to keepalive
AST_VDadapt set to keepalive
FastAGI_log set to keepalive
ip_relay set to keepalive
0| 1 /sbin/init|
1| 2 [kthreadd]|
2| 3 [migration/0]|
3| 4 [ksoftirqd/0]|
4| 5 [stopper/0]|
5| 6 [watchdog/0]|
6| 7 [migration/1]|
7| 8 [stopper/1]|
8| 9 [ksoftirqd/1]|
9| 10 [watchdog/1]|
10| 11 [migration/2]|
11| 12 [stopper/2]|
12| 13 [ksoftirqd/2]|
13| 14 [watchdog/2]|
14| 15 [migration/3]|
15| 16 [stopper/3]|
16| 17 [ksoftirqd/3]|
17| 18 [watchdog/3]|
18| 19 [events/0]|
19| 20 [events/1]|
20| 21 [events/2]|
21| 22 [events/3]|
22| 23 [events/0]|
23| 24 [events/1]|
24| 25 [events/2]|
25| 26 [events/3]|
26| 27 [events_long/0]|
27| 28 [events_long/1]|
28| 29 [events_long/2]|
29| 30 [events_long/3]|
30| 31 [events_power_ef]|
31| 32 [events_power_ef]|
32| 33 [events_power_ef]|
33| 34 [events_power_ef]|
34| 35 [cgroup]|
35| 36 [khelper]|
36| 37 [netns]|
37| 38 [async/mgr]|
38| 39 [pm]|
39| 40 [sync_supers]|
40| 41 [bdi-default]|
41| 42 [kintegrityd/0]|
42| 43 [kintegrityd/1]|
43| 44 [kintegrityd/2]|
44| 45 [kintegrityd/3]|
45| 46 [kblockd/0]|
46| 47 [kblockd/1]|
47| 48 [kblockd/2]|
48| 49 [kblockd/3]|
49| 50 [kacpid]|
50| 51 [kacpi_notify]|
51| 52 [kacpi_hotplug]|
52| 53 [ata_aux]|
53| 54 [ata_sff/0]|
54| 55 [ata_sff/1]|
55| 56 [ata_sff/2]|
56| 57 [ata_sff/3]|
57| 58 [ksuspend_usbd]|
58| 59 [khubd]|
59| 60 [kseriod]|
60| 61 [md/0]|
61| 62 [md/1]|
62| 63 [md/2]|
63| 64 [md/3]|
64| 65 [md_misc/0]|
65| 66 [md_misc/1]|
66| 67 [md_misc/2]|
67| 68 [md_misc/3]|
68| 69 [linkwatch]|
69| 72 [khungtaskd]|
70| 73 [lru-add-drain/0]|
71| 74 [lru-add-drain/1]|
72| 75 [lru-add-drain/2]|
73| 76 [lru-add-drain/3]|
74| 77 [kswapd0]|
75| 78 [ksmd]|
76| 79 [khugepaged]|
77| 80 [aio/0]|
78| 81 [aio/1]|
79| 82 [aio/2]|
80| 83 [aio/3]|
81| 84 [crypto/0]|
82| 85 [crypto/1]|
83| 86 [crypto/2]|
84| 87 [crypto/3]|
85| 94 [kthrotld/0]|
86| 95 [kthrotld/1]|
87| 96 [kthrotld/2]|
88| 97 [kthrotld/3]|
89| 99 [kpsmoused]|
90| 100 [usbhid_resumer]|
91| 101 [deferwq]|
92| 134 [kdmremove]|
93| 135 [kstriped]|
94| 297 [scsi_eh_0]|
95| 298 [scsi_eh_1]|
96| 384 [scsi_eh_2]|
97| 387 [virtio-blk]|
98| 419 [kdmflush]|
99| 421 [kdmflush]|
100| 487 [jbd2/dm-0-8]|
101| 488 [ext4-dio-unwrit]|
102| 582 /sbin/udevd -d|
103| 691 [flush-252:0]|
104| 707 [virtio-net]|
105| 733 [vballoon]|
106| 1120 [jbd2/vda1-8]|
107| 1121 [ext4-dio-unwrit]|
108| 1165 [kauditd]|
109| 1224 [ib_addr]|
110| 1229 [infiniband/0]|
111| 1230 [infiniband/1]|
112| 1231 [infiniband/2]|
113| 1232 [infiniband/3]|
114| 1241 [ib_mcast]|
115| 1246 [iw_cm_wq]|
116| 1251 [ib_cm/0]|
117| 1252 [ib_cm/1]|
118| 1253 [ib_cm/2]|
119| 1254 [ib_cm/3]|
120| 1259 [rdma_cm]|
121| 1280 [ipoib_flush]|
122| 1312 [flush-253:0]|
123| 1511 auditd|
124| 1545 /sbin/rsyslogd -i /var/run/syslogd.pid -c 5|
125| 1579 irqbalance --pid=/var/run/irqbalance.pid|
126| 1598 rpcbind|
127| 1618 dbus-daemon --system|
128| 1631 NetworkManager --pid-file=/var/run/NetworkManager/NetworkManager.pid|
129| 1635 /usr/sbin/modem-manager|
130| 1702 /usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -B -u -f /var/log/wpa_supplicant.log -P /var/run/wpa_supplicant.pid|
131| 1742 rpc.statd|
132| 1777 cupsd -C /etc/cups/cupsd.conf|
133| 1793 /usr/sbin/acpid|
134| 1805 hald|
135| 1806 hald-runner|
136| 1850 hald-addon-input: Listening on /dev/input/event2 /dev/input/event0|
137| 1854 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket|
138| 1878 automount --pid-file /var/run/autofs.pid|
139| 2021 /usr/sbin/sshd|
140| 2032 ntpd -u ntp:ntp -p /var/run/ntpd.pid -g|
141| 2069 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock --pid-file=/var/run/mysqld/mysqld.pid --basedir=/usr --user=mysql|
142| 2207 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --log-error=/var/log/mysqld.log --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/lib/mysql/mysql.sock --port=3306|
143| 2243 /usr/sbin/spice-vdagentd|
144| 2246 /usr/sbin/console-kit-daemon --no-daemon|
145| 2388 /usr/libexec/postfix/master|
146| 2398 pickup -l -t fifo -u|
147| 2399 qmgr -l -t fifo -u|
148| 2406 /usr/sbin/abrtd|
149| 2433 /usr/sbin/httpd|
150| 2470 /bin/sh /usr/sbin/safe_asterisk|
151| 2476 crond|
152| 2479 /usr/sbin/asterisk -f -vvvg -c|
asterisk RUNNING: | 2479 /usr/sbin/asterisk -f -vvvg -c|
153| 2492 /usr/sbin/atd|
154| 2520 /usr/sbin/certmonger -S -p /var/run/certmonger.pid|
155| 2524 /usr/sbin/gdm-binary -nodaemon|
156| 2532 /sbin/mingetty /dev/tty2|
157| 2534 /sbin/mingetty /dev/tty3|
158| 2539 /sbin/mingetty /dev/tty4|
159| 2542 /sbin/udevd -d|
160| 2543 /sbin/mingetty /dev/tty5|
161| 2545 /sbin/mingetty /dev/tty6|
162| 2596 /usr/libexec/gdm-simple-slave --display-id /org/gnome/DisplayManager/Display1|
163| 2599 /usr/sbin/httpd|
164| 2600 /usr/sbin/httpd|
165| 2601 /usr/sbin/httpd|
166| 2602 /usr/sbin/httpd|
167| 2603 /usr/sbin/httpd|
168| 2604 /usr/sbin/httpd|
169| 2605 /usr/sbin/httpd|
170| 2606 /usr/sbin/httpd|
171| 2608 /usr/bin/Xorg :0 -br -verbose -audit 4 -auth /var/run/gdm/auth-for-gdm-WHzfbD/database -nolisten tcp vt1|
172| 2714 /usr/bin/dbus-launch --exit-with-session|
173| 2715 /bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session|
174| 2716 /usr/bin/gnome-session --autostart=/usr/share/gdm/autostart/LoginWindow/|
175| 2719 /usr/libexec/devkit-power-daemon|
176| 2723 /usr/libexec/gconfd-2|
177| 2739 /usr/libexec/at-spi-registryd|
178| 2743 /usr/bin/spice-vdagent|
179| 2744 /usr/libexec/gnome-settings-daemon --gconf-prefix=/apps/gdm/simple-greeter/settings-manager-plugins|
180| 2748 /usr/libexec/bonobo-activation-server --ac-activate --ior-output-fd=12|
181| 2753 /sbin/udevd -d|
182| 2794 /usr/libexec/gvfsd|
183| 2795 metacity|
184| 2797 /usr/libexec/gdm-simple-greeter|
185| 2798 /usr/libexec/polkit-gnome-authentication-agent-1|
186| 2800 gnome-power-manager|
187| 2802 /usr/libexec/polkit-1/polkitd|
188| 2811 /usr/bin/pulseaudio --start --log-target=syslog|
189| 2813 /usr/libexec/rtkit-daemon|
190| 2818 pam: gdm-password|
191| 2853 /usr/bin/SCREEN -d -m -S ASTupdate /usr/share/astguiclient/AST_update_AMI2.pl|
192| 2855 /usr/bin/SCREEN -d -m -S ASTsend /usr/share/astguiclient/AST_manager_send.pl|
193| 2857 /usr/bin/SCREEN -d -m -S ASTlisten /usr/share/astguiclient/AST_manager_listen_AMI2.pl|
194| 2859 /usr/bin/SCREEN -d -m -S ASTVDauto /usr/share/astguiclient/AST_VDauto_dial.pl|
195| 2861 /usr/bin/perl /usr/share/astguiclient/AST_manager_send.pl|
AST_send RUNNING: |/usr/share/astguiclient/AST_manager_send.pl|
196| 2862 /usr/bin/perl /usr/share/astguiclient/AST_update_AMI2.pl|
AST_update RUNNING: |/usr/share/astguiclient/AST_update_AMI2.pl|
197| 2863 /usr/bin/perl /usr/share/astguiclient/AST_manager_listen_AMI2.pl|
AST_listen RUNNING: |/usr/share/astguiclient/AST_manager_listen_AMI2.pl|
198| 2864 /usr/bin/perl /usr/share/astguiclient/AST_VDauto_dial.pl|
AST_VDauto_dial RUNNING: |/usr/share/astguiclient/AST_VDauto_dial.pl|
199| 2865 /usr/bin/SCREEN -d -m -S ASTVDremote /usr/share/astguiclient/AST_VDremote_agents.pl --debug|
200| 2867 /usr/bin/perl /usr/share/astguiclient/AST_VDremote_agents.pl --debug|
AST_VDremote_agents RUNNING: |/usr/share/astguiclient/AST_VDremote_agents.pl --debug|
201| 2868 /usr/bin/SCREEN -d -m -S ASTVDadapt /usr/share/astguiclient/AST_VDadapt.pl --debug|
202| 2870 /usr/bin/perl /usr/share/astguiclient/AST_VDadapt.pl --debug|
AST_VDadapt RUNNING: |/usr/share/astguiclient/AST_VDadapt.pl --debug|
203| 2871 /usr/bin/SCREEN -d -m -S ASTfastlog /usr/share/astguiclient/FastAGI_log.pl --debug|
204| 2873 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
FastAGI_log RUNNING: |/usr/share/astguiclient/FastAGI_log.pl --debug|
205| 2875 ip_relay 40569 127.0.0.1 4569 9999999|
ip_relay RUNNING: | 2875 ip_relay 40569 127.0.0.1 4569 9999999|
206| 2876 ip_relay 41569 127.0.0.1 4569 9999999|
ip_relay RUNNING: | 2876 ip_relay 41569 127.0.0.1 4569 9999999|
207| 2877 ip_relay 42569 127.0.0.1 4569 9999999|
ip_relay RUNNING: | 2877 ip_relay 42569 127.0.0.1 4569 9999999|
208| 2879 /usr/bin/SCREEN -d -m -S ASTconf3way /usr/share/astguiclient/AST_conf_update_3way.pl --debug|
209| 2881 /usr/bin/perl /usr/share/astguiclient/AST_conf_update_3way.pl --debug|
AST_conf_3way RUNNING: |/usr/share/astguiclient/AST_conf_update_3way.pl --debug|
210| 2904 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
FastAGI_log RUNNING: |/usr/share/astguiclient/FastAGI_log.pl --debug|
211| 2905 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
FastAGI_log RUNNING: |/usr/share/astguiclient/FastAGI_log.pl --debug|
212| 2906 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
FastAGI_log RUNNING: |/usr/share/astguiclient/FastAGI_log.pl --debug|
213| 2907 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
FastAGI_log RUNNING: |/usr/share/astguiclient/FastAGI_log.pl --debug|
214| 2908 /usr/bin/perl /usr/share/astguiclient/FastAGI_log.pl --debug|
FastAGI_log RUNNING: |/usr/share/astguiclient/FastAGI_log.pl --debug|
215| 2988 sshd: root@pts/8 |
216| 2996 -bash|
217| 3196 perl /usr/share/astguiclient/ADMIN_keepalive_ALL.pl --debugX|
218| 3198 /bin/ps -o %p %a --no-headers -A|
|SELECT count(*) from system_settings where timeclock_end_of_day LIKE "%1050%";|
Uptime debug 1: | 10:50:50 up 4 min, 1 user, load average: 0.27, 0.24, 0.10
|
Uptime debug 2: | 10:50:50 up 4 min|4 min|0| seconds: |262.20|
Uptime debug 3: |1|UPDATE servers SET system_uptime='4 min' where server_ip='192.168.2.52';|
CONFIRM ASTERISK IS RUNNING: |Y|1|N|N|0|
RESET LIST: 0|1050DONE

Centos 6.10
Database 1595
Svn 2.14

Asterisk installation source >>>http://vicidial.org/docs/ASTERISK_13.txt

Dahdi Installation source>>https://downloads.asterisk.org/pub/telephony and version 2.10 because dahdi version 2.11 which is available on http://vicidial.org/docs/ASTERISK_13.txt isnt working here.

Could you please advise on this?

Re: No Asterisk Socket

PostPosted: Mon Jun 08, 2020 10:52 pm
by carpenox
is is probably installed as a service. im not sure the command on centos to check this but in opensuse it is "systemctl status" that will show the service daemons that are running. What happens when you type "asterisk -r" ?

Re: No Asterisk Socket

PostPosted: Thu Jun 11, 2020 9:30 am
by PJ111288
It goes to asterisk CLI.

Re: No Asterisk Socket

PostPosted: Thu Jun 11, 2020 10:10 am
by carpenox
ok so everything is worknig fine then?