I'm running
dupremove.ncf "-host=<my server ip>" "-listwsdup" "-dbtype=0"
"-sid=mgmtdb" "-sid=2638"

but it keeps giving connection refused, could not connect to database.
Please help.


Trying to (re)connect to the database -> mw_dba

jdbc:sybase:Tds:130.166.63.10:1535?ServiceName=orc l&JCONNECT_VERSION=4

java.sql.SQLException: JZ006: Caught IOException:
java.net.ConnectException: Con
nection refused

at com.sybase.jdbc.ErrorMessage.raiseError(ErrorMessa ge.java)

at com.sybase.tds.Tds.login(Tds.java)

at com.sybase.jdbc.SybConnection.tryLogin(SybConnecti on.java)

at
com.sybase.jdbc.SybConnection.regularConnect(SybCo nnection.java)
at com.sybase.jdbc.SybConnection.<init>(SybConnection .java)

at com.sybase.jdbc.SybDriver.connect(SybDriver.java)

at java.sql.DriverManager.getConnection(DriverManager .java:512)

at java.sql.DriverManager.getConnection(DriverManager .java:140)

at
com.novell.zenworks.desktop.inventory.storer.Datab aseOperator.create
onnection(DatabaseOperator.java:825)

at
com.novell.zenworks.desktop.inventory.storer.Datab aseOperator.<init>
DatabaseOperator.java:584)

at
com.novell.zenworks.desktop.inventory.storer.Datab aseOperator.main(D
tabaseOperator.java:7124)

Could not connect to database.


--