-
Recent Posts
Archives
Categories
Meta
Monthly Archives: November 2009
WebMail connection timeout + CSF
If you have CSF installed as the IDS of choice and you have a SMTP timeout on WebMail when trying to send mail, the problem is probably in the csf.conf setting. Error: Connection timed out Server replied: 110 Can’t open … Continue reading
Various linux resources
DNS O’Reilly’s DNS and Bind http://docstore.mik.ua/orelly/networking_2ndEd/dns/index.htm cPanel 3rdparty software: http://forums.cpanel.net/f77/third-party-applications-available-cpanel-whm-106785.html NSF http://www.faqs.org/docs/Linux-HOWTO/NFS-HOWTO.html#FIREWALLS linuxguruz.org
"Firewall is stopped" error
This is required to stop iptables without the entire system getting hanged on “unloading iptables modules” ON SOME MACHINES. /etc/sysconfig/iptables-config => IPTABLES_MODULES_UNLOAD=”no” Further info: http://forums.fedoraforum.org/showthread.php?t=44196 This is required when you get a “Firewall is stopped” and a simple restart doesn’t … Continue reading
find
Limiting the search to n levels within the directory structure (must be placed before other options): find -maxdepth n Searches for files that are eqaul (n), larger (+n) or smaller (-n) than n: find . -size [+-]n n should be … Continue reading
Linux boot related commands
To find out the current and previous runlevel: runlevel who -r
pgrep
Listing processes after owner: pgrep -u `owner` Listing processes with a certain command name (name), long format pgrep -l List the oldest (and newest) process of the selected one pgrep -o name pgrep -n name
Hardware commands
lspci – listeaza pci-urile
hdparm -I /dev/sda – listeaza parametrii hdd-ului sata master primar Continue reading