QmailToaster is a quick and easy way to install QMail on your server. However when things go wrong there are a few files and techniques you need to know about to track problems down. this post is a simple way for me to document some of the most useful bits of information. Hopefully they will help someone. My system is Fedora 6, different systems may have slightly different locations. First step is to examine the SMTP log...
Every now and then I have needed to delete a whole directory tree. This is the correct command BUT TAKE WARNING! It will delete the whole directory tree without warning, ALL sub directories and files- so make sure you get it right or you can cause SERIOUS damage to your installation. rm -rf folder_name
Lots of apps are now looking for php 5.2 to run but Fedora 6 currently only updates to 5.1 in the repositories. The update does not appear straight-forward, however after much googling I found a solution that worked for me here . Simply follow these steps ... You need to login using ssl ( then su for admin ) or similar console ...
Moving across from php4 to php5 has generally not been to problematic. So it is ironic that the one thing that has been a problem is Zend Studio - produced by the "Php People". I develop on an XP machine, using apache 2.2. php 5.2 and zend studio 5.1 Standard addition. Unlike php4, php5 does not have the mysql module in the core and it needs to be enabled in php.ini. No problem, simply add extension = php_mysql.dll to the php.ini file. Everything works perfectly on my system EXCEPT when I try to debug using Zend Studio, where I get a dialog stating ...
This had me baffled for awhile. No matter what I did, wrapped it in divs or a table, Firefox would always leave a small space below the image. Finally discovered that this is a bug in my current version of Firefox 2. Very frustrating because everything worked perfectly in IE. The workaround is to change the DOCTYPE to something other than STRICT.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Hope this helps someone!
The process of upgrading PHP on my windows XP system proved to be a painful one, the following error in particular proved difficult to fix or find helpful information on .
PHP Startup: Unable to load Dynamic Library php_openssl.dll The operating sytem cannot run %1
The importance of understanding how to secure your linux server has never been more important. From the moment your server goes live it will become the target of numerous attacks. Most are automated script attacks that randomly select an ip and probe it for obvious weaknesses. The consequences of a hacker getting access to your server can be catastrophic.
I was able to establish a connection, but directory listing failed. With a firewall (20,21) it is necessary to enable ip_conntrack_ftp. The following should work ...
$ modprobe -v ip_conntrack_ftp insmod /lib/modules/2.6.9-5.ELsmp/kernel/net/ipv4/netfilter/ip_conntrack_ftp.ko $vi /etc/sysconfig/iptables_config IPTABLES_MODULES="ip_conntrack_ftp"
I started receiving this error. SSHD Connection Refused ........ The fix was to go into /etc/hosts.allow and add
SSHD: ALL
For security it would be better to add a specific ip rather than ALL
If SSHD is creating this error in the log The Fix is to switch of ip6v.
echo "alias net-pf-10 off" >> /etc/modprobe.conf
