Cannot use hosts file with 10.5.1

Hi,
Not sure when this problem creeped in, I think it is since my upgrade to Leopard.
The problem is that whatever I put into my /etc/hosts file is not used. Restards, cache flushes do not help.
If I have in the hosts file
xx.xx.xx.xx anotherHost
nslookup anotherHost fails
What I think is the root cause is that the resolver is hardwired only to DNS and does not read the hosts file. Unfortunatelly I cannot find a way how to change the resolving order in Leopard. lookupd is gone and was replaced by what ?
Reproducable on colleague's macbook.
So short summary :
* how do I make my resolver use hosts file
* how do I control the lookup sequence of my resolver
Regards,
Georgi

As described by others NSLOOKUP looks up onto the name server not the host file
Samba instead would use your host file first then an NSLOOKUP then WINS and finally broadcast
So what kind of service do you want to use your host file for?

Similar Messages

  • Can run .exe but cannot use .exe file with 64 bit operating system

    I built an application in labview (32 bit) in xp. The exe file generated from the labview 2009 is able to function well in windows vista (32 bit). For this i installed run time engine and since my application requires vision tools so i also installed the vision run time engine 2009. The application reads values of a device (from microcontroller) from the virtual com port (through USB).
    Now the problem is the .exe cannot response in Windows 7 (64 bit). For this i installed Run Time engine 2009 (for 32 bit) and also vision run time engine. The exe runs but does not read any value from the COM port and does not response any thing.
    This is somehow related to 64 bit operating system. 
    Further to mention, the control input for 'VISA resource name' input of 'Visa Configure Serial Port' block generally detects the COM Port where the device is connected (e.g. COM1, COM2 etc)  and used to display the choices (on drop down menu) but with 64 bit operating system this is not happening.
    What could be the possible problem? I would be happy to know if someone has come across this problem or if someone can help me to solve this problem.
    Simply i would like to run an .exe application build in 32 bit to run in an operating system of 64 bit. This application has VISA and Vision motion tools.

    NI VISA is a software abstraction layer for different physical interfaces (e.g. RS232).
    I understood that your application is working with this in order to select and communicate with COM interfaces.
    MAX (Measurement & Automation Explorer) is the tool to configure and test NI drivers, in this case VISA.
    So if no COM shows up in MAX, you have a malfunction (or missing) installation of VISA.
    Norbert 
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Cannot use Offline Files with DFS share: "Access denied" error for DfsrPrivate in Sync Center

    Hello,
    I have an infrastructure that uses DFS to move files to different sites and we are using a GPO to define Offline Files for users at those sites. Whenever we try to initiate a manual sync, an error stating "Access
    denied" is generated for all DfsrPrivate directories and the Sync Center reports it as a failed sync. We have tried giving Domain Users, Everyone, and invidiual accounts Write, Modify and even Full Control permissions to the DfsrPrivate directories and
    as it seems, only users with administrative access and allowed to sync properly. Is there something obvious I'm missing here?
    -Girard

    Hi,
    I cannot help test on this moment but we should not create offline files on DfsrPrivate folders which will cause issue. Try to exclude those folders as Offline Files and it should work in Sync Center. 
    If you have any feedback on our support, please send to [email protected]

  • Read Document in FileUtilities  cannot search a file with french character in the file name

    Hi,
    I am trying to search a file with french character in the file name like 'captures écran.doc' in my unix server directory, and Write the file somewhere, say in a list of documents or, write on file system to another directory.
    I am using to Read Document in FileUtilities of Foundation, but it cannot read the file due to french character in its name. Although it can find any other file name without these french characters.
    Tried renaming but that also cannot find the file with french character name.
    Please provide any idea to solve it using LC operation.
    Regards,
    Rohan Raj.

    Hi Thomas,
    Thanks for the post, but I have already found a solution to it a month ago. Sorry for not posting the solution.
    You just have to set the '-Djava.property.file.encoding=ISO8859-1' into JVM argument of your server startup, and bounce the server back to pick the new JVM arg set. And now the service Read Document in FileUtilities of Foundation will read all french characters.
    ISO8859-1refers to "Latin alphabet no. 1," consisting of 191 characters from the Latin script. This character-encoding scheme is used throughout The Americas,Western Europe, Oceania, and much of Africa. It is also commonly used in most standard romanizations of East-Asian languages.
    regards,
    Rohan Raj.

  • Cannot open PDF files with Reader XI message appears Adobe Reader has stopped working

    Cannot open PDF files with Reader XI message appears Adobe Reader has stopped working. A problem has caused the program to stop working

    Which Operating system you are using?
    Can you open Adobe Reader by itself?  If so, try disabling Protected Mode [Edit | Preferences | Security (Enhanced)] and then try to open the file.

  • Cannot open pdf files with Firefox's built-in pdf viewer

    This just started (I think) with Firefox 37.01. This is on Win7-X64. I cannot open pdf files with the Firefox built-in pdf viewer. If I click on the file or try to open it from within Firefox, it brings up a "opening filename.pdf" message. If I select the "Open with" radio button as 'Firefox (default),' it just keeps looping on this process; it never opens. In Tools => Options => Applications, Portable Document Format (PDF) is indicated as 'Preview in Firefox.' I've never had any other PDF viewer installed on this computer. I've tried disabling all plug-ins and extensions, but it still doesn't work. I searched for solutions but haven't found any for this specific issue.
    Thanks for the help.

    Hello,
    Have you tried, to start Firefox in safemode you can do so by following these steps
    '''If Firefox is open,''' you can restart in Firefox Safe Mode from the Help menu:
    * Click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    '''If Firefox is not running,''' you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".
    ;[[Image:SafeMode-Fx35]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, theme, or hardware acceleration. Please follow the steps in the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

  • Cannot print PDF file with version 11.0.10 Adobe Reader.

    Cannot print PDF file with version 11.0.10 Adobe Reader.  Get error messages "This document could not be printed" and "There are no pages selected to print".  I am using a Mac OS Ver 10.0.2.  I see that this question has been asked by others recently, but no answers.  Anyone have any suggestions?

    Assuming you are running 10.10.2 and not the ancient 10.0.2, can you tell us what printer and printer driver you are using? How is the printer connected to the computer (network, usb)? See if you can delete the Reader preference files? Years ago I resetting the printer subsystem would sometimes cure a problem like this.

  • Cannot open project file with write access...

    I have seen that this problem has been reported before but have yet to find a solution.
    I have my project file in an external hard drive.  When I plug the hard drive to another computer and want to save it I get this message:
    "Cannot open project file with write access.  The file may be locked or you don't have permission to write to this location.  Select Save As..."
    I don't want to Save As because other projects make reference to this file and also my Encore file will be messed up.
    FYI both computers use Windows 7.
    Any solutions?

    Right click on the folder in Question and select properties. Then select the security tab. Make sure you add everyone to the user list. You do that by selecting edit and then add. Type in everyone in the object section and hit ok. Then select the everyone user and checkmark the Full control. Hit Apply and it will adjust the permissions for the folder and subfolders and files.
    Eric
    ADK

  • "You cannot use this application with this version of OS X"

    Hi,
    I'm getting this message when I try to open .AVI files that I uploaded from my digital camera, but I'm posting it here instead of in the Quicktime section because I believe that the cause of the problem is more general. When researching this problem, I looked at the info panel for these .AVI files, and the app listed to open them was "Quicktime Player (default) (7.1.3)". But the actual version of Quicktime that I have installed is version 7.4. If I set the file's "Open With" app to be "Quicktime 7.4", it opens fine, but the "Open With" app reverts back to "Quicktime Player (default) (7.1.3)", making the problem come back. I've also noticed that if I right-click on other apps (a PDF file, for example), and choose "Open With" from the popup menu, that I see other versions of apps that no longer exist on my machine (Safari 2.0.4, for example). I think that files associated with these older app versions may be the cause of many of the "You cannot use this application with this version of OS X" issues that have been reported here. My question is where is this list of "installed" products maintained in OS X, and is there a way that I can edit it to remove those product versions that no longer exist on my system. In my particular instance, I'd like to remove "Quicktime 7.1.3" which should allow me to set the associated app for my .AVI files to be Quicktime 7.4 with no possibility of the association reverting to an earlier version that's not only incompatible with Leopard, but also not installed on my system.
    Thanks,
    Ken

    When you associate a file with an application, are you then clicking the "Change All" button? You can rebuild the LaunchServices database. Evidently the location of the command and the database have changed slightly in Leopard from what they were in Tiger. See this thread for the updated instructions:
    http://discussions.apple.com/thread.jspa?messageID=5730491
    Also, make sure you don't have the old applications archived somewhere. I've been astonished in the past at just how enterprising the system can be in finding some program squirreled away in an obscure backup folder and listing it as an option to open something.
    Francine
    Francine
    Schwieder

  • I downloaded the latest Adobe Reader when prompted. Since then I cannot use Safari File Print to print web pages - the printer dialogue window opens but the page is blank. Also, when I try to use the safari Help button,the dialogue box is blank.

    I downloaded the latest Adobe Reader update when prompted. Since then I cannot use Safari>File>Print to print web pages - the printer dialogue window opens, but the page remains blank. Also when I try to use the Safari Help button, the dialogue box opens but remains infuriatingly blank. Can anyone help me to solve this problem?

    Back up all data.
    Quit Safari. In the Finder, select Go ▹ Go to Folder from the menu bar, or press the key combination shift-command-G. Copy the line of text below into the box that opens, and press return:
    /Library/Internet Plug-ins
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then launch Safari and test.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • HT204291 Help! I cannot see the Airplay symbol on any of my devices anymore!  I have tried following all guides and troubleshooting, but to no avail. Just cannot use the AppleTV with any of my devices.

    Help! I cannot see the Airplay symbol on any of my devices anymore!  I have tried following all guides and troubleshooting, but to no avail. Just cannot use the AppleTV with any of my devices.

    Thanks for the link. It didn't work at first on any of the devices but then I decided to enter a manual DNS instead of an automatic configuration. Then followed the steps again from your link and it worked.
    It is not stable though as I need to reset the device for it to see the airplay. But when it is connected it stays connected for 30 minutes approx.
    Any other suggestions to keep it stable would be fantastic but at least in the meantime I have a workaround.
    Thanks

  • Using ditaval files with XML Author

    I've been evaluating XML Author and am trying to determine how to use ditaval files with it. If I want to save a ditamap as a book for PDF creation, the Prompt for DitaVal File check box is greyed out. Does anyone know why this might be the case? Is the use of ditavals limited to a full implementation of FrameMaker?
    I tried adding PromptForDitaval=1 to the [General] section of the ditafm.ini file to no avail.

    Make sure you are using the latest hotfix for Director (11.5.8) - it is the first to support AS# in Flash. Your SWF members will probably need to be linked to their external files instead of fully imported.
    Or perhaps you're saying that you've met both these conditions and are still seeing problems?

  • Using *.so files with eclipse

    Hey there
    I'm having a little problem compiling an application which uses *.so files with eclipse:
    If I run eclipse from the directory in which the *.so files are present, the application will run.
    However, if I run eclipse from any other directory , the applicationwon't run, stating that the *.so were not found.
    I've placed the path to the directory on my $PATH , and tried to add the following line to the VM variables in the RUN menu:
    -Djava.class.path=<directory _name>
    but to no avail..
    Any ideas?
    Thank You!
    Message was edited by:
    Yossale

    I added it to the LD path, but nothing changed.
    How can I check if eclispe picked up the change?First check that you can now run your program from any directory and then worry about Eclipse.
    Where did you setup the LD_LIBRARY_PATH?

  • Using Word files with audio on a PC

    I was wondering if it were possible for one to use Word files with recorded audio from a Mac on a PC? I'm not sure if it is possible at all, but if somebody knows how to extract the audio, it would be a great help. I used Word 2008 for the Word files.
    Thanks

    If you don't get an answer here, try the forums devoted entirely to the problems of MS apps:
    http://answers.microsoft.com/en-us/mac/forum/macword

  • How to use .keystore file with BEAweb 6?? Help

    Hi,
    Is there a way to use .keystore file with BEA Weblogic 6 or 6.1 ?
    I used keytool to create private key and public key..
    I do not know how to tell weblogic 6 to use it....
    Can this be done through the GUI or do I have to add something to the .xml
    config file for the site?
    Thanks,
    Rob

    "Bobby Digi" <[email protected]> wrote:
    Hi,
    Is there a way to use .keystore file with BEA Weblogic 6 or 6.1 ?
    I used keytool to create private key and public key..
    I do not know how to tell weblogic 6 to use it....
    Can this be done through the GUI or do I have to add something to the.xml
    config file for the site?
    Thanks,
    Rob
    nope. with 7.0 you can do that.
    >
    >

Maybe you are looking for

  • BUG: Power Manager fails to autostart

    Alright, this topic is a continuation of my conversation with Lenovo support on Twitter, as it has been a while and we were unable to resolve this problem. Until recently I had Windows 7 x86 running perfectly normal with a number of ThinkVantage tool

  • Satellite L650-12P - Black and white colours on webcam

    hello people i have a quick question about my laptop which is a Satellite L650-12P. When I bought it, I am sure the webcam had colour but now it has turned black and white. I have tried various settings but cannot get the colour back. Why has this ha

  • Upstream Modification; An Example

    I really enjoy plain text. It's easy on the eye, consistent across many applications, and can be manipulated in many different ways. Choosing an rss reader that operated from the terminal was an easy choice. I found that newsbeuter filled 90% of all

  • ITune side scroll bars won't scroll when up or down arrow held

    This is a problem, only in iTunes. My side scroll bars stopped working. When I push arrow up or down, they barely budge. I have to manually slide the bar. I want my scroll bar function back. Thanks for your help.

  • MacBook blanks out when Resuming from Sleep

    Hello. I am having a problem with my MacBook. If i have it closed and asleep for a little while (about 15 minutes or more) and i come back and open it up, the screen will come on as usual and i will see my desktop, but after about a second, my screen