Ubuntu Networking :: Get Segfaults In Sshd When Trying To Connect

Jan 6, 2010

I've started to get segfaults in sshd when trying to connect. There has been no reboot and (until I restarted the sshd to try to fix the problem) there was still another ssh session connected.

The log messages:

Code:
==> kern.log <==
Jan 6 21:33:38 shuttle kernel: [ 1928.611128] sshd[9548]: segfault at bf30e534 eip b7f51b4c esp bf30e510 error 6
==> auth.log <==

[Code]....

View 1 Replies


ADVERTISEMENT

OpenSUSE Install :: Sshd Segfaults During Pam Auth After Upgrade From 11.1 To 11.3?

Oct 6, 2010

I'm testing upgrading from 11.1 to 11.3 and running into a major roadblock. When I try to ssh to the server after upgrading, I am unable to use password or pubkey auth to connect via ssh with my ldap user due to sshd segfault. I can however connect via pubkey to a local account on the system. Both auth methods work (for local users) when I disable UsePAM in sshd_config, but auth via ldap is required. My configuration works fine on fully patched installs of both 11.1 and 11.3, but not a fully patched 11.1 upgraded to 11.3. I've been at this for a while now trying various things but don't seem to be making much progress..

/var/log/messages:

Code:

Oct 6 20:33:15 susetest kernel: [ 1829.251921] sshd[3602]: segfault at 7f4bb0521240 ip 00007f4bb0509354 sp 00007fffdf212850 error 7 in libcrypto.so.1.0.0[7f4bb0449000+188000]/usr/sbin/sshd -ddd:

Code:

debug2: load_server_config: filename /etc/ssh/sshd_config
debug2: load_server_config: done config len = 431
debug2: parse_server_config: config /etc/ssh/sshd_config len 431

[code]....

View 3 Replies View Related

CentOS 5 :: Sshd Works For Some Users But Others Cannot Connect

Jan 24, 2011

I am trying to set up an SFTP server. I can log on to it with no problem. But our trading partner for whose benefit we want it cannot. They are unable to make a connection. Here is what happens when they try:

Error: Could not open connection to `ogxxxsft@subdomain.domain.com':
Could not connect to `subdomain.domain.com': Unable to connect to
server

[code]....

View 10 Replies View Related

General :: Configure Sshd To Connect ONLY With Public Key Auth?

Jan 12, 2010

How i can configure sshd to connect ONLY with Public Key Auth?

currentStatus : If you have no key. then you can log in with your password.

View 2 Replies View Related

Networking :: No Sshd Access From Outside LAN?

Jan 19, 2011

I can't ssh into my Dad's machine. He can ssh in from another computer on his network, but I can't get in across the internet. I thought we had port forwarding set up correctly on his router. (Westell 327W running verizon software - sshd application, port 22 to port 22, tcp).

I can exchange keys with his server but I get. "Permission denied, please try again" when I try and login. An nmap scan (with -PN option) on his IP shows the open port.

PORT STATE SERVICE
22/tcp open ssh

View 8 Replies View Related

Ubuntu Networking :: Sshd -D At Startup - How To Remove The -D Option

May 19, 2011

Somehow the -D option got tacked on to my sshd when I start up. How do I remove the -D option when sshd is started at boot? I'm guessing I need to edit something in /etc/init.d but not sure what. I checked System->Preferences->Startup Applications and the ssh server daemon isn't listed there. And since it is a command line option /etc/ssh/sshd_config is of no help.

View 2 Replies View Related

Networking :: Sshd Access By IP Address OR Certificate?

Sep 28, 2010

I have a site in India that needs to be accessed by our offices round the world. I have added AllowUsers lines for the static IP's in those offices. However, we also have a couple of people who travel and don't have static ip's. Is it possible to enable both AllowUsers for the offices and have certificate access for the others?

View 1 Replies View Related

Networking :: Can't Seem To Get Sshd To Bind On A Remote Interface?

Jan 7, 2011

can't seem to get sshd to bind on a remote interface.When I attempt to connect, I get an instant "unable to connect to host."

Code:
$ cat sshd_config
# Package generated configuration file
# See the sshd_config(5) manpage for details
# What ports, IPs and protocols we listen for

