Vicidial service not starting at boot

Any and all non-support discussions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Vicidial service not starting at boot

Postby muyousif » Tue Sep 01, 2015 11:59 am

Hi,

I am having an issue, vicidial service not starting at the boot automatically. If I start manually it starts without any error. Following are the details of vicidial service which I got from yast services detail section...

vicidial.service - LSB: Vicidial Call Center Suit xx
xx Loaded: loaded (/etc/init.d/vicidial) xx
xx Active: failed (Result: exit-code) since Tue 2015-09-01 21:41:56 PKT; 3min 43s ago xx
xx Process: 1244 ExecStart=/etc/init.d/vicidial start (code=exited, status=1/FAILURE) xx
xx xx
xxSep 01 21:41:51 milvik-t2 vicidial[1244]: DBI connect('asterisk:192.168.172.91:3306','cron',...) failed: Can't connect to MySQL server on '192.168.172.91' (113) at xx
xxSep 01 21:41:51 milvik-t2 vicidial[1244]: Couldn't connect to database: Can't connect to MySQL server on '192.168.172.91' (113) at /usr/share/astguiclient/AST_resetxx
xxSep 01 21:41:53 milvik-t2 vicidial[1244]: Starting Asterisk Unable to connect to remote asterisk (does /run/asterisk/asterisk.ctl exist?) xx
xxSep 01 21:41:54 milvik-t2 vicidial[1244]: DBI connect('asterisk:192.168.172.91:3306','cron',...) failed: Can't connect to MySQL server on '192.168.172.91' (113) at xx
xxSep 01 21:41:54 milvik-t2 vicidial[1244]: Couldn't connect to database: Can't connect to MySQL server on '192.168.172.91' (113) at /usr/share/astguiclient/start_astxx
xxSep 01 21:41:54 milvik-t2 vicidial[1244]: ..failed xx
xxSep 01 21:41:56 milvik-t2 vicidial[1244]: Started Vicidial xx
xxSep 01 21:41:56 milvik-t2 systemd[1]: vicidial.service: control process exited, code=exited status=1 xx
xxSep 01 21:41:56 milvik-t2 systemd[1]: Failed to start LSB: Vicidial Call Center Suit. xx
xxSep 01 21:41:56 milvik-t2 systemd[1]: Unit vicidial.service entered failed state.

and below are the details when I start vicidial service manually using /etc/init.t/vicidial start

vicidial.service - LSB: Vicidial Call Center Suit xx x
xpostfixxx Loaded: loaded (/etc/init.d/vicidial) xx x
xpurge-kxx Active: active (running) since Tue 2015-09-01 21:55:19 PKT; 3min 3s ago xx x
xrpcbindxx Process: 2509 ExecStart=/etc/init.d/vicidial start (code=exited, status=0/SUCCESS) xx x
xrsyslogxx CGroup: /system.slice/vicidial.service xx w
xsshd xx ├─3101 /usr/bin/SCREEN -S astshell20150901215512 xx x
xsuse-stxx ├─3102 /bin/sh xx x
xSuSEfirxx ├─3106 SCREEN -L -S asterisk xx x
xSuSEfirxx ├─3107 /bin/sh xx x
xsystemdxx └─3112 /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgcT xx x
xsystemdxx xx x
xuser@0 xxSep 01 21:55:12 milvik-t2 vicidial[2509]: Starting Asterisk Unable to connect to remote asterisk (does /run/asterisk/asterisk.ctl exist?) xx x
xvicidiaxxSep 01 21:55:13 milvik-t2 vicidial[2509]: started screen xx x
xxdm xxSep 01 21:55:14 milvik-t2 vicidial[2509]: changed directory xx x
xYaST2-FxxSep 01 21:55:15 milvik-t2 vicidial[2509]: started new screen session xx x
xYaST2-SxxSep 01 21:55:16 milvik-t2 vicidial[2509]: detached screens xx x
xasterisxxSep 01 21:55:17 milvik-t2 vicidial[2509]: raised ulimit open files xx x
xatd xxSep 01 21:55:17 milvik-t2 vicidial[2509]: Asterisk started... screen logging on xx x
xautofs xxSep 01 21:55:17 milvik-t2 vicidial[2509]: ..done xx v
xautovt@xxSep 01 21:55:19 milvik-t2 vicidial[2509]: Started Vicidial xx x
xautoyasxxSep 01 21:55:19 milvik-t2 systemd[1]: Started LSB: Vicidial Call Center Suit.

