cancel
Showing results for 
Search instead for 
Did you mean: 

Putty error

Aaron Ooi
Occasional Advisor

Putty error

Hi all,

Today i facing some issue on my unix box 11.23 with putty version 0.60. I unable to use putty to telnet, ssh and ssh2 to the server. However i able to telnet using window command prompt to telnet to the server.

i have use all kind of putty version but still cannot ssh to the server, somehow after 2 hour i able to use putty to ssh to the server. In syslog i saw some abnormal message:-

Jan 26 11:12:00 aprss012 sshd[27580]: fatal: mm_memvalid: end < address: 0 < -140000
Jan 26 11:12:21 aprss012 sshd[27597]: fatal: mm_memvalid: end < address: 0 < -140000
Jan 26 11:12:38 aprss012 sshd[27666]: fatal: mm_memvalid: end < address: 0 < -140000
Jan 26 11:12:43 aprss012 sshd[27673]: fatal: mm_memvalid: end < address: 0 < -140000
Jan 26 11:12:49 aprss012 sshd[27681]: fatal: mm_memvalid: end < address: 0 < -140000
Jan 26 11:13:51 aprss012 sshd[27772]: fatal: mm_memvalid: end < address: 0 < -140000
Jan 26 11:13:57 aprss012 sshd[27786]: fatal: mm_memvalid: end < address: 0 < -140000
Jan 26 11:14:02 aprss012 sshd[27790]: fatal: mm_memvalid: end < address: 0 < -140000
Jan 26 11:14:22 aprss012 sshd[27799]: fatal: mm_memvalid: end < address: 0 < -140000
Jan 26 11:15:03 aprss012 sshd[27855]: fatal: mm_memvalid: end < address: 0 < -140000
Jan 26 11:15:28 aprss012 sshd[27885]: fatal: mm_memvalid: end < address: 0 < -140000
Jan 26 11:16:34 aprss012 sshd[27960]: fatal: mm_memvalid: end < address: 0 < -140000
Jan 26 11:16:40 aprss012 sshd[27968]: fatal: mm_memvalid: end < address: 0 < -140000
Jan 26 11:16:46 aprss012 sshd[27975]: fatal: mm_memvalid: end < address: 0 < -140000
Jan 26 11:17:03 aprss012 sshd[28012]: fatal: mm_memvalid: end < address: 0 < -140000
Jan 26 11:17:09 aprss012 sshd[28017]: fatal: mm_memvalid: end < address: 0 < -140000
Jan 26 11:22:19 aprss012 sshd[28418]: fatal: mm_memvalid: end < address: 0 < -140000
Jan 26 11:31:42 aprss012 sshd[29216]: fatal: mm_memvalid: end < address: 0 < -140000
Jan 26 11:39:33 aprss012 sshd[29942]: fatal: mm_memvalid: end < address: 0 < -140000
Jan 26 11:42:16 aprss012 sshd[284]: fatal: mm_memvalid: end < address: 0 < -140000

Did anyone of you having the same issue before. I have check with the network guy, there is no network interruption at that time.
16 REPLIES
Steven Schweda
Honored Contributor

Re: Putty error

I know nothing, but that looks to me more
like a problem with sshd on the server than
any problem with the SSH client.

> [...] However i able to telnet [...]

That talks to telnetd, not to sshd.

How old is your sshd? "sshd -xxx"?
Aaron Ooi
Occasional Advisor

Re: Putty error

ok first of all, i need to let you know telnet using putty is not able also, only able to telnet using command prompt.

i have try to refresh the sshd and telnetd daemon but it still no luck. But somehow after about 40 minute i restart both daemon i able to connect using putty again either ssh or telnet with putty.
Johnson Punniyalingam
Honored Contributor

Re: Putty error

>>i have try to refresh the sshd and telnetd daemon but it still no luck. But somehow after about 40 minute i restart both daemon i able to connect using putty again either ssh or telnet with putty<<

if you can try also "RESET" -> LAN

reset the lan interfaces...
lanadmin ----> lan ----> reset lan interfaces..
Problems are common to all, but attitude makes the difference
Aaron Ooi
Occasional Advisor

Re: Putty error

Hi Guy today the problem happen again, i notice everytime i login using ssh with putty this error recorded in syslog

fatal: mm_memvalid: end < address: 0 < -140000

Do anyone know what does this mean, i have search around no info found. I have even rebooted the server, restart inetd, sshd and telnetd as well . But it still no luck
Suraj K Sankari
Honored Contributor

Re: Putty error

HI,
Un-installt the putty and install it again or used putty.exe if you dont want to install the same.

Suraj
Steven Schweda
Honored Contributor

Re: Putty error

> How old is your sshd? "sshd -xxx"?

Is this secret information? (Why?)
mvpel
Trusted Contributor

Re: Putty error

Aaron - PuTTY version 0.60 (latest) has telnet, rlogin, serial port, and raw modes in addition to SSH. Look for the radio buttons under the hostname box in the Session tab.
Aaron Ooi
Occasional Advisor

Re: Putty error

Hi Johnson,

I have reset the LAN interface, it still the same. Btw i dbelieve is not the LAN interface problem as i still able to telnet in.

Hi Surai,
I have uninstall and reinstall the new version of putty it still no luck, other than that i have use other such as secure crt but it still not helping.

