<![CDATA[Latest posts for the topic "Giúp đở cài đặt Cacti"]]> /hvaonline/posts/list/24.html JForum - http://www.jforum.net Giúp đở cài đặt Cacti http://www.yusufozturk.info/virtual-machine-manager/cacti-installation-on-centos-6-on-hyper-v-part-2.html Tiến hành truy cập vào địa chỉ server thì chỉ được 1 blank site. [/img]http://nf0.upanh.com/b3.s21.d4/72e2ad93c1c8e137ca8d80a62de3b82b_38059920.xp.jpg[img] Máy chủ centos không bật selinux hay firewall. Code:
[root@ns04 cacti]# sestatus 
SELinux status:                 disabled
Em thử kiểm tra xem php có chạy được không thì thấy ok. [/img]http://nf8.upanh.com/b5.s4.d2/374356a798510d4b36d72d552f8947c4_38059918.php.jpg [img] Kiểm tra thử MYSQL Code:
[root@ns04 cacti]# service mysqld status
mysqld (pid  4288) is running...
[root@ns04 cacti]#
Em nghĩ chưa import CSDL của cacti nhưng khi kiểm tra lại thì đã có rồi Code:
[root@ns04 cacti]# mysql -u root -p  ct <cacti.sql 
Enter password: 
ERROR 1050 (42S01) at line 5: Table 'cdef' already exists
[root@ns04 cacti]#
Kiểm tra gói php-mysql Code:
[root@ns04 cacti]# rpm -qa php-mysql
php-mysql-5.3.2-6.el6_0.1.x86_64
[root@ns04 cacti]#
Vẫn không tìm ra được nguyên nhân .. Mọi người giúp mình nhé >]]>
/hvaonline/posts/list/40616.html#250128 /hvaonline/posts/list/40616.html#250128 GMT
Giúp đở cài đặt Cacti /hvaonline/posts/list/40616.html#250137 /hvaonline/posts/list/40616.html#250137 GMT Giúp đở cài đặt Cacti /hvaonline/posts/list/40616.html#250142 /hvaonline/posts/list/40616.html#250142 GMT Giúp đở cài đặt Cacti

quanta wrote:
Bạn xem log của Apache chưa? 
Log sau khi restart apache của em Code:
[root@ns04 ~]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
[root@ns04 ~]# tail /var/log/httpd/error_log
[Sat Oct 29 18:05:58 2011] [notice] Digest: generating secret for digest authentication ...
[Sat Oct 29 18:05:58 2011] [notice] Digest: done
PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
[Sat Oct 29 18:05:58 2011] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.2 configured -- resuming normal operations
[Sat Oct 29 18:07:04 2011] [notice] caught SIGTERM, shutting down
[Sat Oct 29 18:07:04 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Oct 29 18:07:04 2011] [notice] Digest: generating secret for digest authentication ...
[Sat Oct 29 18:07:04 2011] [notice] Digest: done
PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
[Sat Oct 29 18:07:05 2011] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.2 configured -- resuming normal operations
[root@ns04 ~]#
Em cũng đang dùng cacti-0.8.7g.tar.gz đó a P, php-5.3.2-6.el6_0.1.x86_64 mysql-5.1.52-1.el6_0.1.x86_64 httpd-2.2.15-5.el6.centos.x86_64 ]]>
/hvaonline/posts/list/40616.html#250148 /hvaonline/posts/list/40616.html#250148 GMT
Giúp đở cài đặt Cacti /hvaonline/posts/list/40616.html#250179 /hvaonline/posts/list/40616.html#250179 GMT Giúp đở cài đặt Cacti Code:
192.168.0.11 - - [29/Oct/2011:19:57:47 -0400] "GET /cacti/ HTTP/1.1" 500 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11"
192.168.0.11 - - [29/Oct/2011:19:57:49 -0400] "GET /cacti/ HTTP/1.1" 500 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11"
192.168.0.11 - - [29/Oct/2011:19:58:32 -0400] "GET /cacti/ HTTP/1.1" 500 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11"
192.168.0.11 - - [29/Oct/2011:19:58:35 -0400] "GET /cacti/ HTTP/1.1" 500 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11"
192.168.0.11 - - [29/Oct/2011:19:58:38 -0400] "GET / HTTP/1.1" 200 42345 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11"
192.168.0.11 - - [29/Oct/2011:19:58:38 -0400] "GET /index.php?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 2146 "http://192.168.0.4/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11"
192.168.0.11 - - [29/Oct/2011:19:58:38 -0400] "GET /index.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 2524 "http://192.168.0.4/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11"
192.168.0.11 - - [29/Oct/2011:19:58:42 -0400] "GET /cacti/ HTTP/1.1" 500 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11"
127.0.0.1 - - [29/Oct/2011:20:00:09 -0400] "GET / HTTP/1.0" 200 39698 "-" "check_http/v1.4.15 (nagios-plugins 1.4.15)"
]]>
/hvaonline/posts/list/40616.html#250196 /hvaonline/posts/list/40616.html#250196 GMT
Giúp đở cài đặt Cacti /hvaonline/posts/list/40616.html#250212 /hvaonline/posts/list/40616.html#250212 GMT Giúp đở cài đặt Cacti /hvaonline/posts/list/40616.html#250254 /hvaonline/posts/list/40616.html#250254 GMT Giúp đở cài đặt Cacti extension_dir = /etc/php.d Lổi ở chổ này các bác , em phải copy mysql.so từ /usr/lib/php/modules đưa qua đó. ]]> /hvaonline/posts/list/40616.html#254069 /hvaonline/posts/list/40616.html#254069 GMT Giúp đở cài đặt Cacti

lamletoi wrote:
/etc/php.ini extension_dir = /etc/php.d Lổi ở chổ này các bác , em phải copy mysql.so từ /usr/lib/php/modules đưa qua đó.  
For older versions of PHP, youu may have to edit the php.ini file and add: extension_dir = /etc/php.d]]>
/hvaonline/posts/list/40616.html#254090 /hvaonline/posts/list/40616.html#254090 GMT