Customapache kills sshd

I've done a lot of installations and I've never seen the problem.

I'd like to figure out if there's a common situation anywhere.

If you're having the problem could you tell us:

a) what OS distribution you're using

b) what version of ssh you're using

c) what version of DA you're using

d) how much memory in your server

e) What processor and processor speed?

Maybe we can figure something out. This has got to be something fairly esoteric.

Jeff
 
Good start...

Come on, people; if you've got the problem please add your stats to the list.

Jeff
 
Has happened consecutevily on last 3 servers I installed DA on.

2 Freebsd 5.3
1 Freebsd 5.4

DA version unknown but within last 6 versions
Openssh version that comes with OS, when installing openssh-portable the problem is resolved.

Server 1
Pentium 4 2.4
gig ram

Server 2
AMD 64
gig ram

Server 3
Celeron 2.2
512meg ram
 
3 Servers it has happened on now:

FC2
OpenSSH_3.6.1p2 (*sigh* backported...)
1.24.4
512 Mb RAM
Celeron 2.6

CentOS 4.1
OpenSSH_3.6.1p2
1.24.4
2048 Mb RAM
Dual Xeon 3 Ghz

CentOS 4.1
OpenSSH_3.6.1p2
1.24.4
768 Mb RAM
Dual P2 450 Mhz ;)
 
a) what OS distribution you're using
FC2

b) what version of ssh you're using
The FC2 default; OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003

c) what version of DA you're using
DirectAdmin 1.23.4

d) how much memory in your server
1034568 kB

e) What processor and processor speed
2997.012 MHz
 
Hello,

I'd like to find out if this can be duplicated manually.
Code:
cd /usr/local/directadmin/customapache
./build clean
tar xvzf php-4.3.11.tar.gz
cd php-4.3.11
../configure.php
make
make install
Test that out to see if you can duplicate it. If so, try doing it again, but for "make" use: "make > /tmp/make.txt" instead..so you can see where it coughed out. Piping to a file, might change how sshd handles things (less data to send), thus might not boot you.

John
 
John I will test on my spare box which still has directadmin licence active.

I just need to explain to you tho, the problem isnt the current ssh session dying, the actual sshd deamon is killed meaning recconect is not possible until sshd is started again.
 
wow, ok. That make abosultely no sense to me why that would happen while compiling.

If you can, try and see which part of the compile it's on when it happens (apache, php or a module.. if it makes any difference). Also, check exactly what time it happens to see if it might match up with a cron job somewhere (not sure what, but just to see if there is somewhere to look).

John
 
Hi, for me, it's when i'm compiling php I think ^^ (but i'm a noob -_-). If I compile curl by example, no problem, but when i do ./build php y, bing, sshd killed :\ I have no cronjob working when I try to compile.
 
DirectAdmin Support said:
What does your /var/log/messages file show regarding sshd when this happens?

someone else maybe ? because i haven't test server and when i compile, i have to say that to my hosted lol (and my old log are deleted). Because i'm affraid to compile with this problem, i don"t re-compile my php since 2 month ^^ (even if I really need lol )
 
Last edited:
the systems sshd I removed so I will need to recompile it before I can test, but I will do it as soon as possible.
 
Ahhhhh i thought we where the only one having this problem!

As a lot of you guys, we run multipe servers with Direct Admin, and only 1 server has this problem.

I experienced that it happens when compiling PHP. And SSH not always dies, and that other services sometimes die too. Like Apache & Exim.

For what it matters, this is de config:
Intel Pentium 4 3.2 Ghz, 1GB memory with FC3 and all software versions that come along with Direct Admin. The last time i expericenced the problem was with DA version 1.24.3, i haven't tested it on 1.24.4 yet. The client that rents that server will kill me if that server hangs again because of this 'bug'....
 
I no longer have the server I was going to test on and will not be testing on any production server's so for me to reproduce the error I am going to need a licence for testing or someone else will have to try and do it.
 
I can give you access to a test server running CentOS4.x and a new DA install; let me know if you're interested. You can run it for about a week.

Jeff
 
If you have already gone thru the install process including customapache without a problem I dont think the bug will be kicking in on that server.
 
Back
Top