Hi Steven,
I not sure what you mean by how old is your sshd. btw this is the version:-

OpenSSH_4.4p1-hpn12v11, OpenSSL 0.9.7l 28 Sep 2006
HP-UX Secure Shell-A.04.40.011, HP-UX Secure Shell version

For the daemon i have restarted it as well.

Hi mvpel,
Yup i know we can connect using other option in putty, but the problem is i have some schedule job need to use ssh to connect. Btw connect using telnet in putty is no issue.
Steven Schweda
Honored Contributor

Re: Putty error

> OpenSSH_4.4p1-hpn12v11, OpenSSL 0.9.7l 28 Sep 2006
> HP-UX Secure Shell-A.04.40.011, HP-UX Secure Shell version

You might consider trying a newer version:

https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA
Aaron Ooi
Occasional Advisor

Re: Putty error

hi Steven,

To upgrade the openssh this is my last resort as there is many server i need to upgrade in order to have a standardize version.

As mention earlier this only happen for a short period of time, and it back to normal after around 2 hours without doing anything.
Steven Schweda
Honored Contributor

Re: Putty error

> To upgrade the openssh this is my last
> resort [...]

You could run the experiment, or you could
try to find the release notes for all the
releases since 28 Sep 2006, and hope that
it's listed among the fixed bugs. I know
which method I'd find easier.

> [...] this only happen for a short period
> of time, [...]

So, it fails only when it fails. From this I
conclude that there's a problem. My guess is
that it's in either the server or the client,
and the server is the one saying "fatal:",
hence my suspicion leans in that direction.

Have you tried using a different client when
you're having the problem?


If you have a support contract (or are
willing to pay per event), you could complain
to HP. When you tell them that you're using
a product dated "28 Sep 2006", what do you
think that their first suggestion will be?
(I don't know, but have a guess.)
Aaron Ooi
Occasional Advisor

Re: Putty error

Hi Steven,

Yup i did log a call to HP for this issue, they have suggested for me to upgrade the openssh as well. But come back again to upgrade for more than 700 machine is a terrible for me. Somemore this problem just happen recently where there is no changes to the system environment at this time. All the other machine also having the same spec and also same patch level and those is working fine.

Now i'm suspecting some daemon or application is using the ssh port, that why when we ssh to it, it fail.

I did try with another machine to ssh to this box when it having the problem, the result is still the same.
Steven Schweda
Honored Contributor

Re: Putty error

> [...] they have suggested for me to upgrade
> [...]

That was my guess.

> [...] to upgrade for more than 700 machine
> is a terrible for me. [...]

Worse than the SSH problem?

You shouldn't need to do all 700 systems to
see if the newer SSH version helps. (If it
does, then I'd look at writing a script to
do the upgrade installation.)

> Now i'm suspecting some daemon or
> application is using the ssh port, that why
> when we ssh to it, it fail.

That's not the message I'd expect to see if
some other program were using the SSH port.
(Try running two instances of sshd on the
same port, and see what the second one says.)

> I did try with another machine to ssh to
> this box when it having the problem, the
> result is still the same.

So, as I said, "that looks to me more like a
problem with sshd on the server than any
problem with the SSH client."
Aaron Ooi
Occasional Advisor

Re: Putty error

Thx, will try to run 2 instance of sshd to checked out is the port issue or not.

BTW there is a company policy that all the machine should have the same level of patch or application. So to upgrade will be a problem.

So far there is no impact to my production environment as it still can divert it to use telnet rather than ssh.
Steven Schweda
Honored Contributor

Re: Putty error

Again, I know nothing, but a message which
starts "mm_memvalid" sounds memory-related
to me. If the system were low on virtual
memory (swap) sometimes, then that might be
a possible cause for such a message.

Well, that combined with bad code. I'd still
vote for trying a less obsolete SSH version.

This stuff is all based on open-source
products like OpenSSH and OpenSSL. If an
upgrade still seems like "worse than death",
then you could look at the source code to
try to see what this message really means.
To me, that sounds like much work, and I
suspect that the easiest fix would be the
same (upgrade).

Now, if the _new_ code has the same problem,
_then_ you'd need to get serious about
finding the cause.
HEGP
Occasional Contributor

Re: Putty error

Hello,

 

Digging out a very old thread here, but I've just experienced this very exact problem connecting to a SRP container running on a 11.31 BL860 Itanium server.

Error message in syslog is exactly the same.

Workaround found is to stop the SSH server *and* all existing sshd processes belonging to opened session, then restart the SSH server.

Of course the fact that one can get a root shell using "srp_su <name-of-SRP> - " from the hosting server even if the SSH server is down makes this easier.

 

The SSH server is what the SRP container build procedure "plugs" into the container. Doesn't appear in swlist output from inside the container, but "/usr/sbin/sshd -v" gives 

OpenSSH_4.5p1+sftpfilecontrol-v1.1-hpn12v14, OpenSSL 0.9.7l 28 Sep 2006
HP-UX Secure Shell-A.04.50.003, HP-UX Secure Shell version

 

Strangely enough, the 11.11 HP-PA (Superdome) server this SRP container has been built from had a SSH server running flawlessly for several years, so I suspect this is a problem induced by its "SRPization" (and runing under ARIES?)

 

I have an open software support call @HP.