Category Archive For "Genel"
Ubuntu Firefox 4 guncellemesi
sudo add-apt-repository ppa:mozillateam/firefox-stable sudo apt-get update && sudo apt-get upgrade
[Ldap]slapd: bdb_db_open: unclean shutdown detected; attempting recovery.
Asagidaki hatayi almanizin nedeni, ldap ‘in duzgun olarak kapatilmamasindandir. [root@test test]# /etc/init.d/ldap restart Stopping slapd: [ OK ] Checking configuration files for slapd: bdb_db_open: unclean shutdown detected; attempting recovery. bdb_db_open: Recovery skipped in read-only mode. Run manual recovery if errors are encountered. config file testing succeeded Recovery etmek icin; [root@test test]# /usr/sbin/slapd_db_recover -v -h /var/lib/ldap/murat.ws/ …
[Ldap]Ldap yedekleme nasil yapilir ?
root kullanicisiyla; /usr/sbin/slapcat -l /home/murat/ldap_yedek.ldif #tum ldap yapisi ldap_yedek.ldif dosyasina aktarilir.
[Linux] Karakter silme
echo “murat.ugur” | tr -d . ciktisi, muratugur seklinde olacaktir.
managed-keys-zone ./IN: loading from master file managed-keys.bind failed: file not found
duzeltmek icin, touch /etc/bind/managed-keys.bind vim /etc/bind/named.conf include “/etc/bind/managed-keys.bind”;
flock() on closed filehandle, plugin: eval failed: can’t open file, (in cleanup) can’t unlock
Yapmaniz gereken kullanici sahipligini ve grubunu amavis yapmaktir. chow amavis.amavis /etc/mail/spamassassin/FuzzyOcr.safe* flock() on closed filehandle /etc/mail/spamassassin/FuzzyOcr.safe.db.lock at /usr/share/perl5/MLDBM/Sync.pm line 266. (in cleanup) can’t unlock /etc/mail/spamassassin/FuzzyOcr.safe.db.lock: Bad file descriptor at /usr/share/perl5/MLDBM/Sync.pm line 266. plugin: eval failed: can’t open file /etc/mail/spamassassin/FuzzyOcr.safe.db.lock: Permission denied at /usr/share/perl5/MLDBM/Sync.pm line 239. (in cleanup) can’t unlock /etc/mail/spamassassin/FuzzyOcr.safe.db.lock: Bad file descriptor at /usr/share/perl5/MLDBM/Sync.pm …
Disk okuma ve yazma hizlarini test etmek
Diskin yazma hizini test etmek; [root@test ~]# dd if=/dev/zero of=of.txt bs=1k count=1000000 1000000+0 records in 1000000+0 records out 1024000000 bytes (1.0 GB) copied, 3.08095 seconds, 332 MB/s Diskin okuma hizini test etmek; [root@test ~]# hdparm -t /dev/cciss/c0d0 /dev/cciss/c0d0: Timing buffered disk reads: 412 MB in 3.01 seconds = 157.06 MB/sec
snort ile coklu interface
Snort ile birden fazla arayuzu dinleyebilirsiniz. Bunun icin, vim /etc/snort/snort.debian.conf dosyasinda bulunan, DEBIAN_SNORT_INTERFACE=”eth0″ satirini DEBIAN_SNORT_INTERFACE=”eth0 eth1″ seklinde degistirerek cift interface icin dinlemeyi gerceklestirebiliriz.
mount: //share/mp3 is not a valid block device
Linux ustunde ag uzerindeki bir paylasimi mount etmeye calistiginizda LOGON_FAILURE ve ” is not a valid block device ” hatalarini aliyorsaniz, sisteminizde smbfs paketi eksik demektir. Yuklendigi taktirde mount etme islemi basarili olacaktir. Ubuntu’da konsoldan apt-get install smbfs calistirilarak kurulabilir.
amavis[25902]: (!)_DIE: Can’t locate Tie/Cache.pm hatasi
Gecenlerde mail gw ustundeki kuyruga bakiyim derken bir den 350 000 epostanin biriktigini gordum, loglari inceledigimde ise amavis durmus durumdaydi. Almis oldugum hata asagidaki gibiydi. Nov 8 00:23:43 gw amavis[25902]: (!)_DIE: Can’t locate Tie/Cache.pm in @INC (@INC contains: .. /etc/mail/spamassassin lib /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl) at (eval 1582) line 1.\nBEGIN failed–compilation …