[Code]...

View 3 Replies View Related

Networking :: SSHD Different Settings Depending On Network?

Feb 19, 2010

is it possible to specify differnt settings for ssh depending on where somone is logging in from basically i want PasswordAuthentication yes when someone is logging in from 192.168.*.* but set to no when logging in from anywhere else

View 1 Replies View Related

Networking :: Sshd Service Up After Server Reboot

Jul 11, 2011

I want to make sure sshd service will start after a server reboot. On redhat or centOS I can do "chkconfig sshd on". What's the equivalent command for ubuntu?

View 1 Replies View Related

Fedora Networking :: F13 - SSHD Disconnected (Connection Closed)

Aug 8, 2010

I have installed Fedora 13 and updated it. I simply cant use ssh to connect to this Fedora, not even locally. I have enabled port22 in firewall settings and nothing. Tried to disable firewall completely and nothing. I have disabled SELinux (not sure if it has something to do with this, but... ) and nothing. Entered "ALL: ALL" in /etc/hosts.allow and still nothing. Dont know what to do anymore.

Here is what happens when I try to ssh to this machine, even from it:
[flibio@surf ~]$ ssh localhost
warning: Need basic cursor movement capability, using vt100
flibio's password:
Authentication successful.
Disconnected; connection lost (Connection closed.).
Connection to localhost closed.
[flibio@surf ~]$

Looking into Services > sshd and it says "This service is dead."
So I tried:
[root@surf etc]# service sshd restart
Stopping sshd: [FAILED]
Starting sshd: : OpenSSH_5.4p1 on
: FATAL: Creating listener failed: port 22 probably already in use! .....

And still I get disconnected whenever I try to ssh to this machine from anywhere. Services says that sshd is allways dead, even restarting it but I can only restart it by doing a pkill sshd before.

View 7 Replies View Related

Fedora Networking :: Sshd Won't Work Properly / No Route To Host

Nov 17, 2010

I have recently set up two machines with F14 and on both, I am completely unable to make remote login via SSH work. openssh-server is installed and seems to work well:

I have already worked for hours on the problem now, using Google and trying numerous things, and still could not find any solution. On my other machine, which still uses F13, remote login works just fine. Is there any change in the default behaviour of the sshd I am not aware of? I would really appreciate your assistance!

View 14 Replies View Related

Fedora Networking :: Sshd Can't Bind To Non Standard Port After FC14 Upgrade

Feb 5, 2011

I just upgraded from FC 13 to FC 14. I run an ssh server on a port in the 3000s (call it 3xxx, to protect the innocent). When I try to start sshd with the "Port 3xxx" option in sshd_conf, I get the following error in /var/log/secure

sshd[5104]: error: Bind to port 3xxx on 0.0.0.0 failed: Permission denied.
sshd[5104]: error: Bind to port 3xxx on : : failed: Permission denied.

I did not use to have this problem in FC 13. how I can give sshd the necessary permissions now?

View 2 Replies View Related

Ubuntu Networking :: Cannot Ssh Into Computer - Error "could Not Access PID File For Sshd"

Mar 31, 2010

I'm having a problem with my ubuntu 9.10 machine. I can ssh out of the computer, but not in. I have /etc/init.d/ssh, but not /etc/init.d/sshd - don't know if this is normal If I run /etc/init.d/ssh status I get: robot@cora:~$ sudo /etc/init.d/ssh status * could not access PID file for sshd

If I run /etc/init.d/ssh restart (or stop then start) then I can ssh both ways. But I cannot get this to work automatically at boot. The machine is going to be in a remote location, so I need the ability to ssh INTO it after reboot, which I don't have. I have confirmed that start files are located in /etc/rc3.d/S16ssh

I've uninstalled and reinstalled openssh-server (via "apt-get remove openssh-server" and "apt-get install openssh-server") and this did not help. There are both /etc/ssh/ssh_config and /etc/ssh/sshd_config files that look like they are standard (compared to what I've found from web searches). /etc/init.d/ssh is also standard.

View 8 Replies View Related

Ubuntu :: MPD Segfaults Is Not Working?

Apr 28, 2010

So MPD keeps segfaulting everytime it tries to play anything.I tried compiling a version from the MPD site, but that couldn't even see my music for some reason. Same user running MPD, same permissions on the files... I'd really like to get MPD working again, but it keeps segfaulting with this:

Code: nas kernel: [161048.253573] mpd[22957] general protection ip:b6efc1b5 sp:b53e1850 error:0 in libavcodec.so.52.20.1[b6ab4000+52b000]

I wiped my server recently because of all the custom stuff I had installed, and now MPD won't play music .

View 1 Replies View Related

Ubuntu :: GDM Segfaults A Lot After Update?

May 26, 2010

This just started today, after I installed a round of updates yesterday: I would attempt to login to my GNOME session. One of three things happens: it hangs, looking like it's authenticating, it lets me into my session but then abruptly logs me out and wrecks anything I was doing, or GDM just crashes altogether.

On tty6, I found this error in dmesg:

Code:
gdm-session-wor[1392]: segfault at 1 ip 0000000000000001 sp 00007fff57babe18 error 14 in gdm-session-worker[400000 + 17000]

The numbers may be slightly off, I had no way to copy and paste the error. I have no modifications to GDM except libpam-usb, which doesn't even work. Is it possible to roll back GDM to before the update?

View 2 Replies View Related

Ubuntu :: Various Segfaults And/or Crashes ?

Jul 23, 2011

I have some curious errors and crashes since yesterday. Firefox crashes without saying anything or just freezes. Thunderbird also crashed once without any reason, as far as I could discern.

Compiz is another candidate. Either it segfaults and sends me back to the GDM login screen or it crashes in another way, resulting in a flickering window with an unreadable error message (just an empty window with the nautilus icon in the menu bar, background image stays the same, Unity or any other compiz things are gone). I even had some real X segfaults mixed in.

View 2 Replies View Related

Ubuntu :: Frequent Segfaults In Various Programs

May 31, 2010

In LMMS, pretty much any time where pressing a key or button is supposed to do something, it can crash. Regardless of what made it crash, it always dies in the exact same way: The window just disappears, and I get the line "Segmentation fault" in the console. Usually it crashes within 15 minutes of normal use. Not even 6 hours after I downloaded the program, I had given up trying to use it. Over the next week, a couple other programs crashed with segfaults.

Most of them only crashed once (among those was Firefox). So, of course, I'm now beginning to think that maybe the problem is not with LMMS, but rather with Ubuntu. I've had very little luck getting most of these programs to crash a second time, but I did find reliable ways to reproduce the crash in LMMS and Golly, so I got debug logs of those (with backtraces and steps I took to reproduce):

Code:
What I did to make LMMS Crash:
1. After starting LMMS, created an instrument track using the Oh Synth preset (under LB302)
2. Opened the tool window for the track.
3. Dragged my cursor back and forth across the keys on the virtual piano at the bottom of said window to play them.
4. Within 3 seconds, it crashed.

Starting program: /usr/bin/lmms
[Thread debugging using libthread_db enabled]
[New Thread 0xb7d62b70 (LWP 4674)]
[New Thread 0xb2c18b70 (LWP 4677)]
[New Thread 0xb2417b70 (LWP 4678)]
[New Thread 0xb195ab70 (LWP 4680)]
[New Thread 0xb1159b70 (LWP 4681)] .....

Code:
What I Did to make Golly Crash:
1. After starting Golly, loaded the example file "Still-Lifes/eaters.rle".
2. Alternated between Space (Next Generation) and Ctrl+Z (Undo), holding each for about 1 second.
3. Within 15 seconds, it crashed.

Starting program: /usr/games/golly
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x080fd47c in UndoRedo::RememberGenFinish() ()
#0 0x080fd47c in UndoRedo::RememberGenFinish() ()
#1 0x080f855c in MainFrame::NextGeneration(bool) ()
#2 0x081124f5 in MainFrame::OnMenu(wxCommandEvent&) ()
#3 0x00621a9f in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const () from /usr/lib/libwx_baseu-2.8.so.0
#4 0x006c0379 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0 .....

