Debian: locale problems
Hi!
I have a debian server. I tried to install tomcat5.5, but it gives that:
Setting up tomcat5.5 (5.5.26-5) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "hu_HU ISO-8859-2"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Starting Tomcat servlet engine: tomcat5.5Cannot locate Java Home
invoke-rc.d: initscript tomcat5.5, action "start" failed.
dpkg: error processing tomcat5.5 (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of tomcat5.5-admin:
tomcat5.5-admin depends on tomcat5.5 (>= 5.5.26-5); however:
Package tomcat5.5 is not configured yet.
dpkg: error processing tomcat5.5-admin (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of tomcat5.5-webapps:
tomcat5.5-webapps depends on tomcat5.5 (>= 5.5.26-5); however:
Package tomcat5.5 is not configured yet.
dpkg: error processing tomcat5.5-webapps (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
tomcat5.5
tomcat5.5-admin
tomcat5.5-webapps
E: Sub-process /usr/bin/dpkg returned an error code (1)
So, I tried everything with the locales:
-dpkg reconfigure locales
-/etc/locales
-/etc/environment
I read a lot about this problem, but i did not find the right way. Please help, as you know.
thanks
|