All installation and configuration problems and questions
Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
by KeithHBW » Thu Jun 28, 2012 3:38 pm
I think I am missing a keepalive (AST_VDadapt.pl) because my CALLS TODAY, DROPPED / ANSWERED, DROPPED PERCENT arent being updated.
Basically I have the following setup
64bit - DB server
ws1 - webserver
dialer1 - dialer
And is it one of the keepalives I only want running on one one server? As I will be adding more webservers and dialers here soon.
Vicibox 7.0.1 from .iso | Vicidial 2.12b0.5 Build 160122-1401 | Asterisk 11.21.0-vici | Cluster | No Digium/Sangoma Hardware | No Extra Software After Installation | [Six Core CPU] Intel Xeon E5-2640 @ 2.50GHz
-
KeithHBW
-
- Posts: 104
- Joined: Fri Jan 13, 2012 12:58 pm
by mflorell » Thu Jun 28, 2012 4:24 pm
yes, that process should only be running on one server in a multi-server cluster. It doesn't really matter which one, we usually put it on the defined voicemail server.
-
mflorell
- Site Admin
-
- Posts: 18387
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by KeithHBW » Thu Jun 28, 2012 4:45 pm
Okay I had it on my DB server and my webserver. However, neither of those show anything when I do screen -ls
I will remove it from my DB server, but how do I make those keepalives run on the webserver?
Vicibox 7.0.1 from .iso | Vicidial 2.12b0.5 Build 160122-1401 | Asterisk 11.21.0-vici | Cluster | No Digium/Sangoma Hardware | No Extra Software After Installation | [Six Core CPU] Intel Xeon E5-2640 @ 2.50GHz
-
KeithHBW
-
- Posts: 104
- Joined: Fri Jan 13, 2012 12:58 pm
by mflorell » Fri Jun 29, 2012 6:30 am
The server you put it on has to have a Servers entry in the system(with Active Asterisk set to N of course for a web or DB server) or it will not run properly.
-
mflorell
- Site Admin
-
- Posts: 18387
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by KeithHBW » Fri Jun 29, 2012 9:57 am
I added the web server as a server. I set active asterisk to N for the web server and DB server. However, screen -ls still reports: "No Sockets found in /var/run/screens/S-root." on the web server
If I run the script manually it works... but then when I end it I check screen -ls and its not showing and it stops updating those statistics. I just need to know how to get these scripts to run on startup. Anyone?
I ran perl ADMIN_keepalive_ALL.pl
which started the services, however these still dont start on bootup but I can probably figure this out.
Vicibox 7.0.1 from .iso | Vicidial 2.12b0.5 Build 160122-1401 | Asterisk 11.21.0-vici | Cluster | No Digium/Sangoma Hardware | No Extra Software After Installation | [Six Core CPU] Intel Xeon E5-2640 @ 2.50GHz
-
KeithHBW
-
- Posts: 104
- Joined: Fri Jan 13, 2012 12:58 pm
by fibres » Sat Jun 30, 2012 6:33 am
Hi Keith
Check your crontab on the machine that should be running these scripts and check for the following entry.
* * * * * /usr/share/astguiclient/ADMIN_keepalive_ALL.pl
on mine it is the first line in my crontab. This causes the script to be run I think once a minute to make sure all needed scripts are running.
Also check your /etc/astguiclient.conf to ensure that "VARactive_keepalives =>" Has a 5 in its list as this is the number for VDadapt.
Regards
Vicibox 4.0.3 ISO install.
VERSION: 2.6-393a
BUILD: 130124-1721
Astersik 1.4.44-vici
No Hardware
No other software installed
-
fibres
-
- Posts: 313
- Joined: Sun May 20, 2007 3:12 pm
- Location: UK
by KeithHBW » Mon Jul 02, 2012 4:34 pm
I got it setup such that my database server now has a crontab. However, it still shows nothing in the screen -ls. But it is only running options 579. As soon as I can call on it I will be able to test if the keepalive is working as intended (I think it will).
Vicibox 7.0.1 from .iso | Vicidial 2.12b0.5 Build 160122-1401 | Asterisk 11.21.0-vici | Cluster | No Digium/Sangoma Hardware | No Extra Software After Installation | [Six Core CPU] Intel Xeon E5-2640 @ 2.50GHz
-
KeithHBW
-
- Posts: 104
- Joined: Fri Jan 13, 2012 12:58 pm
Return to Support
Who is online
Users browsing this forum: No registered users and 155 guests