I can confirm firewall is disabled at database server. Other telephony is quite able to connect with database server. Any idea why I am having this issue??
ViciBox v.6.0.3 | VERSION: 2.14-685a BUILD: 180825-2100| Asterisk 1.8.29 | Cluster: 1 DB: 16Core@2.67GHz 16RAM | 1 WEB: 8Core@2.50GHz 16RAM | 8 Tel: QuadCore@2.93GHz 8RAM
muyousif
 
Posts: 119
Joined: Wed May 14, 2014 5:29 am

Re: Vicidial service not starting at boot

Postby muyousif » Tue Sep 01, 2015 12:01 pm

Sorry typo mistake... manual command is /etc/init.d/vicidial start


Vicibox 6.0.3
VERSION: 2.12-493a
BUILD: 150703-2105
ViciBox v.6.0.3 | VERSION: 2.14-685a BUILD: 180825-2100| Asterisk 1.8.29 | Cluster: 1 DB: 16Core@2.67GHz 16RAM | 1 WEB: 8Core@2.50GHz 16RAM | 8 Tel: QuadCore@2.93GHz 8RAM
muyousif
 
Posts: 119
Joined: Wed May 14, 2014 5:29 am

Re: Vicidial service not starting at boot

Postby bobchaos » Thu Sep 03, 2015 11:51 am

It looks like your MySQL server is unreachable on boot. We'll need to know more about your setup to help. Is it a cluster? Where's the DB located (Physically and logically)? Your output seems to suggest the DB is remote, validate that it's up and running before you boot up the problem box. I'm not too familiar with YAST (I'm a RedHat/CentOS guy) but check to make sure it turns networking services on prior to starting Vicidial.
bobchaos
 
Posts: 171
Joined: Fri Jan 06, 2012 12:46 pm

Re: Vicidial service not starting at boot

Postby boybawang » Fri Sep 04, 2015 12:26 am

try service vicidial start
Vicidial Installation + Configuration + Support + Custom Development
Download my ebook on installing vicidial for free http://download.vicidial.com/ubuntu/VIC ... 100331.pdf
skype: deodax.cordova@gmail.com
m: +639172063730
boybawang
 
Posts: 988
Joined: Sat Nov 14, 2009 1:18 pm
Location: Dumaguete City, Negros Oriental, Philippines

Re: Vicidial service not starting at boot

Postby omarrodriguezt » Tue Sep 08, 2015 8:24 am

In the admin section there is an option to check if asterisk is started.
Admin -> Servers -> Auto-Restart Asterisk: Y
http://www.ITContinental.com
Dedicated USA Servers - Vicibox - Vicidial - Limesurvey - Vtiger CRM - More than 15 years experience - Hablamos Español
omarrodriguezt
 
Posts: 667
Joined: Fri Jun 05, 2009 12:22 pm
Location: Dominican Republic

Re: Vicidial service not starting at boot

Postby boybawang » Wed Sep 23, 2015 1:10 pm

check if your database servers my.cnf maybe it still is bound to the localhost ip
Vicidial Installation + Configuration + Support + Custom Development
Download my ebook on installing vicidial for free http://download.vicidial.com/ubuntu/VIC ... 100331.pdf
skype: deodax.cordova@gmail.com
m: +639172063730
boybawang
 
Posts: 988
Joined: Sat Nov 14, 2009 1:18 pm
Location: Dumaguete City, Negros Oriental, Philippines

Re: Vicidial service not starting at boot

Postby shankara22 » Mon Jul 16, 2018 8:09 pm

Hi friends,

I am trying to install vicidial on my centos 7.3 server and started all the components, and while opening the vcdial page, i am getting the error as "The requested URL /vicidial/admin.php was not found on this server." Could any one help on this please. Thanks.


While checking the socket’s , we are getting the below

[root@CXRX009 S-root]# ls
15421.ASTVDadapt
15440.ASTconf3way
22423.ASTsend
22429.ASTVDauto
22432.ASTVDremote

[root@CXRX009 S-root]# screen -ls
There are screens on:
22658.ASTVDauto (Detached)
22481.pts-4.CXRX009 (Attached)
15440.ASTconf3way (Detached)
15421.ASTVDadapt (Detached)
4 Sockets in /var/run/screen/S-root.

Regards,

Shankar A
shankara22
 
Posts: 1
Joined: Sun Jul 15, 2018 3:21 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 59 guests