Connection refused when connecting SMP 3 to ASE 16

Hi all,
We're in the process of setting up an installation of SMP 3.0 with Sybase ASE 16 for one of our clients. The final goal is to run the SAP EHS Safety Issue mobile app.
When installing SMP 3.0 with Derby database, I'm able to start the system without any problems. However, when I try the installation configuring the Sybase ASE DB, the service gets stuck on a loop while starting up and doesn't react. I cannot stop it manually nor restart it. The only way to stop it is by restarting the system.
On the Sybase side of things, I can install the ASE without any issues. I have also done all the preliminary steps to create the user and smp3 DB for SMP. I've connected to the DB using this user and I'm able to see that the smp3 DB is created.
When looking at the logs, I can see an exception with the message: Connection refused. Here's an excerpt:
2014 07 28 15:01:10#0-500#ERROR#org.jgroups.protocols.SMP_JDBC_PING##anonymous#Timer-2,SAPDSMP-5000-smp3-smpserver:com.sap.mobile.platform.server.online.admin.backendconnections.cluster.ClusterBackends,SAPDSMP-4630###Failed creating JDBC connection for SMP_JDBC_PING java.sql.SQLException: JZ006: Caught IOException: java.net.ConnectException: Connection refused: connect
  at com.sybase.jdbc4.jdbc.SybConnection.getAllExceptions(Unknown Source)
  at com.sybase.jdbc4.jdbc.SybConnection.handleSQLE(Unknown Source)
  at com.sybase.jdbc4.jdbc.SybConnection.tryLogin(Unknown Source)
  at com.sybase.jdbc4.jdbc.SybConnection.handleHAFailover(Unknown Source)
Any idea what may be causing this issue?
Kind regards,
Omar

I tried using the go.bat to start the server and got the same error. Here's the output:
Using SMP_BASE:    "D:\SAP\MobilePlatform3\Server"
Using SMP_HOME:    "D:\SAP\MobilePlatform3\Server"
Using SMP_OPTS:    " "-Dlog4j.logfiles.path=D:\SAP\MobilePlatform3\Server\log" "
-Dwicket.configuration=development" "-Dmobiliser.home=D:\SAP\MobilePlatform3\Ser
ver" "-DMOBILISER_PROTOCOL=http" "-DMOBILISER_HOSTNAME=localhost" "-DMOBILISER_P
ORT=8080" "-DMOBILISER_HOST=http://localhost:8080" "-Dtracker.defaultHost=localh
ost" "-Dtracker.defaultPort=8080" "-Dtracker.defaultServlet=/mobiliser" "-Dcom.s
ap.mobile.platform.server.home=D:\SAP\MobilePlatform3\Server" "-DPREFS_PROTOCOL=
prefs""
Using JAVA_HOME:   "D:\SAP\MobilePlatform3\sapjvm_7"
"Updating SMP3 Server P2 Repository Locations to: D:\SAP\MobilePlatform3\Server/
p2"
        1 file(s) moved.
        1 file(s) moved.
