免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: joecen
打印 上一主题 下一主题

你还在用mrtg吗?--使用cacti监测系统性能 [复制链接]

论坛徽章:
0
431 [报告]
发表于 2006-03-13 13:30 |只看该作者
难道这个帖已经变成死帖了?米人回复我咯~~

论坛徽章:
0
432 [报告]
发表于 2006-03-28 14:55 |只看该作者
[root@localhost mysql]# service mysql restart
ERROR! MySQL PID file could not be found!
Starting MySQL................................... ERROR!
照joecen文章,安装了mysql
可以调试的时候出现[root@localhost mysql]# bin/mysqld_safe --user=mysql
Starting mysqld daemon with databases from /usr/local/mysql/data
STOPPING server from pid file /usr/local/mysql/data/localhost.localdomain.pid
060323 16:59:53  mysqld ended,,怎么会stop的啊
用#netstat -tl |grep mysql     //什么也没有
再[root@localhost mysql]# ps -aux |grep mysql
root      2824  0.0  0.2  4812  636 pts/0    S    17:10   0:00 grep mysql
也是没有mysql活动,,晕,,
再[root@localhost mysql]# service mysql restart
ERROR! MySQL PID file could not be found!
Starting MySQL................................... ERROR
晕~```
不知道什么原因。。。。。。。。
是不是路径有问题啊 ???

论坛徽章:
0
433 [报告]
发表于 2006-03-28 15:13 |只看该作者
他说的mysql pid not found
再#more /etc/passwd
找到mysql:505:505::/home/mysql:/bin/bash
他的pid不是505吗??
不过就是大于500而已,,,
请问是什么问题,,
急切想知道原因谢谢 !!!!!!

论坛徽章:
0
434 [报告]
发表于 2006-03-28 19:19 |只看该作者

安装PHP4时,,编译出错

[root@localhost php-4.4.2]# ./configure --prefix=/usr/local/php4 --with-apxs2=/usr/local/bin/apxs  --with-mysql=/usr/local/mysql  --with-config-file-path=/usr/local/php4
loading cache ./config.cache
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... exit 0;
checking whether ln -s works... yes
checking for gawk... gawk
checking for bison... no
checking for byacc... no
configure: warning: You will need bison if you want to regenerate the PHP parsers.
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 2540: lex: command not found
configure: error: cannot find output from lex; giving up
[root@localhost php-4.4.2]#

论坛徽章:
0
435 [报告]
发表于 2006-03-28 19:19 |只看该作者
checking lex output file root... ./configure: line 2540: lex: command not found
lex是什么命令啊??

论坛徽章:
0
436 [报告]
发表于 2006-03-28 19:25 |只看该作者
这里看来是死贴了,,
等了一天,没一个人回答,,,

论坛徽章:
0
437 [报告]
发表于 2006-03-29 16:12 |只看该作者
原帖由 夜鹰007 于 2006-3-28 14:55 发表
[root@localhost mysql]# service mysql restart
ERROR! MySQL PID file could not be found!
Starting MySQL................................... ERROR!
照joecen文章,安装了mysql
可以调试的时候出现[r ...


你既然照我的方法来安装,那么为什么会用到/etc/init.d/mysql来启动呢?

因为你是问mysql安装之类的问题,我建议你还是先去mysql版看看。
当然你可以用自己的方法来安装mysql,其实说到底cacti只是需要一个php+mysql的环境而已。

论坛徽章:
0
438 [报告]
发表于 2006-04-14 22:43 |只看该作者
楼主各位老大,我怎么一直提示:

第一个错误:
/usr/local/mysql/bin/mysql -u root -pmysql cactidb<cacti.sql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

第二个错误:
[root@sun cacti]# /usr/bin/crontab -u cactiuser -e
/usr/bin/crontab:  user `cactiuser' unknown

论坛徽章:
0
439 [报告]
发表于 2006-04-15 09:36 |只看该作者

新东西,大家都要全力支持啊!我顶!

新东西,大家都要全力支持啊!我顶!

论坛徽章:
0
440 [报告]
发表于 2006-05-28 14:15 |只看该作者

请教joecen,怎么在windows下修改snmp的配置文件?

我的cacti是windows下的,也是能够登陆cacti,但是生成不了RRDTOOL文件
我也看了你以前的帖子,很可能是我的net-snmp取不到数据

snmpwalk -v 2c -c public 127.0.0.1 .1.3.6.1.4.1.2021.11.52.0

也会有下面的提示:
UCD-SNMP-MIB::ssCpuRawSystem.0 = No more variables left in this MIB View (It is past the end of the MIB tree)


我就是想问一下怎么在windows下修改snmp的配置文件?
谢谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP