Can't set the locale (man-db.cron)What is the relevance of 'en_AU' in 'LC_CTYPE'? and what is `locale...

What is the highest voltage from the power supply a Raspberry Pi 3 B can handle without getting damaged?

Cut the gold chain

Trainee keeps passing deadlines for independent learning

When to remove insignificant variables?

Can Ogre clerics use Purify Food and Drink on humanoid characters?

Am I legally required to provide a (GPL licensed) source code even after a project is abandoned?

`-` in tar xzf -

Why does the Saturn V have standalone inter-stage rings?

Hit the Bulls Eye with T in the Center

Do I have any obligations to my PhD supervisor's requests after I have graduated?

Is there a term for the belief that "if it's legal, it's moral"?

What is the origin of Scooby-Doo's name?

DBCC checkdb on tempdb

Why don't countries like Japan just print more money?

How large would a mega structure have to be to host 1 billion people indefinitely?

Is it illegal to withhold someone's passport and green card in California?

How to maintain a closed environment for one person for a long period of time

Should I submit Original or copy of my passport to canadian embassy?

Why does Linux list NVMe drives as /dev/nvme0 instead of /dev/sda?

How does a blind passenger not die, if driver becomes unconscious

Explain why a line can never intersect a plane in exactly two points.

Can there be an UN resolution to remove a country from the UNSC?

career in signal processing

Number of solutions mod p and Betti numbers



Can't set the locale (man-db.cron)


What is the relevance of 'en_AU' in 'LC_CTYPE'? and what is `locale LC_CTYPE` output all about?Why is almost every program complaining about my locale?Problem with log in after change locale, maybe relate to PAMWhat should I set my locale to and what are the implications of doing so?Why my programs use Russian instead of English as it's set in the localeLMDE2 / MATE locale charset inconsistencyWhy isn't “export” permanently chaning my environment variables?unixODBC 2.3.0 “_S_create_c_locale name not valid” errorCan you please tell me these Locale Parameter's Meaning?How to see locale settings in action?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















Everyday I am receiving an email with the following content



/etc/cron.daily/man-db.cron:
mandb: can't set the locale; make sure $LC_* and $LANG are correct


When I check the results of of /etc/locale.conf I see the result is set to



LANG=en_EN.UTF-8


When I run the command locale I see the following output



-sh-4.2$ locale
LANG=nl_NL.UTF-8
LC_CTYPE="nl_NL.UTF-8"
LC_NUMERIC="nl_NL.UTF-8"
LC_TIME="nl_NL.UTF-8"
LC_COLLATE="nl_NL.UTF-8"
LC_MONETARY="nl_NL.UTF-8"
LC_MESSAGES="nl_NL.UTF-8"
LC_PAPER="nl_NL.UTF-8"
LC_NAME="nl_NL.UTF-8"
LC_ADDRESS="nl_NL.UTF-8"
LC_TELEPHONE="nl_NL.UTF-8"
LC_MEASUREMENT="nl_NL.UTF-8"
LC_IDENTIFICATION="nl_NL.UTF-8"
LC_ALL=


Now I see that the LC_ALL is not set but when I set it using the following command



-sh-4.2$ export LC_ALL=nl_NL.UTF-8


And then run the command locale again



LC_ALL=nl_NL.UTF-8


you will see that it is set but somehow when I go out of ssh and check sometime later I will see again that it is not set and I keep receiving the email.



My question is how can I solve the locale issue so I don't keep receiving the emails from the man-db.cron



I am using CentOS Linux release 7.1.1503 (Core)










share|improve this question














