Incorrect Hostname

I followed the begineers guide on the Wiki and when I run the following command to verify my hostname, I get two different results and I don't know why...
[root@mail ~]# hostname
mail
[root@mail ~]# hostname -f
localhost.localdomain
[root@mail ~]#
I checked my /etc/hosts file and have the following:
#<ip-address>   <hostname.domain.org>   <hostname>
127.0.0.1       localhost.localdomain   localhost mail
10.1.1.200     mail.mdg.army.mil          mail
# End of file
Anyone know why I don't get my proper FQDN when I run the 'hostname -f' command?

perbh:
You use 127.0.0.1 if and only if you use dhcp.
This is entirely new to me - sources? Indeed, once firefox wouldn't even consider working on my box because of a missing loopback. Anyway, I think we can agree that everybody can stick their loopback where they want to
perbh:
If you have a fixed ip-address (which would seem to be the case here) then you _do_ _not_ put your hostname in 127.0.0.1
I also have a fixed ip and again, this info is new to me (just about everything appears to be new to me...) and I will try it seeing that I've got my hostname in my rc.conf already.
Thanks for the tips.
EDIT:
This may be of use: http://wiki.archlinux.org/index.php/Con … _Static_IP
Last edited by toad (2009-09-28 06:43:13)

Similar Messages

  • Incorrect hostname in autogenerated WSDL

    I'm trying to move some CFC based web services to a new
    server.
    However, the autogenerated WSDL files (that work fine on the
    old server) are being generated with an incorrect hostname in the
    <wsdlsoap:address location=...> field. The hostname that
    appears in the WSDL generated by the new server is an INTERNAL only
    hostname that customers can not access.
    I suspect this is due to using name based virtual hosts under
    IIS on the new server. On the old server the hostname that
    appears in the wsdl is whatever hostname you entered into your
    browser to access the autogenerated WSDL.
    The last few lines of the WSDL look like this.
    <wsdl:port binding="impl:criminals.cfcSoapBinding"
    name="xxxxxx.cfc">
    <wsdlsoap:address location="
    http://INTERNAL_HOSTNAME.DOMAIN.net/xxxxxx.cfc"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>

    This is an IIS issue. Here's the details.
    http://support.microsoft.com/kb/834141/

  • Sendmail config error - incorrect hostname

    Hi All,
    I have the strangest thing going on - I get the following error when I try to start Sendmail
    [edge7 /etc/mail]$ hostname
    edge7
    [edge7 /etc/mail]$ tail -10 syslog.0
    tail: cannot open input
    [edge7 /etc/mail]$ tail -10 /var/log/syslog.0
    Feb 22 14:38:09 edge6 sendmail[233]: [ID 702911 mail.crit] My unqualified host name (edge6) unknown; sleeping for retry
    Feb 22 14:39:10 edge6 sendmail[233]: [ID 702911 mail.alert] unable to qualify my own domain name (edge6) -- using short name
    Feb 22 14:39:10 edge6 sendmail[233]: [ID 801593 mail.info] k1MLdAY8000233: from=root, size=1212, class=0, nrcpts=1, msgid=<200602222139.k1MLdAY8000233@edge6>, relay=root@localhost
    [edge7 /etc/mail]$
    Obviously the hostname for this system is edge7 - I have a very similar host configured as edge4 and it works fine with the same /etc/hosts ...
    Why does Sendmail think the machine name is edge6?
    Thanks, Rick

    Hi,
    Check the coherency of all the references to the hostname
    - /etc/nodename (probably wrongly configured to edge6 instead of edge7)
    - Also in /etc/hostname.<nic> and check if there is an entry in /etc/hosts
    Some of the warning messages also concerns the domain name of your node( /etc/defaultdomain) which is not configured.
    Regards.

  • ASA DHCP Request incorrect hostname length

    I have an ASA 5505 with software version  8.2(1). It is making DHCP  requests for IPSec clients that connect to the ASA. The DHCP requests  packets the ASA makes have an extra '00' appended to the hostname field,  and the length field is the size of the hostname + 1.
    The DHCP server  is Microsoft Server 2003 and this causes the hostname to be registered  with an unknown character which appears as []hostname. Then when server  2003 tries to update the DNS record, it fails because of the invalid  character in the hostname.
    Is there anyway to have the ASA have the  correct length for the hostname field in the DHCP packet, or a  workaround that will solve this problem?

    I am thinking it may not be option 12 in the DHCP packet, but option 81.  I have included a portion of the DHCP request from the ASA below:
       Option: (t=53,l=1) DHCP Message Type = DHCP Request
            Option: (53) DHCP Message Type
            Length: 1
            Value: 03
        Option: (t=57,l=2) Maximum DHCP Message Size = 1152
            Option: (57) Maximum DHCP Message Size
            Length: 2
            Value: 0480
        Option: (t=61,l=42) Client identifier
            Option: (61) Client identifier
            Length: 42
            Value: 00636973636F2D303032312E353537352E636131372D6D79...
        Option: (t=54,l=4) Server Identifier = 192.168.8.3
            Option: (54) Server Identifier
            Length: 4
            Value: C0A80803
        Option: (t=50,l=4) Requested IP Address = 192.168.8.105
            Option: (50) Requested IP Address
            Length: 4
            Value: C0A80869
        Option: (t=12,l=11) Host Name = "myhostname"
            Option: (12) Host Name
            Length: 11
            Value: 6D79686F73746E616D6500
        Option: (t=51,l=4) IP Address Lease Time = 8 days
            Option: (51) IP Address Lease Time
            Length: 4
            Value: 000A8C00
        Option: (t=55,l=6) Parameter Request List
            Option: (55) Parameter Request List
            Length: 6
            Value: 01060F2C0321
            1 = Subnet Mask
            6 = Domain Name Server
            15 = Domain Name
            44 = NetBIOS over TCP/IP Name Server
            3 = Router
            33 = Static Route
        Option: (t=81,l=14) Client Fully Qualified Domain Name
            Option: (81) Client Fully Qualified Domain Name
            Length: 14
            Value: 0400000A6D79686F73746E616D65
            Flags: 0x04
            0000 .... = Reserved flags: 0x00
            .... 0... = Server DDNS: Some server updates
            .... .1.. = Encoding: Binary encoding
            .... ..0. = Server overrides: No override
            .... ...0 = Server: Client
            A-RR result: 0
            PTR-RR result: 0
            Client name: 0A6D79686F73746E616D65
        End Option
        Padding
    Notice in option 81 the Client Name has a leading binary value of 0A (which is a new line):  0A6D79686F73746E616D65.
    Does CSCsz07757 relate to that?  Is there a way to have the ASA not include option 81 as part of the DHCP requests it makes?
    Thank you.

  • Em12c changing oms server hostname - after install

    I installed em12c R2 on a server with an incorrect /etc/hosts file. This has meant it has picked up in the configuration files the incorrect hostname.
    Is there a straightforward way of changing an oms server hostname after install?
    jason.

    Depending on what you have configured, the steps are a bit different. Basically you need to backup and restore your configuration.
    Follow the steps to completely backup your env (OMS, swlib, Repository, Agent, Inventory) for safe keeping. http://docs.oracle.com/cd/E24628_01/doc.121/e24473/ha_backup_recover.htm#autoId4
    Export oms config --> key piece here!
    Screenshot the OMS agent targets for validation later
    Shutdown OMS agent and remove agent targets/host/agent from EM (as these need to be renamed and restored as well)
    Shutdown oms
    Validate your DNS/hosts file is correct before proceeding!
    Then you will follow one of the recovery steps documented (as the software restore portion is not required) - for example single oms, no slb, same host - http://docs.oracle.com/cd/E24628_01/doc.121/e24473/ha_backup_recover.htm#autoId15
    Recover agent
    Check agent targets, may require refresh of WLS Domain to get all targets in correct status again
    I have a document on the detailed steps I'd be happy to share. Please email me...

  • Setting hostname

    I'm pretty sure my boss (I hope he doesn't read this) messed up the hostname of one of our server when we were having some problems. It now hast the wrong hostname. In /etc/hostconfig it is set to "-AUTOMATIC-" and I set it to the correct name using "hostname" from a terminal. You have to do something different though don't you? Could some help me? Most services seem to not care but Apache is not happy with a non-existant DNS name.
    Thanks

    I have working DNS so I do not want to cange the hostconfig file from automatic. I tried changeip and it didn't do it. Finally, I found a reference to this file:
    /Library/Preferences/SystemConfiguration/preferences.plist
    Near the bottom of the file it had my incorrect hostname in an entry. I checked a couple servers that were functioning properly and their files were roughly the same except for that hostname entry. After deleting the entry my problem is now solved.

  • WRT1900ac: Defects, Issues and Other

    This is follow up on the issues, I had with WRT1900ac, in case others stumble over them as well.
    Setup:
    +-----+----(R) Internet - via Cable-modem 30Mb/5Mb
    |Fire |----(O) Internet Spur – to switch (here for completeness)
    | wall|----(G) Protected wired network – to switch
    |-----+----(B) Protected wireless network
    +-----+----(I) Internet Port – connected to FW(G) via switch
    |WRT  |----(S) Switch 10/100/1000 ports – connected to FW(B)
    | 1900|----(2) 2.4GHz wireless
    +-----+----(5) 5.0Ghz wireless
    +-----+
    | RPi |----(R) Internet – '11n via WRT(2)
    |  FW |----(G) Protected wired network (Private) – to switch
    +-----+
    +-----+----(2) '11n – connected WRT(2) – Also default router
    |Desk |      \- Vnet0 for vmware Vms
    | Top |----(E) Ethernet – connected to RPi(G) via switch
    +-----+      \- Vnet2 for vmware VMs
    Other wireless devices set to use WRT(2)
    4 phones
    3 tablets
    3 media players
    4 desktops/laptop/netbooks
    DHCP Servers and the subnets they control:
    FW(G)  x.x.13.0/24
    FW(B)  x.x.23.0/24
    RPi(G)  x.x.0.0/24
    Tests:
    1) Disconnecting FW(B) from WRT(S) and WRT1900ac is DHCP server.  All traffic is then passed through WRT(I) to FW(G) and finally to Internet.  Gateway via DHCP is point to WRT(S,2,5)
    2) FW(B) us connected to WRT(S) and WRT1900ac DHCP server is turned off.  All traffic is then passed thought FW(B) and finally to Internet.  Gateway via DHCP is pointing to FW(B)
    Defects:
    1) Cannot connect between wireless channels even though they are on the same subnet.  A device connected to WRT(5) cannot ping nor connect to service on WRT(2).  This prevents a device on WRT(5) form using a printer on WRT(2).  Similarity, a media device on WRT(5) cannot access a media server on WRT(2).
    WRT (S) (2) (5)
    (S)  OK  OK  OK
    (2)  OK  OK  __
    (5)  OK  __  OK
    Workaround is using two wireless routers.  One handling 2.4 traffic and the other 5.0 traffic, internet connect routers together via a switch port.
    2) Connectivity → Local network → Router Details is not editing IP address telling you are duplicating another address on the subnet.  Instead it acts like it made the change you asked, then changes it to a random IP address in 10.0.0.0/24 network.  If WRT1900ac is the DHCP server, then this change is not too bad, since it changes the DHCP Ips also to this new subnet and DNS server in the WRT1900ac hands out the correct new information.  You are left thinking all is OK, but it is not what you set out to do.
    If you are changing this IP and Turning off DHCP server same time (they are on the same panel), then the action will basically leave you with an unreachable WRT1900ac.  It will forward traffic between wired and wireless, but you are unable to connect to it to make any changes. From a user veiw, the WRT1900ac “console” is gone.  You have to do a hard factory reset to gain access again.
    Work around be very careful.
    Suggested solution would be for the WRT1900ac to valid the address the user has requested to change to.  Like DHCP server validates the address there is with-in the subnet of WRT1900ac own IP.
    Further since this function of checking and change IP is part of base system, if the IP is changed, then the DHCP server should be corrected and re-enabled as well.  This would allow the user regain access to the WRT1900ac and correct the error with a full factory reset.
    Lastly an error panel should display once the user signs into the WRT1900ac, telling what the router did to make it work again.  Further assisting the user is making correct entries.
    3) WRT1900ac (via looking at Network Map) incorrectly identifies if a device is connected via wired or wireless, leading to bad return routes.
    In Test1, when WRT1900ac was controlling the DHCP. When a vm was started on the Desktop use Vnet0 that bridged network via WRT(2), the VM would get an IP and would show up on the Network Map.  But the connection Icon shows up as wired and not via 2.4 wireless.  After a few moments (less than min) all tested (one at time, Linux, BSD, and WindowsXP) lost the connection though Network Map showed them as if the MAC manufacturer ID (the first three hex pairs) were used to determine the route in WRT1900ac.  When I switched the from Vnet0 to Vnet2 (private network with Rpi acting as the DHCP server and wireless bridge) all got connections and were able to work correctly (as expected).
    In Test2, did not have an issue with this vm bridge function.  Though Network Map does not display hosts.  Yes, I turned on all View Device and Connection Types.
    There was one strange thing did happen though, when WindowsXP was connecting, Network Map changed the Linux Desktop Host Name to WindowsXP name as all capitals.  The WindowsXP host did still appear all lowercase with an icon wired.  WindowsXP worked longer than the others, as if this “cross wiring” help WRT1900ac understand the route better.
    4) When force to do factory reset, WRT1900ac does reset the hardware password to that on the router, instead assigns a random password.  It does for default correctly for wireless WPA2.  By not defaulting back to to the known hardware password, the user is forced to go through the simplified configuration including connecting WRT(I) to an Internet connection.
    Issues:
    1) Connectivity → Local Network once you click on this tab, you cannot click on any of the other tabs without getting “Save changes” panel.  The choice there are Cancel, Yes and No.  Only Cancel works.  Then you have to Cancel from prior to page to actually get out.
    2) Network Map failing to correctly identify devices.  Showing devices with incorrect hostnames or descriptions.  Examples:
    a) Win8.1pro on wireless has an icon of printer.
    b) Linux box with vm of WindowsXP and Plex Web Server loaded, is showing with the XP machine host name and Manufacturer of Plex
    c) iPad showing up a general network device, where an iPhone shows up as phone.  The both have the same release of iOS.
    d) Windows phones and display as network with a host name of “Network Device”.
    e) Epson wireless printers, only 1 out of 3 display with host name.
    f) “Roku Streaming Player” is the same name of each Roku on the network, not the one that displays on iPhone or wireless or on the player itself.
    Suggested solutions include:
    a) Try using SMTP to get device information.
    b) Looking up the device name via DNS then DHCP to show what other equipment calls it.
    c) Showing the IP address for a host name instead of a nondescript “Network Device”
    Other:
    1) Only a single MAC address.  WRT1900ac uses a single MAC address.  This address is used for both internal [WRT(S,2,5)] and external [WRT(I)].  This maybe OK under connecting the WRT1900ac directly to Internet, but causes routing issues when both are connected to same internal hardware, since the ARP will have to routes to same “equipment”.  This found when determining why WRT190ac was changing its IP address from assigned.
    Workaround is to go to Connectivity → Internet Settings → MAC Address Clone and enable it and makeup a MAC address for WRT1900ac.  I used added 1 to my WRT1900ac MAC.
    2) Simplified setup does not allow setting 5.0GHz CCSID.  It will copy 2.4GHz ot add _5GHz on to it, but not to name it, this thrid option would be a great help.
    3) Connectivity → Local Network → DHCP Server setup allows for 3 DNS, bBut this list is not sent to cleints.  Instead DHCP server sends the IP of WRT1900ac.  This is by design, since Linksys wants the “linksyssmartwifi.com” to resolve to 192.168.1.1, or what you set as WRT1900ac to under Router Details on the same page.
    It would be better if those fields where moved from DHCP Setup, to at less the otherside of the panel so the user does not assume that these DNS will be informed to clients.
    4) External Storage not only allows access to mounted usb drive, but access to /sda including subdirectories of .tmp and cache, which in turn gives access to client.data, db.info, tsbyebye, twonky.log, twonymedia-config.html and twonkymeida-locations-6.db.  
    5) There is no effective method to block or tuen off the WRT1900ac from talking to Linksys Command and Control (for my router it was 50.18.198.232 port 5222), on the Internet except disconnecting WRT(I) wire.  Even if blocked in the firewall, the WRT1900ac keeps pounding the firewall, to get access to the Internet, at rate up to 1Mbps.
    Yes, this means I have disabled the ability of WRT1900ac from auto-updating, but I also blocked the risk of someone gaining access to my router via Linksys Command and Control.  If you log-in via your email address and password, even if you “connected” directly in to the router (say 192.168.1.1), this traffic sent/validated though Linksys Command and Control (ie: a request leaves your router and sent over the Internet to Linksys CnC, then sent back).  The iPhone app again, goes through Linksys CnC, and with it ALL setting on the router, including passwords, SSID, open ports and device list with IP.  In the end, the router is not under your direct control or ownership, but that of Linksys and their ability to protect your information on their Amazon cloud server.
    Miscellaneous:
    1) The download EULA for the software update for this device is 117 pages long, with a two step acceptance.  The warranty is 135 pages long.
    2) Calling Linksys Support Line custom for WRT1900ac, and after working with the person of almost 1.5hrs, found out the person had no clue what an IP was or how to configure normal static IP.  When requesting the next level for support, “They will call you back in 24 to 72 hours.”  After hanging up and starting again, found the next person equally unable to answer simple direct questions, asked for a manager.  She suggested that this call was really about Quality, then said “they will call you back in 2 to 5 days, after receiving the a support ticket.”
    In closing:
    Support for WRT1900ac is either massively back-logged with problems or so understaffed that there is no hope to get anything really fixed.  OpenWRT, at my last view, is still in testing phase and Linksys will not warrant any damage or problems that arise out it use.  So my only real option is return this equipment, since there is no likely fix any of the issues above.  Long term Linksys needs to work on its quality controls, and stop burning up goodwill that brand name had carried.

    See if wireless isolation is enabled.
    When logged into your WRT1900AC using local access replace the end of the browser URL with:
    /dynamic/advanced-wireless.html
    Please remember to Kudo those that help you.
    Linksys
    Communities Technical Support

  • BW Upgrade on an alias server

    Hi,
    I am doing an upgrade of BW 3.5 to BW 7.0 on an alias server.I am stuck up in the phase JOB_RSUVSAVE.
    It says "incorrect hostname" for batch server.
    I tried putting alias servername as well as original hostname for the batch server name.But nothing helped.
    Please help me out.

    Hello Deepak,
    I wonder what solved your problem.
    I'm in a kind of same situation performing an upgrade from 4.6C SR2 to ECC5.0 SR1.
    The error occurs during the prepare phase "JOB_RSUVSAVE"
    unknown hostname.
    Also I added/changed the hostname in the hosts file without succes.
    We're running on AIX 5.2
    Any help would be welcome
    Regards,
    Ron Douwma

  • Sconadm registration failed

    #cat RegistrationProfile.properties
    # CLI registration profile template version 1.0
    # ******** WARNING ********
    # This profile contains sensitive data: passwords and subscription
    # keys. You should take care in how you handle it, ensuring that it
    # is always adequately protected (mode 400 or 600, owned by root)
    # and not stored on insecure file systems like those exported through
    # standard NFS.
    # Sun Online account information. A new account can be created by visiting
    # http://updates.sun.com
    userName=user1234
    password=pass1234
    # Name (label) of this machine as you would like it to appear on the Sun Connection
    # portal. If left blank hostname will be used
    hostName=myhost
    # Service Plan / contract number with Sun. For more information on this topic
    # please visit http://www.sun.com/service/warrantiescontracts/ . NOTE - a
    # subscription key is required to use the Sun Connection Portal.
    subscriptionKey=****************
    # Allow this host to be managed by the Sun Connection Portal. If set to true,
    # a subscription key is required.
    portalEnabled=false
    # HTTPS proxy information needed to connect to Sun for registration and patch
    # updates.
    proxyHostName=
    proxyPort=
    proxyUserName=
    proxyPassword=
    Returns:
    sconadm is running
    Authenticating user ...
    Sun On-line Account authentication failed
    failed registration!
    I have tried this for almost a day with many different configuration. I have confirmed my online login id and password many times. Still nothing.

    Upon further notice the error logs indicate incorrect hostname :
    Mar 7, 2007 4:38:52 PM com.sun.cns.basicreg.BasicReg loadPropertiesFromHomeDir
    INFO: properties file loaded from the default config.properties
    Mar 7, 2007 4:38:52 PM com.sun.scn.util.Utils getLocalHostNames
    INFO: get hostname 207.5.42.247
    Mar 7, 2007 4:38:52 PM com.sun.scn.util.Utils getLocalHostNames
    INFO: first returned hostname 207.5.42.247
    Mar 7, 2007 4:46:23 PM com.sun.cns.basicreg.cacao.ClientLoginCacaoAdapter getLoginResult
    INFO: SCN Fault: Connection refused to host: 207.5.42.247; nested exception is:
    java.net.ConnectException: Connection timed out
    Mar 7, 2007 4:46:23 PM com.sun.cns.basicreg.BasicRegCLI run
    SEVERE: Sun On-line Account authentication failed
    I have no idea where the hostname above came from or why but it is incorrect.

  • CUA: Model view not created automatically in Child System

    Hi, I try to create a CUA with just a child system thru txn SCUA. The result of generation is good and all green. The part that is not right is I do not see the model view created in txn BD64 of child system, I can see it created in master system. Both RFC of master and child system are working fine. I do not see errors at WE20 & WE21 as well. Under this situation, I can see CUA active in master system but not child system. Hence, CUA is not working as it says in master system.
    I have setup CUA couple of times before but this is the first time that I encounter such a weird situation. Does anyone has any clue where could have gone wrong?
    Edited by: Annie Chan on Jul 25, 2008 5:23 PM

    Hi Everyone,
    It is indeed a RFC issue but it was a silly mistake with the incorrect hostname that I am suppose to connect to. Hence, the Distribution Model doesn't exist in the child system. Nervertheless, your advise does point to the right direction.
    Thanks so much for your input. Points are granted as accordingly.
    Regards,
    Annie

  • Fresh Install of UCCE 9.0 - Issue

    Get error following  when starting the Configuration Manager on AW  on a fresh install of UCCE 9.0 :
     Unable to intiailze real time feed for instance ICM1. Unable to proceed until realtime can be established.

    Okay lets start over....
    If you dumped the clgr process from the logger, I'm sure you're going to run into a lot of errors. So in your case...
    cdlog icm1 la
    dumplog clgr /o
    You can type in clgr.txt from the next command to open the dumplog. Can you post that log file? I'm sure it's littered with errors. 
    The next you should check is your Web setup. I had this exact issue back in September during an upgrade and my issue was due to the fact that I entered in the incorrect hostname for the Central Controller Connectivity. So lets step through this...
    Log into Web Setup on the Rogger
    Click on Instance Management and confirm that the Facility and Instance are correct, in addition to the Instance Number which in all likely hood is 0. This of course is assuming that you successfully went ran the domain manager tool. 
    Under Component Management, click on Routers
    Deployment page: Fault Tolerance Mode: Duplexed
    Router Connectivity page: Confirm that the hostname you are entering for the Private and Public interfaces do in fact exist as DNS records, or at the very least, exist as a entry in the local host file. 
    Enable PG page: Enter the number range for the PGs
    Router Options page: Make sure Enable Database Routing box is checked
    Under Component Management, Click on Loggers
    Deployment page: Fault Tolerance Mode: Duplexed
    Central Controller Connectivity: Be absolutely positive that you are entering in the hostnames for your Rogger that corresponds to your Private network. For instance, DallasRoggerAPrv. Again, these hostnames should have DNS records or at the very least be an entry within the local host file.
    Additional Options page: Check the box for Enable Historical/Detail Data Replication
    Log into your AW-HDS server and launch Web Setup
    Click on Instance Management and confirm that the Facility and Instance are correct, in addition to the Instance Number which in all likely hood is 0. This of course is assuming that you successfully went ran the domain manager tool. 
    Under Component Managent, click Administration & Data Server
    Deployment size page: I'm sure you'll want to select Small to Medium
    Role page: Select what fits your business needs. I always seem to select the first option
    Administration & Data Server Connectivity page: For Primary and Secondary Admin & Data Server, put in the same hostname for whatever local server you are on. For the Primary/Secondary Pair Name, this will come into affect when you setup your CUCM PGs and will be defined in PG Explorer.
    Database and Options: Select what fits your business needs here. 
    Central Controller Connectivity page: This is the page where I made my mistake in September and entered in the wrong hostnames. So take it from me, be absolutely certain that you enter in the correct hostnames for Side A and Side B here. Also, enter in the domain name suffix for Central Controller Domain Name, this should have been defined in Domain Manager tool.
    Cycle services and then try to Initialize the database on the AW-HDS again

  • Oracle 7 Database connection : driver ?

    I used classes12.zip for connection to Oracle 8.
    But this doesn't work for oracle 7.
    Error
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:210)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:251)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    Is this a driver problem ?
    What is that i need to do for connectioning to Oracle 7 server at remotely.

    Error
    java.sql.SQLException: Io exception: The Network
    Adapter could not establish the connection
    Is this a driver problem ?It does not appear like a driver problem.
    It could be:
    a. A network problem
    b. A configuration problem (something to do with TNSNAMES.ORA)
    c. An incorrect hostname or port being used in your code (which you have not posted)
    d. Something that I am not aware of.
    Are you able to connect to the instance using SQL-Plus?
    Message was edited by:
    aniseed

  • Apache multiple sites not directing properly

    Having a problem with multiple sites (domains) on my Snow Leopard Server.  I have three sites (with three separate registered domain names).  Two work fine and intentionally point to the same site (call it DomainA.com and DomainA.net).  The third one (call it DomainB.com), does not get directed to DomainB.com, but instead goes to DomainA.com.  I have checked the path in Server Admin, and I have manually checked the path in the conf file in etc/apache2/sites
    I have a Tiger server running on an older G4 Xserve and it has about 6 different domains and they all work fine.  I have looked at the config files on it to try and figure out what I'm doing wrong on the SLS, but I can't seem to find an answer.  Any suggestions would be appreciated.

    This likely doesn't have anything to do with paths - an incorrect path would generally lead to a 404 - File not found error, not the wrong virtual host.
    It sounds to me that Apache is selecting the wrong virtual host configuration to serve the request, and that's way higher than the path.
    If all services are running on the same port then Apache looks at the ServerName and ServerAlias directives. These define which hostnames in the request should map to the configuration. Check these settings in the site that's not working (as well as in the ones that are working to make sure the incorrect hostname isn't set there).

  • Changing DNS Server on Lion OD/Kerberos Master

    I have an interesting task ahead of me, but am unsure how best to proceed.
    I spent days setting-up my new Lion Server and attached Pegasus RAID array.  There are 140 users, 8 share points, and hundreds of different ACL permutations within the AFP shares that reside on a thunderbolt-attached Pegasus array.  The only services running on the box are DNS, AFP, and OD.
    I added a secondary server and intended to use it as an OD replica (redundancy is great, but the speed increase would also be great).  Problem is that I set them both with .local names.  I can't get an OP replica to run unless they are within the same DNS zone, and so that is what I am looking to do.
    I have read a lot of Apple support documents and a couple books, and understand that changing the DNS server will likely break OD (certainly Kerberos).
    My goal is to re-zone the DNS while preserving OD users, groups, passwords, and most importantly: how they relate to the ACLs on the Pegasus unit (I would very much like to avoid having to re-do all those permissions - particularly within the Lion Server UI).
    If I need to do a re-install and then laterally migrate, I certainly can.  I am hoping for the path of least headache to be sure.
    If anyone has advise on how to do this as painlessly as possible, I would appreciate it.

    Will the OD archive contain the old DNS settings and somehow muck this up?
    I don't know the answer to all of your questions but I do know this: If you have an OD archive from a master that had an incorrect hostname, this information was put into your archive.
    "Open Directory" is comprised of three components: PasswordServer, LDAPv3 and Kerberos. This is what is backed up during an OD Archive. So if you have a archive from a machine with messed up DNS, I would not trust that everything will be fine after the restore.
    Maybe somebody else can chime in and offer you further help...

  • Integration Repository/ Directory Problem - Unable to connect to server

    Unable to connect to server xxxxx:50xxx. Check server availability.
    #8 08:40:44 [AWT-EventQueue-0] ERROR com.sap.aii.utilxi.swing.toolkit.ExceptionDialog: Throwable
    Thrown:
    MESSAGE ID: com.sap.aii.ib.core.ejbutil.rb_all.SERVER_NOT_AVAILABLE
    com.sap.aii.utilxi.misc.api.ReconnectRuntimeException: Unable to connect to server alixidv2:50104. Check server availability
         at com.sap.aii.ib.clsif.login.EJBHomeFactory.initRemoteFactory(EJBHomeFactory.java:141)
         at com.sap.aii.ib.clsif.login.LoginServiceProvider$LoginServiceImpl.initRemoteFactory(LoginServiceProvider.java:315)
         at com.sap.aii.ib.clsif.login.LoginServiceProvider$LoginServiceImpl.login(LoginServiceProvider.java:217)
         at com.sap.aii.ib.clsif.login.LoginServiceProvider$LoginServiceImpl.login(LoginServiceProvider.java:173)
         at com.sap.aii.ib.clsif.login.LoginServiceProvider$LoginServiceImpl.login(LoginServiceProvider.java:167)
         at com.sap.aii.ib.gui.login.SplashLoginImpl.doLogin(SplashLoginImpl.java:165)
         at com.sap.aii.ib.gui.login.SplashLoginFrame$6.run(SplashLoginFrame.java:440)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Root cause:
    com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection on host: 192.168.79.64 and port: 50104
    java.net.SocketException: Malformed reply from SOCKS server
         at java.net.SocksSocketImpl.readSocksReply(Unknown Source)
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at com.sap.engine.services.rmi_p4.ConnectionManager.getSocket(ConnectionManager.java:325)
         at com.sap.engine.services.rmi_p4.ConnectionManager.getConnection(ConnectionManager.java:215)
         at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.resolveInitialReference(P4ObjectBrokerClientImpl.java:149)
         at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.resolveInitialReference(P4ObjectBrokerClientImpl.java:114)
         at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.resolveInitialReference(P4ObjectBrokerClientImpl.java:110)
         at com.sap.engine.services.security.remote.login.RemoteLoginContext.<init>(RemoteLoginContext.java:60)
         at com.sap.aii.ib.clsif.login.EJBHomeFactory.logonWithoutTicket(EJBHomeFactory.java:816)
         at com.sap.aii.ib.clsif.login.EJBHomeFactory.connect(EJBHomeFactory.java:388)
         at com.sap.aii.ib.clsif.login.EJBHomeFactory.initRemoteFactory(EJBHomeFactory.java:126)
         at com.sap.aii.ib.clsif.login.LoginServiceProvider$LoginServiceImpl.initRemoteFactory(LoginServiceProvider.java:315)
         at com.sap.aii.ib.clsif.login.LoginServiceProvider$LoginServiceImpl.login(LoginServiceProvider.java:217)
         at com.sap.aii.ib.clsif.login.LoginServiceProvider$LoginServiceImpl.login(LoginServiceProvider.java:173)
         at com.sap.aii.ib.clsif.login.LoginServiceProvider$LoginServiceImpl.login(LoginServiceProvider.java:167)
         at com.sap.aii.ib.gui.login.SplashLoginImpl.doLogin(SplashLoginImpl.java:165)
         at com.sap.aii.ib.gui.login.SplashLoginFrame$6.run(SplashLoginFrame.java:440)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    #7 08:40:44 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.aii.utilxi.misc.api.ReconnectRuntimeException: com.sap.aii.utilxi.misc.api.ReconnectRuntimeException:
         at com.sap.aii.ib.clsif.login.EJBHomeFactory.initRemoteFactory(EJBHomeFactory.java:141)
         at com.sap.aii.ib.clsif.login.LoginServiceProvider$LoginServiceImpl.initRemoteFactory(LoginServiceProvider.java:315)
         at com.sap.aii.ib.clsif.login.LoginServiceProvider$LoginServiceImpl.login(LoginServiceProvider.java:217)
         at com.sap.aii.ib.clsif.login.LoginServiceProvider$LoginServiceImpl.login(LoginServiceProvider.java:173)
         at com.sap.aii.ib.clsif.login.LoginServiceProvider$LoginServiceImpl.login(LoginServiceProvider.java:167)
         at com.sap.aii.ib.gui.login.SplashLoginImpl.doLogin(SplashLoginImpl.java:165)
         at com.sap.aii.ib.gui.login.SplashLoginFrame$6.run(SplashLoginFrame.java:440)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    #6 08:40:44 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.aii.utilxi.misc.api.ReconnectRuntimeException:
    #5 08:40:44 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.engine.services.rmi_p4.P4IOException: com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection on host: 192.168.79.64 and port: 50104
    java.net.SocketException: Malformed reply from SOCKS server
         at java.net.SocksSocketImpl.readSocksReply(Unknown Source)
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at com.sap.engine.services.rmi_p4.ConnectionManager.getSocket(ConnectionManager.java:325)
         at com.sap.engine.services.rmi_p4.ConnectionManager.getConnection(ConnectionManager.java:215)
         at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.resolveInitialReference(P4ObjectBrokerClientImpl.java:149)
         at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.resolveInitialReference(P4ObjectBrokerClientImpl.java:114)
         at com.sap.engine.services.rmi_p4.P4ObjectBrokerClientImpl.resolveInitialReference(P4ObjectBrokerClientImpl.java:110)
         at com.sap.engine.services.security.remote.login.RemoteLoginContext.<init>(RemoteLoginContext.java:60)
         at com.sap.aii.ib.clsif.login.EJBHomeFactory.logonWithoutTicket(EJBHomeFactory.java:816)
         at com.sap.aii.ib.clsif.login.EJBHomeFactory.connect(EJBHomeFactory.java:388)
         at com.sap.aii.ib.clsif.login.EJBHomeFactory.initRemoteFactory(EJBHomeFactory.java:126)
         at com.sap.aii.ib.clsif.login.LoginServiceProvider$LoginServiceImpl.initRemoteFactory(LoginServiceProvider.java:315)
         at com.sap.aii.ib.clsif.login.LoginServiceProvider$LoginServiceImpl.login(LoginServiceProvider.java:217)
         at com.sap.aii.ib.clsif.login.LoginServiceProvider$LoginServiceImpl.login(LoginServiceProvider.java:173)
         at com.sap.aii.ib.clsif.login.LoginServiceProvider$LoginServiceImpl.login(LoginServiceProvider.java:167)
         at com.sap.aii.ib.gui.login.SplashLoginImpl.doLogin(SplashLoginImpl.java:165)
         at com.sap.aii.ib.gui.login.SplashLoginFrame$6.run(SplashLoginFrame.java:440)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    #4 08:40:44 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.engine.services.rmi_p4.P4IOException: Cannot open connection on host: 192.168.79.64 and port: 50104
    #3 08:38:43 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "TypeConntestObj" is not registered in the service class Type Service - Type Information
         at com.sap.aii.ib.core.service.ServiceBase.getServiceImpl(ServiceBase.java:71)
         at com.sap.aii.ib.bom.gen.TypeServiceImpl.getTypeInformation(TypeServiceImpl.java:82)
         at com.sap.aii.ib.gui.xiitem.services.InternalXiItemService.getTypeInfo(InternalXiItemService.java:23)
         at com.sap.aii.ib.gui.xiitem.services.InternalXiItemService.createEmptyXiItem(InternalXiItemService.java:92)
         at com.sap.aii.ib.gui.xiitem.services.XiItemServiceProvider.createEmptyXiItem(XiItemServiceProvider.java:97)
         at com.sap.aii.ib.gui.xiitem.InternalXiItemServiceForNameNamespaceObjects.addType(InternalXiItemServiceForNameNamespaceObjects.java:68)
         at com.sap.aii.ib.gui.xiitem.InternalXiItemServiceForNameNamespaceObjects.<init>(InternalXiItemServiceForNameNamespaceObjects.java:55)
         at com.sap.aii.ib.gui.applcomp.StartupCodeEntry.guiStartup(StartupCodeEntry.java:151)
         at com.sap.aii.ib.gui.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:108)
         at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33)
         at com.sap.aii.ibrep.gui.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:93)
         at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33)
         at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponentImpl.startup(ExplicitApplicationComponentImpl.java:116)
         at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.startup(ExplicitApplicationComponents.java:383)
         at com.sap.aii.ib.core.applcomp.ApplicationComponent.startup(ApplicationComponent.java:209)
         at com.sap.aii.ib.gui.login.SplashLoginFrame$6.run(SplashLoginFrame.java:429)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    #2 08:38:43 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "TypeConntestObj" is not registered in the service class Type Service - Type Information
    #1 08:38:43 [AWT-EventQueue-0] FINE AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "versConflList" is not registered in the service class Type Service - Type Information
         at com.sap.aii.ib.core.service.ServiceBase.getServiceImpl(ServiceBase.java:71)
         at com.sap.aii.ib.bom.gen.TypeServiceImpl.getTypeInformation(TypeServiceImpl.java:82)
         at com.sap.aii.ib.gui.xiitem.services.InternalXiItemService.getTypeInfo(InternalXiItemService.java:23)
         at com.sap.aii.ib.gui.xiitem.services.InternalXiItemServiceBase.<init>(InternalXiItemServiceBase.java:44)
         at com.sap.aii.ib.gui.xiitem.CommonInternalXiItemService$ForVersionConflictList.<init>(CommonInternalXiItemService.java:326)
         at com.sap.aii.ib.gui.applcomp.StartupCodeEntry.guiStartup(StartupCodeEntry.java:147)
         at com.sap.aii.ib.gui.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:108)
         at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33)
         at com.sap.aii.ibrep.gui.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:93)
         at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:33)
         at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponentImpl.startup(ExplicitApplicationComponentImpl.java:116)
         at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.startup(ExplicitApplicationComponents.java:383)
         at com.sap.aii.ib.core.applcomp.ApplicationComponent.startup(ApplicationComponent.java:209)
         at com.sap.aii.ib.gui.login.SplashLoginFrame$6.run(SplashLoginFrame.java:429)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    #0 08:38:43 [AWT-EventQueue-0] DEBUG AutoLog.created.com.sap.aii.ib.core.service.TypeNotRegisteredException: Type "versConflList" is not registered in the service class Type Service - Type Information

    HI,
       there could be a few reasons for this.
    First thing to try is accessing the Repository or Directory directly,
      .e.g.,
        http:<host name>:<JEE port>/dir/start/directory.jnlp
    or
        http:<IP Address>:<JEE port>/dir/start/directory.jnlp
    If the first one works then check the exchangeProfile for incorrect hostname and port entries.
    If using the hostname does not work but the IP address does then check the etc/hosts file.
    If this problem occurred after a SP update then try restarting  the Java Engine.
    If it is a PI 7.1 system with a local SLD then refer to the note -
    [No automatic PI 7.10 SLD Registration|http://service.sap.com/sap/support/notes/1334053]
    Regards
      Kenny

Maybe you are looking for

  • MM and SD question

    Hi, I'm setting the following procedure: 1) A customer makes an order and I create a sales order from SD with trx VA01 which creates automatically a purchase requisition (PRQ); 2) I convert the purchase requisition into a purchase order (PO) because

  • Has anyone tried to add a Dericam to Time Capsule

    I have a Dericam and I cannot get it to pare with Time Capksule.  I have been in contact with the manufacturer but they haven't been much help.  If anyone has had ant experience withe this product any help would be greatly appreciated.

  • Unapproved Sales Order Procurement Wizard creates target document

    Production Order Creation through Procurement Wizard 1. Create a sales order with an item that has a Bill of Material In OEC computers Customer = "Norm Thompson" Item = "S10000" "Server Point 10000" 2. Set Sales Order to Unapproved ( Logistics Tab ->

  • Black screen in bootcamp

    Lately, my Mac Pro (12-core 2.4gHz -- from mid 2010 I believe) is going to a black screen when running Windows after a period of time.  I think it's effectively a Windows BSOD but without the information on screen.  I have to do a hard reboot to get

  • Authorization Object for Transaction Code

    Hi, Is there a report I can execute to give me the list of authorization object for this transaction code? Thanks.