Error in getting host address
Hi All,
I am using
final InetAddress inetAddress=InetAddress.getLocalHost();
String fHostAddress=inetAddress.getHostAddress();for getting the host address. In windows It is working fine. I am getting the proper address (10.25.23.25). but in SUSE Linux its showing
127.0.0.1, i need your help pls
regards
I assume that you do not have a public interface, or your hostname entry in your hosts file is located on the same line as your localhost entry. Or possibly that your hostname is localhost (check with 'hostname' command).
Similar Messages
-
Network Error []: Cannot Get Host Name when running business rules
Guru's
We are getting the following error intermittently when we are running business rules (Planning Application >>Tools>>Business Rules) or running SmartView refreshes:
Network error []: Cannot Get Host Name
The following is then logged in the Essbase Application logs:
Local/Application/Database/admin@Native Directory/Error(1042022)
Network error []: Cannot Get Host Name.
A quick look at the Essbase Error Messages Doc says it is a network error and we have to consult the network documentation. Unfortunately this is not very descriptive so we logged an SR with Oracle but we don't seem to be getting a resolution.
The environment is 11.1.2.0 and the architecture is as follows:
Server 1 - MS Server 2008 x64:
Planning, Calc Manager, Foundation Services, Framework Web Services, EAS, APS, Web Analysis, FR Web Services
Server 2 - MS Server 2008 x64:
Essbase Server
Server 3 - MS Server 2008 x64:
Framework Services, FR Print Services
We have tried doing the following:
1. Put in the server host names into the hosts file on the Hyperion Servers
2. Applied the following TCP/IP settings on all the Hyperion Servers and one of the user machines as a test:
- Added a new DWORD Value named TcpTimedWaitDelay and set it to 30.
- Added a new DWORD Value named MaxUserPort and set it to 65534.
- Added a new DWORD Value named MaxFreeTcbs and set it to 6250
3. Confirmed that there are no packet drops by monitoring the server NICs so no packet loss could be the cause of this issue
4. The Essbase Config file has the following settings:
NETDELAY 2000
NETRETRYCOUNT 2500
Has anyone come across this issue and if you managed to resolve it, how did you go about it.
ThanxHi Rahul
The issue is happening to a number of calcs so it it not one calc specifically. I will ask the functional consultants to enhance the logging in the business rules so that we can see if the issue happens on a specific member\block etc and yes we do use Xrefs
We can run this as a calc in EAS without any issues and it's intermittent because this business rule runs 95% of the time in Planning Application >> Tools >>Business Rules without any issues.
Thanks -
Hi all,
My jsp file runs in a Weblogic server. The server has been registered an host name and ip address in interent. In my jsp file, I need to get the ip address that is accessible in internet. But I encountered the following problem:
The host name of my server is: www.myudc.com.cn
The ip address of this server is: 202.108.95.108 (in interent)
192.168.0.108 (in intranet)
When I use InetAddress.getByName("www.myudc.com.cn").getHostAddress, it returns the intranet ip 192.168.0.108.
How can I get the interent ip 202.108.95.108 by host name?
Thank you very much in advance!
BR/ShirleyHi Shirley,
this forum is only for J2ee SDK (SUN) related questions.
Sorry,
-- markus. -
Network error []: Cannot Get Host Name
Is there a config or other Essbase setting I can use to eliminate this error?
My calc script completes successfully after an hour, the numbers are always correct.
This error show up randomly. You don't see it for a week, then three days straight. Then gone for a month....Hi Rahul
The issue is happening to a number of calcs so it it not one calc specifically. I will ask the functional consultants to enhance the logging in the business rules so that we can see if the issue happens on a specific member\block etc and yes we do use Xrefs
We can run this as a calc in EAS without any issues and it's intermittent because this business rule runs 95% of the time in Planning Application >> Tools >>Business Rules without any issues.
Thanks -
Failed to get IP address for Local Host (2) , OPMNCTL: opmn start failed
HI,
Hi, I have installed on Oracle 10g on Redhat Enterprise Linux V.2.1 . I was able to start OEM without any issues. Recently I had changed the static IP address and I couldn't able to start OPMNCTL and getting the following error while starting opmnctl start. error message is as follows.
Failed to get IP address for local host(2).....
Failed to get IP address for local host(2).....
Failed to get IP address for local host(2).....
my current configuration in /etc/hosts file is as follows.
127.0.0.1 localhost.localdomain servername
After going through some of threads available in Oracle, I have added the static IP address in the /etc/hosts but still I am getting the same error.
my new hosts file is as follows.
127.0.0.1 localhost.localdomain servername
10.21.253.102 localhost.localdomain servername
I don't know why this is looking for localhost (2). I did not set up any local host (2) and I could not see anything in my network confiuration also.
could you please help me in this issue? I appreciate your help in this regard.
Thanks
venkatHi, i think that the application server part is looking for a /etc/hosts entry
in this format:
127.0.0.1 localhost
As i noticed, this is used for internal communication.
Try this entry as is, without a domain... -
when syncing my iphone 6 plus, i now get an error that reads, "IP address conflicts with another system or network." How can i eliminate this error permanently? Thank you in advance!
This never happened before, however the last couple of months it comes up every time I plug my USB from PC to iphone.HyperNova Software,
Thank you so much. Because I am very computer illiterate, could you help me on how to get started? I don't have the slightest on where to get started, the steps to follow, etc.
Can't thank you enough for your help! -
Any command to get IP host address in Oracle Form 6i?
Dear all,
Any command to get IP host address in Oracle Form 6i?
Best Regards,
AmyAmy,
There is sample code on OTN that allows you to fetch client information such as the IP Address with Forms 6i. Here is the link:[Get Client Information|http://www.oracle.com/technology/sample_code/products/forms/6idemos.html]
Hope this helps.
Craig...
-- If my response or the response of another is helpful or answers your question please mark the response accordingly. Thanks! -
When I send an e-mail to a group address, from my address book, I get an error messageI get an error message that one of them is not a valid e-mail address, although I have used it alone without any problem.
See https://support.mozilla.org/en-US/questions/1018363
-
I have set up a 'group' in my contacts. When I go to send an email to this 'group', I get an error message saying 'Invalid Address'. What am I doing wrong?
I have this problem too. I've always sent messages successfully via bcc to a group using a group email list in contacts. Now ... all of a sudden when I select the same group for bcc nothing happens! Cannot email my group now. Why not?
-
Keep getting a pop up at the top of many websites I visit 'firefox security error content at *web address* may not load" I am using the most recent firefox and windows 7. This is happening at many sites, such as hotmail, google reader, and many others.
Sorry, I don't think that is a message from inside Firefox, the wording doesn't sound correct - at least the beginning of that message. My "gut" thinks that is a MSN Live message to explain and compensate for their lack of security with a re-direct from a secure domain to an un-secure domain. ''(the end of that message)''
{Ctrl + Shft + J} will open the Firefox Error Console - I'm curious what Firefox has to say about that situation. If you find the error message for that domain, you can right-click the message to '''copy''' it and then paste that error message here.
Maybe '''TonyE''' or '''cor-el''' will be more familiar with the situation at Live and maybe at Google Reader, I don't use either of those services and have never seen a message like that myself. -
Getting host name and IP address
I have develop different types of forms which resides on server and clients are acessing it.Now from my end i want to track that which user is accessing my forms on the server i.e i want to know the client IP address and host name.When the user execute some query on the database then i will get it easily using sys_context function but if it perform some functions within the form and i catch the host name then it returns the server host name where the actual forms resides not the client host name and i want to know the client host name and IP address who is running the forms.Plz let me know the way so i can do that easily .
thanksHi Grant,
I want to get ip/address host name of reports server, sitting on forms server.
can you tell me how to do this.
in a web base environment.
i have several report server instances running on different machines.
when i run a report using RUN_REPORT_OBJECT using report_server=mac_rep1
i want to know mac_rep1 resides on which host/ip machine.
regds -
DHCP via Hyper-V VM, Server2012r2 Hyper-V host, clients not getting IP address
You have to authorize a dhcp server as Britv8 says. That's the only way it'll start dishing out leases. That's standard for Windows DHCP server in an AD Domain.
Also there's 0 reason to mention Hyper-V here. The whole point of virtualization is to do hardware level abstraction.I recently encountered this. Setup:
Initial setup of the system was at a different location from its final destination, with different network equipment (switches) between the two. No teaming is involved, however.
Set up the system at its final destination, with DHCP via a Hyper-V VM (Server2012r2), Server2012r2 Hyper-V host, physical clients on the lan were not getting IP address.
The physical server box has a 4-port Intel Gigabit ethernet card.
I moved the setup (Hyper-V Virtual Switch manager) so that the interface for the DHCP server VM was isntead using one of two built-in Broadcom adapters.
While this topic seemed promising,
http://community.spiceworks.com/topic/251317-hyper-v-vm-not-leasing-ip-s-dhcp
unfortunately, "fiddling about" was not what I was looking for as possible solution.
My notes for the resolution:
Hyper-V system running...
This topic first appeared in the Spiceworks Community -
I have been uploading muse to my server for months...all of a sudden I get an error - Error uploading FTP Host (Failed FTP upload 550) what is this?
Hi,
Your reply is blank. Looks like you tried to insert the screenshot but it didn't come through. Please use the image attachment option in the reply window to insert the screenshot.
Regards,
Aish -
Hi
It has been reported than an external person is unable to email one of our staff and is getting this bounceback.
The problem is, this member of staff has been here for year, emails works fine for everyone else etc, any ideas of the cause of the problem? We are using exchange 2010 fwiw
Subject: Mail delivery failed: returning message to sender
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its recipients.
This is a permanent error. The following address(es) failed: [email protected]Hi,
I think the sender should check their exchange if there are any problems first.
Accroding to your description, it seems that this is not your problem.
Thanks.
Niko Cheng
TechNet Community Support -
How to get ip address of host?
Hello,
Is there any way to get ip address of host via sql or pl/sql?
Thanks in advance.as sys or system or whatever
create view hackview as select host_name from v$instance;
grant select on hackview to public < or whatever >
create public synonym for hackview
now you can do it to your heart's content. select host_name from hackview
note : hostname may change if rac or standby in use.
Maybe you are looking for
-
I installed Oracle 9i database for Windows XP but I try to login Oracle 9i database using Oracle Enterprise Manager console, I got error message ORA-12541: TNS: no listener. Cheers, Helen
-
Hello, I am new to iWeb. I have created a website and published it at http://web.me.com/ few months ago. Everythig was OK The problem is that now (maybe after same updates, I don't know) I can not see this site in the "IWeb". It doesn't appear in thi
-
DI Server - Cannot connect to named instance SQL server database
Hi, I have developed a small DI server application and want to migrate it to a production server. I keep on getting the Cannot connect to SBOCommon error on login though. I have verified all user names and passwords and the only real difference is th
-
How to turn off the Automatic link update in InDesign CS5.5?
We have a problem with the Automatic link update in InDesign CS5.5 vers. 7.6 We want to see which images have been updated / modified (ie, marked with the yellow triangle in the links panel). We want to be able to update the links manually. Q1: Altho
-
Macbook Air 11" to TV - Resolution Issue
Issue: my 32" TV (Insignia) does not offer a Display option of 1366 x 768. I connected my Macbook to the TV with HDMI--the only way to get the Macbook display on the monitor is at the 1280x768 option (TV). The image on my Macbook screen is fine, but