Honia A wrote:
> Thanks Benjamin, I really have no clue what the problem is with localhost...
> 
> OK, I made it to the step where I run /sudo /etc/init.d/opennms start/
> command but it fails, here's part of the log:
> 
> Caused by: java.lang.reflect.UndeclaredThrowableException: Could not
> lookup the host name for the local host machine:
> java.net.UnknownHostException: localhost: localhost
> 
> Does this mean I have to change the lookup value in
> poller-configuration.xml so instead of localhost it points to the IP
> address?
> 
> Please help :-)

It means that your system, outside of OpenNMS and PostgreSQL is missing
a host entry for "localhost" which will cause all kinds of unusual
issues even if opennms and postgresql were not installed.

You should really fix your /etc/hosts file to have a localhost entry.
Mine looks like this:

127.0.0.1       localhost

Then you can undo all of the weird localhost-related changes you've
made, and it will all work.  ;)

As an aside, this isn't really a development issue, it's a configuration
issue, it would be more suited for the opennms-discuss list in the future.

-- 
Benjamin Reed
The OpenNMS Group
http://www.opennms.org/


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to