~ sweet ~

Aller au contenu | Aller au menu | Aller à la recherche

lundi, 16 février 2009

Debian 5.0 (Lenny) Released Today

Debian 5.0 (Lenny) Released Today

Things not working out of the box after the upgrade (for me) :

Postfix/Sasl :

  • Problem :
Feb 16 14:15:56 ifrit postfix/smtpd[5338]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
Feb 16 14:15:56 ifrit postfix/smtpd[5338]: warning: SASL authentication failure: Password verification failed
Feb 16 14:15:56 ifrit postfix/smtpd[5338]: warning: foo.example.com[x.x.x.x]: SASL PLAIN authentication failed: generic failure
Feb 16 14:15:57 ifrit postfix/smtpd[5338]: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied
Feb 16 14:15:57 ifrit postfix/smtpd[5338]: warning: foo.example.com[x.x.x.x]: SASL LOGIN authentication failed: generic failure
  • Solution :
% sudo adduser postfix sasl
% sudo /etc/init.d/postfix restart

Module-init-tools/initramfs-tools

  • Problem :
Setting up module-init-tools (3.4-1) ...
dpkg-divert: rename involves overwriting `/sbin/depmod' with
  different file `/sbin/depmod.modutils', not allowed
dpkg: error processing module-init-tools (--configure):
 subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of initramfs-tools:
 initramfs-tools depends on module-init-tools; however:
  Package module-init-tools is not configured yet.
dpkg: error processing initramfs-tools (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-2.6.26-1-686:
 linux-image-2.6.26-1-686 depends on module-init-tools; however:
  Package module-init-tools is not configured yet.
 linux-image-2.6.26-1-686 depends on initramfs-tools (>= 0.55) | yaird (>= 0.0.13) | linux-initramfs-tool; however:
  Package initramfs-tools is not configured yet.
  Package yaird is not installed.
  Package linux-initramfs-tool is not installed.
  Package initramfs-tools which provides linux-initramfs-tool is not configured yet.
dpkg: error processing linux-image-2.6.26-1-686 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-2.6-686:
 linux-image-2.6-686 depends on linux-image-2.6.26-1-686; however:
  Package linux-image-2.6.26-1-686 is not configured yet.
dpkg: error processing linux-image-2.6-686 (--configure):
 dependency problems - leaving unconfigured
  • Solution :
% sudo mv /sbin/depmod.modutils /root
% sudo mv /sbin/insmod.modutils /root
% sudo mv /sbin/update-modules.modutils /root
% sudo mv /sbin/modinfo.modutils /root
% sudo mv /sbin/lsmod.modutils /root
% sudo mv /sbin/lsmod.Lmodutils /root
% sudo mv /sbin/modprobe.Lmodutils /root
% sudo mv /sbin/rmmod.Lmodutils /root
% sudo dpkg --configure module-init-tools

Bitlebee

  • Problem :
15:02 Irssi: Looking up localhost
15:02 Irssi: Connecting to localhost [127.0.0.1] port 6668
15:02 Irssi: Unable to connect server localhost port 6668 [Connection refused]
  • Solution :
% vi /etc/default/bitlbee
# Adapt configuration then
% sudo /etc/init.d/bitlbee restart
  • UTF-8 Annoying :
16:25 <@     root> Error: Charset mismatch detected. The charset setting is currently set to utf-8, so please make sure your IRC client will send and accept text in that charset, or 
                   tell BitlBee which charset to expect by changing the charset setting. See `help set charset' for more information. Your message was ignored.
  • Solution :

If you have one tell me ! :) (i always play with /recode but this time it doesn't seems to work)

UPDATE : found it ... just remove all /recode instructions \o/

Amavis

  • Annoying reports :

Every 3 hours :

Subject: Cron <amavis@foo.example.com> test -e /usr/sbin/amavisd-new-cronjob && /usr/sbin/amavisd-new-cronjob sa-sync
...
bayes: synced databases from journal in 0 seconds: 290 unique entries (352 total entries)
  • Solution :
#/etc/cron.d/amavisd-new
-18 */3	* * *	amavis	test -e /usr/sbin/amavisd-new-cronjob && /usr/sbin/amavisd-new-cronjob sa-sync
+18 */3	* * *	amavis	test -e /usr/sbin/amavisd-new-cronjob && /usr/sbin/amavisd-new-cronjob sa-sync >/dev/null

lundi, 5 juin 2006

Enfin la possibilité de packager le jdk et le jre de sun

On peut (enfin) avoir les outils java sur [1]"Linux-Update" :)

Notes

[1] apt-get , urpmi ...

Lire la suite...

vendredi, 3 mars 2006

Install JXplorer on debian

I wanted to test JXplorer (an LDAP browser in Java) on my Debian because i have to do a training on samba in few weeks, and i would like to show a simple way to administrate an LDAP server.

Lire la suite...

mardi, 21 février 2006

FU*ù$! referer spams

I think i have found a magic arm to blocking referer spams :

#if request contain "get http://" or "post http://"
#redirect the client to his ip adress
#**break usage od mod_proxy**
RewriteCond %{THE_REQUEST} "get http://" NC,OR
RewriteCond %{THE_REQUEST} "post http://" NC
RewriteRule ^(.*) http://%{REMOTE_ADDR}/ R=301,L

jeudi, 5 janvier 2006

Plus fort que club internet

18:56 < stephs> ca arrive qu'à moi ca ?  :

18:56 < stephs> W: GPG error: http://ftp2.fr.debian.org sid Release: Les signatures suivantes n'ont pas pu être vérifiées car la clé publique n'est pas disponible : NO_PUBKEY 010908312D230C5F

18:58 < jcristau_> stephs: gpg --recv-key 0x010908312D230C5F; gpg --check-sig 0x010908312D230C5F; et si ca te plait, gpg --export 0x010908312D230C5F|sudo apt-key add -

18:58 < jcristau_> ("ca te plait" voulant dire "tu fais confiance")

mardi, 3 janvier 2006

IE 4 Linux

I was just looking for someone on IRC, to test the new theme with IE when something happened :

NBBNCN> stephs: apt-get install ie4linux ?

Well, i didn't find the .deb but i found the autor's site : Internet Explorers for Linux

UPDATE : it works :)

lundi, 18 avril 2005

The Debian Geek Contest of #aldil

Y a des jours où les informaticiens font des choses bizarres ... et y a des jours tous les jours

Lire la suite...

samedi, 29 janvier 2005

spéléologie et /etc/fstab

Il y a un bon moment que je cherche à résoudre un souci de flag noexec qui se met systématiquement sur certaines de mes partitions. J'ai un moment cru que cela venait du type du système de fichier mais en fait pas du tout.

Lire la suite...