If ClamAV is refusing to work on your Cpanel Box
it’s probably caused by a missing perl module. Type:
~# perl -MCPAN -e shell
cpan> install File::Scan::ClamAV
exit
Archive for the ‘ Debian GNU Linux ’ Category
Beim Installieren erhält man die folgenden Fehlermeldung:
dpkg: Fehler beim Parsen, in Datei »/var/lib/dpkg/available
Lösung: Paketmanager neun initialisieren:
~#dpkg –clear-avail
~#dpkg -reconfigure apt
To configure a new graphic card on Debian or related distributions ( Ubuntu/Kubuntu etc. ) type:
~#dpkg-reconfigure xserver-xorg
and follow the interactive menu.
Wenn Sie Debian als Plattform für einen lokalen Fileserver benutzen
solten Sie hdparm aktivieren um den Zugriff auf die Festplatte wesentlich zu
beschleunigen.
~#apt-get install hdparm
~#hdparm -d1 /dev/hda
Ersetzen Sie “hda” ( Hier eine IDE Festplatte ) durch den entsprechenden Festplattentyp.
Zum Testen:
~# hdparm -t /dev/hda
Bei Debian Lenny treten häufig Probleme bei der SASL Anmeldung an Postix auf.
Folgenden Code ausführen:
~$ nano /etc/default/saslauth
Die OPTIONS Zeile umändern in
~$ OPTIONS=”-c -m /var/spool/postfix/var/run/saslauthd”
Danach folgenden Code ausführen
~$ dpkg-statoverride –add root sasl 710 /var/spool/postfix/var/run/saslauthd
~$ adduser postfix sasl
Danach noch die Dämonen neu starten
~$ /etc/init.d/saslauthd restart
~$ /etc/init.d/postfix restart
Jetzt sollte es mit dem Mailversand wider klappen
I experienced this problem on VPS Debian 5.0 Lenny:
——————————————————————————-
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
——————————————————————————-
Locale is a framework to switch between multiple languages for users who
can select to use their language, country, characters, collation order,
etc.
I noticed that i couldn’t install the Squirrelmail language modules.
How to fix:
~# apt-get update
~# apt-get upgrade
~# apt-get install locales
~# mv /etc/locale.gen /etc/locale.gen_back
~# ln -s /usr/share/i18n/SUPPORTED /etc/locale.gen
~# locale-gen
It takes a little eternity but afterwards your system is updated and
supports multiple languages.
To switch / define your default editor type:
~# update-alternatives –config editor
There are 3 alternatives which provide `editor’.
Selection Alternative
———————————————–
1 /bin/ed
*+ 2 /bin/nano
3 /usr/bin/vim.tiny
Press enter to keep the default[*], or type selection number:
To add php modules to your configuration you can easily
use your apt manager:
~# apt-get install php5-gd
~# apt-get install php5-curl
I experienced this problem on VPS Debian 4.0 Etch:
——————————————————————————-
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = “en_US.UTF-8”
are supported and installed on your system.
perl: warning: Falling back to the standard locale (“C”).
——————————————————————————-
Locale is a framework to switch between multiple languages for users who
can select to use their language, country, characters, collation order,
etc.
I noticed that i couldn’t install the Squirrelmail language modules.
How to fix:
~# apt-get update
~# apt-get upgrade
~# apt-get install locales
~# dpkg-reconfigure locales
Now i experienced that the reconfigure script was bugging and needed
do it manually:
~# ln -s /usr/share/i18n/SUPPORTED /etc/locale.gen
~# locale-gen
It takes a little eternity but afterwards your system is updated and
supports multiple languages.