MYSQL not starting stopping or restarting?

All installation and configuration problems and questions

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

MYSQL not starting stopping or restarting?

Postby hammobru » Sun Sep 06, 2009 12:56 pm

I was trying to set the alias for us to be able to click the recording links from the agents stats screen. I added th alias in /etc/httpd/conf.d/vicidial_recordings.conf It didnt work or (I did it wrong) so I found that I can do it in /etc/httpd/conf/httpd.conf so I created an alias there. I couldnt get either one to work so I placed them back. But now I get the following error when I try to go to my admin interface or any other screen.

MySQL connect ERROR: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

When I try to start, stop or restart mysql it shows fail.

Any help on this would be appreciated.

Thanks in advance for your help.

Running Vicidialnow latest version 2.0.5

Processors 8
Model Intel(R) Xeon(R) CPU E5405 @ 2.00GHz
CPU Speed 2 GHz
Cache Size 6.00 MB
hammobru
 
Posts: 32
Joined: Tue Sep 23, 2008 12:00 pm

Postby mflorell » Mon Sep 07, 2009 9:31 am

Apache and PHP versions?
mflorell
Site Admin
 
Posts: 18406
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby hammobru » Mon Sep 07, 2009 10:06 am

Apache/2.2.3 (CentOS) Server

I am back to the point where it is back loading, but I am getting the 403 error. Forbidden You don't have permission to access /vicidial/admin.php on this server. Which I know is permissions, but I cant find where it is being restricted. Thanks again for your help.
hammobru
 
Posts: 32
Joined: Tue Sep 23, 2008 12:00 pm

Postby scottgutman » Mon Sep 07, 2009 11:02 am

1. In /etc/httpd/conf.d check to see what your user and group is? Does it match the owner:group of the web files? if not, did you chown, chmod the web files to allow them to be used?

2. The recording directory must be executable by the apache user:group, and it must be set from the base dir to the end folder where the recordings are found. In my case I had to make monitorDONE executable by apache even though the files were in the GSM dir. Also, verify your alias setting and the path to the files.
Dialer-Vicidial 2.2.0-250_100116-0709, Asterisk 1.4.21.2, Intel Quad Q6600 2.4G x64/8G Ram
Web-Apache/2.2.3, PHP 5.2.10, eAccelerator v0.9.5.2, AMD 9950 Quad 2.6G x64/4G Ram
DB-MySQL 5.0.45, 2xAMD 2.6G i386/4G Ram
OS-CentOS 5.3-2.6.18-128.1.16.el5
scottgutman
 
Posts: 75
Joined: Mon Mar 23, 2009 4:17 pm


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 96 guests