Dienstag, 31. August 2010

"sh: /mogrify: No such file or directory"

This has actually nothing to do with specially with debian lenny. This problem can happen on any machine which runs a apache webserver. In a PHP Script I use a ImageMagick function called mogrify to resize the images automatically. It did not work and in my /var/log/apache2/error.log I found this entry:

"sh: /mogrify: No such file or directory"


The solution was very simple. I had activated PHP SafeMode which prevent PHP Scripts from using the exec command. After I deactivated Safe Mode ImageMagick works how it should.

Mittwoch, 11. August 2010

lost connection after UNKNOWN

I had this message in the mail.log after I tried to send a mail through my new isp using mozilla thunderbird lost connection after UNKNOWN. The solution was to configure the outgoing server new I use STARTTLS and confirm the certificate again.

Donnerstag, 5. August 2010

Change Debian Timezone

To change the timezone of your debian machine you can use this command to reconfigure the timezone:

dpkg-reconfigure tzdata