Hosts file changes not taking

hi forum
i need to access a site i have uploaded to my server but the DNS doesnt point to my server at present so i have learnt that i need to edit the HOSTS file.
i can get to it with "sudo nano /private/etc/hosts" and have editted it but it doesnt work. I have logged off and on. A few questions if i may:
do i need to be an admin or in root access?
when i edit my entry so that my hosting, IP 1.2.3.4 goes to www.mydom.com does my entry need to be:
1.2.3.4 www.mydom.com
or
1.2.3.4 mydom.com
or
1.2.3.4 http://www.mydom.com
or does it not matter?
Also it seem my hosting has 4 IPs. Server IP has one and each of 3 nameservers has separate and different IPs. Which do i use? i have instinctively used the main server IP.
Thanks

Post Unix queries to the Unix forum under OS X Technologies where those wizards congregate.

Similar Messages

  • The Apache axis2 jar files are not taking at run time

    While running the application I was getting the following errors. The error is getting at run time only. It has compiled successfully.
    It ran under eclipse without any issues. But with Apache axis we are getting following error trace while uploading to server. The Apache axis2 jar files are not taking at run time.But compiling successfully.
    The application is running under Oracle R12 server.I didn't find any option to set class path for run time in R12 server.
    Using Java version is 1.6 and Apache axis2.1.6.2
    Error trace:
    Exception :java.lang.NoClassDefFoundError: Could not initialize class org.apache.axis2.description.AxisService
    Error : java.lang.NoClassDefFoundError: Could not initialize class org.apache.axis2.description.AxisService
    com.rightnow.ws.wsdl.RightNowSyncServiceStub.populateAxisService(RightNowSyncServiceStub.java:41)
    com.rightnow.ws.wsdl.RightNowSyncServiceStub.(RightNowSyncServiceStub.java:636)
    com.rightnow.ws.wsdl.RightNowSyncServiceStub.(RightNowSyncServiceStub.java:625)
    com.rightnow.ws.wsdl.RightNowSyncServiceStub.(RightNowSyncServiceStub.java:673)
    com.rightnow.ws.wsdl.RightNowSyncServiceStub.(RightNowSyncServiceStub.java:665)
    com.rightnow.ws.util.ContactUtils.initializeService(ContactUtils.java:57)
    somejsp.jspService(_somejsp.java:189)
    com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473)
    oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
    com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
    com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
    com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    java.lang.Thread.run(Thread.java:619)

    Hello,
    I too am trying to use Axis2 application in R12. But getting the following error:
    java.lang.classCastException: com.sun.xml.messaging.saaj.soap.ver1_1.SoapMessageFactory1_1Impl cannot be cast to oracle.webservices.soap.VersionedMessageFactory
    If I run the application standalone from java command line it works fine. I think the error could be because of some oracle app jars getting picked up inatead of my application jars. How to make sure that my application jars get picked up instead of oracle jars
    I tried loading my jar file and then setting it as contextClassLoader using "Thread.currentThread().setContextClassLoader", but this did not help.
    Can you please let me know what can be tried to fix this
    Thanks
    Srikanth

  • HOSTS file does not retain changes between boots

    I make a number of changes to my HOSTS file for various reasons. Lately, though, I've noticed that attempts to alter the HOSTS file are reverted automatically for some reason.
    I modify my HOSTS file by using the command at the terminal: sudo nano /private/etc/hosts
    After editing the HOSTS file, I will save while exiting with control+X. At this point the changes are retained. Looking at /private/etc/hosts or /etc/hosts will show the changes I've made. Pining the domains I've modified will show the relevant changes.
    Everything is working at this point.
    However, at some point after a reboot, the HOSTS file will revert all of my changes without my asking. Looking at the HOSTS file will show it in the state it was before I made any changes at all, despite the file being modified and saved in the previous session.
    Could anyone please advise as to how I can permenantly modify my HOSTS file? Again, I AM editing the file as root, and I AM saving the file. It works fine until reboot.
    Thanks for any help.

    With Lions should be fine editing the standard /etc/hosts file
    # 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
    add here your IPv4 hosts list
    255.255.255.255     broadcasthost
    ::1                 localhost
    fe80::1%lo0         localhost

  • 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

  • Code changes not taking affect

    Hi.
    I made changes to code, and they are not taking affect, even after build and deploy, even after deleteing and re-importing the project, reloading the project, and even after restarting the server.
    The old code seems to be executing instead - even though it is in a class I totally deleted (and replaced with a new class/file).
    And when running through it in the debugger, and trying to step into the new method (constructor of the new class in this case), I receive the following error: Source not found for DateTableFilterLink (which is the old, deleted, class), even though the code now references a new class instead - DateTableFilterLink2.
    An additional note: This code is in helper classes situated under src/packages in my DC
    Any suggestions?
    Thanks you,
    Dina Mann

    In bin folder:
    The old class file no longer exists.
    I deleted the .class file for the calling code, where I now instanciate teh new class DateTableFilterLink2 instead of the old (and deleted) class DateTableFilterLink.
    I rebuilt and re-deployed my project, and still the problem exists.
    The debugger still tries stepping into the old class DateTableFilterLink, and the result of the execution matches the functionality that used to be in teh old class, and not according to teh logic in teh new class.

  • Enhancement Section Activated but changes not taking place

    Hello Friends,
    I have been getting a dump error for FM GN_DELIVERY_CREATE_FOR_DIALOG which says that
    "spe_version" does not exist in table "LIPS".
    I found a enhancement option that commented out the perform that lead to the subroutine which has the error code.
    I have activated business function LOG_LE_INTEGRATION via SFW5 which activates among others switch LE_SFWS_SC3.
    I can see the global status of the switch as ON.
    This switch is associated with enhancement spot ES_SAPLV50S which has implemented an enhancement section in inlcude LV50LF14 lines 191 -194
    However, despite activation the changes are not taking place and i am still getting a dump error.
    I am also not able to set a break-point in the FM because the program cannot be generated
    My question is: Is successful program generation a pre-requiste for enhancement source plug-ins to be effective?
    Any pointers would be highly appreciated.
    Thanks,
    Minhaj.

    Hi Minhajuddin ,
    With "enhancement spot" we have come across similar short dumps and inactivation of spots even when steps are taken as per procedure.Please check if any notes are available for the same ,since most of the time it fixed the problem.
    Regards
    Byju

  • When I type .ssh root@10.0.02 it says host not recognized I'm unable to get in to known host file can not fix the problem.

    When I open terminal and do sash [email protected] it says warning rsa key not recognized to go to known-hosts file which ican not grt into I have download pico but am not sure how to launch it or what I ave to do.

    sibeen, please stop starting new posts when you are really just continuing the first post.  "Reply" to one of your existing posts when you are really just continuing the same question.  If I have not lost count, you have posted 3 times about this same ssh rsa host key issue, and Linc Davis and I have been trying to keep track of all the details, but with it spread out across multiple new posts, it is difficult.
    I'm guessing as you again forgot to post the actual error (I'm starting to wonder if you are testing how well Linc and I can guess at your problem ).  Anyway, I'm guessing that you managed to delete the $HOME/.ssh/known_hosts file, and now when you try to ssh to 10.0.0.2 it wants to add the remote system's host rsa key into a newly created known_hosts file.
    The authenticity of host '[10.0.0.2]:22([10.0.0.2]:22)' can't be established.
    RSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx.
    Are you sure you want to continue connecting (yes/no)?
    Generally the command ask if you want to do this, yes or no.  You type "yes" and your Mac memorizes the remote system's host rsa key.
    If this is not the warning message you are seeing, then as Linc has requested, please post the exact error (feel free to mask put the actual key or usernames or IP addresses, but keep the words.
    If you are still getting the original error from 3 posts ago, then I would not try editing $HOME/.ssh/known_hosts, and instead just delete the file, and when you get a message like I have posted above, answer it with "yes".
    WIth respect to pico, Mac OS X already has pico installed, so there was  no need to download it from anywhere.  However, most people just use 'nano' which has essentially replaced 'pico' as an easy to use Terminal based text editor.  But like I said, I think you will be happier if you just delete the known_hosts file and get on with your ssh operations.
    Finally, I think in your 2nd post you indicated you tried deleting a file that had a dash in the name (known-hosts) instead of an underscore (known_hosts).  If that was just a typo when you entered your post, and you were really getting you cannot delete a directory, then something is seriously wrong, or you accidentally allowed a space to be inserted between .ssh and known_hosts.  Personally, I'm going with you actually entered a space and the 'rm' command thought you wanted to delete the .ssh directory instead of $HOME/.ssh/known_hosts.  I could be wrong, but using copy and paste to post actual Terminal screen output as well as the command you entered would be very helpful to anyone trying to provide useful information.  In other words, help us help you.

  • Selection screen flow logic change not taking affect. Please help!

    Hi
       When I am trying to change the selection scren flow logic I get the following message:
    Selection screen: Report generation makes screen changes ineffective.
    Whatever I am changing is not taking affect in runtime.
    Even though I have activated the changed code for the screen
    What shall I do resolve this?
    Thanks
    Gopal

    You should not be changing the screen flow logic of a standard selection screen 1000.  It will always be regenerated.  In order to modify the standard selection screen, you can do this in the AT SELECTION-SCREEN output event and loop at screen and change the attributes.
    Loop at screen.
      if screen-name = 'P_CHECK'.
        screen-input = '0'.
        modify screen.
      endif.
    endloop.
    Regards,
    Rich Heilman

  • Configuration Changes not taking effect for Sun Java Web Server 6.1

    Hi,
    We're trying to make some changes to a sun ONE web server, to accept a couple of additional MIME-TYPES, as well as turning on compression and adding cache control headers to files. Please review the following and advise as to our path to proceed.
    Our first challenge is that it seems that the change to the mime.types file are not being applied. We've added these to mime.types:
    type=text/cache-manifest exts=manifest
    type=image/svg+xml exts=svg,svgz
    Elsewhere in the file is a configuration for PNG
    type=image/png exts=png
    Using HTTPFox firefox plugin, it's evident that these file types are being served with the mime-type of text/plain. See the attached image. Also note that PNGs are being sent as text/plain.
    Are there any other changes except for mime.types that we need to do through console or in any of the obj.conf or magnus.conf file.

    yes there are two instances on that machine, the changes to mime types was done through console for both the instances and both the instnaces were restarted including the Admin server. However, we will still see content being served text/plain. Please help, if you want I can send you the obj.conf, magnus.conf and mime.types files so that you can take a look.

  • Editing static files - changes not recognized by Application

    I've uploaded a txt file into the static files area of my application, and I'm able to refer to the functions within it. They're working great. Now I'd like to be able to modify one of those functions.
    Under Shared Components > Static Files, I click to open the existing static file. I make a change to the file and click Apply Changes. It's a very simple change: one of the functions returns hex code #FFFF00 (yellow), and I changed it to return #FF0000 (red).
    I log in to the application, make a change to a field that should fire the color function. Yes indeed, that function DOES fire. Unfortunately, it produces the OLD result - I'm still seeing a yellow field.
    However, if I delete the static file and upload it again, I get red as expected.
    Am I doing something wrong, or missing a step to "activate" the changes that I make online?
    Apex 4.1.1.00.21, on apex.oracle.com.

    Excellent, Scott. Thank you for the corroboration. Your mention of the "run time user" led me to a partial workaround.
    I think I've discovered that the problem is in the browser cache. Although it appears that the change to the static file is taking effect immediately as far as APEX is concerned, the browser is caching the information from the static file, and therefore any changes to that static file are being ignored. Simply closing the browser and coming back in is not enough. Nothing short of clearing the browser's cache of Temporary Internet Files seems to help.
    I'm able to easily reproduce this with multilple tabs in a single browser session as well, without even involving a run-time user.
    (1) open a browser (IE or Firefox) and connect to the APEX application. Note the current behavior of the affected object(s).
    (2) open another browser tab pointing to Shared Components > Static Files
    (3) apply a change to the static file;
    (4) clear the browser cache as follows:
          Internet Explorer: Delete Browsing History > Temporary Internet Files
          Firefox: Clear Recent History > cache
    (5) return to the first tab and refresh the browser page
    Although I don't particularly like this "answer", it seems that the problem isn't with Apex, so I'll say that my question has been answered.
    Helpful points for Scott.

  • Posture Policy changes not taking effect in ISE!

    Hi all
    I think that something is definitely wrong with the posturing rules on our ISE. I am seeing weird behaviour when changing posturing policies and thier elements in our ISE.
    In Full, we currently have a policy written with a requirement that clients must have SEP 11, 12.0 or 12.1 installed and the AV defs can be up to 28 days older than the latest AV definition file date.
    However, prior to us rolling out SEP12.1 in our environment, we wanted to test that the ISE could remediate SEP 12.1 just like it does for SEP 11 clients.
    To do this I created a policy just to test SEP 12.1 being out of date for over 2 days. A client never matched this policy, it was still passing posture using the old policy. I imagine this is because the old policy was still referencing that sep12.1 defs can be up to 28days older than the current release date.
    So, in the AV Compound Condition for the old policy I unticked references to SEP 12.0 & SEP 12.1. This had no effect. When I looked at the posture reports they were still showing SEP12.1 clients passing posture on the old policy. Well, this can’t be possible as I have unticked those conditions now.
    So, in the end, I was forced to complete delete the old Posture Policy Rule, the Requirements Condition and the AV Compound Condition. I then created it all again from scratch just for SEP11, so there is no reference for SEP12.0 or 12.1.
    When I check the posture reports, they are still showing that the SEP 11 clients are passing posture on the old rule and old conditions that don’t even exist any more! Luckily, I haven’t broken anything as clients are still being allowed on to the network and they are being posture checked.
    It looks like the ISE is holding on to this old posture configuration somewhere and it may be that the only was to truly get the ISE to recognise the changes I have made to the posture policies is by restarting a particular service (not sure which one) or restarting the whole node (which I don’t really want to do, and shouldn’t have to do surely!).
    Any suggestions? This is rather urgent as it is holding up testing of remediation for sep12.1 clients.
    thanks
    Mario De Rosa

    OK, i resolved this by performing a Re-Sync between my two ISE nodes.
    It appears that the secondary ISE node went in to a "Replication Disabled" state. Once I performed the Re-Sync, the posture reports now show all the correct policies getting matched.
    Lesson Learnt there!
    Mario

  • [SOLVED] Syslinux.cfg changes not taking effect

    When I first switched from grub to syslinux, I discovered that my system won't boot properly without a nomodeset command in the boot line (actually I knew that; it was also in grub but I installed that 5 years ago and long since forgot).  It worked great.
    A few weeks later, I had some trouble with the virtual terminal after X started, and someone suggested adding vga={x} to the boot command.  I did that, but as it turns out the one I picked wasn't supported by my graphics card/monitor: Whenever I boot, it says to press {enter} to choose from available modes.
    I found one that worked well, and added it to syslinux.cfg, saved my work, and rebooted.  It *still* complains about the previous mode and makes me choose a proper one.  I have rechecked that my new value is in syslinux.cfg and rebooted countless times since then, and the new values just won't take.
    Is there something else I need to do after editing syslinux.cfg?  The man page and wiki page are extremely thorough on initial installation and configuration, but not so much on making later changes.
    Last edited by WyoPBS (2013-05-15 17:18:15)

    When I change label values in syslinux.cfg the new label appears, so I am 100% positive I'm editing the right file on the right partition.
    However, I found the answer -- When the list of modes pops up and I key in 313, the boot console is reading that as 0x313.  When I have "vga=313" in the cfg file, syslinux reads that as 313 decimal which is 0x139, an invalid mode. It just never occurred to me that the mode menu was presenting hex values...  Just had to change it to vga=0x313 and all is well.

  • Configuration changes not taking affect

    When I change the Them in FF, it falls back to a previous one.
    When i save a password, it isnt auto logging into sites
    Noscript, seems to be VERY forgetful, about what I set permanent. As in my HOME PAGE in Google, isnt allowed until I Set them again, and again, and again.
    I set FF to run as Admin, and win7 still asks me IF, "do you really want to run this".. Its funny that the TAGGED FF on the bar, does not ask this. But the TAGGED FF only lets me run 1 FF at a time.
    Its as if win 7 is not letting FF write its config file.

    yes there are two instances on that machine, the changes to mime types was done through console for both the instances and both the instnaces were restarted including the Admin server. However, we will still see content being served text/plain. Please help, if you want I can send you the obj.conf, magnus.conf and mime.types files so that you can take a look.

  • Printing Paper Changes not Taking Effect

    Hi,
    I recently upgraded to Windows 7 from XP and I also have Acrobat 9 Pro installed.
    When I use a different size page, in this case 11x18, and go to print it will start out as our printer default 8 1/2x11 which is should be. I would then proceed to go to the printer preferences and change the paper size and click "ok" to get back to the main print page where I would notice that the print preview would not update ot the new size. If I proceed to print with it showing the 8 1/2x11, even though it is set to 11x18, it would scale it to the 8 1/2 x11. What I have found to work around it is if I click and then unclick the button "Choose Paper Source by PDF Page Size" it would scale the paper to the correct size. I use different size paper and do not want to change the default size.
    This is sort of a hassle and I sometimes notice that when I'm going from 11x17 to 23x20 it would not even update and would not allow me to print on the correct paper size.
    I am using a sharp AR-M207 printer. I have tried to use the PCL/PS/PPD drivers for the latest version and they all have the same effect. Additionally Acrobat 9 Pro is also up to date.
    Is there an update or a patch somewhere or another reason why this is occuring. I am not included to switch printer mainly because I do need a large format printer and its difficult to find one.
    Thanks,

    Daniel,
    Yes I am currently using the most recent version of Acrobat and Printer Drivers.
    I have not tried the Help > Repair option. I actually noticed that this issue occurs on my laptop as well, same operating system (Windows 7). It is possibly an issue because of compatability with Windows 7 although there might be a workaround for it.
    I have tried a different printer, ie my laptop, and the same problem occured.
    I can look for outdated Sharp print drivers but that might be difficult to find.
    Also I currently use Windows 7 64bit.

  • Lightroom 3: file changes not propagating into Finder even after saving metadata?

    Hello,
    I have recently purchased Lightroom 3 and have spent the past couple days educating myself on the program.  I have developed a file in Lightroom and I am now trying to open it in Photoshop Elements 10. I am running into two problems. 
    1. I have defined Elements as an additional external editor.  When I try to launch the photo in Elements, Elements launches, but the file never actually opens in the program. My options are as follows: Edit a copy w/ Lightroom Adj., PSD format, sRGB, 8 bits, Res 240, stack with Orig.. When I click edit, the PSD is created and visible within the Lightroom library.  I can drag and drop the PSD into Elements as a workaround.
    2.  When I look at the (.NEF/.jpg) file in Finder, none of my changes are apparent.  I have saved the metadata both manually, and updated my preferences to automatically update the metadata into an xmp file. This is the bigger problem for me because I would like to edit my photo's in both programs.
    Can anyone shed some light on why I am having these problems?
    Thanks!
    Angelique

    Thanks Lee.  Yes, I knew it was non-destructive, but I thought I saw on a tutorial that if you saved the metadata, it was embedded in the file as opposed to just in the Lightroom db, and that subsequently, other products (like Elements) would/should be able to recognize it.  It makes sense that Finder wouldn't see it, but I do wonder as to why Elements didn't see it (when I finally dragged and dropped from finder). 
    Regardless, I exported to .dng and was able to open it Elements with the changed visible. 
    Thank you so much for your response.  I am going to open a new thread as to why I am having the problem listed in point 1. 
    Thanks again!
    Angelique

Maybe you are looking for

  • Problem in DBCP Connection Pooling with BLOB in Tomcat

    Hi All, I am using the DBCP connection pooling in tomcat server version 6.0.18. I have session table which maintains the session details of the user in BLOB column. Recently I am facing a problem. When a user logs in, I am storing the session details

  • Output to be converted into PDF format

    Hi, I have a "select-options" defined for Purchase order number to which SAP Script is attached. The output can be seen in SAP Script. The requirement is to have the DIALOG BOX supressed that asks for the Print Preview option and the output that was

  • Approver regrouping in Shopping cart after approval and refresh button is clicked

    Dear Experts I created a shopping cart (Say 5 levels of approval) it reaches the approver . The approver approves the shopping cart and the cart is in completion step. When after approval in 3 rd step. If i click on refersh button at the top, the lis

  • Which Office for mac is equal to Office for Windows?

    There are 2 Office Editions. Office Mac for Home and Students AND Office mac for Home and Business. Which one is Similiar  to Office Windows without missing anything ?.

  • Disable a Form Javascript in Acro 7 Professional

    Hi all, I have a form with some alerts that appear when you open the form (with messages like: "you need to have the latest adobe reader" and things like that). I have a server arquitecture in which I open the pdf with an Acro 7 professional, of cour