CS 3.1: Invalid IP address or server name for mail server (CSCsg02991)

Unanswered Question
Dec 14th, 2007
User Badges:

When trying to set the SMTP server in System Preferences I get the following message:

Invalid IP address or server name for mail server.

This bug is a known bug in CS 3.0, problem is that is should be fixed in 3.1

I can telnet the SMTP server (Exchange) on port 25, and actually it does work in DFM.

There is no upgrade available through software update so I am quite stuck.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
David Stanford Fri, 12/14/2007 - 08:42
User Badges:
  • Cisco Employee,

3.01 is due to be released end of this month/early next month.

Joe Clarke Fri, 12/14/2007 - 09:39
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

The bug is fixed in CS 3.0.6 which is already out. You can download it through the Common Services > Software Center, or from Cisco.com.

Joe Clarke Fri, 12/14/2007 - 09:43
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

Maybe I misunderstood. Do you currently have LMS 3.0? If so, this bug should be fixed. I have seen one case on Windows where this problem was still occurring. If you do have CS 3.1, please post your smtp.log.

jtissot Mon, 12/17/2007 - 00:06
User Badges:

Yes sorry I wasn't that clear. I am running LMS 3.0 so CS 3.1 (windows indeed). Mail server is Exchange. here is the extract of smtp.log for an configuration attempt:

[ ven. déc. 07 17:14:58 CET 2007 ] WARN [MailUtility : isMailServerWorking] : While trying to send HELO, the mail server [] had thrown this exception :

java.net.SocketException: Connection reset

at java.net.SocketInputStream.read(SocketInputStream.java:168)

at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:411)

at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453)

at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183)

at java.io.InputStreamReader.read(InputStreamReader.java:167)

at java.io.BufferedReader.fill(BufferedReader.java:136)

at java.io.BufferedReader.readLine(BufferedReader.java:299)

at java.io.BufferedReader.readLine(BufferedReader.java:362)

at com.cisco.nm.cmf.util.MailUtility.isMailServerWorking(Unknown Source)

at com.cisco.nm.cmf.util.action.SystemPrefAction.applyToCCR(Unknown Source)

at com.cisco.nm.cmf.util.action.SystemPrefAction.perform(Unknown Source)

at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1786)

at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585)

at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)

at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)

at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)

at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)

at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)

at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

at java.lang.Thread.run(Thread.java:595)

Joe Clarke Mon, 12/17/2007 - 10:18
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

This is what I saw before. I will have to rework the SMTP test code. In the meantime, if you are careful, you can manually edit NMSROOT/MDC/etc/regdaemon.xml, and adjust the value of SMTPServerName manually. The default is localhost, and you can set this to your actual SMTP server's hostname then restart dmgtd.

Make sure you back this file up BEFORE making any changes to it.


This Discussion