LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-01-2011, 11:36 AM   #1
rickandmary
LQ Newbie
 
Registered: Feb 2011
Posts: 2

Rep: Reputation: 0
Apache issues on opensuse


Hi there i recently upgraded my server to one with 4gib ram and although i pannicked at first when all the ram got used by the cache i have read as long as it dosent touch swap this is fine and linux will use most of it so it dosent waste. My issue is that during peak time on my site it completely times out and my server reports http port 80 offline, this can go on for many hours, i read that i should up the max client in apache but being a total noob i do not know how to do that, the path in all the tutorials i read always says it dosent exsist when i try to open it via the command line. I also have no idea how i go about editing the file or saving it as the only tutorials i see explain about vi editing, could anyone help me please?
 
Old 02-01-2011, 12:49 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
Quote:
i read that i should up the max client in apache but being a total noob i do not know how to do that, the path in all the tutorials i read always says it dosent exsist when i try to open it via the command line.
Opensuse may not store the config file in the same location as used in the tutorials. To find the config file, open a terminal and enter this command: find /etc -type f -name <file name> (where <file name> is the name of the config file you want to edit). /etc is the directory in which config files are stored.
Quote:
I also have no idea how i go about editing the file or saving it as the only tutorials i see explain about vi editing, could anyone help me please?
Once you find the file, you will need to be root to edit the file. You don't need to use vi if you aren't familiar with it yet, if you are using the KDE desktop. You can use a GUI editor, such as kate.
su to root
enter root password
kdesu kate /etc/apache/config.file (to start kate GUI editor as root and open the apache file, assuming it's located at /etc/apache/config.file). You will be prompted for the root password.
make your edits, then save.

I'd make this suggestion. Don't delet any lines or change any lines. If you want to delete a line, comment it out instead, then enter the new line directly under the commented line. That way you can easily restore the file to it's original by deleting your additions. Do the same for changing lines: comment out the line you want to change, then add a new line underneath it. You might also add comment lines at each edit, giving the date you added your lines so they're easy to find.

Last edited by bigrigdriver; 02-01-2011 at 12:53 PM.
 
Old 02-01-2011, 01:02 PM   #3
rickandmary
LQ Newbie
 
Registered: Feb 2011
Posts: 2

Original Poster
Rep: Reputation: 0
thanks for your quick response, i am logged into it over putty so i dont have kde, i am very unsure how to edit it or save it this way
 
Old 02-01-2011, 01:12 PM   #4
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7
Posts: 872

Rep: Reputation: 112Reputation: 112
Use nano. It is a very simple text editor. You can edit by typing

# nano /your/file/to/edit
or
$sudo /your/file/to/edit

where /your/file/to/edit will be the path to your config file.
 
  


Reply


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
[SOLVED] OpenSUSE 10.3 issues searchfgold6789 Linux - Software 12 10-06-2011 11:25 AM
Issues with XFree86 in openSuSE 11.2 shadowers Linux - Software 3 03-26-2010 03:26 PM
Some issues with OpenSuSE 11.1 sonicboy SUSE / openSUSE 1 04-14-2009 03:39 PM
Opensuse 11.0 Issues jedilost1 Linux - Server 0 03-10-2009 12:26 PM
[OpenSUSE 10.3] 4 TB partition issues noir911 SUSE / openSUSE 2 06-19-2008 07:03 AM


All times are GMT -5. The time now is 04:01 PM.

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