bumped to the homepage by Community 20 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















    1















    Everyday I am receiving an email with the following content



    /etc/cron.daily/man-db.cron:
    mandb: can't set the locale; make sure $LC_* and $LANG are correct


    When I check the results of of /etc/locale.conf I see the result is set to



    LANG=en_EN.UTF-8


    When I run the command locale I see the following output



    -sh-4.2$ locale
    LANG=nl_NL.UTF-8
    LC_CTYPE="nl_NL.UTF-8"
    LC_NUMERIC="nl_NL.UTF-8"
    LC_TIME="nl_NL.UTF-8"
    LC_COLLATE="nl_NL.UTF-8"
    LC_MONETARY="nl_NL.UTF-8"
    LC_MESSAGES="nl_NL.UTF-8"
    LC_PAPER="nl_NL.UTF-8"
    LC_NAME="nl_NL.UTF-8"
    LC_ADDRESS="nl_NL.UTF-8"
    LC_TELEPHONE="nl_NL.UTF-8"
    LC_MEASUREMENT="nl_NL.UTF-8"
    LC_IDENTIFICATION="nl_NL.UTF-8"
    LC_ALL=


    Now I see that the LC_ALL is not set but when I set it using the following command



    -sh-4.2$ export LC_ALL=nl_NL.UTF-8


    And then run the command locale again



    LC_ALL=nl_NL.UTF-8


    you will see that it is set but somehow when I go out of ssh and check sometime later I will see again that it is not set and I keep receiving the email.



    My question is how can I solve the locale issue so I don't keep receiving the emails from the man-db.cron



    I am using CentOS Linux release 7.1.1503 (Core)










    share|improve this question














    bumped to the homepage by Community 20 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      1












      1








      1


      2






      Everyday I am receiving an email with the following content



      /etc/cron.daily/man-db.cron:
      mandb: can't set the locale; make sure $LC_* and $LANG are correct


      When I check the results of of /etc/locale.conf I see the result is set to



      LANG=en_EN.UTF-8


      When I run the command locale I see the following output



      -sh-4.2$ locale
      LANG=nl_NL.UTF-8
      LC_CTYPE="nl_NL.UTF-8"
      LC_NUMERIC="nl_NL.UTF-8"
      LC_TIME="nl_NL.UTF-8"
      LC_COLLATE="nl_NL.UTF-8"
      LC_MONETARY="nl_NL.UTF-8"
      LC_MESSAGES="nl_NL.UTF-8"
      LC_PAPER="nl_NL.UTF-8"
      LC_NAME="nl_NL.UTF-8"
      LC_ADDRESS="nl_NL.UTF-8"
      LC_TELEPHONE="nl_NL.UTF-8"
      LC_MEASUREMENT="nl_NL.UTF-8"
      LC_IDENTIFICATION="nl_NL.UTF-8"
      LC_ALL=


      Now I see that the LC_ALL is not set but when I set it using the following command



      -sh-4.2$ export LC_ALL=nl_NL.UTF-8


      And then run the command locale again



      LC_ALL=nl_NL.UTF-8


      you will see that it is set but somehow when I go out of ssh and check sometime later I will see again that it is not set and I keep receiving the email.



      My question is how can I solve the locale issue so I don't keep receiving the emails from the man-db.cron



      I am using CentOS Linux release 7.1.1503 (Core)










      share|improve this question














      Everyday I am receiving an email with the following content



      /etc/cron.daily/man-db.cron:
      mandb: can't set the locale; make sure $LC_* and $LANG are correct


      When I check the results of of /etc/locale.conf I see the result is set to



      LANG=en_EN.UTF-8


      When I run the command locale I see the following output



      -sh-4.2$ locale
      LANG=nl_NL.UTF-8
      LC_CTYPE="nl_NL.UTF-8"
      LC_NUMERIC="nl_NL.UTF-8"
      LC_TIME="nl_NL.UTF-8"
      LC_COLLATE="nl_NL.UTF-8"
      LC_MONETARY="nl_NL.UTF-8"
      LC_MESSAGES="nl_NL.UTF-8"
      LC_PAPER="nl_NL.UTF-8"
      LC_NAME="nl_NL.UTF-8"
      LC_ADDRESS="nl_NL.UTF-8"
      LC_TELEPHONE="nl_NL.UTF-8"
      LC_MEASUREMENT="nl_NL.UTF-8"
      LC_IDENTIFICATION="nl_NL.UTF-8"
      LC_ALL=


      Now I see that the LC_ALL is not set but when I set it using the following command



      -sh-4.2$ export LC_ALL=nl_NL.UTF-8


      And then run the command locale again



      LC_ALL=nl_NL.UTF-8


      you will see that it is set but somehow when I go out of ssh and check sometime later I will see again that it is not set and I keep receiving the email.



      My question is how can I solve the locale issue so I don't keep receiving the emails from the man-db.cron



      I am using CentOS Linux release 7.1.1503 (Core)







      linux centos locale






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 6 '16 at 15:01









      DB93DB93

      1062




      1062





      bumped to the homepage by Community 20 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 20 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          In CentOS 7 you can use localectl status command to view the settings of your locale. If it is not set than use :-



          # List locales
          localectl list-locales | grep en_EN

          # set your locale
          localectl set-locale LANG=en_EN.UTF-8

          # also, set your local key map
          localectl set-keymap us
          localectl set-x11-keymap us


          Check your status again :- localectl status






          share|improve this answer


























          • I assume that the command to set the keymap is not locale but also localectl

            – DB93
            Jan 7 '16 at 12:56











          • @DB93 thanks for pointing out. I have edited the answer

            – Siddharth sharma
            Jan 7 '16 at 13:24












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f253636%2fcant-set-the-locale-man-db-cron%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          In CentOS 7 you can use localectl status command to view the settings of your locale. If it is not set than use :-



          # List locales
          localectl list-locales | grep en_EN

          # set your locale
          localectl set-locale LANG=en_EN.UTF-8

          # also, set your local key map
          localectl set-keymap us
          localectl set-x11-keymap us


          Check your status again :- localectl status






          share|improve this answer


























          • I assume that the command to set the keymap is not locale but also localectl

            – DB93
            Jan 7 '16 at 12:56











          • @DB93 thanks for pointing out. I have edited the answer

            – Siddharth sharma
            Jan 7 '16 at 13:24
















          0














          In CentOS 7 you can use localectl status command to view the settings of your locale. If it is not set than use :-



          # List locales
          localectl list-locales | grep en_EN

          # set your locale
          localectl set-locale LANG=en_EN.UTF-8

          # also, set your local key map
          localectl set-keymap us
          localectl set-x11-keymap us


          Check your status again :- localectl status






          share|improve this answer


























          • I assume that the command to set the keymap is not locale but also localectl

            – DB93
            Jan 7 '16 at 12:56











          • @DB93 thanks for pointing out. I have edited the answer

            – Siddharth sharma
            Jan 7 '16 at 13:24














          0












          0








          0







          In CentOS 7 you can use localectl status command to view the settings of your locale. If it is not set than use :-



          # List locales
          localectl list-locales | grep en_EN

          # set your locale
          localectl set-locale LANG=en_EN.UTF-8

          # also, set your local key map
          localectl set-keymap us
          localectl set-x11-keymap us


          Check your status again :- localectl status






          share|improve this answer















          In CentOS 7 you can use localectl status command to view the settings of your locale. If it is not set than use :-



          # List locales
          localectl list-locales | grep en_EN

          # set your locale
          localectl set-locale LANG=en_EN.UTF-8

          # also, set your local key map
          localectl set-keymap us
          localectl set-x11-keymap us


          Check your status again :- localectl status







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jan 7 '16 at 13:23

























          answered Jan 7 '16 at 10:37









          Siddharth sharmaSiddharth sharma

          1214




          1214













          • I assume that the command to set the keymap is not locale but also localectl

            – DB93
            Jan 7 '16 at 12:56











          • @DB93 thanks for pointing out. I have edited the answer

            – Siddharth sharma
            Jan 7 '16 at 13:24



















          • I assume that the command to set the keymap is not locale but also localectl

            – DB93
            Jan 7 '16 at 12:56











          • @DB93 thanks for pointing out. I have edited the answer

            – Siddharth sharma
            Jan 7 '16 at 13:24

















          I assume that the command to set the keymap is not locale but also localectl

          – DB93
          Jan 7 '16 at 12:56





          I assume that the command to set the keymap is not locale but also localectl

          – DB93
          Jan 7 '16 at 12:56













          @DB93 thanks for pointing out. I have edited the answer

          – Siddharth sharma
          Jan 7 '16 at 13:24





          @DB93 thanks for pointing out. I have edited the answer

          – Siddharth sharma
          Jan 7 '16 at 13:24


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f253636%2fcant-set-the-locale-man-db-cron%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

          Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

          Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...