I've tried using different governors for CPU (Conservative, Ondemand, etc.), and these crashes continued to occur. I also tried using a different kernel to no avail; the crashes occur both on 2.6.32-21-generic and 2.6.31-17-generic. How to fix whatever's causing these segfaults.

View 4 Replies View Related

Ubuntu :: 10.10: Rhythmbox Segfaults Upon Launch

Nov 2, 2010

Running Maverick Meerkat fairly close to original specs. When launching Rhythmbox from either the command line or the applications menu, the window appears briefly and closes whether or not I interact with it. During its time open (~3sec), it gives no indication that it recognizes input, i.e. menus do not open and buttons do not depress when clicked.

While running from the terminal, the following output is displayed.

Code:

(rhythmbox:2068): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
** (rhythmbox:2068): DEBUG: SyncDaemon already running, initializing SyncdaemonDaemon object

[code]....

View 4 Replies View Related

Ubuntu :: Segfaults After Processor Upgrade?

Dec 3, 2010

I upgraded my processor two days ago(p4 -> C2D), and ever since then I have been getting segfaults, which are causing my programs to crash randomly. At first I thought it was isolated to one program(deluge), but after searching around I was looking at the /var/log/messages and found a bunch of segfault messages after I installaed the processor. Here is the grep from the messages file:

Code:
Nov 29 12:35:03 Thor kernel: [66065.114231] npviewer.bin[14952]: segfault at 0 ip 00000000f6232ed1 sp 00000000ffe9e6d0 error 4 in libflashplayer.so[f5e93000+b2e000]
Nov 29 12:41:23 Thor kernel: [66445.260799] npviewer.bin[15324]: segfault at 418 ip 00000000f60ddc86 sp 00000000ffb4b928 error 6 in libflashplayer.so[f5e8e000+b2e000]

[Code]...

View 2 Replies View Related

Ubuntu :: XeTeX Segfaults With Custom Fonts

Mar 7, 2011

I installed the Adobe Font Forge fonts. They're all OpenType fonts and reside in ~/.fonts. Since around the time when I was fiddling with them, XeTeX started segfaulting whenever I used one of them. Any other font works fine. The strange thing is that I had one font already in ~/.fonts before I installed all of the new ones, which did work fine, but which now causes a segfault. The LaTeX file looks like this:

[Code]...

end{document} When I run xelatex test.tex, it segfaults and produces the log file I've attached to this post (renamed to test.txt from test.log). But, when I run xelatex with the -no-pdf switch, it produces a file test.xdv without complaining. When I then run xdvipdfmx -vv test.xdv, it segfaults and outputs to stdout what I've attached as a file error.txt. I suspect it might have something to do with system font settings that may have been changed by Fontmatrix while I was browsing my fonts, perhaps doing something that I didn't understand and messed things up. But I don't know which settings/config files/etc that may have been affected.

View 4 Replies View Related

Debian :: Segfaults After Upgrading The Cpu

May 22, 2010

Would upgrading your cpu ( athlon xp 1700+ to 2600 or 3200 ) be something that causes segfaults ?

View 2 Replies View Related

Ubuntu Servers :: Apache Segfaults Causes Memory Leak?

Jun 12, 2011

I'm having some strange issues with apache. Time by time it segfaults, eats all available memory (including swap) and makes server non responding.Ubuntu Server 10.04.2 LTS

Some strange logs:
Jun 12 12:00:18 *** kernel: [40767.969443] apache2[7635]: segfault at 726f7272 ip 00007f13a31f3f16 sp 00007fff6f740ea0 error 4 in libapr-1.so.0.3.8[7f13a31d7000+35000]

[code]....

View 3 Replies View Related

Server :: Apache Segfaults After Months Of Running On Ubuntu?

May 13, 2011

OS: Ubuntu Server x64 10.04 Apache: 2.2.14-5ubuntu8.4 I have a virtual server which has been running for months with no problems then one day I saw that it crashed and I had to power cycle it. Since then I have been unable to start Apache as it segfaults no matter options I give it. Before I try to reinstall Apache, why is this segfaulting?

Code:
execve("/usr/sbin/apache2", ["/usr/sbin/apache2"], [/* 21 vars */]) = 0
brk(0) = 0x7f9f48f8d000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9f47e0d000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3

[Code]...