"Updating server log name to reflect the hostname"
        1 file(s) moved.
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 7.1.012)
SAP Java Server VM (build 7.1.012 23.5-b11, Aug  8 2013 23:45:34 - 71_REL - optU
- windows amd64 - 6 - bas2:201691 (mixed mode))
D:\SAP\MobilePlatform3\Server>"D:\SAP\MobilePlatform3\sapjvm_7\bin\java.exe" -se
rver  -XtraceFile=log/vm_@PID_trace.log   "-Dlog4j.logfiles.path=D:\SAP\MobilePl
atform3\Server\log" "-Dwicket.configuration=development" "-Dmobiliser.home=D:\SA
P\MobilePlatform3\Server" "-DMOBILISER_PROTOCOL=http" "-DMOBILISER_HOSTNAME=loca
lhost" "-DMOBILISER_PORT=8080" "-DMOBILISER_HOST=http://localhost:8080" "-Dtrack
er.defaultHost=localhost" "-Dtracker.defaultPort=8080" "-Dtracker.defaultServlet
=/mobiliser" "-Dcom.sap.mobile.platform.server.home=D:\SAP\MobilePlatform3\Serve
r" "-DPREFS_PROTOCOL=prefs" -XX:ErrorFile="D:\SAP\MobilePlatform3\Server\log\err
or.log" -XX:HeapDumpPath="D:\SAP\MobilePlatform3\Server\log\heap_dump.hprof" "-X
X:+HeapDumpOnOutOfMemoryError" "-XX:+DisableExplicitGC" "-Xms1024m" "-Xmx2048m"
"-XX:PermSize=256M" "-XX:MaxPermSize=512M" "-Dosgi.requiredJavaVersion=1.6" "-Du
seNaming=osgi" "-Dosgi.install.area=." "-Djava.io.tmpdir=./work/tmp" "-Djava.end
orsed.dirs=lib/endorsed" "-Dorg.eclipse.equinox.simpleconfigurator.exclusiveInst
allation=false" "-Dcom.sap.core.process=ljs_node" "-Declipse.ignoreApp=true" "-D
http.proxyHost=" "-Dhttp.proxyPort=" "-Dhttps.proxyHost=" "-Dhttps.proxyPort=" "
-Dorg.eclipse.net.core.enableProxyService=false" "-Dosgi.noShutdown=true" "-Dosg
i.framework.activeThreadType=normal" "-Dosgi.embedded.cleanupOnSave=true" "-Dosg
i.usesLimit=30" "-Djava.awt.headless=true" "-Dtc.active=true" "-Dmail.mime.encod
eparameters=true" "-Dnet.sf.ehcache.skipUpdateCheck=true" "-Dorg.eclipse.gemini.
blueprint.extender.internal.boot.ChainActivator.disableBlueprint=true" "-Dcom.sy
base365.mobiliser.util.tools.springextender.threadpool.size=20" "-Dcom.sybase365
.mobiliser.util.tools.springextender.shutdown.wait.time=35000" "-Dwicket.configu
ration=deployment" "-DlicenseAccepted=true" "-Dorg.apache.tomcat.util.buf.UDecod
er.ALLOW_ENCODED_SLASH=true" "-Dcom.sybase365.mobiliser.framework.service.config
.MobiliserServiceBeanDefinitionParser.serviceAdviceConfig=audit,security,caller-
audit,responseCode,traceableRequest,responseCode,filterExternal,sessionManagemen
t,txn" "-Dcom.sybase365.mobiliser.framework.service.config.MobiliserServiceBeanD
efinitionParser.internalServiceAdviceConfig=security,responseCode,validation,res
ponseCode,filterInternal,sessionManagement,txn" "-Dcom.sybase365.mobiliser.frame
work.service.config.MobiliserInternalServiceBeanDefinitionParser.responseCodeTyp
e=responseCode" "-Dcom.sybase365.mobiliser.framework.service.config.MobiliserInt
ernalServiceBeanDefinitionParser.auditType=audit" "-Dcom.sybase365.mobiliser.mon
ey.persistence.hibernate.dao.transaction.AuthorisationCodeDaoHbnImpl.max=200" "-
Dcom.sybase365.mobiliser.money.persistence.hibernate.dao.transaction.Authorisati
onCodeDaoHbnImpl.table=SEQ_AUTH_CODES" "-Dcom.sybase365.mobiliser.money.persiste
nce.hibernate.dao.transaction.AuthorisationCodeDaoHbnImpl.column=ID_SEQUENCE" "-
Dcom.sybase365.mobiliser.framework.persistence.hibernate.dialect.useTableBasedSe
quences=true" "-Dcom.sybase365.mobiliser.framework.persistence.hibernate.dialect
.useSequenceNameForTableSequences=true" "-Dcom.sybase365.mobiliser.framework.per
sistence.hibernate.dialect.sequenceTableName=SEQ_TABLE_HILO" "-Dcom.sybase365.mo
biliser.framework.persistence.hibernate.dialect.sequenceTableSequenceNameColumnN
ame=STR_SEQUENCE_NAME" "-Dcom.sybase365.mobiliser.framework.persistence.hibernat
e.dialect.sequenceTableSequenceValueColumnName=ID_SEQUENCE_NEXT_HI_VALUE" "-Dcom
.sybase365.mobiliser.framework.persistence.jdbc.bonecp.pool.lazy=true" "-Dcom.sa
p.mobile.platform.server.notifications.baseurl=https://SAPDSMP.corp.local:8081/"
"-Dcom.sap.mobile.platform.online.proxy.maxresponsesize=-1" "-Dcom.sap.mobile.p
latform.server.connection.pool.idletimeout=600" "-Dcom.sap.mobile.platform.serve
r.connection.timeout=60000" "-Dcom.sap.mobile.platform.server.connection.sotimeo
ut=60000" "-Dcom.sap.mobile.platform.server.enable.statistics=true" "-Dcom.sap.m
obile.platform.server.maximum.clientlogfiles=10" "-Dcom.sap.mobile.platform.serv
er.maximum.connectionPoolSize=5000" "-Dcom.sap.mobile.platform.server.maximum.gz
ipPoolSize=5000" "-Dcom.sybase.security.FactoryRetriever=com.sybase.security.int
egration.tomcat7.TomcatFactoryRetriever" "-Dcom.sap.mobile.platform.server.gener
al.status.SMPServerStatusLogging=false" "-DsecretKey=7hZK9zP3cH" "-DsecretKeylen
gth=128" "-DapnsSocksProxyHost=" "-DapnsSocksProxyPort=" "-Dorg.apache.catalina.
authenticator.Constants.SSO_SESSION_COOKIE_NAME=X-SMP-SESSIDSSO" "-Dosgi.logfile
=./log/osgi.log" "-Djava.net.preferIPv4Stack=true" -classpath "D:\SAP\MobilePlat
form3\Server\lib\org.eclipse.virgo.nano.authentication_3.6.2.RELEASE.jar;D:\SAP\
MobilePlatform3\Server\lib\org.eclipse.virgo.nano.shutdown_3.6.2.RELEASE.jar;D:\
SAP\MobilePlatform3\Server\lib\org.eclipse.virgo.util.env_3.6.2.RELEASE.jar;D:\S
AP\MobilePlatform3\Server\plugins\org.eclipse.equinox.launcher_1.3.0.v20120308-1
358.jar;D:\SAP\MobilePlatform3\Server\plugins\com.sap.db.jdbc_1.0.31.362930.jar;
D:\SAP\MobilePlatform3\Server\plugins\jconnect-osgi_7.0.7.ESD5-1.jar;D:\SAP\Mobi
lePlatform3\Server\plugins\com.sybase365.com.ibm.db2jcc4_9.7.4.jar;D:\SAP\Mobile
Platform3\Server\plugins\oracle-jdbc-osgi_11.2.0.x_3.0.0.M1.jar;D:\SAP\MobilePla
tform3\Server\plugins\com.springsource.org.apache.commons.codec_1.4.0.jar;D:\SAP
\MobilePlatform3\Server\plugins\com.springsource.org.apache.commons.codec_1.6.0.
jar;D:\SAP\MobilePlatform3\Server\plugins\com.springsource.org.apache.commons.la
ng_2.5.0.jar" org.eclipse.equinox.launcher.Main -console localhost:2401
Checking DB...
Failed to connect to the database on startup:java.sql.SQLException: JZ006: Caugh
t IOException: java.net.ConnectException: Connection refused: connect
Checking DB...
Failed to connect to the database on startup:java.sql.SQLException: JZ006: Caugh
t IOException: java.net.ConnectException: Connection refused: connect

