Blank host file

I tried to update my iphone 5 but got errors so thought there was an problem in my host file but when i opened it the host file was blank. What should i do??

Hello alikazmi,
Thanks for using Apple Support Communities.
It sounds like you're having some issues with updating your iPhone 5.  I found this article that has some troubleshooting steps for you to go through:
iTunes for Windows: iTunes can't contact the iPhone, iPad, or iPod software update server
http://support.apple.com/kb/ts1814
Take care,
Alex H.

Similar Messages

  • Blank.template file issue

    Alright guys,
    I messed up!
    I was trying to get pages to permantly set the default language to Australian English, when I found that the pretty much the only way to do it is save a new blank template. (this is the normal blank template with the language set to Australian)
    I tried to take it a step further and update ( well replace) the original blank.template file in the package folder,
    And now i get error when opening old documents.
    I know i shouldnt have messed with the application package
    but If anyone here is kind enough to upload a copy of their original blank.template file
    i'd be ever so grateful
    That should fix it straight away
    P.S. yes, i've already slapped myself for replacing without backing up a copy
    <Edited by Host>

    To have Pages in Australian english you change it in the System preferences. Not fiddeling with the application at all. You can create a blank template and change all the styles to australian english and then save that template as a template and it will be located in My templates in the New tempalte chooser.
    To get an original blank template in the right location install Pages again.

  • The new entries made in /etc/hosts file is not picked up by Weblogic.

    Hi All,
    I have come across a scenario where i have changed the IP address of a particular host name (which was already present in etc/hosts) to point to a new IP address.
    After i did this change, when i do a telnet test to the same hostname, i can see it is getting connected to the new IP to which i changed. But my service which is deployed on weblogic 10.0 still keeps sending requests to the old IP which i commented in the etc/hosts file instead of the new IP address.
    My question is will weblogic cache the data in etc/hosts file somewhere?
    Thanks in anticipation..
    Madhu

    Application deployed on weblogic server will pick the IP address of the server on which the application is deployed .
    IP address or listen address for weblogic server can be configured in 3 different ways :
    Listen Address : Blank --- This means that the server will listen to all the interfaces available on the Machine .
    Listen Address : IP address or Hostname --- The server will listen only to the specified IP address or the hostname .
    Listen Address : : localhost --- The server will be listening only on localhost address and will not be accessible remotely .
    Please check what it the listen address specified at you end.
    Thanks,
    Sandeep

  • How do I edit the hosts file in Lion

    I tried to edit the hosts file in Lion with: sudo nano /private/etc/hosts. Then entered Password. The window came up blank evev though I know there is data there.

    Thanks BD for your response. I have looked at Youtube where they are demonstrating how to do this by using sudo nano /etc/hosts. After entering the Password it shows a screen with the text of the hosts file. On the bottom of the screen it shows the number of lines read. When I do the same thing I get a blank screen and on the bottom it says no file. I am either doing something wrong or this does not work. I even tried changing the permissions of the hosts file to R & W for system, wheel, and everyone. This also did not work. I have not tried Hostal yet but if I can't find a simple way to text edit the hosts file I will give it a try.

  • Unable to edit Hosts file in Win7 Home Prem 64bit.

    Clean install.  Administrator account.  Unable to edit the permissions of the hosts file. There is one in the drivers\etc file, which I cannot edit. There is supposed to be one in %systemroot% \SysWOW64\drivers\etc   but there is no etc folder in the drivers folder.
     Turned off DNS Server. gpedit.msc not found when calling it in "run".  This is the first time I've used 64bit anything, so a bit of a newb in that respect. 
    Any ideas?

    Hi,
    As you would know, some of the Windows 7 users can’t save the host file how they like it. The host file itself will simply vanish what the user had done with it.
    In my scenario, I was unable to fix this even after all the instructions provided in above posts. Hence, I have come up with my own idea and luckily it
    worked.<o:p></o:p>
    For those users who experience this problem, here are the instructions to fix it.
    First of all, you should have the administrative privileges to edit the host file. In normal case, if an admin user directly go to the host file in system 32 and add his preferences
    and then save it, it should keep the changes. However, in some wicked scenarios, it will not. I had done a detailed research on this through all the available online forums and even contacted Microsoft several times with no luck.
    So, here you go with a correct solution for this problem.
    Note: If you are not comfortable with Windows OS and don’t know what you are doing, this process can mess up things.
    Hence, do not attempt if you are not 100% sure you can make it.
    Login to an administrator account.
    In the run command (Windows key + R) type, “control folders” and hit enter.
    Click on the tab called view.
    Select the radio button for Show hidden files, folders and drivers –ON.
    Uncheck the ‘Hide extension for known file types-ON
    Click on Apply and then OK.
    Type “drivers” in run command and hit enter. It will take you to where the folder “drivers” located in System 32.
    From the “drivers” folder, double click the folder named “etc.”
    Now you can see the “host” file along with others.
    Now, in the search area in start menu, type “notepad.exe” and open the notepad.exe as administrator. (In order to do this, you can right click on the notepad.exe shown and select
    “Run as Administrator.” If UAC prompted, click YES/OK)
    Now, you will have a notepad open with administrative privileges.
    At the top left side of the notepad click on “file” and then select “Open.”
    A box will appear which will allow you select the file to open. Carefully, navigate to the location where the “host” file is located. To do that, select the drive where you
    installed Windows. If you have the Windows installed in C: select ‘Local Disk (C :)’ > Windows > System 32 > drivers > etc. At this point, you might not have another option to proceed or select from. The window would be empty. To proceed further,
    select the option “All files” from the drop down menu which is located above the “Open” and “Cancel” button. You can now see all the files located in etc folder.
    Select “hosts” from the menu and click on “Open.” Note: You can either click on open or double click on the file.
    Now, you will have the host file information open in the notepad which you had already initiated before with administrative privileges.
    Make whatever changes you as you wish. (Example: If you need to block a web site called
    www.block123.com you can type 127.0.0.1
    www.block123.com right under the local hosts.
    Make sure you do not change any other letters or characters which are already saved in host file.
    This will completely mess up your computer. For more information on the information about host file, refer the Microsoft web site:
    http://support.microsoft.com/kb/972034 . If you
    have accidently delete/edit anything from host file, please delete the complete information stored in host file and copy and paste the host file information from Microsoft which is appropriate for your Operating System.)
    Click on “file” again and select “Save as” and save it in etc. If the path is showing correct to etc folder, save it to etc. If it is navigated to somewhere else, follow the
    instructions provided above and select etc folder and then save it.
    Now, go back to the actual host file location which is in System32 > Drivers > etc (You would have it already open if you had followed the instructions just like the way
    I have provided)
    There you can see 2 host files. One which has already been there and the other one you just saved.
    Among the two, one is called “hosts” and the ‘type’ would be ‘file.’ This is the original host file. The other which you have just saved will be named as “hosts.txt” with the
    file type as ‘Text Document.’
    Right click on the original host file and select rename. You can even click on that file and press F2. This will enable the option to rename the file. Rename the original host
    file as “hostold” and hit enter.
    Now, select the second host file which we have saved as a text document and rename it as “hosts.” Make sure that you DELETE the .txt file extension in order to change the type
    “Text Document” to “File” and hit enter.
    Now, you have successfully saved the host file with your preferences.
    You can now delete the file which we renamed as “hostold.”
    We are done. You would need to do this process all over if you need to edit the host file again. I know it is difficult, however, it is our own requirement and we have to invest
    few minutes on this.
    Enjoy your computer with a great feeling that you have finally edited the host file as per your wish and take it from here. Wish you luck.
    Should you have any questions, please feel free to ask.

  • Event ID 1012 - There was an error while attempting to read the local hosts file

    When I start my Computer after it has been turned off overnight (switched off at the Power supply) I get a Blue screen and have to reboot the PC. in the Event log it has this error: Event ID 1012 - DNS client events - There was an error while attempting
    to read the local hosts file.
    Once the PC has booted evrything is O.K. I can restart the PC with no problems, it only seems to happen if the PC has been switched off for a while.
    I am connected to the net via an Netgear dg834v4 Modem/Router
    Windows 7 Ultimate
    Intel Q8200 CPU
    2 x 360 Gb HDD
    ATI 4680 !Gb Video Card
    Digital HDA X-Mystique 7.1 Sound Card
    Aver media 777 TV Tuner card.
    Thank you
    jeepers01
    After further Investigation it seems that this error is Not responsible for my Blue screening......I started my PC after leaving it off all night, and it started normally, but i still have this error in the Event Log - System.....I have searched the Technet
    forums (and there is a lot of ID 1012 errors) but non relating to my problem....If anyone knows what is causing this error and how to fix it, i'd be Grateful....although it does not seem to affect the PC in any way that i can see.
    thanks
    jeepers01

    Since Windows system uses separated user mode and kernel mode memory space, stop errors are always caused by kernel portion components, such as a third-party device drivers, backup software or anti-virus services (buggy services).
    The system goes to a BSOD because there is some exceptions happened in the kernel (either the device driver errors or the service errors), and Windows implements this mechanism: When it detects some errors occur in the kernel, it will kill the box in case
    some more severe damage happens. Then we get a blue screen or the system reboots (it depends on what the system settings are).
    To troubleshoot this kind of kernel crash issue, we need to debug the crashed system dump. Unfortunately, debugging is beyond what we can do in the forum. A suggestion would be to contact Microsoft Customer Service and Support (CSS) via telephone so that
    a dedicated Support Professional can assist with your request. Please be advised that contacting phone support will be a charged call.
    To obtain the phone numbers for specific technology request please take a look at the web site listed below:
    Microsoft - Help and Support
    If you are outside the US please see
    Microsoft Worldwide Home for regional support phone numbers.
    Meantime we can try some available steps as a general troubleshoot.
    1. Please remove the antivirus and run the system with a period. If the issue does not occur, mainly focus on antivirus settings and compatibility. 
    2. Disable Automatic Restart and see detail information on the blue screen.
    1).Click Start, in the Start Search box enter sysdm.cpl.
    2).Click the tab Advanced. Under Startup and Recovery, click the Settings button.
    3). Uncheck “Automatically restart”.
    4). On the drop-down menu “Write debugging information”, choose “Small memory dump”.
    5). Click OK.
    When Blue Screen displays, you may find some useful information.
    Arthur Xie - MSFT

  • HP LaserJet 8000N 'print' blanks PDF files.

    HP LaserJet 8000N 'print' blanks PDF files.
    Tried different PDF programs - same result.
    PDF files prints OK on my other printer
    Any idea why and how to fix?
    Thanks
    Sam

    Hello @samdolev,
    Welcome to the HP Forums!
    To get your issue more exposure I would suggest posting it in the commercial forums since the HP LaserJet 8000N is a commercial product. You can do this at HP Enterprise Business Community.
    The support page for your product may be helpful in the meantime:
    HP Support Center.
    I hope this helps! 
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • Working with virtual host & hosts files on a local network

    I'm setting up a small local web and production server here in my office running Leopard.
    I'm setting up virtual hosts for users on the network to review and comment on websites in development. Ideally they'd access it as:
    host1.webserver.local
    host2.webserver.local
    host3.webserver.local
    Problem is, users on the network can see webserver.local just fine, but the subdomains need to be registered with hosts file on each computer.
    Is there a way I can manage all computers hosts file easily? I was thinking of an SVN repository, but this still requires going to each computer to update the file.
    Any suggestions here would be great.
    Thanks
    Rich

    Hi jscher2000
    Thank you for your interest.
    I am using "manual prxoy configuration" option in firefox with port 8080. I have tried the option of "Use system proxy settings" but it doesn't help.

  • Cannot get the hosts file to operate or change.

    I have tried to every way I could find on the internet to change the hosts file on my Mac OS X 10.4.11 computer plus several newer macs that operate in my office. I was able to easily do it on the PC's but not on the Macs. I modified the /etc hosts file directly to no avail, modified it using the terminal commands and also tried using the NetInfo manager. I am NOT a tech guy, just a guy trying to get his computers to work properly. A tech company just changed our router to a Cisco ASA device which is why this change needs to be made, they did not know how to make the changes to the hosts files on a Mac. Everybody in the office loves our Macs so to not be able to get to our own website and webmail is frustrating. Here is what I changed the hosts file to:
    # Host Database
    # localhost is used to configure the loopback interface
    # when the system is booting. Do not change this entry.
    127.0.0.1 localhost
    192.168.16.2 auctionbid.stoutauctions.com
    192.168.16.3 mail.stoutauctions.com
    192.168.16.3 smtp.stoutauctions.com
    192.168.16.4 stoutauctions.com
    255.255.255.255 broadcasthost
    ::1 localhost
    Is something else in the system I need to change to make this take effect? Is something set wrong? Any help would be greatly appreciated.
    Also if anyone knows of a reputable company that will do remote work on Macs, please let me know. I have a few things that I don't know how to do and would not be worth a trip to the middle of nowhere for a tech company so if they can do it remotely that would be great.
    Thanks!
    Greg

    Hmmm, the line after...
    127.0.0.1 localhost
    Should be...
    255.255.255.255 broadcasthost
    Not sure if that is it or not.
    Did you see this article, especially for adding from a hosts.txt file?
    http://support.apple.com/kb/TA27291?viewlocale=en_US
    Did you flush the DNS Cache after changes?
    How to Flush DNS in Mac OSX using Terminal...
    In Mac OSX Leopard, you can use the command dnscacheutil -flushcache to flush the DNS resolver cache:
    dnscacheutil -flushcache
    In Mac OSX versions 10.5.1 and before, the command lookupd -flushcache performed the same task:
    lookupd -flushcache

  • I'm getting this problem when trying to update my iphone 3gs it says that the iphone software could not be contacted and I went on youtube got some advise to go into my hard drive to fix the error I have nothing in my host file please help me if you can

    I'm getting this problem when trying to update my iphone 3gs it says that the iphone software could not be contacted and I went on youtube got some advise to go into my hard drive to fix the error I have nothing in my host file please help me if you can this is all new to me.

    Read this: iOS 4: Updating your device to iOS 5 or later
    ... oh I think it is a 3gs or a 3
    This makes a difference. What does it say in Settings > General > About?

  • Can't update iOS 8 on my iPhone5 through iTunes on Windows 8 (error 3004, 3194). Updated host file, opened port 80, 443; turned off security system and firewall, etc. But nothing works. How to solve this problem?

    Can't update iOS 8 on my iPhone5 through iTunes on Windows 8 (error 3004, 3194). Updated host file, opened port 80, 443; turned off security system and firewall, etc. But nothing works. How to solve this problem?

    Hi the_mad_movies,
    It seems like this article will be the best option for addressing this issue:
    Error 3194, Error 17, or "This device isn't eligible for the requested build"
    http://support.apple.com/kb/ts4451
    Thanks for coming to the Apple Support Communities!
    Cheers,
    Braden

  • Mountain Lion 10.8.2 (Hosts File Locked)

    In OS X Lion 10.7, I had edited my Hosts File to prevent certain web-sites from loading and would like to access them again, however I have noticed that in the latest update of Mountain Lion 10.8.2 the "/private/etc/hosts" file is locked and cannot even be modified in terminal using vi, nano or pica.  Does anyone know a way around this?  I even tried logging into to the repair volume of OS X to try to no luck.  Has anyone been successful?

    Okay, after a ton of researching terminal commands, I finally found the solution to my own question.
    1) First you need to log-in as the Root User in Terminal using the following command:
    sudo su -
    2) Then you need to remove the "sticky" lock assigned to the hosts file that prevents people from modifying it:
    chflags nouchg /private/etc/hosts
    3) Then you can edit the hosts file as per usual via the following command:
    sudo nano /private/etc/hosts
    "Control O" to Save
    "Control X" to Exit
    4) Then in Mountain Lion you should flush your cache to ensure the new hosts file is current:
    sudo killall -HUP mDNSResponder
    5) Go ahead and reapply the "sticky" lock so the hosts file doesn't modify itself:
    chflags uchg /private/etc/hosts
    I hope this helps!

  • How do I add a new IP to the local host file?

    One of the sites I manage has been migrated to a dedicated server. Before changing the nameservers, I need to proof all the pages. To do so, I need to add the new IP number to my local computer local host file.
    How is that done?
    OSX 10.9
    david

    Download TextWrangler, choose Open File by Name from the File menu, provide /private/etc/hosts as the path, and enter them using the same format as the 127.0.0.1 line.
    (92337)

  • How to change host file?

    Hi guys,
    I would like to install 9iAS 9.0.2 Oracle Portal on my XP machine.
    Problem:
    My host like this:
    127.0.0.1 localhost
    AND my computername contains an UNDERSCORE.
    How can I change the hosts file? And how must it look like? I have no fix IP Adress at the moment.
    Thank you for help.
    cheers,
    Bernd

    in short...
    You'll need a static IP address
    your host file will look like
    127.0.0.1 localhost
    10.1.1.10 www.server.com www
    where 10.1.1.10 is your static IP, and the www.server.com is the name for which you want to access your portal site.

  • [SOLVED]Is my hosts file functioning as it should?

    I'm using this script to update my hosts file with ad blocking settings.
    #!/bin/bash
    # Hosts file updater
    HFSERVER="http://hostsfile.mine.nu.nyud.net"
    HFILE="hosts.zip"
    ORIGFILE="/etc/hosts.original"
    clear
    echo "-------------------------------------------------------------"
    echo "This script will update your Hosts file to the latest version"
    echo "Your original Hosts file will be renamed to $ORIGFILE"
    echo "-------------------------------------------------------------"
    echo ""
    if [ ! -f "$ORIGFILE" ] ; then
    echo "Backing up your previous hosts file.."
    cp -v /etc/hosts $ORIGFILE # I like verbose file operations. Can be less verbose if necessary.
    fi
    echo "Retrieving $HFILE from $HFSERVER"
    echo ""
    wget -O /tmp/$HFILE $HFSERVER/$HFILE
    unzip -p /tmp/$HFILE | dos2unix > /tmp/hosts
    if [ 'grep -c "banner" /tmp/hosts' ];then
    echo "Downloaded and unpacked $HFILE OK"
    echo "Appending host list to original content" # which was probably there for a reason, like to make sure localhost worked, and possibly even more stuff if part of a corporate LAN
    #cp -f -u /tmp/hosts /etc/hosts
    cat $ORIGFILE >/etc/hosts
    echo "" >>/etc/hosts # to make sure the original file ends in a new-line so that 2 entries don't end up on the same line, either causing unexpected behavior or not working at all
    cat /tmp/hosts >>/etc/hosts
    rm -fv /tmp/hosts* # again, I like verbose file operations. I like to know what my system is doing.
    echo "Update process complete"
    #echo "-------------------------------------------------------------"
    echo "As a side-effect of this script, any changes you wish to make"
    echo "persistent in the hosts file should be made to $ORIGFILE"
    echo "because /etc/hosts will be respawned from that file and the "
    echo "newlist from the server each time this script runs."
    exit
    else
    echo "Update failed"
    fi
    http://hostsfile.mine.nu/downloads/updatehosts.sh.txt
    And my hosts file now looks like this:
    # /etc/hosts: static lookup table for host names
    #<ip-address> <hostname.domain.org> <hostname>
    127.0.0.1 localhost.localdomain localhost pote
    # The Hosts File Project http://hostsfile.mine.nu
    # Global Advert Servers Blocklist - Personal Edition
    # Release 13/09/2008
    # Servers Verified as up and running 13/09/2008 (by dns exploration)
    # Updated sorted and maintained by Andrew Short (sh0rtie)
    # Contact: [email protected]
    # A big thank you to all contributers (too many to mention)
    # who really have made this project a success, well done :)
    # Licensed under the LGPL a copy of the license may be viewed at
    # http://www.gnu.org/licenses/lgpl.txt
    # WARNING:
    # This file is *extremely comprehensive* and some sites might be
    # included here that you wish to visit, if this is the case you can
    # deactivate the block on that site by placing a # (octothorpe)symbol
    # before its entry, this will deactivate blocking on that server
    # so for example #127.0.0.1 foobar.com
    # will enable you to visit foobar.com or you can just simply delete
    # the line that contains the site you wish to visit.
    # NB:
    # For some computer software updates you may need to disable
    # this file in order to perform the update, if you have problems
    # rename this file from "hosts" to "hosts.txt" reboot then perform
    # the update and then rename this file back to "hosts" to re-enable it
    # You must keep the below lines
    127.0.0.1 localhost
    127.0.0.1 pop3.norton.antivirus
    127.0.0.1 pop3.spa.norton.antivirus
    # /etc/hosts: static lookup table for host names
    #<ip-address> <hostname.domain.org> <hostname>
    127.0.0.1 localhost.localdomain localhost pote
    # End of file
    # The Hosts File Project http://hostsfile.mine.nu
    # Global Advert Servers Blocklist - Personal Edition
    # Release 13/09/2008
    # Servers Verified as up and running 13/09/2008 (by dns exploration)
    # Updated sorted and maintained by Andrew Short (sh0rtie)
    # Contact: [email protected]
    # A big thank you to all contributers (too many to mention)
    # who really have made this project a success, well done :)
    # Licensed under the LGPL a copy of the license may be viewed at
    # http://www.gnu.org/licenses/lgpl.txt
    # WARNING:
    # This file is *extremely comprehensive* and some sites might be
    # included here that you wish to visit, if this is the case you can
    # deactivate the block on that site by placing a # (octothorpe)symbol
    # before its entry, this will deactivate blocking on that server
    # so for example #127.0.0.1 foobar.com
    # will enable you to visit foobar.com or you can just simply delete
    # the line that contains the site you wish to visit.
    # NB:
    # For some computer software updates you may need to disable
    # this file in order to perform the update, if you have problems
    # rename this file from "hosts" to "hosts.txt" reboot then perform
    # the update and then rename this file back to "hosts" to re-enable it
    # You must keep the below lines
    127.0.0.1 localhost
    127.0.0.1 pop3.norton.antivirus
    127.0.0.1 pop3.spa.norton.antivirus
    127.0.0.1 admintds.megatds.com
    127.0.0.1 ads.game.net
    127.0.0.1 ads.tokgajah.com
    127.0.0.1 dl.downloadhosting.com
    127.0.0.1 game.treeloot.com
    127.0.0.1 gw1.celticfestival.org
    127.0.0.1 incestlove.info
    127.0.0.1 klickcash.com
    127.0.0.1 loomia.cachefly.net
    127.0.0.1 pornoexit.com
    127.0.0.1 privacy.virtumundo.com
    127.0.0.1 redirect.virtumundo.com
    127.0.0.1 tds.megatds.com
    127.0.0.1 telebizz.org.uk
    127.0.0.1 the2all.info
    127.0.0.1 treeloot.com
    127.0.0.1 ultraload.net
    127.0.0.1 ultratds.com
    127.0.0.1 v1.cc
    127.0.0.1 virtumundo.com
    # etc...
    The thing i'm unsure of is this section:
    # You must keep the below lines
    127.0.0.1 localhost
    Since localhost is already stated here:
    #<ip-address> <hostname.domain.org> <hostname>
    127.0.0.1 localhost.localdomain localhost pote
    For now I've deleted the redundant localhost entry, since it seems to be there for windows compatability.
    Is there any harm in leaving that entry?
    Last edited by verve (2008-11-29 04:08:29)

    Not as far as I know.
    It probably just re-encounters the localhost hostname and either dumbly re-adds it to the internal table or ignores it. In any case, no logically discernible harm done.
    -dav7

Maybe you are looking for

  • Can I move an ongoing imovie project from my mac to another mac?

    I would like to move my ongoing imovie project from one mac to another and then continue working with the project. Is this possible? If it is, how do I do? /Caro

  • How do you use an iTunes gift card for in-app purchases?

    My kids received iTunes gift cards for christmas and want to use the $$ towards in-app purchases in Clash of Clans. We've already redeemed the cards to their iTunes accounts. Now they want to use them within the app. How do they do this? If they try

  • Duplicate font in PDF causes prepress RIP failure

    I've scanned various forums trying to get a handle on this problem but nothing seems to get at this issue. A book that we've built with InDesign generates pdfs that show a duplicate MyriadPro-Light font embedded in the document. The second iteration

  • File upload fails

    File upload fails when the file is larger than about 50kb. The upload returns a blank page when it fails. I have searched the world over and cannot find an answer to this problem. Does anyone have any suggestion of what to do? Thank you, Chris

  • How do I play an album?

    I have albums synced fine on my iPhone. Individual songs play fine. When I select an album in the album list I get taken to the list of tracks with the Shuffle button at the top. That's fine. Clicking on the first song in the album plays that song. A