error connecting

All installation and configuration problems and questions

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

error connecting

Postby ssin14 » Sat Oct 07, 2006 8:26 am

Hi

when visiting web page http://ipaddress/vicidial/admin.php it reported this message

Can't connect to MySQL server on '202.170.40.133' (111) in /usr/local/apache2/htdocs/vicidial/dbconnect.php on line 38

Warning: mysql_select_db() [function.mysql-select-db]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /usr/local/apache2/htdocs/vicidial/dbconnect.php on line 39

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /usr/local/apache2/htdocs/vicidial/dbconnect.php on line 39

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /usr/local/apache2/htdocs/vicidial/admin.php on line 559

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /usr/local/apache2/htdocs/vicidial/admin.php on line 560

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache2/htdocs/vicidial/dbconnect.php:38) in /usr/local/apache2/htdocs/vicidial/admin.php on line 572

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache2/htdocs/vicidial/dbconnect.php:38) in /usr/local/apache2/htdocs/vicidial/admin.php on line 573
Invalid Username/Password: |||
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am

Postby mflorell » Sat Oct 07, 2006 1:51 pm

This has been covered many times on this forum:

http://www.eflo.net/VICIDIALforum/viewt ... mysql+sock
http://www.eflo.net/VICIDIALforum/viewt ... mysql+sock
http://www.eflo.net/VICIDIALforum/viewt ... mysql+sock

Please at least TRY searching the forum before asking a question.



ln -s /tmp/mysql.sock /var/run/mysql/mysql.sock
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ssin14 » Sat Oct 07, 2006 10:17 pm

thanks for that

this really helped
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am

Postby ssin14 » Sat Oct 07, 2006 11:00 pm

trying to dial internal extension numbers using firefly but it says call ended
no context /extensions

as far as i am concerned my context and extensions are alright.

Is the previous error got anything to do with this?

things was runing smoothly but after the previous error these problems came in.


the softphone is connected as its says ready. but cant dial to any of my extension numbers.

thanks
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am

Postby ssin14 » Sun Oct 08, 2006 12:14 am

restarted server it works

cheers
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 269 guests