Page 1 of 1

error connecting

PostPosted: Sat Oct 07, 2006 8:26 am
by ssin14
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: |||

PostPosted: Sat Oct 07, 2006 1:51 pm
by mflorell
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

PostPosted: Sat Oct 07, 2006 10:17 pm
by ssin14
thanks for that

this really helped

PostPosted: Sat Oct 07, 2006 11:00 pm
by ssin14
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

PostPosted: Sun Oct 08, 2006 12:14 am
by ssin14
restarted server it works

cheers