Similar Messages

  • 10g on enterprise linux AS 3 - connection refused when attempting to ...

    I recently installed 10g on RedHat Linux Enterprise AS 3. The installation appeared to go seamlessly and immediately afterwards I was able to access SQL PLUs via
    http://localhost.localdomain:5560/isqlplus and login as system and perform queries. Shortly thereafter, this stopped working. When attempting to relaunch the browser and direct to this address, I receive the error: The connection was refused when attempting to contact localhost.localdomain:5560. The same error is received for other urls , e.g. ..ulrasearch, em etc.
    I checked some of the prior postings that discuss checking configuration files for Apache, etc. I don't seem to have an Apache directory created anywhere although it is referenced in some of the log files.
    Rebooting the machine makes no difference.
    I am new to 10g and running Oracle on linux so any help is appreciated.

    Alison is right,
    For the another processes you need to type :
    ULTRASEARCH
    $$ORACLE_HOME/bin/searchctl start [stop]
    ENTERPRISE MANAGER DATABSE CONTROL
    $$ORACLE_HOME/bin/emctl start dbconsole [stop]
    ORACLE MANAGEMENT AGENT
    $$ORACLE_HOME/bin/emctl start agent [stop]

  • My 'secure 'connection 'refused' when access iTunes after 8.0.2.20 upgrade

    My 'secure' network connection was 'refused' when access iTunes. I can view & navigate the iTunes store AND I can update my Podcasts successfully...BUT I can't sign in/download /purchase, et al.
    Triage so far...not neccessarily in this order...
    1) Not using Norton or Macafee - using Verizon Security suite
    Checked firewall - itunes is listed a 'safe'
    2) Ran ITunes Dx program - followed the suggestion to check SSL & TLS - checked correctly (log pasted below)
    3) Uninstalled iTunes and then reinstalled - no change
    4) Cleaned out IE files cookies - no change
    5) Renamed the etc/HOST file name - no change
    6) the Apple Help person said that he has no idea and have done what he would have already suggested...
    Below is pasted the results from the iTunes triage...
    Microsoft Windows XP Professional Service Pack 2 (Build 2600)
    Dell Computer Corporation Dimension 4550
    iTunes 8.0.2.20
    QuickTime 7.5.5
    FairPlay 1.1.11
    CD Driver 2.0.7.5
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 2.1.2.7
    Bonjour 1.0.5.11 (118.5)
    iTunes Serial Number FA60CA709F4AAB80
    Current user is an administrator.
    The current local date and time is 2008-12-04 15:04:28.
    iTunes is not running in safe mode.
    Video Display Information
    NVIDIA GeForce4 MX 420
    ** External Plug-ins Information **
    No external plug-ins installed.
    ** Network Connectivity Tests **
    Network Adapter Information
    Adapter Name: {B8B89F3F-B5E7-4802-AEF4-CE01824912C0}
    Description: Intel(R) PRO/100 VE Network Connection - Packet Scheduler Miniport
    IP Address: 192.168.1.45
    Subnet Mask: 255.255.255.0
    Default Gateway: 192.168.1.1
    DHCP Enabled: Yes
    DHCP Server: 192.168.1.1
    Lease Obtained: Thu Dec 04 14:22:10 2008
    Lease Expires: Fri Dec 05 14:22:10 2008
    DNS Servers: 192.168.1.1
    192.168.1.1
    Active Connection: LAN Connection
    Connected: Yes
    Online: Yes
    Using Modem: No
    Using LAN: Yes
    Using Proxy: No
    SSL 3.0 Support: Enabled
    TLS 1.0 Support: Enabled
    Firewall Information
    Windows Firewall is off.
    Connection attempt to Apple web site was successful.
    Connection attempt to iTunes Store was successful.
    Secure connection attempt to iTunes Store was unsuccessful.
    The network connection was refused.
    Secure connection attempt to iPhone activation server unsuccessful.
    The network connection was refused.
    Last successful store access was 2008-12-04 14:53:22.

    Although a didn't currently have Norton and had thought I had uninstalled it (no longer in my program menu & no residual icons et al...there is the 'Semantic' TOOL that must be used to REALLY remove Norton security remnants that are buried deep in the c-drive program files. This I didn't know about...
    So I downloaded the tool from the Norton web page and ran it per their instructions. After rebooting, my 8.0.2.20 iTunes secure connect was fine.
    I spent 9+ days trying to get iTunes to work. Norton is the devil company and I will never use that security program again - especially with all the other Norton-specific issues iTunes is having release after release...

  • Connection Refused when sending adapter test message XI 2.0

    I have received a "java.net.ConnectException: A remote host refused an attempted connect operation." when sending a "Test Client Sending out a Plain Single-Part MIME Message".  I have validated the host name and am not sure where to validate the Port and Url it is sending to. Defaults to Port/Url "8230/JMS"  Where do I look to validate this is correct?

    Hi Dan,
    You are thanking a poster for his answer.
    Please next time also give him points.
    See: /people/mark.finnern/blog/2004/08/10/spread-the-love
    This time I did it for you.
    Remember: When you ask a question you also assume the responsibility to assign points.
    Please check your other questions and if the answers were good.
    Spread the love and give some points.
    Thanks in advance, Mark.

  • Connection Refused when starting node manager on Linux

    Hi,
    I'm using Weblogic 6.1 SP 2 on Redhat Linux 7.1 with Sun JDK 1.3.1. When I'm running
    the Node Manager on one machine and try to connect to it from another machine (Admin
    Server) I'm getting the following message:
    <May 28, 2002 6:35:59 PM IDT> <Error> <NodeManager> <Could not start server 'EnvelopeManagedBackup'
    via Node Manager - reason: '[SecureCommandInvoker: Could not create a socket to the
    NodeManager running on host 'jarjar:5555' to execute command 'online null', reason:
    Connection refused: connect. Ensure that the NodeManager on host 'jarjar' is configured
    to listen on port '5555' and that it is actively listening]'>
    The Node Manager is listening on the server's listen address (jarjar) and on the
    correct port (5555). When running netstat -a | grep 5555 on the server I get the
    following (jarjar is the computer name):
    tcp 0 0 jarjar:5555 *:* LISTEN
    The admin server is registered in the nodemanager.hosts file.
    Can anyone help me on this?

    ....I happened to get "execute command 'online null'" because of a missing
    "Listen Address" and/or "Listen Port" entry in the "Remote Start" tab of the
    Administration Server.
    Node Manager passes on such values when starting up a managed server - if
    either is blank, the managed server can not identify the Admin Server to
    register to...
    Paola R.

  • "Connection refused" when using Java client for Web Service

    I deployed a web service to Weblogic Server 7.0 running on Windows 2000. I can
    use IE browser to see its WSDL perfectly but when I run the Java client, the proxy
    method call generates the following error:
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
    at java.net.Socket.connect(Socket.java:426)
    at java.net.Socket.connect(Socket.java:376)
    at java.net.Socket.<init>(Socket.java:291)
    at java.net.Socket.<init>(Socket.java:119)
    at weblogic.webservice.binding.soap.HttpClientBinding.createSocket(HttpC
    lientBinding.java:412)
    at weblogic.webservice.binding.soap.HttpClientBinding.createSocket(HttpC
    lientBinding.java:390)
    at weblogic.webservice.binding.soap.HttpClientBinding.send(HttpClientBin
    ding.java:246)
    at weblogic.webservice.core.handler.ClientHandler.handleRequest(ClientHa
    ndler.java:34)
    at weblogic.webservice.core.HandlerChain.handleRequest(HandlerChain.java
    :131)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:417)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:359)
    at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:225)
    at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    181)
    at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    207)
    at CenterWSClient.main(CenterWSClient.java:73)
    javax.xml.rpc.JAXRPCException: Failed to send request:java.net.ConnectException:
    Connection refused: connect
    at weblogic.webservice.core.handler.ClientHandler.handleRequest(ClientHa
    ndler.java:37)
    at weblogic.webservice.core.HandlerChain.handleRequest(HandlerChain.java
    :131)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:417)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:359)
    at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:225)
    at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    181)
    at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    207)
    at CenterWSClient.main(CenterWSClient.java:73)
    Exception in handler's handleRequest().
    java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: Conn
    ection refused: connect; nested exception is:
    javax.xml.rpc.soap.SOAPFaultException: Connection refused: connect
    at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    186)
    at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    207)
    at CenterWSClient.main(CenterWSClient.java:73)
    Caused by: javax.xml.rpc.soap.SOAPFaultException: Connection refused: connect
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:459)
    at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:359)
    at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:225)
    at weblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    181)

    In your client program, when you do "new XXX_Impl(String wsdlurl)", did you
    pass in the wsdl you were hitting with browser?
    -Neal
    "Ray Yan" <[email protected]> wrote in message
    news:[email protected]...
    >
    I deployed a web service to Weblogic Server 7.0 running on Windows 2000. Ican
    use IE browser to see its WSDL perfectly but when I run the Java client,the proxy
    method call generates the following error:
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
    atjava.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
    at java.net.Socket.connect(Socket.java:426)
    at java.net.Socket.connect(Socket.java:376)
    at java.net.Socket.<init>(Socket.java:291)
    at java.net.Socket.<init>(Socket.java:119)
    atweblogic.webservice.binding.soap.HttpClientBinding.createSocket(HttpC
    lientBinding.java:412)
    atweblogic.webservice.binding.soap.HttpClientBinding.createSocket(HttpC
    lientBinding.java:390)
    atweblogic.webservice.binding.soap.HttpClientBinding.send(HttpClientBin
    ding.java:246)
    atweblogic.webservice.core.handler.ClientHandler.handleRequest(ClientHa
    ndler.java:34)
    atweblogic.webservice.core.HandlerChain.handleRequest(HandlerChain.java
    :131)
    atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:417)
    atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:359)
    atweblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:225)
    atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    181)
    atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    207)
    at CenterWSClient.main(CenterWSClient.java:73)
    javax.xml.rpc.JAXRPCException: Failed to sendrequest:java.net.ConnectException:
    Connection refused: connect
    atweblogic.webservice.core.handler.ClientHandler.handleRequest(ClientHa
    ndler.java:37)
    atweblogic.webservice.core.HandlerChain.handleRequest(HandlerChain.java
    :131)
    atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:417)
    atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:359)
    atweblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:225)
    atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    181)
    atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    207)
    at CenterWSClient.main(CenterWSClient.java:73)
    Exception in handler's handleRequest().
    java.rmi.RemoteException: SOAPFault:javax.xml.rpc.soap.SOAPFaultException: Conn
    ection refused: connect; nested exception is:
    javax.xml.rpc.soap.SOAPFaultException: Connection refused: connect
    atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    186)
    atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    207)
    at CenterWSClient.main(CenterWSClient.java:73)
    Caused by: javax.xml.rpc.soap.SOAPFaultException: Connection refused:connect
    atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:459)
    atweblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.jav
    a:359)
    atweblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:225)
    atweblogic.jws.proxies.CenterWSSoap_Stub.update(CenterWSSoap_Stub.java:
    181)

  • "connection refused" when accessing gmail pop server

    I am having a problem connecting to gmail. I get a "connection refused" error when I try to download or upload mail. This problem started last Saturday Aug, 22nd, give or take a day. As for trouble shooting, here's what info I can share. I am connected to the internet because I can browse websites. I was able to access my mail on the gmail website, using the browser interface. On the website, I was able to read new mail that had been sent to me since the problem started, so there's no problem with the account itself. I have made no recent changes to my e-mail client settings and I tried another email client and had the same type of error message come up. POP is enabled in Gmail. I can not run the telnet test provided on gmail because it appears to be only available to PC users. However, I took my iBook down to the local pub, connected to the internet on wifi, and had no problem. My email client performed its normal functions as usual. At this point I gather the problem has something to do with my ISP specifically not being able to see gmail's server, or vice versa. Should I contact gmail to ask them if there is something they can check? If I have to resolve this through my ISP, what should I tell them to look for? Are there any setting in the System Preference Networking Control Panel I should be checking, such as proxies, ethernet, TCP/IP, etc? Thanks

    I have found that I can use "terminal" on my Mac to run a telnet command on gmail's server addresses. It says "connection refused". Pretty much the same thing my e-mail client said. So I am still working under the assumption that the problem has something to do with my ISP specifically not being able to see gmail's servers, or vice versa. But which is more likely? If the problem is with my ISP, should I simply ask them to change my IP address (or their IP address)? This is an area that I am not very familiar with. And there is an added complication that I may not be able to contact the ISP directly. I will have to speak to the landlord, and it will probably be a situation where I will have to tell the landlord what to say to the ISP. So I'm looking for the layman's nutshell way to convey the info to the landlord so that it does not get lost in the translation to the ISP.
    And another point. I am being told that other users on my landlord's network are not having problems with gmail. Is there a way for ME to force the IP address on MY computer to change? Or is that not really the issue? Thanks

  • SUNW.iws - "Connection refused" when probing a uri in monitor_uri_list

    Hi,
    I use Sun Cluster 3.2 and would like to set Sun Webserver 7u2 as failover resource.
    I configured Resource Group which contain Logical Hostname and Sun Webserver as data resource (using SUNW.iws). I set all nedded data and turn on the resource.
    I've got the messages:
    Feb 11 01:25:21 krasnal-A SC[SUNW.iws:5,Webserver-gr,Webserver-server,iws_svc_start]: Failed to connect to host ha-web and port 80: Connection refused.
    Feb 11 01:25:36 krasnal-A last message repeated 7 times
    Feb 11 01:25:37 krasnal-A SC[SUNW.iws:5,Webserver-gr,Webserver-server,iws_svc_start]: A resource restart attempt on resource Webserver-server in resource group Webserver-gr has been blocked because the number of restarts within the past Retry_interval (620 seconds) would exceed Retry_count (2)
    Feb 11 01:25:37 krasnal-A SC[SUNW.iws:5,Webserver-gr,Webserver-server,iws_svc_start]: Failed to start iPlanet Web Server.
    Feb 11 01:25:37 krasnal-A Cluster.RGM.rgmd: Method <iws_svc_start> failed on resource <Webserver-server> in resource group <Webserver-gr> [exit code <1>, time used: 7% of timeout <300 seconds>]
    server has been shutdown
    In this moment the second node on cluster start the resource and do the same. Monitor, failed, turn off. :-( . Resource are switched 3 times between nodes and at the end get offline status.
    The most important is that connection refused for uri in monitor_uri_list and resource in cluster isn't start or triggering restart/failover.
    It is look like the failover monitor try check resource on port 80 after service start and when notice that service (Webserver) not started - turn down the interface on this node and turn up on second node. Service (webserver) can;t start becouse the interface are down.
    I've found some similar problems which are describes on sunsolve:
    http://sunsolve.sun.com/search/document.do?assetkey=1-1-4900125-1
    and
    http://sunsolve.sun.com/search/document.do?assetkey=1-1-4967197-1
    I'm beginner in cluster problems and maybe I did some big mistake, but ...some help me
    Irek

    Solved!
    I read this post: http://forum.java.sun.com/thread.jspa?messageID=3966316
    and now get things work.
    If you installed NetBeans, you should notice that in your {tomcat_home}/conf/web.xml, NetBeans add these:
      <filter>
        <filter-name>HTTPMonitorFilter</filter-name>
        <filter-class>org.netbeans.modules.web.monitor.server.MonitorFilter</filter-class>
        <init-param>
          <param-name>netbeans.monitor.ide</param-name>
          <param-value>127.0.0.1:8082</param-value>
        </init-param>
      </filter>
      <filter-mapping>
        <filter-name>HTTPMonitorFilter</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>REQUEST</dispatcher>
        <dispatcher>FORWARD</dispatcher>
        <dispatcher>INCLUDE</dispatcher>
        <dispatcher>ERROR</dispatcher>
      </filter-mapping>Now you should comment out these lines and then can get connected.

  • Connection refused when trying to getOutputStream from https connection

    Hi all !
    I want to make an https connection with a server to send/get the request/response
    What can be the cause of the following error in the following code testHttps.java?
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
    at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
    at Test.testHttps.main(testHttps.java:46)
    Exception in thread "main" java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
    at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    at Test.testHttps.main(testHttps.java:51)
    testHttps.java
    package Test;
    import java.io.;
    import java.net.;
    import javax.net.ssl.*;
    public class testHttps {
    public static void main(String args[]) throws Exception {
    //System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
    // Create a trust manager that does not validate certificate chains
    TrustManager[] trustAllCerts = new TrustManager[]{
    new X509TrustManager() {
    public java.security.cert.X509Certificate[] getAcceptedIssuers() {
    return null;
    public void checkClientTrusted(
    java.security.cert.X509Certificate[] certs, String authType) {
    public void checkServerTrusted(
    java.security.cert.X509Certificate[] certs, String authType) {
    // Install the all-trusting trust manager
    try {
    SSLContext sc = SSLContext.getInstance("SSL");
    sc.init(null, trustAllCerts, new java.security.SecureRandom());
    HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
    } catch (Exception e) {
    System.out.println("Error" e);
    // Now you can access an https URL without having the certificate in the truststore
    try {
    URL url = new URL("https://..............");-->//address of the server given here
    URLConnection conn = url.openConnection();
    HttpsURLConnection urlConn = (HttpsURLConnection) conn;
    urlConn.setDoOutput(true);
    OutputStreamWriter wr = null;
    try{
    wr = new OutputStreamWriter(conn.getOutputStream());
    catch(Exception e){
    e.printStackTrace();
    BufferedReader in = new BufferedReader(new InputStreamReader(urlConn.getInputStream()));
    String str;
    while( (str=in.readLine()) != null) {
    System.out.println(str);
    } catch (MalformedURLException e) {
    System.out.println("Error in SLL Connetion" +e);
    HostnameVerifier hv = new HostnameVerifier()
    public boolean verify(String urlHostName, SSLSession session)
    System.out.println("Warning: URL Host: " urlHostName " vs. "
    session.getPeerHost());
    return true;
    want to ignore certificate validation.
    plese help me..
    hi brucechapman, as you suggested me, i posted in Core API- networking forum, now please gimme a solution
    Thanks in advance.

    hi brucechapman,
    ran the NetTest program, got the following exception:
    trigger seeding of SecureRandom
    done seeding SecureRandom
    Exception in thread "main" java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(Unknown Source)
         at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
         at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(Unknown Source)
         at sun.net.NetworkClient.doConnect(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.http.HttpClient.openServer(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
         at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
         at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
         at java.net.URL.openStream(Unknown Source)
         at Test.NetTest.main(NetTest.java:40)
    NetTest.java:40 -- InputStream is = url.openStream(); at this ling throwing exception.
    For the following program, i have added the argument -Djavax.net.ssl.trustStore=cacerts
    i have exported the certificate from IE and added to the keystore.
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.OutputStreamWriter;
    import java.security.Security;
    import javax.net.ssl.SSLSocket;
    import javax.net.ssl.SSLSocketFactory;
    public class Communicator {
    public static void main(String[] args) {
    try {
    int port = 34443;
         String strReq = "xml content ";
    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    SSLSocketFactory factory = (SSLSocketFactory) SSLSocketFactory.getDefault();
    SSLSocket socket = (SSLSocket) factory.createSocket("jyoti-win2k8-32", port);
    //Writer out = new OutputStreamWriter(socket.getOutputStream());
    //out.write("GET http://" + "hostname" + "/ HTTP 1.1\r\n");
    // out.write("\r\n");
    //out.write(strReq);
    //out.flush();
    OutputStreamWriter wr = null;
    try{
         wr = new OutputStreamWriter(socket.getOutputStream());
         catch(Exception e){
              e.printStackTrace();
         System.out.println("got output stream");
         try{
         wr.write(strReq);
         //System.out.println("response code : "+conn.getResponseCode());
         System.out.println("written");
         wr.flush();
         catch(IOException e){
              e.printStackTrace();
    InputStreamReader is = new InputStreamReader(socket.getInputStream(),"UTF8") ;
         BufferedReader rd = new BufferedReader(is);
         String line;int count=0;
         System.out.println("rd "+rd);
         while ((line = rd.readLine()) != null) {
              System.out.println("line "+line );
              System.out.println(count++);
              // Process line...
         System.out.println(count);
    rd.close();
    BufferedReader in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
    int c;
    while ((c = in.read()) != -1) {
    System.out.write(c);
    //out.close();
    in.close();
    socket.close();
    } catch(IOException ex) {
    ex.printStackTrace();
    Exception :
    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
         at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(Unknown Source)
         at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source)
         at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)
         at sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source)
         at sun.nio.cs.StreamEncoder.implFlush(Unknown Source)
         at sun.nio.cs.StreamEncoder.flush(Unknown Source)
         at java.io.OutputStreamWriter.flush(Unknown Source)
         at Test.Communicator.main(Communicator.java:55)
    Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
         at sun.security.validator.PKIXValidator.<init>(Unknown Source)
         at sun.security.validator.Validator.getInstance(Unknown Source)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.getValidator(Unknown Source)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
         at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown Source)
         at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source)
         at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
         at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Unknown Source)
         ... 7 more
    Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
         at java.security.cert.PKIXParameters.setTrustAnchors(Unknown Source)
         at java.security.cert.PKIXParameters.<init>(Unknown Source)
         at java.security.cert.PKIXBuilderParameters.<init>(Unknown Source)
         ... 19 more
    java.net.SocketException: Socket is closed
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.getInputStream(Unknown Source)
         at Test.Communicator.main(Communicator.java:66)
    please help me and provide me suggestion/solution. how to get rid off this trustanchor paramater exception
    what is it actualy?
    Thanks in advance.

  • The connection was refused when attempting to contact 127.0.0.1:8080

    I was having this problem with a previous install of Oracle 10g Express Edition. I followed the steps to manually deinstall since the Windows remove wouldn't work. I then reinstalled XE and am still getting the subject message.
    Can anyone help me correct whatever the problem is so that I can run XE on my Windows XP Professional laptop?
    Thanks,
    Tim

    sqlplus is included with Oracle XE and it is what I am referring as sqlplus CLI (Command Line Interface) meanwhile isqlplus (the web based sqlplus interface) isn't. I am not sure what do you mean with SQL*Plus, if you mean the windows sqlplus interface it isn' t included with XE either.
    Now when you are talking about getting connected to XE by means of IE, meanwhile you have problems connectig using FF. It doesn't seem to be a browser issue, but a browser configuration issue. Most probably IE was already configured and it may have configured a proxy access, meanwhile FF, since it is recently installed, most probably isn't properly configured to work in your environment.
    Could you please post the output of the command:
    lsnrctl status
    to verify Oracle has properly open the http required port to access the XE management interface?
    ~ Madrid
    http://hrivera99.blogspot.com/

  • Connection refuses when attemping contact ...

    I'm new to oracle. Recently I suseccfully instaled Oracle 10g database on fedora core 3. I could log on to OEM and isqlpus via firefox. But on next day, when I log on again, firefox say:
    Connection refured when attemping contact localhost.localdomain:5500/em
    Could anyone teach me the detail procedure to solve this problem?
    please help me.I need your help.
    many thanks.

    "Did you check the OEM Service !!!..it's must be started"
    Many thanks for your reply and sorry because I'm to late to reply to you.
    I'm also new to linux fedora core 3 so could you teach me how can I check wether the OEM Service is started?
    Please help me. I need your help.
    many thanks

  • Jnlp refuse when no jar in resources ?

    I have a jnlp application-desc, which call another component-desc.
    I should want all the jars be in the component-desc, and only the main-class declaration in the application-desc.
    When I do that, JNLP refuse and says my jar is not signed (it is).
    If I declare the jar with the main class in the main jar, jnlp accepts.
    Is this normal / a bug / a feature / other ??

    The main jar file must be listed in the main jnlp file.
    The error probably says not signed, because the main jnlp file includes <all-permissions>.
    you can only include that <security> tag if all jar files are signed, and all other jar files are signed with the same certificate as the first one. Since in this case there is no first jar file, you get this error.
    If you remove the <all-permissions> from the main jnlp file, you should get a differant error, saying something about not having a main jar file.
    /Dietz

  • Access Refused when trying for Creating teh Webservice

    Hi,
    I am trying to create a webservcie for the salesorder create bapi in the Discovery system of ECC. After completion of all the steps at the complete stage, i am getting access refused error.
    Thought of access key related issue and got the access key from the basis guy but i am confused where to put this access key as i am not getting any pop up also for entering the access key.
    Would appreciate the needful.
    Thanks
    Ashok

    If you create a webservice this will be a new object, hence no object access key is necessary. I experienced a similar issue when trying to generate a webservice and it turned out that there were authorizations missing in my profile for the Web Application Server. It took basis a while to figure out what was needed, so you might want to check with them.
    Hope that helps,
    Michael

  • Telnet connection refused in non global zone

    I have recently installed a new zone and I am trying to log into the new zone via telnet and I get the following error;
    telnet: Unable to connect to remote host: Connection refused
    when i check the services on the zone they are as follows;
    # svcs -a
    STATE STIME FMRI
    legacy_run 12:25:02 lrc:/etc/rcS_d/S51installupdates
    disabled 12:25:01 svc:/network/rpc/keyserv:default
    disabled 12:25:01 svc:/network/rpc/nisplus:default
    disabled 12:25:01 svc:/network/nis/server:default
    disabled 12:25:01 svc:/network/nis/client:default
    disabled 12:25:01 svc:/network/dns/client:default
    disabled 12:25:01 svc:/network/ldap/client:default
    disabled 12:25:01 svc:/network/nfs/cbd:default
    disabled 12:25:01 svc:/network/nfs/mapid:default
    disabled 12:25:01 svc:/network/inetd-upgrade:default
    disabled 12:25:01 svc:/system/auditd:default
    disabled 12:25:01 svc:/application/print/server:default
    disabled 12:25:01 svc:/network/ntp:default
    disabled 12:25:01 svc:/system/rcap:default
    disabled 12:25:01 svc:/network/dhcp-server:default
    disabled 12:25:01 svc:/network/nfs/server:default
    disabled 12:25:01 svc:/network/rarp:default
    disabled 12:25:01 svc:/network/rpc/bootparams:default
    disabled 12:25:01 svc:/application/gdm2-login:default
    disabled 12:25:01 svc:/application/management/webmin:default
    disabled 12:25:02 svc:/network/dns/server:default
    disabled 12:25:02 svc:/network/http:apache2
    disabled 12:25:02 svc:/network/nis/passwd:default
    disabled 12:25:02 svc:/network/nis/update:default
    disabled 12:25:02 svc:/network/nis/xfr:default
    disabled 12:25:02 svc:/network/security/kadmin:default
    disabled 12:25:02 svc:/network/security/krb5kdc:default
    disabled 12:25:02 svc:/network/slp:default
    disabled 12:25:02 svc:/system/consadm:default
    disabled 12:25:02 svc:/system/filesystem/volfs:default
    disabled 12:25:02 svc:/system/sar:default
    online 12:25:00 svc:/system/svc/restarter:default
    online 12:25:01 svc:/network/physical:default
    online 12:25:01 svc:/network/loopback:default
    online 12:25:01 svc:/milestone/name-services:default
    online 12:25:01 svc:/system/filesystem/root:default
    online 12:25:01 svc:/milestone/network:default
    online 12:25:01 svc:/system/identity:node
    online 12:25:01 svc:/system/boot-archive:default
    online 12:25:01 svc:/system/filesystem/usr:default
    online 12:25:01 svc:/system/device/local:default
    online 12:25:02 svc:/system/keymap:default
    online 12:25:02 svc:/milestone/devices:default
    online 12:25:02 svc:/system/filesystem/minimal:default
    online 12:25:02 svc:/system/rmtmpfiles:default
    online 12:25:02 svc:/system/cryptosvc:default
    online 12:25:02 svc:/application/print/cleanup:default
    online 12:25:02 svc:/system/name-service-cache:default
    online 12:25:02 svc:/system/identity:domain
    online 12:25:02 svc:/network/initial:default
    online 12:25:02 svc:/network/service:default
    online 12:25:02 svc:/system/manifest-import:default
    online 12:25:02 svc:/milestone/single-user:default
    online 12:25:02 svc:/system/filesystem/local:default
    online 12:25:02 svc:/system/cron:default
    online 12:25:02 svc:/application/font/fc-cache:default
    online 12:25:02 svc:/system/coreadm:default
    online 12:25:02 svc:/system/sysidtool:net
    online 12:25:02 svc:/network/rpc/bind:default
    online 12:25:03 svc:/network/nfs/status:default
    online 12:25:03 svc:/network/nfs/nlockmgr:default
    offline 12:25:01 svc:/system/utmp:default
    offline 12:25:01 svc:/milestone/sysconfig:default
    offline 12:25:01 svc:/network/inetd:default
    offline 12:25:01 svc:/system/filesystem/autofs:default
    offline 12:25:01 svc:/system/system-log:default
    offline 12:25:01 svc:/system/console-login:default
    offline 12:25:01 svc:/network/nfs/client:default
    offline 12:25:01 svc:/network/smtp:sendmail
    offline 12:25:01 svc:/milestone/multi-user:default
    offline 12:25:01 svc:/network/ssh:default
    offline 12:25:01 svc:/milestone/multi-user-server:default
    offline 12:25:01 svc:/application/print/ipp-listener:default
    offline 12:25:02 svc:/system/sac:default
    offline* 12:25:02 svc:/system/sysidtool:system
    uninitialized 12:25:01 svc:/network/rpc/gss:default
    uninitialized 12:25:01 svc:/application/font/stfsloader:default
    uninitialized 12:25:01 svc:/application/print/rfc1179:default
    uninitialized 12:25:01 svc:/application/x11/xfs:default
    uninitialized 12:25:01 svc:/network/apocd/udp:default
    uninitialized 12:25:01 svc:/network/chargen:dgram
    uninitialized 12:25:01 svc:/network/chargen:stream
    uninitialized 12:25:02 svc:/network/comsat:default
    uninitialized 12:25:02 svc:/network/daytime:dgram
    uninitialized 12:25:02 svc:/network/daytime:stream
    uninitialized 12:25:02 svc:/network/discard:dgram
    uninitialized 12:25:02 svc:/network/discard:stream
    uninitialized 12:25:02 svc:/network/echo:dgram
    uninitialized 12:25:02 svc:/network/echo:stream
    uninitialized 12:25:02 svc:/network/finger:default
    uninitialized 12:25:02 svc:/network/ftp:default
    uninitialized 12:25:02 svc:/network/login:eklogin
    uninitialized 12:25:02 svc:/network/login:klogin
    uninitialized 12:25:02 svc:/network/login:rlogin
    uninitialized 12:25:02 svc:/network/nfs/rquota:default
    uninitialized 12:25:02 svc:/network/rexec:default
    uninitialized 12:25:02 svc:/network/rpc/ocfserv:default
    uninitialized 12:25:02 svc:/network/rpc/rex:default
    uninitialized 12:25:02 svc:/network/rpc/rstat:default
    uninitialized 12:25:02 svc:/network/rpc/rusers:default
    uninitialized 12:25:02 svc:/network/rpc/smserver:default
    uninitialized 12:25:02 svc:/network/rpc/spray:default
    uninitialized 12:25:02 svc:/network/rpc/wall:default
    uninitialized 12:25:02 svc:/network/security/krb5_prop:default
    uninitialized 12:25:02 svc:/network/security/ktkt_warn:default
    uninitialized 12:25:02 svc:/network/shell:default
    uninitialized 12:25:02 svc:/network/shell:kshell
    uninitialized 12:25:02 svc:/network/talk:default
    uninitialized 12:25:02 svc:/network/telnet:default
    uninitialized 12:25:02 svc:/network/time:dgram
    uninitialized 12:25:02 svc:/network/time:stream
    uninitialized 12:25:02 svc:/network/tname:default
    uninitialized 12:25:02 svc:/network/uucp:default
    uninitialized 12:25:02 svc:/network/rpc-100235_1/rpc_ticotsord:default
    uninitialized 12:25:02 svc:/network/rpc-100083_1/rpc_tcp:default
    uninitialized 12:25:02 svc:/network/rpc-100068_2-5/rpc_udp:default
    any suggestions? Thanks in advance.

    After taking your suggestions, i found that there was no loghost defined in /etc/host. I defined one and now all of my services came up. I still don't have any ssh, it says
    Could not load host key: /etc/ssh/ssh_host_rsa_key
    Could not load host key: /etc/ssh/ssh_host_dsa_key
    Disabling protocol version 2. Could not load hostkey or GSS-API mechanisms
    sshd: no hostkeys available -- exiting.
    Any suggestions? Thanks for yur help, i will make sure to give you a star.
    Harvey

  • Delivery temporarly suspended : [127.0.0.1]: connection refused

    Hello everyone,
    I have some troubles getting email services up on my server.
    The plan is to run an SMTP server, POP and IMAP.
    So far, POP and IMAP seem to be working, as I can log in with different users.
    But there are no mail messages there.
    When I check my mail queue, I find many messages.
    Mostly from [email protected] or [email protected]
    when I check the message details I get this :
    Message ID: 5654199DFB
    Date: Tue Feb 14 08:30:41
    Size: 350
    Sender: [email protected]
    Recipient(s) & Status:
    [email protected]:
    delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]:
    Connection refused
    When I check my smtp log I get this :
    Feb 14 09:07:31 billie postfix/cleanup[10385]: 9EB2799E96: message-id=<[email protected]>
    Feb 14 09:07:31 billie postfix/qmgr[10387]: 9EB2799E96: from=<[email protected]>, size=636, nrcpt=1 (queue active)
    Feb 14 09:07:31 billie postfix/qmgr[10387]: 2813898166: from=<[email protected]>, size=842, nrcpt=1 (queue active)
    Feb 14 09:07:31 billie postfix/qmgr[10387]: 4EBB897327: from=<[email protected]>, size=705, nrcpt=1 (queue active)
    Feb 14 09:07:31 billie postfix/qmgr[10387]: 5654199DFB: from=<[email protected]>, size=350, nrcpt=1 (queue active)
    Feb 14 09:07:31 billie postfix/qmgr[10387]: 59AE199DE6: from=<[email protected]>, size=294, nrcpt=1 (queue active)
    Feb 14 09:07:31 billie postfix/qmgr[10387]: 5C59C99DE7: from=<[email protected]>, size=1246, nrcpt=1 (queue active)
    Feb 14 09:07:31 billie postfix/qmgr[10387]: 5D3DE95689: from=<[email protected]>, size=788, nrcpt=1 (queue active)
    Feb 14 09:07:31 billie postfix/qmgr[10387]: 6F78D994E9: from=<[email protected]>, size=1748, nrcpt=1 (queue active)
    Feb 14 09:07:31 billie postfix/qmgr[10387]: A4EC699DEC from=<[email protected]>, size=45296, nrcpt=1 (queue active)
    Feb 14 09:07:31 billie postfix/qmgr[10387]: A60B0942D2: from=<[email protected]>, size=688, nrcpt=1 (queue active)
    Feb 14 09:07:31 billie postfix/smtp[10388]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
    Feb 14 09:07:31 billie postfix/qmgr[10387]: AB63D99DF4: from=<[email protected]>, size=1352, nrcpt=1 (queue active)
    Feb 14 09:07:31 billie postfix/smtp[10388]: 9EB2799E96: to=<[email protected]>, relay=none, delay=1, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
    Feb 14 09:07:31 billie postfix/qmgr[10387]: AB74995B99: from=<[email protected]>, size=658, nrcpt=1 (queue active)
    Feb 14 09:07:31 billie postfix/smtp[10389]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
    Feb 14 09:07:31 billie postfix/smtp[10389]: 2813898166: to=<[email protected]>, relay=none, delay=130692, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
    Feb 14 09:07:31 billie postfix/smtp[10388]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
    Feb 14 09:07:31 billie postfix/smtp[10388]: 4EBB897327: to=<[email protected]>, relay=none, delay=198147, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
    Feb 14 09:07:31 billie postfix/smtp[10389]: connect to 127.0.0.1[127.0.0.1]: Connection refused (port 10024)
    Feb 14 09:07:31 billie postfix/smtp[10389]: 5654199DFB: to=<[email protected]>, relay=none, delay=2210, status=deferred (connect to 127.0.0.1[127.0.0.1]: Connection refused)
    And to top the cake, here is my postconf -n :
    postconf -n
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    content_filter = smtp-amavis:[127.0.0.1]:10024
    daemon_directory = /usr/libexec/postfix
    debugpeerlevel = 2
    enableserveroptions = yes
    html_directory = no
    inet_interfaces = localhost
    localrecipientmaps = proxy:unix:passwd.byname $alias_maps
    luser_relay =
    mail_owner = postfix
    mailboxsizelimit = 0
    mailbox_transport = cyrus
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    mapsrbldomains =
    messagesizelimit = 15728640
    mydestination = $myhostname,localhost.$mydomain,localhost,domainname.be
    mydomain = domainname.be
    mydomain_fallback = localhost
    myhostname = mail.domainname.be
    mynetworks = 127.0.0.1/32,83.217.76.0/24
    mynetworks_style = host
    newaliases_path = /usr/bin/newaliases
    queue_directory = /private/var/spool/postfix
    readme_directory = /usr/share/doc/postfix
    relayhost =
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = postdrop
    smtpdclientrestrictions = permit_mynetworks permit
    smtpdenforcetls = no
    smtpdpw_server_securityoptions = cram-md5,login,plain
    smtpdrecipientrestrictions =
    permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
    smtpdsasl_authenable = yes
    smtpdtls_certfile = /etc/certificates/Default.crt
    smtpdtls_keyfile = /etc/certificates/Default.key
    smtpduse_pwserver = yes
    smtpdusetls = no
    unknownlocal_recipient_rejectcode = 550
    virtualmailboxdomains = hash:/etc/postfix/virtual_domains
    virtual_transport = lmtp:unix:/var/imap/socket/lmtp
    Anyone an idea to fix this? I think it is just something minor, but I don't seem to find it. Maybe something involving junk-mail scanning ?
    Many many thanks for all your time.
    If there are any other questions, I'll try to answer them as soon as possible.

    This is my output
    ps -U clamav
    PID TT STAT TIME COMMAND
    58 ?? Ss 0:00.01 freshclam -d -D -pfreshclam.pid -c 1
    Tried restarts and bin/usr/amavisd start and still nothing. Also looked in the logs and found this:
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: starting. /usr/bin/amavisd at www.funsunstudio.com ama
    visd-new-2.2.0 (20041102), Unicode aware
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: user=, EUID: 0 (0); group=, EGID: 0 80 5 29 4 20 3 2 1
    0 (0 80 5 29 4 20 3 2 1 0)
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Perl version 5.008006
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Net::Server: 2006/02/15-13:19:35 Amavis (type Net::Serv
    er::PreForkSimple) starting! pid(1611)
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Net::Server: Binding to UNIX socket file /var/amavis/am
    avisd.sock using SOCK_STREAM
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Net::Server: Binding to TCP port 10024 on host 127.0.0.
    1
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Net::Server: Setting gid to "82 82"
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Net::Server: Setting uid to "82"
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Amavis::Conf 2.033
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Archive::Tar 1.22
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Archive::Zip 1.14
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Compress::Zlib 1.33
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Convert::TNEF 0.17
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Convert::UUlib 1.03
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module DB_File 1.810
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module MIME::Entity 5.416
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module MIME::Parser 5.416
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module MIME::Tools 5.416
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Mail::Header 1.65
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Mail::Internet 1.65
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Mail::SpamAssassin 3.000001
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Net::Cmd 2.26
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Net::SMTP 2.29
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Net::Server 0.87
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Time::HiRes 1.65
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Module Unix::Syslog 0.99
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Amavis::DB code NOT loaded
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Amavis::Cache code NOT loaded
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Lookup::SQL code NOT loaded
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Lookup::LDAP code NOT loaded
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: AMCL-in protocol code loaded
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: SMTP-in protocol code loaded
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: ANTI-VIRUS code loaded
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: ANTI-SPAM code loaded
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Unpackers code loaded
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Found $file at /usr/bin/file
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: No $arc, not using it
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Found $gzip at /usr/bin/gzip
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Found $bzip2 at /usr/bin/bzip2
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: No $lzop, not using it
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: No $lha, not using it
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: No $unarj, not using it
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Found $uncompress at /usr/bin/uncompress
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: No $unfreeze, not using it
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: No $unrar, not using it
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: No $zoo, not using it
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Found $cpio at /usr/bin/cpio
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: No $ar, not using it
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: No $rpm2cpio, not using it
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: No $cabextract, not using it
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: No $dspam, not using it
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: Found secondary av scanner Clam Antivirus - clamscan at
    /usr/bin/clamscan
    Feb 15 13:19:35 www.funsunstudio.com /usr/bin/amavisd[1611]: SpamControl: initializing Mail::SpamAssassin
    Feb 15 13:19:36 www.funsunstudio.com /usr/bin/amavisd[1611]: SpamControl: done
    Feb 15 13:20:39 www.funsunstudio.com /usr/bin/amavisd[1611]: Net::Server: 2006/02/15-13:20:39 Server closing!

Maybe you are looking for