Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-07-2010, 09:13 AM   #1
LQ Newbie
Registered: Jun 2010
Posts: 2

Rep: Reputation: 0
lamp server communication goes on and off (apache, sshd, nx-server, mysql)

My last attempts to install a remotely managed lamp have all been unsuccessful as fedora, ubuntu & debian installations seem to turn off and on all the time as far as communication is concerned.

I try to ssh the server but the conenction is stopping ( the server reply is "connection closed"), the apache works from time to time, nx remote desktop is the same with ssh (is it cause it's on port 22?).

These problems did NOT appear under debian etch but right after (was there something else as well?) ugrading to lenny, all previously mentioned problems re-appeared.

"On and off" appears more frequently during hours that the network of the machine is in load (not overload, but users are online-working) in contrast to night hours that the problem seems to be much much less frequent.

In past I have had a similar configuration machine in another location using older fedora and everything were working smoothly!

As for the current maching causing me troubles, I have tried to change hardware (complete chage using another copmputer) and the troubles were still there (thus I assume software issues)

By the way I test it on local network so my initial concern of "outside-domain-access" problems does not exist.

Can you please advise as to where to start from, in order to get a working, remotely managed lamp? What should I look first? Should it be the sshd/apache logs? is there a possibility that the network is causing this? (I 've read about 2 variables that allow in slow networks, requests to queue for longer - don't recall them now - but changing these did not work)

Old 06-07-2010, 10:58 AM   #2
Senior Member
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 164Reputation: 164
Well firstly, if you've got ssh and nx setup both on port 22... that's an issue. How are you installing lamp? This sounds like an issue with lamp more so than an issue with the operating system or alternately your configuration of lamp. Are you having network issues and not server issues?
Old 06-07-2010, 11:23 AM   #3
LQ Newbie
Registered: Jun 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Ok, as far as the ssh and nx I can understand, but if I'm not working on both at the same time, is it ok?

Lamp is installed in ubuntu through the "sudo apt-get install lamp-server^" and on the rest using apt-get, or yum for each one of the apache, php, mysql separetely. The same holds for sshd and nx.

As for the network issues, indeed the Network Operations Center of the institution I work for is not at it's best but how could I distinguish between network and server problems?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Ubuntu LAMP Server MySQL Database Configuration LXer Syndicated Linux News 0 11-19-2009 01:30 AM
LAMP (linux-apache-mysql-php) server from scratch twlilinux Linux - Server 3 06-11-2008 12:35 AM
communication of PHP ,MySQL and apache server shweta Linux - Server 1 08-14-2006 10:37 AM
Securing a LAMP server [1] SSHD Wim Sturkenboom Linux - Security 4 06-07-2006 06:57 AM
connecting PHP to MySQL in a LAMP server rickyglucas_143 Linux - Newbie 2 02-06-2006 04:02 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration