LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-05-2011, 10:22 AM   #1
Aqua_Regia
Member
 
Registered: Oct 2011
Posts: 37

Rep: Reputation: Disabled
ECCE localhost


I have been trying to setup Extensible Computational Chemistry Environment server to use localhost as the server but when I go to run the ECCE program/application it can not find the server no matter what port I use. I can access the localhost ecce server using firefox by typing in "localhost:8080" to the url bar which pulls up some ECCE help documentation. Is this a matter of allowing ports on a firewall even if the program and server are running on localhost or something else?
 
Old 11-07-2011, 02:25 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
I am replying not because I know anything about ECCE but because nobody else has and the thread is getting old ...

Do you have any iptables settings that might be acting as a firewall? You can list them with iptables --list-rules. If none are set the output is:
Code:
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
Which Linux distro are you using? Does it and the hardware match ECCE's requirements? Did you follow the "ECCE 6.0 Installation and Administration" procedure? Were there any error messages? When you run the ecce command, what happens? Have you looked at the Apache logs, perhaps in the /var/log/apache2 directory?
 
Old 11-08-2011, 08:34 AM   #3
Aqua_Regia
Member
 
Registered: Oct 2011
Posts: 37

Original Poster
Rep: Reputation: Disabled
Thanks for the reply. I'm using Fedora 15 and my hardware matches ECCE's system requirements. I have been following the Installation pdf provided on their website but couldn't find any answers there. In regards to the firewall I disabled it entirely using '/sbin/service iptables stop' but still received the same error. Here is the error I'm seeing.

Code:
[wcucluster.master@wcucluster logs]$ ecce
Starting ECCE ... please wait
Nov 8, 2011 9:29:00 AM org.apache.activemq.util.IdGenerator <clinit>
WARNING: could not generate unique stub
java.net.UnknownHostException: wcucluster.master: wcucluster.master
	at java.net.InetAddress.getLocalHost(Unknown Source)
	at org.apache.activemq.util.IdGenerator.<clinit>(IdGenerator.java:51)
	at org.apache.activemq.ActiveMQConnection.<clinit>(ActiveMQConnection.java:108)
	at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:283)
	at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:251)
	at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:222)
	at org.apache.activemq.ActiveMQConnectionFactory.createTopicConnection(ActiveMQConnectionFactory.java:200)
	at gov.pnnl.emsl.ecce.jms.JMSDispatcher.createConnection(JMSDispatcher.java:1146)
	at gov.pnnl.emsl.ecce.jms.JMSDispatcher.<init>(JMSDispatcher.java:273)
	at gov.pnnl.emsl.ecce.jms.JMSDispatcher.main(JMSDispatcher.java:1181)
javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:8088. Reason: java.net.UnknownHostException: wcucluster.master: wcucluster.master

  ERROR: The ECCE application software cannot
  establish a connection to the ECCE Server
  at this time.

  Please contact your ECCE administrator to check
  that the ECCE Server is running and that the
  ECCE application software configuration file
  '/home/wcucluster.master/ECCE/ecce-v6.0/apps/siteconfig/DataServers'
  contains the correct URL for your ECCE Server.
To me it looks like the apache and activemq servers/services are not running. Looking at the Install guide all they mention is how to verify if the Apache/activemq servers are running.
Quote:
After starting the server, you may verify that the Apache httpd daemon and child httpd processes are
running, as well as the ActiveMQ server:
prompt% ls /myfiles/ecce-v6.0/server/apache/logs/httpd.pid
prompt% ps -ef | grep “java” | grep “Dorg.apache”
The file they wanted me to look for exists on my system and when I run the last command I don't receive any output in the terminal.
 
Old 11-08-2011, 09:40 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
It looks as if the problem may be ECCE-specific in which case I can't help. You could try mailing ecce-support@emsl.pnl.gov.

Unfortunately IDK Fedora either. I do know a little about Apache though ...

Regards the Apache check, the existence of /myfiles/ecce-v6.0/server/apache/logs/httpd.pid is not a robust check and the location for the PID file is unconventional. A more robust check would be ps -ef | grep httpd | grep -v grep

Do you know where the Apache configuration files are? Or how it is started? There may be some clues there.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache : localhost/ works localhost/index.html does not PhilA Linux - Server 4 05-27-2007 07:32 PM
MySQL: Why are there two roots localhost, and localhost.localdomain? paulsiu Linux - Server 6 04-18-2007 09:43 AM
Change mathieu@LOCALHOST (the localhost) frz Linux - Newbie 12 07-03-2006 08:04 PM
Change localhost name in username@localhost n175uj Linux - Newbie 4 07-01-2005 08:25 PM
Message from syslogd@localhost localhost kernel: Disabling IRQ #21 ylts Linux - Hardware 0 02-26-2005 08:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration