Currently browsing category

Linux, Page 32

searchindex.MYI = errno: 145

[root@mysql wiki]# myisamchk -r /var/lib/mysql/wikidb/wikidb_searchindex.MYI – recovering (with sort) MyISAM-table ‘/var/lib/mysql/wikidb/wikidb_searchindex.MYI’ Data records: 212 – Fixing index 1 – Fixing index 2 …

linux notes – mrtg cisco switch

[root@mrtg ~]# cfgmaker –global “WorkDir: /var/www/mrtg/cisco1” –global “RunAsDaemon: Yes” –output=/etc/mrtg/cisco1.cfg public@cisco1 [root@mrtg ~]# env LANG=C /usr/bin/mrtg /etc/mrtg/cisco1.cfg [root@mrtg ~]# indexmaker –output=/var/www/mrtg/cisco1/cisco1.html /etc/mrtg/cisco1.cfg

linux notes – mrtg apc temperature

[root@mrtg ~]# snmpwalk -v 1 -c public 192.168.1.x SNMPv2-MIB::sysDescr.0 = STRING: APC Web/SNMP Management Card (MB:v3.6.4 PF:v2.5.0 PN:apc_hw02_aos_250.bin AF1:v2.5.1 AN1:apc_hw02_sumx_251.bin MN:AP9619 HR:A10 …

linux notes – ldap master and slave

[root@ldap1 data]# cat root-unit.ldif # root node dn: dc=xxx,dc=xxxxx,dc=edu,dc=tw objectClass: dcObject objectClass: organization o: X X X X X dc: xxxxx dn: …

Cyrus IMAP mailbox quota

cyradm -user cyrus localhost localhost > listquotaroot user.accountname user.accountname STORAGE 3869/1024000 (0.37783203125%) localhost > lqr user.accountname user.accountname STORAGE 3869/1024000 (0.37783203125%) localhost > …

Linux login banners

The banners for Unix machines depend on the particular vendor and service. For many recent systems (Sun, Linux), creating the file /etc/issue …