View 2 Replies View Related

Fedora Servers :: Random Segfaults In The F10?

Mar 31, 2009

I have a new IBM x3650 that I am trying to get installed and running. However, it seems to experience random segfaulting. The system has ECC RAM and I have taken a look at the EDAC reports from the kernel, but as far as I can tell there is no error.This is a critical system I need to bring up, so I can't have it act flaky like this. Software is up to date. [URL]

Example output:

Code:

__ratelimit: 1 callbacks suppressed
ld-linux-x86-64[7676]: segfault at b33000 ip 00000000003b557b sp 00007fff13789c18 error 6 in ld-2.9.so[39d000+20000]
ld-linux-x86-64[7699]: segfault at 62ddbb ip 000000000062ddbb sp 00007ffffa0ab520 error 15 in toc2cddb[62c000+9000]
ld-linux-x86-64[7939]: segfault at 161004011d5 ip 00000000001ea1f0 sp 00007fff1eeb14f0 error 4 in ld-2.9.so[1e2000+20000]

[code]....

View 2 Replies View Related

General :: Segfaults Are Not Logging Into /var/log/messages

Dec 8, 2010

I'm using Red Hat Enterprise Linux Server release 5. In this whenever a user process crashes due to segmentaion faults , it was not logged in /var/log/messages. Even dmesg is also not showing any messages related to this.

Where as in another distributions(Cent OS 5) I've seen segfaults messages in /var/log/messages whenever my user process crashed.dmesg also showing the segfaults.

Is there any settings that to enabled so that it logs segfaults into /var/log/messages.

I cross checked /etc/syslog.conf of both the systems. Both are same and even /etc/sysconfig/syslog files.

View 1 Replies View Related

General :: Cause Segfaults While Compiling, If The Ram Seems To Be Fine?

Jul 22, 2011

I googled around but most of what I could find said that segfaults are generally a memory issue. I've noticed lately that I'll occasionally get a segfault while compiling on my computer. There's no noticeable pattern, just that every now and then a bit of software that I'm trying to compile will segfault on me, even software that I've compiled in the past.

I ran memtest86+, but it showed no issues at all. I run a stock kernel on Slackware, with no modifications to the system other than installing multilib support (which I'm 100% sure is done correctly).

View 6 Replies View Related

Software :: Apache Segfaults - Php And Do_bind_function?

Nov 29, 2010

I'm having a slight issue with apache segfaulting reasonably regularly. I've followed through the apache http debugging guide here:[URL] and receive this when running gdb:

Code:
[root@ukserv1 apache2-dump]# gdb /usr/sbin/httpd core.1085
GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-23.el5_5.2)

[code]....

View 1 Replies View Related

Slackware :: Ash Segfaults On Second Backspace 64-current?

Feb 4, 2010

I've found what seems to be a reproducible problem with 'ash' on slackware64-current (updates to and including Jan 31st)

Open a console
ash <enter>

type 2 or more characters, doesn't matter what.

press backspace
press backspace
**seg fault**

occurs under xterm, konsole, gnome-terminal in both kde4 and xfce and on a virtual console.

View 14 Replies View Related

Slackware :: Firefox-3.5.2 Segfaults - ATI Video ?

May 16, 2010

New install slackware64 13.0. Sites that cause it to segfault are simple ones - gmail (2 seconds after I get past the sign in stage, and before I even open any email. This one also
www.channel4.com/programmes/4od.

I have done the obvious stuff - checking for missing libs with ldd, finding them, etc. Disks are 1-2 years old (ext3) and well checked, but this install has not been lived in yet. Plugins installed are: java 1.6.0_16; Flash 10.0 r45; SVG-2.26. Kernel is 2.6.33.2, made with 'make oldconfig from a very satisfactory 2.6.30.5 kernel which was faultless for some time.

The box is all-amd/ati HP6715S, with RS690 video and northbridge, sb600 southbridge. and a twin turion 2 Ghz. It is using the recent OSS xf86-video-ati drivers. The only strange Mozilla error was between 4th and 5th crash this session when it said "Input/Output Error". Otherwise the error shows as line 131 of run-mozilla.sh - the 'finally start the binary' routine.

View 10 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved