Proper /etc/hosts for my situation

Hello all,
I just (finally) got set up through an ISP which assigns me (well the DSL modem) a publicly routable dynamic address.  Anyway, I've setup a dyndns.org hostname, and ddclient to update it, and it routes beautifully to my linux box, through the dsl modem which has the ssh port (and other services as they come up) forwarded to the proper box.
Anyway, I was updating my /etc/hosts, and I'm wondering if I have it setup correctly.
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 XXXXXXXX.homelinux.org localhost.localdomain localhost XXXXXXXX
192.168.0.51 XXXXXXXX.homelinux.org XXXXXXXX
192.168.0.50 regulator-pc regulator-pc.localdomain
192.168.0.1 qwest-modem qwest-modem.localdomain
192.168.0.2 regulator-bridge regulator-bridge.localdomain
# End of file
Please replace all instances of XXXXXXXX with my actual hostname.
This box (XXXXXXXX) has a static IP of 192.168.0.51, is that line correct?
I've left the (hostname.localdoman) stuff in my hosts lists since at one point I had a caching bind server running on my local net, but I've yet to set that up on this network.
regulator-bridge is my dd-wrt'd wrt54g, which now is set up in client bridge mode to allow the boxes with ethernet ports to join the network (routed off the DSL modem), and so I don't have to run an ethernet cable across the living room to the DSL modem.  Works like a champ.
Appreciate any input.
Thanks.

Hi,
In the etc/hosts you have add ur ip address with hostname, something like this it should be.
127.0.0.1 localhost.localdomain localhost
10.93.10.XX mysystem.localdomai
because, i think so,so here is what my /etc/hosts file looks like
127.0.0.1 unknown485b39d0b515.local.lan unknown485b39d0b515
127.0.0.1 localhost.localdomain localhostFor the below TNS lost contact error, recently I faced a similar kind of error:
and the error i am right now getting is this
[oracle@unknown485b39d0b515 ~]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 8 12:03:27 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
ERROR:
ORA-12547: TNS:lost contact
Check your ORACLE_HOME/bin folders rights.
$ ls -ltr oracle
-rwxr-xr-x 1 oracle dba 25485683 Jul 2 12:02 oracle
$ chmod 6751 oracle
$ ls -ltr oracle
-rwsr-s--x 1 oracle dba 25485683 Jul 2 12:02 oracle
And check whether your user has dba group.
This may help you..
Thanks,
nonuday

Similar Messages

  • /etc/hosts for dhcp

    Hello People
    i have installed 11.2.0.1 on oracle linux release 5 update 7 and is working fine
    i have logged into the actual system where i installed and checked that sqlplus "/as sysdba" is working and i can log into the database
    my company has all its computers connected by a lan cable that provides both file sharing and internet connection..
    so is this what dhcp means??
    because, i think so,so here is what my /etc/hosts file looks like
    127.0.0.1 unknown485b39d0b515.local.lan unknown485b39d0b515
    127.0.0.1 localhost.localdomain localhost
    yeah it has only two lines(my bad, i had been doing some tweaking)
    my ifconfig output looks like this
    eth0 Link encap:Ethernet HWaddr 48:5B:39:D0:B5:15
    inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:21980 errors:0 dropped:0 overruns:0 frame:0
    TX packets:14479 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:17251832 (16.4 MiB) TX bytes:1814446 (1.7 MiB)
    Interrupt:27 Base address:0x8000
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:4439 errors:0 dropped:0 overruns:0 frame:0
    TX packets:4439 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:2788171 (2.6 MiB) TX bytes:2788171 (2.6 MiB)
    virbr0 Link encap:Ethernet HWaddr 2E:12:83:50:CA:6A
    inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:0 (0.0 b) TX bytes:4190 (4.0 KiB)
    and the error i am right now getting is this
    [oracle@unknown485b39d0b515 ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 8 12:03:27 2012
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    ERROR:
    ORA-12547: TNS:lost contact
    tell me if i need to elaborate on anything
    thanks in advance

    Hi,
    In the etc/hosts you have add ur ip address with hostname, something like this it should be.
    127.0.0.1 localhost.localdomain localhost
    10.93.10.XX mysystem.localdomai
    because, i think so,so here is what my /etc/hosts file looks like
    127.0.0.1 unknown485b39d0b515.local.lan unknown485b39d0b515
    127.0.0.1 localhost.localdomain localhostFor the below TNS lost contact error, recently I faced a similar kind of error:
    and the error i am right now getting is this
    [oracle@unknown485b39d0b515 ~]$ sqlplus "/as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 8 12:03:27 2012
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    ERROR:
    ORA-12547: TNS:lost contact
    Check your ORACLE_HOME/bin folders rights.
    $ ls -ltr oracle
    -rwxr-xr-x 1 oracle dba 25485683 Jul 2 12:02 oracle
    $ chmod 6751 oracle
    $ ls -ltr oracle
    -rwsr-s--x 1 oracle dba 25485683 Jul 2 12:02 oracle
    And check whether your user has dba group.
    This may help you..
    Thanks,
    nonuday

  • Network-profiles (1) and /etc/hosts

    Hi everyone,
    i've got a few network-profiles, especially in one network I have to use a static ip to connect to the internet. The only entry in the /etc/hosts which works correctly - without any error messages - for me, is
    192.168.0.99 localhost.localdomain myhost
    If I use something like 127.0.0.1 in front and simply add my hostname at the end, I can't connect with the Inet, unfortunately. I did not test it, but I'm pretty sure, that this host configuration won't work in any other network, where I get a dynamic IP from the DHCP. Is there a possibility to write the content of the /etc/hosts with netcfg, like the /etc/resolv.conf for example?
    MfG Skit

    Because you didn't specify what localhost was in your hosts file. It only knows of localhost.localdomain(does not imply 'localhost') and acer being the loopback.
    I think he understood that.
    'localhost' is universally understood as the loopback.
    this is some kind of 'magic' answer isn't it? the resolving doesn't come out as a miracle... and that is IMHO what needs explanation.
    his computer alone doesn't (obviously) get it because sure, it's not set. now what 'magic' makes it known when a cable is plugged in? the computer tries to reslove locally (via /etc/hosts), fails at it, and then asks the dns server about it. so I reckon the dns server is instructed on replying '127.0.0.1' for a 'localhost' hostname request. why so? because dns servers have an option to look at their local /etc/host for resolving before delegating to bigger servers, so the dns server certainly has localhost matching 127.0.0.1 in his /etc/host, and blindly replies accordingly, oblivious to the fact that he is replying about his 'own' 127.0.0.1 to someone else.
    Last edited by lloeki (2008-01-16 08:24:12)

  • Blocking Ad servers via etc/host file not working

    In Snow Leopard I add a list of ad servers and direct them to 127.0.0.1 via the /ect/host file.
    I've configured the host file on my mac mini server and it doesn't work.
    i just want to block ads when using browsers ON the Mini.
    How can I achieve this?

    Yeah; that's an old-time Windows and Unix hack.
    There are ad-blocking extensions for all major web browsers, and those are easier to manage and maintain.
    Off the top, I'd have to check the search order to see if I was getting a response from remote DNS or from /etc/hosts here.
    If you're running a Mac OS X Server box, you're hopefully also running DNS services, and if you're running DNS services, then that's going to be where this hackery gets implemented. Add bogus zones. And if DNS gets an answer from its cache, I wouldn't tend to expect it to go read /etc/hosts (for performance reasons), for that matter.
    There may well be an ad-blocking DNS server around you can forward queries to, too; I haven't looked for that.
    If you make changes to your local /etc/hosts setup, try issuing the following to clear the cache:
    dnscacheutil -flushcache
    I'd recommend installing an ad-blocker. /etc/hosts is an old-school approach and can end up causing weirdnesses on errors, particularly if your box is (also) a DNS server for your LAN. (Also realize that Apple isn't documenting the /etc/hosts file in the Mac OS X Server 10.6 networking manual.)

  • Setting a proper domain name and adding hosts for quick name resolution

    I have 3 other computers in my house.
    Two run linux at this time.
    I want to do 2 things. Right now my machine says Steve.local for its hostname right? I want to change that so it reads Steve.mydomain.net.
    Am I correct that I need to
    sudo /etc/hostconfig
    And change the hostname line from -Automatic- to =
    HOSTNAME=Steve.mydomain.net
    And for quicker resolution of the small number of hosts on my network (primarily so I can use hostname instead of IP for ssh) can I add static hosts to the /etc/hosts file on my machine ala:
    sudo /etc/hosts
    Is this the proper way to do these things in Mac OS X?
    Also to change my workgroup for Samba:
    Open the Directory Access utility (under Applications -> Utilities)
    I highlight SMB and click configure and just change the Workgroup entry there. Is that correct as well?
    Just checking before I go tooling up my machine tonight for better integration into my home network.

    Ok update changing the hostname in the field does NOT allow me to edit the .local part. In fact it converts Steve.mydomain.net.local to Steve-mydomain-net.local.
    But I got my windows workgroup changed and I am showing up with the correct workgroup name from my other servers.
    Also, lets say you only have a couple of computers on your home network right? So dedicated dns is kind of overkill especially when most of them are laptops rebooting all the time.
    Well, your mac os x box has a hosts file. /etc/hosts as in if you want to edit sudo vi /etc/hosts. So you keep the computers pretty much in sync from those files.
    I was afraid the information would not be persistent across a reboot. It was.
    So, two out of three ain't bad. I read in the server forum its a pain in the ***. I was almost thinking of doing the hostconfig trick but I saw an Apple bulletin saying do NOT do that.

  • Entry in /etc/hosts.allow for insecure VNC?

    I read the ssh wiki article which teaches to add an entry to /etc/hosts.allow for sshd.  I am know that tunneling vnc through sshd is the way to go security wise, however, there are cases where I need to switch on un-encrypted vnc for the purposes of sharing my X11 session with family members.  Anyway, my question deals with an entry in the /etc/hosts.allow for gnome's desktop sharing (which is vnc as I understand it).  Does anyone know the syntax to allow vnc for any incoming connection (default port of 5900).
    I have tried:
    vino: ALL
    Xvnc: ALL
    X11vnc: ALL
    None of which worked.
    Thanks!

    when I don't know what's the name of the process listening to specific port, I always execute
    netstat -tnlp
    to get the proper processes' names.

  • Code for restoring default permissions to etc/hosts?

    Could someone help me with the proper code for setting the permissions on etc/hosts to their proper default setting?

    sudo chmod 644 /etc/hosts
    sudo chown root:wheel /etc/hosts
    Those are the settings on my iMac.
    If you use an editor such as
    sudo nano /etc/hosts
    you will most likely not have these problems.
    If you are a more experienced Unix user, then vim or emacs are good choices as well, but both of those editors have steep learning curves.
    Message was edited by: BobHarris

  • Editing etc\hosts file on windows xp for apps. problem post installation.

    Hi all,
    I was able to install 11.5.10.2 apps on my win xp prof machine. During that process I had to edit the etc/hosts file in windows directory as a work around for that domain name field during installation. Also added the primary DNS suffix as 'suneel.com' . I gave the domain name as 'suneel.com' during installation. The RapidWiz is taking localhost as the system name and referring to this system as localhost.suneel.com, though the actual system name is 'websoft-xp' .
    The host file on Apps machine has the following entries:
    127.0.0.1 localhost
    127.0.0.1 localhost.suneel.com suneel.com
    127.0.0.1 websoft-xp.suneel.com
    So when I connect to apps login server from other systems in lan, I've to edit their hosts file and add an entry for localhost.suneel.com to point to its ip address or else the apps throws an error after logging in as operations/welcome using a different url say 192.168.1.4:8000 . Is there a way to get around this issue?
    More over I'm not able connect to VIS db from other systems. The oracle clients give an error 'No listner' at this address. (The original listener was listening at localhost.suneel.com:1521). So I tried to create a new listerner from Net Manager that actually listens at websoft-xp (the real system name) but it throws me an error 'A valid log file is required' while saving the network configuration and prevents me from saving the network configuration.
    Did I do something wrong with the hosts file during installation or did i miss any entries in that file thats causing this? Any solutions for the above problems will be appreciated?
    Thanks
    Suneel
    Message was edited by:
    suneelgv

    Well I tried that option but for some reason it didn't work for me. It kept giving the tns:connection closed error. Then I searched in metalink and found this note : Note:333158.1
    It suggested setting tcp.validnode_checking = no
    in sqlnet.ora. in
    F:\oracle\visdb\9.2.0\network\admin\VIS_websoft-xp
    And it works. Hope this helps someone facing a similar problem. Good luck.
    BTW how do I run autoconfig?
    Thanks,
    Suneel Gundlapalli

  • SAP on Ubuntu Correct settings for etc/hosts?

    Hi,
    I installed the SAP test drive version on Ubuntu (VirtualBox). After starting the SAP GUI (
    /home/minisap/SAPClients/SAPGUI7.20rev5/bin/guistart /H/ubuntu64/S/3242
    ) I get the following error:
    Error: partner 'ubuntu64:3242' not reached
    Sun Feb  5 14:07:26 2012
    Release 720
    Component NI (network interface), version 40
    rc = -10, module nixxi.cpp, line 3286
    Detail NiPConnect2: 127.0.0.1:3242
    System Call connect
    Error No 111
    'Connection refused'
    I guess that the settings of the file etc/hosts are not correct. After the installation of ubuntu the file contains
    10.0.2.15    ubuntu64    # Added by NetworkManager
    127.0.0.1    localhost.localdomain    localhost
    ::1    ubuntu64    localhost6.localdomain6    localhost6
    127.0.1.1    ubuntu64
    # The following lines are desirable for IPv6 capable hosts
    ::1     localhost ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts
    According to the test drive readme file I have to ensure that etc/hosts contain at least the following lines:
    127.0.0.1      localhost      
    n.n.n.n      <HOSTNAME>.<DOMAINNAME>      <HOSTNAME>
    n.n.n.n      nplhost      
    where "n.n.n.n" is a valid IP-adress.
    I tried different settings but the above mentioned error still occurs... Does anyone know the correct settings of etc/hosts or know what the problem could be?
    Thanks and regards

    OK, I logged on as user nnpladm and typed
    startsap nplhost
    ps -ef|grep sap
    ps -ef|grep sap
    sdb       3424     1  0 16:15 pts/1    00:00:00 /sapdb/NPL/db/pgm/vserver -sdbstarter 1002 1003 A -S 7200 -Y
    sdb       3425  3424  0 16:15 pts/1    00:00:00 /sapdb/NPL/db/pgm/vserver -sdbstarter 1002 1003 A -S 7200 -Y
    sdb       3428     1  0 16:15 pts/1    00:00:00 /sapdb/programs/pgm/niserver
    sdb       3448     1  0 16:15 ?        00:00:00 /sapdb/NPL/db/pgm/kernel NPL -diagpipe 16
    sdb       3451  3448  0 16:15 ?        00:00:02 /sapdb/NPL/db/pgm/kernel NPL -diagpipe 16
    npladm    4903     1  0 16:16 ?        00:00:00 /usr/sap/NPL/SCS00/exe/sapstartsrv pf=/usr/sap/NPL/SYS/profile/START_SCS00_nplhost -D
    npladm    5187     1  0 16:16 ?        00:00:00 sapstart pf=/usr/sap/NPL/SYS/profile/START_SCS00_nplhost
    npladm    5209  5187  0 16:16 ?        00:00:00 ms.sapNPL_SCS00 pf=/usr/sap/NPL/SYS/profile/NPL_SCS00_nplhost
    npladm    5210  5187  0 16:16 ?        00:00:00 en.sapNPL_SCS00 pf=/usr/sap/NPL/SYS/profile/NPL_SCS00_nplhost
    npladm    6414     1  0 16:16 ?        00:00:00 /usr/sap/NPL/DVEBMGS42/exe/sapstartsrv pf=/usr/sap/NPL/SYS/profile/START_DVEBMGS42_nplhost -D
    npladm    6700     1  0 16:17 ?        00:00:00 sapstart pf=/usr/sap/NPL/SYS/profile/START_DVEBMGS42_nplhost
    npladm    6740  6700  0 16:17 ?        00:00:00 ms.sapNPL_DVEBMGS42 pf=/usr/sap/NPL/SYS/profile/NPL_DVEBMGS42_nplhost
    npladm    6742  6700  0 16:17 ?        00:00:00 ig.sapNPL_DVEBMGS42 -mode=profile pf=/usr/sap/NPL/SYS/profile/NPL_DVEBMGS42_nplhost
    npladm    6755  6742  0 16:17 ?        00:00:00 /usr/sap/NPL/DVEBMGS42/exe/igsmux_mt -mode=profile -restartcount=0 -wdpid=6742 pf=/usr/sap/NPL/SYS/profile/NPL_DVEBMGS42_nplhost
    npladm    6756  6742  0 16:17 ?        00:00:00 /usr/sap/NPL/DVEBMGS42/exe/igspw_mt -mode=profile -no=0 -restartcount=0 -wdpid=6742 pf=/usr/sap/NPL/SYS/profile/NPL_DVEBMGS42_nplhost
    npladm    6757  6742  0 16:17 ?        00:00:00 /usr/sap/NPL/DVEBMGS42/exe/igspw_mt -mode=profile -no=1 -restartcount=0 -wdpid=6742 pf=/usr/sap/NPL/SYS/profile/NPL_DVEBMGS42_nplhost
    npladm    7930  1544  0 16:47 pts/1    00:00:00 grep sap
    telnet ubuntu64 3242
    Trying ::1...
    Trying 127.0.1.1...
    Trying 10.0.2.15...
    telnet: Unable to connect to remote host: Connection refused

  • Asking for a password when trying to add an entry to /etc/hosts

    I am trying to add an entry to /etc/hosts using Terminal. When I type the command: sudo nano /etc/hosts it asks me for a password. I have never set a password so I have no idea what this would be. My admin pw is blank (I just hit enter) and this is not working. Is there a defaut password or how can I reset this? Thanks

    This would be your admin account password. You must set one.
    Forgot Your Account Password
    For Lion, Mountain Lion, or Mavericks
        Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
         When the menubar appears select Terminal from the Utilities menu.
         Enter resetpassword at the prompt and press RETURN. Follow
         instructions in the dialog window that will appear.
         Or see Reset a Mac OS X 10.7 Lion Password, OS X Mountain Lion- Reset a login password,
         and OS X Lion- Apple ID can be used to reset your user account password.
    For Snow Leopard and earlier with installer DVD
         Mac OS X 10.6- If you forget your administrator password
    For Snow Leopard and earlier without installer DVD
        How to reset your Mac OS X password without an installer disc | MacYourself

  • Information required /etc/hosts configuration for prerequisites of R12 inst

    As a installation prerequisite, we used to save the /etc/hosts file as follows.
    IP hostname.domain.com hostname
    This instance will be exposed to the internet using following url.
    http://urlname.domain.com/
    Now what should I put in the /etc/hosts file.
    IP hostname.domain.com hostname
    or
    IP urlname.domain.com urlname
    And during DB and App configuration during installation what should I put?
    hostname or urlname?

    Now what should I put in the /etc/hosts file.
    IP hostname.domain.com hostname
    or
    IP urlname.domain.com urlnameIP hostname.domain.com hostname
    And during DB and App configuration during installation what should I put?
    hostname or urlname?hostname
    Thanks,
    Hussein

  • SCAN LISTENER runs from only one node at a time from /etc/hosts !

    Dear all ,
    Recently I have to configure RAC in oracle 11g(r2) in AIX 6.1 . Since in this moment it is not possible to configure DNS, so I dont use SCAN ip into the DNS/GNS, I just add the SCAN ip into the host file like :
    cat /etc/hosts
    SCAN 172.17.0.22
    Got the info from : http://www.freeoraclehelp.com/2011/12/scan-setup-for-oracle-11g-release211gr2.html#ORACLE11GR2RACINS
    After configuring all the steps of RAC , Every services are ok except SCAN_LISTENER . This listener is up only one node at a time . First time when I chek it from node1 , it shows :
    srvctl status scan_listener
    SCAN listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node dcdbsvr1
    now when I relocate it from node 2 using
    "srvctl relocate scan -i 1-n DCDBSVR2" , then the output shows :
    srvctl status scan_listener
    SCAN listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node dcdbsvr2
    Baring these , we have to try to relocate it from the node2 by the following way, then it shows the error :
    srvctl relocate scan -i 2 -n DCDBSVR2
    resource ora.scan2.vip does not exists
    Now my question , How can I run the SCAN and SCAN_LISTENER both of the NODES ?
    Here is my listener file (which is in the GRID home location) configuration :
    Listener File OF NODE1 AND NODE 2:
    ==================================
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON
    LISTENER_SCAN1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC) (KEY = LISTENER_SCAN1)
    ADR_BASE_LISTENER_SCAN1 = /U01/APP/ORACLE
    2)
    Another issue , when I give the command : " ifconfig -a " , then it shows the SCAN ip either node1 or node2 . suppose if the SCAN ip is in the node1 , and then if I run the "relocate" command from node2 , the ip goes to the Node 2 . is it a correct situation ? advice plz ... ...
    thx in advance .. ...
    Edited by: shipon_97 on Jan 10, 2012 7:22 AM
    Edited by: shipon_97 on Jan 10, 2012 7:31 AM

    After configuring all the steps of RAC , Every services are ok except SCAN_LISTENER . This listener is up only one node at a time . First time when I chek it from node1 , it shows :If I am not wrong and after looking at the document you sent, you will be able to use only once scan in case you use /etc/host file and this will be up on only one node where you added this scan entry in /etc/hosts file.
    Now my question , How can I run the SCAN and SCAN_LISTENER both of the NODES ?Probably you can't in your case, you might run only one i think and on one node only
    srvctl status scan_listener
    SCAN listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node dcdbsvr1
    now when I relocate it from node 2 using
    "srvctl relocate scan -i 1 -n DCDBSVR2" , then the output shows :
    srvctl status scan_listener
    SCAN listener LISTENER_SCAN1 is enabled
    SCAN listener LISTENER_SCAN1 is running on node dcdbsvr2You moved scan listener from node 1 to node 2, OK
    Baring these , we have to try to relocate it from the node2 by the following way, then it shows the error :
    srvctl relocate scan -i 2 -n DCDBSVR2
    resource ora.scan2.vip does not exists
    --------------------------------------------------------------------------------Since you have only one scan, you can't relocate "2". So ise "1" instead here also
    FYI
    http://www.oracle.com/technetwork/database/clustering/overview/scan-129069.pdf
    Salman

  • /etc/hosts

    I guess this belongs here, if not, mods, I apologize :)
    I set up a Centos server and was browsing logfiles and noticed that instead of the usual 'localhost' string that I see in my Arch logs it had my hostname in all of the log files. After a little digging I found this on the Debian forum. I've edited my /etc/hosts how the post describes and lo and behold, after restarting syslog-ng, I get my pretty hostname in my logs. My question is, this runs contrary to how the Beginners Guide directs to set up that file and contrary to how the Arch installer sets up /etc/hosts. Did I just mess something up or is this an oversight? I didn't want to go editing wiki pages not knowing for sure. It seems like everything is running just fine on my machine now.
    For reference, here is how my /etc/hosts was:
    127.0.0.1 localhost.localdomain localhost archdesk
    This is how it is now
    127.0.0.1 archdesk localhost
    Thanks.

    The hosts file has three parts on each line. First is the ip, second the canonical (full) hostname and the third part is an optional list of aliases. In your old situation this means that the first alias (which was used for the logfile) was localhost.
    With either:
    127.0.0.1 localhost.localdomain archdesk localhost
    or:
    127.0.0.1 archdesk.localdomain archdesk localhost
    I would expect you get the desired behaviour (not 100% sure though).
    Read
    man hosts
    to learn more.

  • How could a java process bypass etc\hosts file while doing dns lookup ?

    Hi,
    I am developing a java web proxy and developer tool [http://www.tcpcatcher.org|http://www.tcpcatcher.org] .
    Right now it is working as a none transparent web proxy.
    In some situation and for some hosts, I would like to turn it into a transparent web proxy.
    Suppose, user's browser and java proxy are running on same host (typically on localhost). An entry is added in etc\hosts file, for example:
    127.0.0.1 google.com
    So without any change in browser config , if user visits google.com with its browser , http request is received at proxy level.
    Now my proxy has to get the actual ip address of google.com bypassing the etc\hosts file (right now the proxy is doing a loop on itself).
    Any idea how this could be achieved ?
    Am I searching in wrong direction ?
    thanks !

    This is a shot in the dark, but I'll try anyway.
    Take a look at dnsjava (open source, I never played with it).
    My understanding is that using this to resolve names instead of normal Java API's would allow you to bypass etc/hosts in the java code
    (see [http://old.nabble.com/DNS-Resolve-from-hosts-file-first-then-DNS-Server-td15431381.html]).

  • What Is The Proper J2EE Architect For This National Defense Project?

    A brief description of a national defense project I am looking into is that the system being developed is supposed to verify the "smartcard" of the card holder and his/her fingerprints against the Defense Department database. The system also reads in information about people (facial features, height, weight, etc.) and stores the information in the database, and then issues new "smartcard".
    1. People involved in the project already decided to use swing for the client tier.
    2. The problem is the Defense Department database. It is a flat file database and this database cannot be touched. It is a black box for Java developers. The Defense Department may provide a jar as an outer layer of this database.
    Question 1: Is the web tier essential for this defense project?
    Question 2: What is the proper J2EE architect for this project?
    Question 3: How to deal with the data problem? Especially it looks that entity beans are not applicable.
    Question 4: How does the system handle very heavy load? It is possible that tens of thousands of people will use the system at the same time.

    A brief description of a national defense project I am
    looking into is that the system being developed is
    supposed to verify the "smartcard" of the card holder
    and his/her fingerprints against the Defense
    Department database. The system also reads in
    information about people (facial features, height,
    weight, etc.) and stores the information in the
    database, and then issues new "smartcard".
    1. People involved in the project already decided to
    use swing for the client tier.
    2. The problem is the Defense Department database. It
    is a flat file database and this database cannot be
    touched. It is a black box for Java developers. The
    Defense Department may provide a jar as an outer layer
    of this database.
    Question 1: Is the web tier essential for this defense
    project?
    Question 2: What is the proper J2EE architect for this
    project?
    Question 3: How to deal with the data problem?
    Especially it looks that entity beans are not
    applicable.
    Question 4: How does the system handle very heavy
    load? It is possible that tens of thousands of people
    will use the system at the same time.
    Hi,
    You can get it done here :http://www.thesoftwareobjects.com

Maybe you are looking for

  • Job Scheduling using job_close

    Hi gurus, im trying to scheduke several jobs using the FM Job close, but the jobs are running paralel.. The first job its' schedule with a start date or imediate, and the letf ones are schedule to start after his precessor finish, but once i run the

  • Firefox can't open PDF links that have been rewritten in .htcaccess

    I have a Wordpress multi-site, and my problem is that Firefox can't open any of the PDFs that I have there. I get a dark-gray screen and it says "This PDF document might not be displayed correctly", but I am able to download it. In .htaccess I have t

  • Exact purchase price of material should reflect while creating new P.R

    Dear CONS    We have created a P.O for a specfic material. the value of material is Rs.10/- ( say).we know the system will show the moving average price of material ( Rs. 12/-) while creating P.R & P.O. Is there any way to check that the exact price

  • ESS - Chnage Own Data Exception

    Hello All, We have installed and configured ESS MSS Business package. Under ESS when I click on Change own data, and if I enter the values like say Extension, Building Number, Room Number, etc. and click on review and save then I am getting following

  • How do I get rid of CC and CC 2014?

    My complementary CC expired and I downloaded trial CC 2014.  Now I cannot use my CS6 licensed products.  I removed all CC products and spent much time removing many remnants and finally removed CS6 products and manually cleaned CC from the registry.