Page 1 of 1

MYSQL not starting stopping or restarting?

PostPosted: Sun Sep 06, 2009 12:56 pm
by hammobru
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

PostPosted: Mon Sep 07, 2009 9:31 am
by mflorell
Apache and PHP versions?

PostPosted: Mon Sep 07, 2009 10:06 am
by hammobru
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.

PostPosted: Mon Sep 07, 2009 11:02 am
by scottgutman
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.