[SOLVED]Locale Problem

Basically everything I open, from mplayer, to gtk apps, to gcc, to makepkg all say the locale was invalid. I set locale=en_Us.UTF-8 in rc.conf. Am I missing something?
Last edited by duke11235 (2010-11-09 05:17:47)

locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale; No such file or directory
LANG=en_US.UTF-8
LC_CTYPE=ja_JP.utf8
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
locale -a
locale: Cannot set LC_CTYPE to default locale; No such file or directory
C
en_US
en_US.iso88591
en_US.utf8
POSIX
So where do I change these invalid locales?

Similar Messages

  • Hi all, I've got very unpleasant  issue with my iPhone 4s on ios 5.1 - it can automatically turn on the 3G even if my local operator does not have the 3g coverage. What I should do to solve this problem? (p.s. even want to jail it!!!))

    Hi!
    I've got very unpleasant issue with my IPhone 4s, it can automaticaly turn on the 3G even if my local mobile operator does not have 3G coverage.
    I hate it, 'cause my battery dies in a couple of hours. How can I solve this problem. It is very annoying. I just thinking about jailing!!!
    Thanks in advance.

    There are NO carriers that legitimately offer the iPhone in Ukraine according to this list: http://support.apple.com/kb/ht1937
    I'm not talking about carriers that support 3G, I'm talking about AUTHORIZED iPhone carriers. There is NO SUPPORT available for iPhones on networks other than those who are authorized BY APPLE to carry the iPhone.
    The iPhone should work with any compatible GSM carrier. If your carrier is not on the list I linked to, you will have to work with them to resolve any problems. There is nothing else anyone can do for you.

  • I brought iphone 5s to local i centre in Armenia, they opened the phone and said that they can't solve the problem, is it possible to send it to US for repair ?

    I brought iphone 5s to local i centre in Armenia, they opened the phone and said that they can't solve the problem, is it possible to send it to US for repair ?

    If some unauthorized shop opened the iPhone and attempted a repair, then Apple will no longer touch the iPhone. If they didn't attempt repairs, then Apple might be willing to service it, but only in the country in which the iPhone was originally sold. If that was in the US, then you will need to take the iPhone there yourself, or you will need to send the iPhone to someone you know in the US who can take or send it to Apple for service and then send it back to you. Apple will not accept shipments from outside the country.
    Regards.

  • [SOLVED] Btsync: problems acccessing (locally) shares folders.

    I have a locally shared folder for all users whose access rights are loosened completely to manuel:manuel (was root:users) and rwxrwxrwx (was rwxrws--T).`btsync` runs as user (manuel). However btsync still reports missing write access, folders in /home/manuel work fine though. Is there a linux acces thing that I did not respect, or is this a btsync bug (or misconfigurations)?
    ;) .:[root@b85i ]:. /home # ll
    drwxrwxrwx 4 manuel manuel 4096 18. Mär 16:00 users
    Regards
    Last edited by manuelschneid3r (2015-03-18 15:41:43)

    Well thats an misleading error but setting the initial folder to /home in btsync.conf solved the problem.
    Last edited by manuelschneid3r (2015-03-18 15:42:08)

  • THE ONE WHO SOLVES THIS PROBLEM IS GREAT!

    I'm serious. I am so fed up I am with this problem. Ground rules: you must NOT just give me code. I need to be able to know why my problem is happening, and how to fix it myself. I'm a grad student and am bound by a code of conduct. I don't have any more time to spend investigating this. It could be something simple or complex...I am at a loss.
    Here is the situation: I'm developing this console java application on my Windows PC. When I run it on my pc, it runs in under a minute. However, when I transfer my program to the servers at my school (sun unix workstations) it takes a ridiculous amount of time to run the same program. I am told that 80% of the students in my class have their programs running in less than 5 minutes. Almost all of them didn't have to do any kind of optimizations. They just wrote it, and it worked. My program is averaging 10-15 min, but my prof runs it locally at school, and says it takes 40 min!
    The entire program is posted below. Please forgive me for not commenting so great. They were better at first, but when I started moving things around and changing everything, I threw comments out the window. Still, the existing comments should be helpful in understanding what I'm doing. NOTE: Below the code is the DTD that all the .xml files I'm parsing conforms to. Here are a few links to .xml files that represent part of the dataset. The actual dataset consists of 40 files totaling 30MB.
    http://www.geocities.com/c_t_r_11/items-1.xml
    http://www.geocities.com/c_t_r_11/items-10.xml
    http://www.geocities.com/c_t_r_11/items-20.xml
    the dtd is at:
    http://www.geocities.com/c_t_r_11/itemsdtd.txt
    And here is the code:
    /* Instructions:
    This program processes all files passed on the command line (to parse
    an entire diectory, type "java MyParser myFiles/*.xml" at the shell).
    At the point noted below, an individual XML file has been parsed into a
    DOM Document node. You should fill in code to process the node. Java's
    interface for the Document Object Model (DOM) is in package
    org.w3c.dom. The documentation is available online at
    http://java.sun.com/j2se/1.4/docs/api/index.html
    A tutorial of DOM can be found at:
    http://java.sun.com/webservices/docs/ea2/tutorial/doc/JAXPDOM.html#67581
    Some auxiliary methods have been written for you. You may find them
    useful.
    Modified by:
    Will
    import java.io.*;
    import java.text.*;
    import java.util.*;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.FactoryConfigurationError;
    import javax.xml.parsers.ParserConfigurationException;
    import org.w3c.dom.*;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import org.xml.sax.ErrorHandler;
    class MyParser{
        static DocumentBuilder builder;
        static final String[] typeName = {
            "none",
            "Element",
            "Attr",
            "Text",
            "CDATA",
            "EntityRef",
            "Entity",
            "ProcInstr",
            "Comment",
            "Document",
            "DocType",
            "DocFragment",
            "Notation",
        static final String[] itemTags = {
            "Number_of_Bids",
            "Started",
            "Ends"
        static class MyErrorHandler implements ErrorHandler {
            public void warning(SAXParseException exception)
                    throws SAXException {
                fatalError(exception);
            public void error(SAXParseException exception)
                    throws SAXException {
                fatalError(exception);
            public void fatalError(SAXParseException exception)
                    throws SAXException {
                exception.printStackTrace();
                System.out.println("There should be no errors " +
                        "in the supplied XML files.");
                System.exit(3);
        /* Non-recursive (NR) version of Node.getElementsByTagName(...) */
        static Element[] getElementsByTagNameNR(Element e, String tagName) {
            Vector elements = new Vector();
            Node child = e.getFirstChild();
            while (child != null) {
                if (child instanceof Element && child.getNodeName().equals(tagName))
                    elements.add(child);
                child = child.getNextSibling();
            Element[] result = new Element[elements.size()];
            elements.copyInto(result);
            return result;
        /* Returns the first subelement of e matching the given tagName, or
        * null if one does not exist. */
        static Element getElementByTagNameNR(Element e, String tagName) {
            Node child = e.getFirstChild();
            while (child != null) {
                if (child instanceof Element && child.getNodeName().equals(tagName))
                    return (Element) child;
                child = child.getNextSibling();
            return null;
        /* Returns the text associated with the given element (which must have
        * type #PCDATA) as child, or "" if it contains no text. */
        static String getElementText(Element e) {
            if (e.getChildNodes().getLength() == 1) {
                Text elementText = (Text) e.getFirstChild();
                return elementText.getNodeValue();
            else
                return "";
        /* Returns the text (#PCDATA) associated with the first subelement X
        * of e with the given tagName. If no such X exists or X contains no
        * text, "" is returned. */
        static String getElementTextByTagNameNR(Element e, String tagName) {
            Element elem = getElementByTagNameNR(e, tagName);
            if (elem != null)
                return getElementText(elem);
            else
                return "";
        /* Returns the amount (in XXXXX.xx format) denoted by a money-string
        * like $3,453.23. Returns the input if the input is an empty string. */
        static String strip(String money) {
            if (money.equals(""))
                return money;
            else {
                double am = 0.0;
                NumberFormat nf = NumberFormat.getCurrencyInstance(Locale.US);
                try { am = nf.parse(money).doubleValue(); }
                catch (ParseException e) {
                    System.out.println("This method should work for all " +
                            "money values you find in our data.");
                    System.exit(20);
                nf.setGroupingUsed(false);
                return nf.format(am).substring(1);
        /* Process one items-???.xml file. */
        static void processFile(File xmlFile) {
            Document doc = null;
            try {
                doc = builder.parse(xmlFile);
            catch (IOException e) {
                e.printStackTrace();
                System.exit(3);
            catch (SAXException e) {
                System.out.println("Parsing error on file " + xmlFile);
                System.out.println("  (not supposed to happen with supplied XML files)");
                e.printStackTrace();
                System.exit(3);
            /* At this point 'doc' contains a DOM representation of an 'Items' XML
            * file. Use doc.getDocumentElement() to get the root Element. */
            System.out.println("Successfully parsed - " + xmlFile);
            /*Open the output files for each relation****************************/
            PrintWriter itemsFile = null, usersFile = null,
                    bidsFile = null, categoriesFile = null;
            /*Open files for writing each of the txt files******************/
            try{
                itemsFile = new PrintWriter(new BufferedOutputStream(new FileOutputStream("Items.dat", true)), true);
                usersFile = new PrintWriter(new BufferedOutputStream(new FileOutputStream("Users.dat", true)), true);
                bidsFile = new PrintWriter(new BufferedOutputStream(new FileOutputStream("Bids.dat", true)), true);
                categoriesFile = new PrintWriter(new BufferedOutputStream(new FileOutputStream("Categories.dat", true)), true);
            }catch(FileNotFoundException e){
                System.out.println("Error trying to open an output file: " + e.getMessage());
                System.exit(0);
            /*Parse content for each relation in turn********************/
            //Write to the Items.txt file
            NodeList itemNodes = doc.getDocumentElement().getElementsByTagName("Item");
            final String colSep = "|#|";
            String itemID = null;
            Element[] categories = null;
            NodeList bids = null;
            NodeList eBid = null;
            NodeList bidders = null;
            Element tempElement = null;
            Element itemElement = null;
            Element thisBid = null;
            String description = new String();
            for(int i=0; i<itemNodes.getLength(); i++){
                //Get the item Element for this iteration
                itemElement = (Element)itemNodes.item(i);
                /*Write out ItemID**************************************/
                itemID = itemElement.getAttribute("ItemID");
                itemsFile.print(itemID);
                itemsFile.print(colSep);
                /*Write out Name****************************************/
                itemsFile.print(getElementTextByTagNameNR(itemElement, "Name"));
                itemsFile.print(colSep);
                /*Write out the Currently element***********************/
                itemsFile.print(strip(getElementTextByTagNameNR(itemElement, "Currently")));
                itemsFile.print(colSep);
                /*Write out the Buy_Price element, if it exists*********/
                Element checkNode = null;
                if( (checkNode = getElementByTagNameNR(itemElement, "Buy_Price")) != null){
                    itemsFile.print(strip(checkNode.getFirstChild().getNodeValue()));
                itemsFile.print(colSep);
                /*Add the First_Bid element*****************************/
                itemsFile.print(strip(getElementTextByTagNameNR(itemElement, "First_Bid")));
                itemsFile.print(colSep);
                /*Now iterate over the next three elements, adding them in turn*/
                for(int j=0; j<itemTags.length;j++){
                    itemsFile.print(getElementTextByTagNameNR(itemElement, itemTags[j]));
                    itemsFile.print(colSep);
                /*Add the SellerID**************************************/
                itemsFile.print(getElementByTagNameNR(itemElement, "Seller").getAttribute("UserID")
                        + colSep);
                /*Finally, add the description.  Truncate, if necessary*/
                description = getElementTextByTagNameNR(itemElement, "Description");
                itemsFile.print(description.substring(0, Math.min(4000, description.length())));
                itemsFile.print(colSep);
                itemsFile.println();
                /*Locate all of the Categories******************************/
                categories = getElementsByTagNameNR(itemElement, "Category");
                /*For every category in this item, write a ItemID-Category pair*/
                for(int j=0; j<categories.length; j++){
                    categoriesFile.print(itemID + colSep);
                    categoriesFile.print(categories[j].getFirstChild().getNodeValue());
                    categoriesFile.println(colSep);
                if( (bids = itemElement.getElementsByTagName("Bid")) != null){
                    /*Go through the bids, writing the info***********/
                    for(int j=0; j<bids.getLength(); j++){
                        thisBid = (Element)bids.item(j);
                        bidsFile.print(getElementByTagNameNR(thisBid, "Bidder").getAttribute("UserID"));
                        bidsFile.print(colSep);
                        bidsFile.print(itemID);
                        bidsFile.print(colSep);
                        bidsFile.print(getElementTextByTagNameNR(thisBid, "Time"));
                        bidsFile.print(colSep);
                        bidsFile.print(strip(getElementTextByTagNameNR(thisBid, "Amount")));
                        bidsFile.println(colSep);
                /*write out userid and rating from any and all bidder nodes*/
                if( (bidders = itemElement.getElementsByTagName("Bidder")) != null){
                    for(int j=0; j<bidders.getLength(); j++){
                        usersFile.print(bidders.item(j).getAttributes().getNamedItem("UserID").getNodeValue());
                        usersFile.print(colSep);
                        usersFile.print(bidders.item(j).getAttributes().getNamedItem("Rating").getNodeValue());
                        usersFile.print(colSep);
                        //If there's a location node, write it
                        if( getElementByTagNameNR((Element)bidders.item(j), "Location") != null){
                            usersFile.print(getElementTextByTagNameNR((Element)bidders.item(j), "Location"));
                        usersFile.print(colSep);
                        //If there's a country node, write it
                        if( getElementByTagNameNR((Element)bidders.item(j), "Country") != null){
                            usersFile.print(getElementTextByTagNameNR((Element)bidders.item(j), "Country"));
                        usersFile.println(colSep);
                /*Now write out the Seller information*******************/
                usersFile.print(getElementByTagNameNR(itemElement, "Seller").getAttribute("UserID"));
                usersFile.print(colSep);
                usersFile.print(getElementByTagNameNR(itemElement, "Seller").getAttribute("Rating"));
                usersFile.print(colSep);
                usersFile.print(getElementTextByTagNameNR(itemElement, "Location"));
                usersFile.print(colSep);
                usersFile.print(getElementTextByTagNameNR(itemElement, "Country"));
                usersFile.println(colSep);
            itemsFile.close();
            usersFile.close();
            bidsFile.close();
            categoriesFile.close();
        public static void main (String[] args) {
            if (args.length == 0) {
                System.out.println("Usage: java MyParser [file] [file] ...");
                System.exit(1);
    /* Initialize parser. */
            try {
                DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                factory.setValidating(true);
                factory.setIgnoringElementContentWhitespace(true);
                builder = factory.newDocumentBuilder();
                builder.setErrorHandler(new MyErrorHandler());
            catch (FactoryConfigurationError e) {
                System.out.println("unable to get a document builder factory");
                System.exit(2);
            catch (ParserConfigurationException e) {
                System.out.println("parser was unable to be configured");
                System.exit(2);
    /* Process all files listed on command line. */
            for (int i = 0; i < args.length; i++) {
                File currentFile = new File(args);
    processFile(currentFile);
    REMEMBER: Please do not just post the correct code. This will violate my code of conduct. I need tutoring--consultation.

    If I was trying to get someone else to do my work,
    I wouldn't be posting this saying what I have said
    would I? I'm not unwilling to do the work myself.From what was stated in your OP, it seemed that you
    were.I'm sorry if it seemed that way. I don't want something for nothing. I've spent MANY hours, which I don't have, trying to work this out. I have hit a point where I don't think my expertise is going to solve the problem. That's why I've turned to some experts who might say something along the lines of, "Hey, I know what that is...you're compiling against... and on the Unix box, it's compiling against..." I was NOT looking for something like, "See the code below that fixes your problem."
    The only problem is that I don't have direct access
    to the sun unix machines I'm running the app on,
    so I can't run a profiler on it. Ah, okay. So the only knowledge you have of how it
    performs on those machines is from your instructor
    running it and then telling you how long it took?No. I can SSH into the servers and run the program from a command line. But I wouldn't be able to install any profiler programs.
    You could ask your prof to run it with -Xprof or
    -Xhprof or whatever. Or you could put in a bunch of
    timing statements to get a rough idea of which parts
    are making it take that extra 39 minute or whatever.is -Xprof a java command line option? If so, I will look into doing that. Maybe it's available on the machines at school. Thanks for that input.

  • How to solve this problem - Urgent

    Hi All,
      I have a BDC program that will call transaction "MB1B" using CALL TRANSACTION to post a material document for a reservation. Then immediately after that the program calls another transaction "LT12" which will confirm the TR.
      The problem is when the material document is posted (MB1B) the number is reflected in MKPF/MSEG. The same MSEG has the LGNUM-Warehouse Number / Warehouse Complex, TBNUM-Transfer Requirement Number which is generated when a material document is created. I use these field values to get the TO(transfer out) from LTBP and LTAP. But the records are not found in these tables.
      I have identified that the numbers are not generated in such a way that the read on those tables LTBP and LTAP is immediate.
      If i put a break point before the selects on LTBP and LTAP and make the sytem to wait for some time it works properly. But i can't predict the wait time.
      How can i solve this problem?. I have aslo tried posting the material document using BAPI_GOODSMVMT_CREATE.
    Thakx in advance,
    arul jothi

    HI Arul, Here is the help document on Local Updates.
    In a local update, the update program is run by the same work process that processed the request. The dialog user has to wait for the update to finish before entering further data. This kind of update is useful when you want to reduce the amount of access to the database. The disadvantage of local updates is their parallel nature. The updates can be processed by many different work processes, unlike asynchronous or synchronous update, where the update is serialized due to the fact that there are fewer update work processes (and maybe only one).
    You switch to local update using the ABAP statement SET UPDATE TASK LOCAL. This statement sets a "local update switch". When it is set, the system interprets CALL FUNCTION IN UPDATE TASK as a request for local update. The update is processed in the same work process as the dialog step containing the COMMIT WORK. The transaction waits for the update to finish before continuing.
    As an example, suppose you have a program that uses asynchronous update that you normally run in dialog mode. However, this time you want to run it in the background. Since the system response time is irrelevant when you are running the program in the background, and you only want the program to continue processing when the update has actually finished, you can set the SET UPDATE TASK LOCAL switch in the program. You can then use a system variable to check at runtime whether the program is currently running in the background.
    By default, the local update switch is not set, and it is reset after each COMMIT WORK or ROLLBACK WORK. You therefore need to include a SET UPDATE TASK LOCAL statement at the beginning of each SAP LUW.
    If you reset data within the local update, the ROLLBACK WORK statement applies to both the dialog and the update part of the transaction, since no new SAP LUW is started for the update.
    Regards,
    Ravi

  • I have a for loop inside of while loop.when i press stop for while loop, i also would like to stop for loop.how can i solve this problem?thanks

    i have a for loop inside of while loop.when i press stop for while loop, i also would like to stop for loop.how can i solve this problem?thanks

    Hi fais,
    Following through with what JB suggested. The steps involved in replacing the inner for loop with a while loop are outlined below.
    You can replace the inner for loop with a while by doing the following.
    1) Right-click of the for loop and select "Repalce" then navigate to the "while loop".
    2) Make sure the tunnels you where indexing on with the for loop are still indexing.
    3) Drop an "array size" node on your diagram. Wire the array that determines the number of iterations your for loop executes into this "array size".
    4) Wire the output of the array size into the new while loop.
    5) Set the condition terminal to "stop if true".
    6)Drop an "OR" gate inside the while loop and wire its output to the while loops condition terminal.
    7) C
    reate a local of the boolean "stop" button, and wire it into one of the inputs of your OR gate. This will allow you to stop the inner loop.
    8) Drop a "less than" node inside the inner while loop.
    9) Wire your iteration count into the bottom input of the "less than".
    10) Wire the count (see step 4 above) into the top input of the less than. This will stop the inner loop when ever the inner loop has processed the last element of your array.
    Provided I have not mixed up my tops and bottoms this should accomplish the replacement.
    I will let others explain how to takle this task using the "case solution".
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • [Solved] Locales missing

    Hi,
    I'm having a problem with my Arch installation. Last time I tried to boot it it got stuck on the console login (X wouldn't start). After a lot of debugging it appeared something was wrong with the kernel. I reinstalled it and the laptop booted fine. But now it also seems something is wrong with the locales. For example I have some special characters in my PS1, and these fail now (in KDEs Konsole). Trying to list all the locales using locale -a (both as normal user and as root) it yields these errors:
    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
    There are also a lot of other errors, for example bash' tab completion gives these errors:
    warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8)
    bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8)
    bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8)
    bash: warning: setlocale: LC_CTYPE: cannot change locale (en_US.UTF-8)
    Using less on a UTF8 file says it's a binary file and askes if I'm sure I want to open it et cetera.
    I already ran locale-gen, but this doesn't seem to solve the problem, I also reinstalled glibc (which is the owner of both locale and locale-gen) and ran locale-gen again (which is something I think already happens in a post upgrade script), but this doesn't solve the problem either.
    Does anyone have an idea how to solve this problem?
    Thanks in advance
    Last edited by RobertMe (2011-09-13 18:17:35)

    Problem solved. The en_US.UTF-8 line in /etc/locale.gen was commented. I probably overwrote my own file with a .pacnew after an update without properly checking the differences between the original file and my own file.

  • VISTA & WIRELESS : HOW TO SOLVE LOCAL ACCESS ONLY?

    Thank you for your reading and possible answer(s),
    UNABLE TO GET "LOCAL AND INTERNET ACCESS" UNDER VISTA, WHILE IT WAS POSSIBLE UNDER XP
    I used to get connected "home-like" with XP to a "secondary wireless router" (SSID: Wlancomtrend - no authentication needed, no work group, signal strength: Excellent), which gets the internet signal from a "main wireless router", plugged to the DSL line (SSID: Wireless - no authenticatin needed, no work group, signal strength: Good / Low).
    I am not the administrator of these routers. I used to get DNS automatically under TCPIP properties.
    VISTA DOESN'T LET ME ACCESS THE INTERNET, THOUGH I MANAGE TO CONNECT TO THE SAME ROUTER
    It says: "Access: local only"; and under Network and sharing center it says "unidentified network". I gess I'm a bit unfamiliar with this OS and do not master all its settings. I also marked off security essentials like Firewall under Windows security center, to prevent any possible internet access blocking. My laptop power plan is also set to "High performance".
    - I suspect my ID network is not well configured. Under System properties (right click on the "My computer icon") > Computer name > network ID > Join a Domain or Workgroup: I'm trying to keep the "This is a home computer" setting, but it goes back to "This computer is part of a business network" all the time, even after reboot. How to fix this, by the way?
    - Under Network and Sharing center > Customize the current connection > location type > i set it to "public".
    Other factors maybe irrelevant: / Sharing discovery > Network discovery: "On" / > file sharing: "On".
    I get DNS automatically under TCPIP properties (as with XP).
    A couple of days ago, VISTA managed to get internet with the "main wireless router" (SSID: Wireless - no authentication needed, signal strength: Good / Low). I just tried to set ID network to "This is a home computer" and rebooted. Under the network window, I also tried to tick a network location or workgroup. This may not be important, though.
    I STILL JUST GET LOCAL ACCESS ONLY WITH MY WIRELESS CONNECTION UNDER VISTA
    Any help? Molta mercé / Many thanks
    Also tried:
    - Automatically Detect Settings checked in internet options
    - Obtain an IP address automatically under TCPIP properties
    - Enable DHCP
    - Disable User Account Control in Security Center
    - Disable most of the Vista security stuff
    - Remove and set up all connections
    - IPv6 off
    - etc.
    Google Occitan www.google.com/intl/oc/ | http://www.eurominority.org/documents/cartes/occitania.gif

    Well, I have been thoroughly frustrated by this networking problem in Vista.  What is so INSIDIOUS about it, is that it can happen spontaneously/periodically.  When it first started happening, I could go for hours with
    no problems.  And then all of the sudden, it's "LOCAL ACCESS ONLY."   I'd even lose my Internet connection completely, but then it would come back momentarily.  Lately though, the problem got worse.  It would happen every 5-10 minutes.
    What really drove me nuts originally is that I had set up a new wireless router: a TP-Link TL-WR941N.  Very nice and powerful.  It can reach up 3 stories in a multi-story home.  I have my computer up on the 3rd floor.  My Internet
    connection was no problem... for MONTHS.  And then, all of the sudden, this "LOCAL ACCESS ONLY" problem started cropping up.  My network connection would change to this, then after a few moments, go back to "LOCAL AND INTERNET".
     I figured it was some kind of "momentary atmospheric problem".  But no.  It continued on, for days and days after it had started.  Why?  Why would this start happening when nothing else had changed?
    Ah, but that's where I was amiss.  You see, Vista gets updated frequently by the powers that be at Microsoft.  And who knows what things they really do?  You don't get a full report.  You just keep getting "important security updates".
     Well, I suspect that at some point, they introduced some changes which affect the networking capability of Vista.  And so, since that point, you'll have periodic problems as I have.
    Microsoft is so focused on Windows-7, that they really can't be bothered with Vista.  AND... I really wonder if they leave defects like this around to give incentive for people to upgrade to Windows-7.  I wouldn't put it past them.
    Well, the main thing is that each person's situation is different.  Some people have 3rd party software that is tripping it up (like Norton or McAfee).  I think a lot of the problem depends upon the type of wireless router you're connected with
    and the type of network (e.g. G vs. N).  So that's why some fixes proposed solve the problem while others do nothing.
    If you try any settings changes, I strongly recommend that you do them one at a time.  Also, keep note of what you've applied.  It is important to be able to roll back those changes if need be.
    So, this was the first friendly user tip that helped me:
    Over the course of several days, I made only one change at a time, then waited to see if the failure occurred again.  I'm an IT networking professional so I based my decisions on my familiarity with network protocols, impact, risk, ease of
    implementation and fallback positions.
    These are the steps I took:
    1.  Installed Teracopy, which takes over the file copying function of Windows.
    http://www.codesector.com/teracopy.php
    2. Disabled IPv6 (Control Panel -> Network Connections -> <your connection> -> Properties)
    3.  Disabled Link Layer Topology Discovery Mapper and Responder (Control Panel -> Network Connections -> <your connection> -> Properties)
    4. Set Power settings to high performance (Control Panel -> Power Options) and disabled the screensaver (Control Panel -> Personalization -> Screen Saver)
    5. Reduced my Linksys router's MTU to 1480 (although I doubt this was part of the solution)
    6. Enabled ECN with the following command "netsh interface tcp set global ecncapability=enabled" from command line (Start -> cmd)
    http://technet.microsoft.com/en-us/library/bb726965.aspx
    Possibly step 6 is all you really need to do.  Please post if this works for you.
    Well, I figured I'd give step #6 a shot.  Why not?  There are a few other command line settings recommended, but I decided to try it alone first:
              netsh interface tcp set global ecncapability=enabled
    At first, this seemed to be the only thing I needed to do.  My "LOCAL ACCESS ONLY" problem seemed to stop happening, observed over a 20 minute period.  It happened again for a moment, but then Internet Access returned right away.  I thought
    the problem was solved... But then "LOCAL ACCESS ONLY" came back and stayed.  I had to run these commands as well:
              netsh interface tcp set global autotuninglevel=disabled
              netsh interface tcp set global rss=disabled
    This WORKED!  I seem to sustain my Internet connection for much longer periods.  LOCAL ACCESS ONLY does pop up sometimes, but it is very brief.  I think it's something to do with my router going into "sleep mode" on the
    connection.  If I try to make a connection to a website, it comes back to life and I have Internet Access again.
    LASTLY...
    There is one other thing I want to mention, in case someone else reading this has the same problem.
    One day after a severe storm that caused a power outage, I started getting "LOCAL ACCESS ONLY."  The wireless router was there and I'd connect to it, but no Internet.  I connected directly to it, hardwired, and STILL had the same problem.  I
    rebooted the router, the cable modem, you name it.  Same problem.  Being directly connected to the cable modem was fine.  Did my router get fried from a power surge during the storm?  It seemed perfectly fine in all other respects.  I
    eventually contacted the TP-LINK customer support.  I learned something new...  the problem was with the IP ADDRESS of the router conflicting with the cable modem.
    By default, your wireless router will take IP address 192.168.1.1.  In some cases, this will be a problem if the cable modem is taking the same IP address
    and is finicky about the address of the wireless router.  It was fine for almost 6 months... why did it become a problem all of the sudden?  Bizarre.  Suspicion was that the ISP changed some things (they remotely reprogram
    the modems from time to time, you know).  The solution?  Give the wireless router a different address (e.g. 192.168.2.1).  It worked!  I was able to get Internet access after that.  Worked fine for several months,
    too...  until I started getting that periodic "LOCAL ACCESS ONLY" again.  But the solution above seems to have addressed it.
    Good luck to those having problems.  I sure wish Microsoft would be more dedicated to its customer base.  But thankfully we've got forums like this which bring people together to help solve each others problems.  :-)

  • [SOLVED] [no] Problem [at all] with NTFS after switch to systemd

    Hi.
    I've recently switched to systemd (thanks for this great Wiki page!). All is right except automount of NFTS partions. In old config, I don't have any entry in fstab, but there is a rule for udev:
    KERNEL!="sd[a-z][0-9]", GOTO="media_by_label_auto_mount_end"
    # Import FS infos
    IMPORT{program}="/sbin/blkid -o udev -p %N"
    # Get a label if present, otherwise specify one
    ENV{ID_FS_LABEL}!="", ENV{dir_name}="%E{ID_FS_LABEL}"
    ENV{ID_FS_LABEL}=="", ENV{dir_name}="usbhd-%k"
    # Global mount options
    ACTION=="add", ENV{mount_options}="relatime"
    # Filesystem-specific mount options
    #ACTION=="add", ENV{ID_FS_TYPE}=="vfat|ntfs", ENV{mount_options}="$env{mount_options},utf8,gid=100,umask=002"
    ACTION=="add", ENV{ID_FS_TYPE}=="vfat|ntfs", ENV{mount_options}="$env{mount_options},utf8,gid=100,uid=fran,umask=000"
    # Mount the device
    #ACTION=="add", RUN+="/bin/mkdir -p /media/%E{dir_name}", RUN+="/bin/mount -o $env{mount_options} /dev/%k /media/%E{dir_name}"
    ACTION=="add", RUN+="/bin/mkdir -p /media/%E{dir_name}", RUN+="/bin/mount -t ntfs-3g -o $env{mount_options} /dev/%k /media/%E{dir_name}"
    # Clean up after removal
    ACTION=="remove", ENV{dir_name}!="", RUN+="/bin/umount -l /media/%E{dir_name}", RUN+="/bin/rmdir /media/%E{dir_name}"
    # Exit
    LABEL="media_by_label_auto_mount_end"
    I think this rule should work with systemd. It seems to work, because:
    [root@HermesT rules.d]# systemctl list-units | grep 'media'
    media-Almacen.mount loaded active mounted /media/Almacen
    media-COMPAQ.mount loaded active mounted /media/COMPAQ
    media-SYSTEM.mount loaded active mounted /media/SYSTEM
    But:
    [root@HermesT media]# ls
    ls: cannot access COMPAQ: Transport endpoint is not connected
    ls: cannot access Almacen: Transport endpoint is not connected
    ls: cannot access SYSTEM: Transport endpoint is not connected
    Almacen COMPAQ MIO SYSTEM almacen hdusb usbhd-sda3 usbhd-sda4 usbhd-sdb1 usbhd-sdb2 usbhd-sdb5 usbhd-sdb6 usbhd-sdc1 usbhd-sdc2 usbhd-sdc5 usbhd-sdc6
    ¿some ideas?
    Thanks.
    Last edited by HermesT (2012-10-27 20:20:41)

    Thanks aking9:
    It seems there is no difference whether  fstab entry (a very old one, comented a long time ago) is active or not. None of both below helps to solve it.
    /dev/sda5 /media/Almacen ntfs-3g defaults,users,umask=002 0 0
    #/dev/sda5 /media/Almacen ntfs-3g defaults,users,locale=es_ES.UTF-8,umask=002 0 0
    Despite of great work done by Arch team, systemd is an "esoteric" world for me.
    Where can I now configure such thing?
    Added:
    journalctl log for ntfs-3g.
    First, fstab with locale (deprecated?). Second fstab with nls. Third, no fstab entry:
    Oct 26 18:30:04 HermesT ntfs-3g[700]: Unmounting /dev/sda5 (Almacen)
    Oct 26 18:30:31 HermesT ntfs-3g[225]: Version 2012.1.15 external FUSE 29
    Oct 26 18:30:31 HermesT ntfs-3g[225]: Mounted /dev/sda5 (Read-Write, label "Almacen", NTFS 3.1)
    Oct 26 18:30:31 HermesT ntfs-3g[225]: Cmdline options: rw,noexec,nosuid,nodev,locale=es_ES.UTF-8,umask=002,users
    Oct 26 18:30:31 HermesT ntfs-3g[225]: Mount options: rw,noexec,nosuid,nodev,users,allow_other,nonempty,relatime,fsname=/dev/sda5,blkdev,blksize=4096,default_permissions
    Oct 26 18:30:31 HermesT ntfs-3g[225]: Global ownership and permissions enforced, configuration type 7
    Oct 26 19:10:41 HermesT ntfs-3g[225]: Unmounting /dev/sda5 (Almacen)
    Oct 26 19:57:45 HermesT ntfs-3g[229]: [101B blob data]
    Oct 26 20:06:53 HermesT ntfs-3g[229]: Unmounting /dev/sda5 (Almacen)
    Oct 26 20:07:15 HermesT ntfs-3g[279]: Version 2012.1.15 external FUSE 29
    Oct 26 20:07:15 HermesT ntfs-3g[279]: Mounted /dev/sda5 (Read-Write, label "Almacen", NTFS 3.1)
    Oct 26 20:07:15 HermesT ntfs-3g[279]: Cmdline options: rw,noexec,nosuid,nodev,nls=utf8,umask=002,users
    Oct 26 20:07:15 HermesT ntfs-3g[279]: Mount options: rw,noexec,nosuid,nodev,nls=utf8,users,allow_other,nonempty,relatime,fsname=/dev/sda5,blkdev,blksize=4096,default_permissions
    Oct 26 20:07:15 HermesT ntfs-3g[279]: Global ownership and permissions enforced, configuration type 7
    Oct 26 20:08:37 HermesT ntfs-3g[279]: [101B blob data]
    Oct 26 20:24:30 HermesT ntfs-3g[279]: Unmounting /dev/sda5 (Almacen)
    Oct 26 20:26:05 HermesT ntfs-3g[795]: Version 2012.1.15 external FUSE 29
    Oct 26 20:26:05 HermesT ntfs-3g[795]: Mounted /dev/sda5 (Read-Write, label "Almacen", NTFS 3.1)
    Oct 26 20:26:05 HermesT ntfs-3g[795]: Cmdline options: rw,nodev,nosuid,uid=1002,gid=100,dmask=0077,fmask=0177,uhelper=udisks
    Oct 26 20:26:05 HermesT ntfs-3g[795]: Mount options: rw,nodev,nosuid,uhelper=udisks,allow_other,nonempty,relatime,fsname=/dev/sda5,blkdev,blksize=4096,default_permissions
    Oct 26 20:26:05 HermesT ntfs-3g[795]: Global ownership and permissions enforced, configuration type 7
    None of them solved the problem.
    Last edited by HermesT (2012-10-26 18:58:02)

  • How can I access the iphoto library using windows pc? Upgrading to aperture solves my problem?

    How can I access the iphoto library using windows pc? Upgrading to aperture solves my problem?
    My home network is used both by my macbook and my wife's windows pc. Considering that, I would like to know if we can share our pictures with each other (specially because I intend to store all of them into a NAS storage - WD My Cloud, probably).

    No you can not - neither iPhoto nor Aperture has any cross platform capability
    You can share photos with the PC using MyPhotoStream or Shared PhotoStreames
    You can not share the iPhoto library
    And you can not put the iPHoto library on a NAS - it MUST always be on a volume formatted Mac OS extended (journaled) and mube on a fast wired local connection - it can not be on a Network
    There are Digital Asset Managers that can do what you want - iPhoto and Aperture can not
    LN

  • About locale problem Plz help me

    Who knows how solve this problem?
    which file to edit can solve??
    Help~~
    thanks...........
    Last edited by zqyking (2010-05-19 17:11:31)

    the root home dir is:
    [root@maschine ~]# ls -al
    total 784
    drwxr-x--- 20 root root 4096 May 20 02:02 .
    drwxr-xr-x 21 root root 4096 May 19 04:15 ..
    -rw------- 1 root root 151 May 20 00:32 .Xauthority
    drwx------ 3 root root 4096 May 19 15:44 .adobe
    -rw------- 1 root root 5198 May 20 01:45 .bash_history
    drwxr-xr-x 3 root root 4096 May 19 15:22 .cache
    drwxr-xr-x 6 root root 4096 May 19 20:09 .config
    drwx------ 3 root root 4096 May 19 14:35 .dbus
    -rw------- 1 root root 26 May 19 14:35 .dmrc
    drwxr-xr-x 3 root root 4096 May 19 14:04 .emacs.d
    drwx------ 3 root root 4096 May 20 00:32 .gconf
    drwx------ 2 root root 4096 May 20 01:44 .gconfd
    drwx------ 3 root root 4096 May 19 20:54 .gftp
    drwx------ 3 root root 4096 May 19 14:35 .gnupg
    drwxr-xr-x 2 root root 4096 May 19 14:35 .gstreamer-0.10
    drwx------ 6 root root 4096 May 19 14:46 .kde4
    drwxr-xr-x 3 root root 4096 May 19 14:35 .local
    drwx------ 3 root root 4096 May 19 15:44 .macromedia
    drwx------ 4 root root 4096 May 19 15:24 .mozilla
    drwxr-xr-x 2 root root 4096 May 19 20:09 .mplayer
    drwx------ 4 root root 4096 May 19 21:08 .thumbnails
    -rw------- 1 root root 602382 May 20 02:08 .xsession-errors
    drwxr-xr-x 2 root root 4096 May 19 15:25 Desktop
    drwxr-xr-x 2 root root 4096 May 19 17:52 down
    -rw-r--r-- 1 root root 42136 May 20 00:44 erro.png
    -rwxr-xr-x 1 root root 7288 May 19 16:41 name
    -rw-r--r-- 1 root root 435 May 19 16:40 name.c
    -rw-r--r-- 1 root root 66 May 19 16:33 name.pl
    -rw-r--r-- 1 root root 66 May 19 16:31 name.py
    and flow the bash --verbose:
    [root@maschine ~]# bash --verbose
    # /etc/bash.bashrc
    # This file is the systemwide bashrc file. While most of the
    # environment is preserved when running an interactive shell
    # the PS[1-4] variables, aliases and functions are reset.
    # When running a non-login shell, apply the following settings:
    # - Prompt defaults (PS[1-4], PROMPT_COMMAND)
    # - bash_completion if it exists
    # - source /etc/bash.bashrc.local
    PS1='[\u@\h \W]\$ '
    PS2='> '
    PS3='> '
    PS4='+ '
    export PS1 PS2 PS3 PS4
    if test "$TERM" = "xterm" -o \
    "$TERM" = "xterm-color" -o \
    "$TERM" = "xterm-256color" -o \
    "$TERM" = "rxvt" -o \
    "$TERM" = "rxvt-unicode" -o \
    "$TERM" = "xterm-xfree86"; then
    PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"'
    export PROMPT_COMMAND
    fi
    [ -r /etc/bash_completion ] && . /etc/bash_completion
    [ -r /etc/bash.bashrc.local ] && . /etc/bash.bashrc.local
    echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007"
    is also /etc/bash.bashrc

  • TS1398 I can't access to the web pages thro' Wi-Fi, after switching on the wi-fi.But if I switch off the iphone andswitch on the phone then I can get the web pages.Daily I have to repeat this process to access the web pages.help to solve the problem.

    I can't access the web pages thro' wi-fi,But if I switch off the phone and thenswitch on the phone again I am able to access the web pages.Daily I have to repeat this process.help to solve this problem.

    Does using 192.168.1.1 get you to the web page?
    Firmware Update Process
    To safely update FW, I recommend doing the following: Download the FW file from the support site first.
    Disable the auto update feature on the router.
    1. Save router config to file first using IE or FF with all security add-ons disabled.
    2. Factory reset the router with all other devices disconnected or turned OFF accept for 1 wired PC.
    http://kb.linksys.com/Linksys/ukp.aspx?pid=80&app=vw&vw=1&login=1&json=1&docid=9d2ff02077f645679972a...
    3. Reload or Update the FW using IE or FF. Just download the FW file to your local wired LAN PC.
    http://kb.linksys.com/Linksys/ukp.aspx?pid=80&app=vw&vw=1&login=1&json=1&docid=0a6881b90224439b92c8d...
    4. Factory reset the router and then set up from scratch first using the local log in link and test with out loading the saved config from file. Check to see if any problems are fixed before loading the saved config from file. Sometimes you need to set up from scratch with out loading the saved config file. Just safer that way.
    PC Web Browser Configurations
    What browser are you using?
    If IE 8, 9, 10 or 11, set compatibility mode and test again.
    Disable any security browser Add-ons like No Script and Ad-Block or configure them to allow All Pages when connected to the router.
    Clear all browser caches.
    Be sure to log into the local log-in account on the router first.

  • I restored my ipod touch .bt again it display as"ipod is disabled.connect to itunes'wht shall i do nw.i wanna get it back.i restored nt in my computer.help me to solve this problem !!!

    i restored my ipod touch .bt again it display as"ipod is disabled.connect to itunes'wht shall i do nw.i wanna get it back.i restored nt in my computer.help me to solve this problem !!!

    You have to restore the device within iTunes. You want to use the same computer that you always sync with so that you can restore your app data and settings. You can restore with any other computer, but you will lose everything on the iPod.
    Take special note of the article about using recovery mode. Many times, that is the only way to bypass the pass code and restore the device.
    IOS: Wrong passcode results in red disabled screen
    http://support.apple.com/kb/HT1212?viewlocale=en_US&locale=en_US
    This will tell you how to restore
    http://support.apple.com/kb/HT1414
    If you cannot restore that way, you may have to use recovery mode.
    http://support.apple.com/kb/HT1808

  • I am not being able to create my apple ID as my card details are not being accepted by the app store. i tried with my visa card as well as master card. help me out to solve the problem..

    I am not being able to create my apple ID as my card details are not being accepted by the app store. i tried with my visa card as well as master card. help me out to solve the problem..

    Were the VISA and MasterCard issued to you by a bank in the country where you reside and do they have a verifiable billing address in the same country?
    Or are these debit cards that you bought in a local store. Apple does not accept debit cards that you bought.

Maybe you are looking for

  • How to use change document object ?

    Friends, I am learning to use the Change Document object for one of my Z table. I have created a change doc object using SCDO. I have now written a test report in which i am issuing the SELECT statement for fetching old and new values from the Z tabl

  • Having Itunes/Ipod on more than one computer

    how do you go about doing this? Im trying to get the same stuff thats on my current computer to my laptop. i thought thats what exporting the library does but when i tried to import that file on the new laptop itunes just crashes and constantly gives

  • Oracle to POstgresql db link not working (error diagnosed by Net8)

    [oracle@devdb00 ~]$ cat /home/oracle/temp/psqlodbc-09.02.0100/test/odbc.ini [postgresql] Description             = psqlodbc regression test DSN Driver                                  = /usr/lib64/psqlodbcw.so Trace                       = Yes TraceF

  • Making a basic Video starting with sound files only

    I'm totally new to Premiere and find it quite dauting. Basic tutorials don't really seem to be helping as they presume you start with a working video. What I have is several 30-60 second .wav files which I need to be in sequence most of them also hav

  • Hello i want to cancel my adobe reader can you help me

    hello i want to cancel my adobe reader can you help me