Greetings to all,
I have setup all the required s/w for the zabbix. I am running on Solaris 9. My SQL is running well along with Apache which is compiled with PHP. But even after the configuration of my "httpd.conf" file, i am unable to view the zabbix frontend.
When I give the correct address (http://10.*.*.*/zabbix) of the frontend in my explorer i just get a text display as shown below...
Index of /zabbix
Parent Directory
acknow.php
actionconf.php
actions.php
alarms.php
audio/
audit.php
bulkloader.php
chart.php
chart2.php
chart4.php
chart5.php
And when i click on any of the above links (for example "chart.php") then i get the following error in my internet explorer page
Warning: mysql_pconnect() [function.mysql-pconnect]: Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (13) in /export/home/zabbix/html/include/db.inc.php on line 38
Warning: mysql_select_db() [function.mysql-select-db]: Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (13) in /export/home/zabbix/html/include/db.inc.php on line 39
Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /export/home/zabbix/html/include/db.inc.php on line 39
Error connecting to database [Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (13)]
Can anyone some some insights on why this is happening? Both my SQL server and apache 2.2 are still running. Is it any problem with the PHP compilation along with apache?
Waiting for reply...
Regards,
Bharadwaj
I have setup all the required s/w for the zabbix. I am running on Solaris 9. My SQL is running well along with Apache which is compiled with PHP. But even after the configuration of my "httpd.conf" file, i am unable to view the zabbix frontend.
When I give the correct address (http://10.*.*.*/zabbix) of the frontend in my explorer i just get a text display as shown below...
Index of /zabbix
Parent Directory
acknow.php
actionconf.php
actions.php
alarms.php
audio/
audit.php
bulkloader.php
chart.php
chart2.php
chart4.php
chart5.php
And when i click on any of the above links (for example "chart.php") then i get the following error in my internet explorer page
Warning: mysql_pconnect() [function.mysql-pconnect]: Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (13) in /export/home/zabbix/html/include/db.inc.php on line 38
Warning: mysql_select_db() [function.mysql-select-db]: Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (13) in /export/home/zabbix/html/include/db.inc.php on line 39
Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /export/home/zabbix/html/include/db.inc.php on line 39
Error connecting to database [Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (13)]
Can anyone some some insights on why this is happening? Both my SQL server and apache 2.2 are still running. Is it any problem with the PHP compilation along with apache?
Waiting for reply...
Regards,
Bharadwaj
Comment