Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem when installing agent on Debian #18

Open
laurent-ta opened this issue Aug 22, 2014 · 3 comments
Open

Problem when installing agent on Debian #18

laurent-ta opened this issue Aug 22, 2014 · 3 comments

Comments

@laurent-ta
Copy link

Hi guys,

I'm testing Vfense and I have some trouble with the Agent (0.7.2) only on my debian server (Debian 7.5).
Here is what it shows in the log in /opt/TopPatch/agent_install_failure.log

2014-08-22 16:44:23.859615 : Traceback (most recent call last):
File "./install", line 1111, in install
self._clean_up()
File "./install", line 1020, in _clean_up
self._deb_remove_service()
File "./install", line 1016, in _deb_remove_service
raise Exception(err)
Exception: perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "fr",
LC_ALL = (unset),
LC_PAPER = "fr_FR.UTF-8",
LC_ADDRESS = "fr_FR.UTF-8",
LC_MONETARY = "fr_FR.UTF-8",
LC_NUMERIC = "fr_FR.UTF-8",
LC_TELEPHONE = "fr_FR.UTF-8",
LC_IDENTIFICATION = "fr_FR.UTF-8",
LC_MEASUREMENT = "fr_FR.UTF-8",
LC_TIME = "fr_FR.UTF-8",
LC_NAME = "fr_FR.UTF-8",
LANG = "eu_FR.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

If you have any idea on how I could fix that, it would be great !!

Thx for this awesome project !

Laurent

@laurent-ta
Copy link
Author

I found the solution ! It just fixed the locale settings !

@linuxdynasty
Copy link

Awesome, what exactly did you do, so we can document this in the wiki, cause I'm sure other people are running into this issue as well.

@laurent-ta
Copy link
Author

I needed to fix the locale settings.

First you need to check if there is something wrong when you type the command "locale".
It used to show me a missing field for LC_ALL=(unset) so you need to fix it with a command
"dpkg-reconfigure locales" and then "locale-gen".

And now when I do a "locale" command :

LANG=fr_FR.UTF-8
LANGUAGE=fr
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=fr_FR.UTF-8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants