Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
perl:warning: setting locale faild [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
blubbi
Guru
Guru


Joined: 27 Apr 2003
Posts: 564
Location: Halle (Saale), Germany

PostPosted: Wed Jan 19, 2005 12:56 pm    Post subject: perl:warning: setting locale faild [solved] Reply with quote

Der SMTP-Server hat einen Fehler geliefert. Betreff 'test', Konto: 'ws1-iut.medizin.uni-halle.de', Server: 'ws1-iut.medizin.uni-halle.de', Protokoll: SMTP, Serverantwort: 'perl: warning: Setting locale failed.', Port: 25, Secure (SSL): Nein, Fehlernummer: 0x800CCC60

Hi, everytime I send a mail, the mailprog complaints with the error msg. above.

Any ideas where to search the error? Is it perl, spamassassin, vpopmail, qmail?

No logfile is showing this error, even with debugging on.

Thx for any hints
blubbi
_________________
-->Please add [solved] to the initial post's subject line if you feel your problem is resolved.
-->Help answer the unanswered

http://olausson.de


Last edited by blubbi on Fri Jan 28, 2005 12:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
DL8
n00b
n00b


Joined: 27 Jul 2004
Posts: 54
Location: Israel

PostPosted: Wed Jan 19, 2005 4:02 pm    Post subject: Reply with quote

What is your locale? Does it appear in `locale -a`'s output?
Back to top
View user's profile Send private message
blubbi
Guru
Guru


Joined: 27 Apr 2003
Posts: 564
Location: Halle (Saale), Germany

PostPosted: Wed Jan 19, 2005 6:03 pm    Post subject: Reply with quote

I changed my locale to de_DE but than I noticed that it made problems with spamassassin. So no I changed it back to en_US.

I am not sure how many packages ahve been compiled with de_DE so now I am recompiling all perl-modules and python modules to get rid of de_DE.

After that I planed to recompile spamassasin and hopfully my problems have gone.

here my current locale settings


Quote:
LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=en_US


or maybe I should change the settings in /etc/env.d/02language to "POSSIX" or maybe "C"?

Any suggestions?

Thanks a lot

regards
blubbi
_________________
-->Please add [solved] to the initial post's subject line if you feel your problem is resolved.
-->Help answer the unanswered

http://olausson.de
Back to top
View user's profile Send private message
blubbi
Guru
Guru


Joined: 27 Apr 2003
Posts: 564
Location: Halle (Saale), Germany

PostPosted: Wed Jan 26, 2005 5:07 pm    Post subject: Reply with quote

So no I recompiled everything but no success at all. I even recompiled glib and glibc than perl libperl and so on....

Any ideas?

thx
blubbi
_________________
-->Please add [solved] to the initial post's subject line if you feel your problem is resolved.
-->Help answer the unanswered

http://olausson.de
Back to top
View user's profile Send private message
blubbi
Guru
Guru


Joined: 27 Apr 2003
Posts: 564
Location: Halle (Saale), Germany

PostPosted: Fri Jan 28, 2005 12:56 pm    Post subject: Reply with quote

recompiling glibc helped. I just had a " " space in my locales when recompiling glibc. After removing the " " and recompiling glibc everything worked.


regards
blubbi
_________________
-->Please add [solved] to the initial post's subject line if you feel your problem is resolved.
-->Help answer the unanswered

http://olausson.de
Back to top
View user's profile Send private message
localghost
Apprentice
Apprentice


Joined: 28 Oct 2004
Posts: 185
Location: Sint-Niklaas, Belgium

PostPosted: Thu May 05, 2005 2:10 pm    Post subject: Reply with quote

blubbi wrote:
recompiling glibc helped. I just had a " " space in my locales when recompiling glibc. After removing the " " and recompiling glibc everything worked.

Strange... somehow my locales.build got overwritten. Result: a glibc with the wrong language. I restored a copy of locales.build and recompiled glibc. Result: all OK now.
_________________
411 /0µr 84$3 4r3 8310n9 70 µ$.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum