LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 07-09-2006, 05:19 AM   #1
gabsik
Member
 
Registered: Dec 2005
Location: italia
Distribution: Debian etch stable
Posts: 532

Rep: Reputation: 30
Cron messages


Cron is sending me tons of mails with this error:
Quote:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "it_IT",
LC_ALL = (unset),
LANG = "it_IT@euro"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
I have a debian sarge 3.1 and a LAMP system for my website , is the locale only related to joomla CMS? :
Quote:
italian.jos_heximage_album
warning : 1 client is using or hasn't closed the table properly
italian.jos_menu
warning : 1 client is using or hasn't closed the table properly
italian.jos_session
warning : 1 client is using or hasn't closed the table properly
wwwgab.jos_banner
warning : 1 client is using or hasn't closed the table properly
wwwgab.jos_session
warning : 1 client is using or hasn't closed the table properly
wwwgab.jos_users
warning : 1 client is using or hasn't closed the table properly

Improperly closed tables are also reported if clients are accessing
the tables *now*. A list of current connections is below.

+----+------------------+-----------+----+---------+------+-------+------------------+
| Id | User | Host | db | Command | Time | State | Info |
+----+------------------+-----------+----+---------+------+-------+------------------+
| 5 | debian-sys-maint | localhost | | Query | 0 | | show processlist |
+----+------------------+-----------+----+---------+------+-------+------------------+
Uptime: 2 Threads: 1 Questions: 271 Slow queries: 0 Opens: 257 Flush tables: 1 Open tables: 64 Queries per second avg: 135.500
This the output of locale -a
Quote:
root@www:~# locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
How do i deal with locales in debian ?
How do i stop this error ?

Last edited by gabsik; 07-09-2006 at 09:08 AM.
 
Old 07-09-2006, 06:36 AM   #2
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
Code:
$ apt-cache search locale | grep locale
# apt-get install locales
Tinker around a bit with the locale-related packages.

hth.
 
Old 07-09-2006, 09:12 AM   #3
gabsik
Member
 
Registered: Dec 2005
Location: italia
Distribution: Debian etch stable
Posts: 532

Original Poster
Rep: Reputation: 30
I tried installing a new locales package:
Quote:
root@www:~# install locales
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
locales: Depends: glibc-2.3.2.ds1-22sarge3
E: Broken packages
 
Old 07-09-2006, 02:00 PM   #4
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
Have a look at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=348413
 
Old 07-12-2006, 05:03 AM   #5
gabsik
Member
 
Registered: Dec 2005
Location: italia
Distribution: Debian etch stable
Posts: 532

Original Poster
Rep: Reputation: 30
I have added a sid repository to my sources.list:
Quote:
root@www:~# install locales
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
base-config
The following NEW packages will be installed:
locales
0 upgraded, 1 newly installed, 1 to remove and 29 not upgraded.
Need to get 3938kB of archives.
After unpacking 7967kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
locales
Install these packages without verification [y/N]? y
Get:1 http://debian.linux-systeme.com sid/main locales 2.3.6-16 [3938kB]
Fetched 3938kB in 53s (74.0kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "it_IT",
LC_ALL = (unset),
LANG = "it_IT@euro"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Preconfiguring packages ...
(Reading database ... 60182 files and directories currently installed.)
Removing base-config ...
Selecting previously deselected package locales.
(Reading database ... 60076 files and directories currently installed.)
Unpacking locales (from .../locales_2.3.6-16_all.deb) ...
Setting up locales (2.3.6-16) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "it_IT",
LC_ALL = (unset),
LANG = "it_IT@euro"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Generating locales (this might take a while)...
it_IT.ISO-8859-15@euro... done
Generation complete.
As you see it says 'generation complete' http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=348413 doesn't give me a solution
Quote:
So I can fix this by downgrading libc. My point is that this is clearly
a bad, confusing problem, since more than once person has found their
way to this bug report (the vast majority of people inconvenienced by
this bug won't go to the trouble of reporting it). It *is* a bug in
Debian. Debian should be smart enough to figure out how to resolve this
problem automatically.
Let's see if i get still reports on this 'bug' ... cheeers !!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Odd Cron log messages medmedia Linux - Software 2 12-05-2005 03:22 AM
How to change the mail address of cron messages guarriman Linux - General 2 06-10-2005 04:42 AM
redirecting cron messages jomy General 1 12-29-2004 02:35 AM
cron error messages from remote machine artman62 Linux - Networking 1 02-14-2003 11:36 AM
cron daily error messages lhoff Linux - Software 3 03-30-2002 02:17 PM


All times are GMT -5. The time now is 08:54 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration