CentOS 5 Server :: High Priority - Apache Will Not Start
Nov 20, 2010
It is now almost 3 'o clock in the night here, last 5 hours trying to fix this problem. CentOS always runs perfectly here. I am not a genie with the terminal so wanted to install GNOME on my vps, than vnc but didn't work and did a restart.
Now got this:
Quote:[root@srv1 conf]# apachectl start
Syntax error on line 41 of /etc/httpd/conf/httpd.conf: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
View 1 Replies
ADVERTISEMENT
Nov 16, 2010
I have CentOS 5.5 x86_64 with Apache, php and mysql.
I have just installed OTRS (helpdesk - trouble ticket system) on that server and no users.
This system works with perl, apache and mysql.
I notice that is slow to respond and at times unresponsive the apache welcome page. code...
View 5 Replies
View Related
Nov 21, 2010
Prevent flash from running threads in high priority
View 6 Replies
View Related
Jun 14, 2011
I installed apache 2.2 with centos 5.5. When I typed service httpd stop, apache stopped. Then in a minute, it automatic start again. I don't use crontab, and I tried 'chkconfig httpd off', but it still automatic start. I used 'ps -ef' to look process, I saw, httpd have PPID is 1, and then I find PID 1 have PPID 0.
View 1 Replies
View Related
Apr 2, 2011
on an old server of mine, as soon as apache is started, the load average that I get to see with 'top', that normally is under 1, now just steadily climbs up and up to easily 150, in fact disabling the webserver from serving any webpage. I've checked netstat, and I'll try to upload the output. The ip's that are in there I've blocked with iptables. But that doesn't help or so it seems. I see nothing weird in the error logs. As soon as I stop apache, the load goes back to normal. As soon as I (re)start it, up it goes again. What can cause this and how do I get rid of it?
p.s. It's an old server, fedora3 or so, and I've got a new one to which I'll transfer the domains, but until that's completely done, I'd like this one to run as it has for years...
View 1 Replies
View Related
Nov 30, 2008
I can be granted permission, and I'm in the proper groups, but pulseaudio tells me I can't get permission.. I wanted to see if anybody else had this problem / knew of a solution / isolate whether it is a pulseaudio, policykit, whatever problem, before I post a bug upstream.
Code:
[Sun 07:25 AM] ~ $ rpm -qi pulseaudio | awk '/Version|Release/ {print $1$2$3}'
Version:0.9.13
Release:3.4
[Sun 07:25 AM] ~ $ groups
[Code].....
View 8 Replies
View Related
Jul 28, 2010
I have a apache cluster with more than 10 nodes, based on ldirector and heartbeat. The problem is that I cannot predict if my nodes will handle the traffic in the next day (hosting a website based on daily campaigns). So I decided to limit the number of active connection on the nodes (from apache), but this is only a temporary solution. I want to create a page that will appear to users that are getting over the limit. Has anyone made this before? Can you tell me how is it possible (I don't want a how to, just a starting point to study)? I think squid can do it, but I don't know how to search for it. To give you an example of what I want, you can see the same thing on deviantart.
View 3 Replies
View Related
Apr 7, 2011
Using Ubuntu server 10.04.2 64-bit all up to date.
I am running multi-threaded processes. These use OpenMP in my own code and the multi-threaded ACML maths library. When run in the foreground, everything is fine i.e. if I have set
export OMP_NUM_THREADS=8
then when I start all 8 cores are in use and things whizz along. However, when running overnight and logged out using e.g. 'at now + 1 minute' then the command, I am only getting about 130% CPU and it slows down accordingly. I have tried renice'ing and calling from within a bash script in case sh is doing something odd but nothing seems to solve it. I am sure that in the recent past this wasn't the case.
The libraries being used are shared versions in case that might have any bearing.
View 1 Replies
View Related
Oct 2, 2009
I am running Apache 2.2.3 on a CentOS release 5.3 (Final) with 100 Sites. I've notice that Apache is making my server Swap around 200 MBs.
"http://www.xxx.yyy.zzz/server-status" doesn't show me too much to, so I am looking the behavior of specific httpd process.
ProcessID "18753" is the one for "http://www.xxx.yyy.zzz/server-status" in my browser.
This command show me (In KBs) how much virtual memory is that specific process using:
# /etc/init.d/httpd start
# grep Private_Dirty /proc/18753/smaps | awk '{ print $2 }' | xargs ruby -e 'puts ARGV.inject { |i, j| i.to_i + j.to_i }'
3012
... Running this command a lot of times it gives me the same output, but suddenly...
# grep Private_Dirty /proc/18753/smaps | awk '{ print $2 }' | xargs ruby -e 'puts ARGV.inject { |i, j| i.to_i + j.to_i }'
21708
Something make that process (and all the others httpd process too) to use a lot more memory!
Part of my httpd.conf:
# Timeout 120
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 3
<IfModule prefork.c>
StartServers 5
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 100
</IfModule>
<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule> #
My server is running Mysql 5.1.34, vsftpd 2.0.5, BIND 9.3.4-P1 (as slave). I couldn't found anything running in the specific time that httpd processes start to use that much memory.
View 7 Replies
View Related
Oct 14, 2010
I am trying to solve a problem where Apache stats aren't displaying correctly in Munin. I've ran through quite a bit of checks and tests regarding Munin setup, but I think my issue is related to Apache, but my skill set there is lacking.
first, system info:
monitored server:
CentOS 5.3 2.6.18-128.1.1.el5
[code]....
View 7 Replies
View Related
Jan 19, 2011
I can able to view there is high amount of memory & swap usage on the server, upon investigation found that there are high no of page faults happening on the server more than 300 .. Is there is any option to fix the page faults , and also how to release the locked memory with out using drop_caches..
View 2 Replies
View Related
May 12, 2011
I'm trying to dump a mysql database on a small web server without killing performance. I tried using the nice command to give the mysqldump and gzip a low priority, but gzip is still taking up 100% CPU. Pages on the web server are loading incredibly slow. Here's my command:
Code:
nice -n 19 mysqldump -u USER -pPASSWORD DATABASE | nice -n 19 gzip -9 > OUTFILE.sql.gz How do I get gzip to run without taking up 100% CPU? I've attached a screenshot of top about 8 seconds into the dump.
View 2 Replies
View Related
Nov 24, 2009
after I do all new installation and before i do PHP update my browser can show me apache default page but after update PHP to 5.2.0 I can't even see the default page and always give me Problem loading page and I have 3-4 times reinstall my server which i need to do this as mail serer locally. Here are the version for my php and apache on my server currently :Apache[root@localhost local]# httpd -vServer version: Apache/2.2.14 (Unix)Server built: Oct 14 2009 13:19:18
PHP
[root@localhost local]# php -v
PHP 5.2.11 (cli) (built: Sep 21 2009 14:49:09)
[code]....
View 5 Replies
View Related
Aug 25, 2009
I am unable to start apache on my linux machine with following errors Starting httpd: Syntax error on line 117 of /etc/httpd/conf/httpd.conf: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration I am using CentOS5 with apache version httpd-2.2.13
View 99 Replies
View Related
Jan 20, 2011
I am installing Big Brother on a CentOS 5.2 running the default Apache 2.2.3. When I try to access any web page I get the following error: Forbidden You don't have permission to access /bb/ on this server. Apache/2.2.3 (CentOS) Server at fmsubbnix Port 80 So far I have:
1) Set the Directory options to FollowSymLinks
2) Verified all directory and file permissions are at 755
3) Set permissions temporarily to 777 and received same error so I am assuming the issue is in a config file somewhere
4) in hhtpd.conf verified <Files ~ "^.ht"> is correct
5) verified the "default" directory is correct (/var/www/html)
I have read and tried several ideas in posts listed on the web but to no avail and am at a loss as to what to look for next..
View 3 Replies
View Related
Mar 15, 2009
Yesterday I installed a new server with a large partition for my XEN images. This partition is a about 930GB. The installation tooks ages and after he finished I was finding out why that is. The SoftRAID1 I configured is rebuilding the large partition.
View 7 Replies
View Related
Apr 6, 2010
My apache server don't want to start by itself on boot.
View 9 Replies
View Related
Jan 19, 2011
Been a very long time since I have played with Linux.Now in a new position and have setup a Nagios server running on Centos 5,5 for a NMS.How do I set apache that when I visit: whatever.org it starts Nagios.. Currently I have to go to whatever.org/nagios.
View 9 Replies
View Related
Apr 29, 2011
I am very new (since yesterday) to Linux also new to web server setup. I have installed all LAMP components, including SSL as described here: [URL]. I have added LISTEN 443 Wanted to restart the apache server -> no success ! stopped it, now doesn't start at all:
Warning msg=>
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:44 no listening sockets available, shutting down . .
Failed
I tested Apache and my PHP earlier and it worked. Now after SSL and FTP installation it doesn't work anymore! Also I am wondering about my server name, it is the set IP of the web server, surly i should change that? Only used link for SSL set-up, used diff links for apache php etc (also have java JRE installed as I will need that later for my app) also have GNOME available, but prefer command line.
View 5 Replies
View Related
Dec 9, 2010
I have BT4 as an iso image and start it up by booting from cd, when i try the command root@bt~:startx it comes up with this fatal error. what can i do to get this work? and of course im new at this.
View 5 Replies
View Related
Feb 20, 2009
I have a problem with running Apache web server. I think my problem is either I can not get httpd to load automatically or it's being blocked from external unless I'm logged in, don't know which. Or, I'm completely off base. Either way, being logged in solves the problem. Now I just need to fix it. This is a brand new server running latest apache and fedora 10 (all fully patched). Loaded from source to all default (non RPM directories - apache is /usr/local/apache2/... )
I modified the existing /etc/init.d/httpd script and had it point to the /usr/local/apache2 areas.I even did a chkconfig --add httpd and show it is on for run levels 2345.The problem is that when I reboot the server httpd does not load because I can not access the website.However, the minute I login to the server as a user (non-root) it automatically loads httpd and the website works.Then, when I logout, everything is inaccessible again. I even tried to put the commands in the /etc/rc.local script (or wherever it is).Same thing happens.I know this is a simple fix. Just don't know what it is. Is it related to SElinux? However, wouldn't SElinux create access problems regardless of being logged in or not? Once I'm logged in, everything automatically fixes itself (either it's a service load or a rights filter fix).
Remember, everything works perfectly as long as I'm logged in to the server (even as a non-root user). Just the act of logging in makes the web server accessible from to the rest of the world. However, when I logout, the web server is inaccessible.
View 5 Replies
View Related
Mar 7, 2010
I installed LAMPP a couple of weeks ago and was working fine. Today when I try to start lampp, it will only start MySql and ProFTPD. It says "XAMPP: Another web server daemon is already running." How can I find out where this other server is located and stop it?
View 2 Replies
View Related
Nov 12, 2009
I'm trying to install two instances of OCS Inventory on the same machine using virtual hosts in apache. The apache configuration for it is in it's own file and it works fine without any virtual host. If I add it apache refuses to start without giving any error message. I narrowed it down to some lines loading perl modules, and if I comment them away apache will start again. Some of the modules work, but some of the ones specific to OCS Inventory will not work. I can't understand what the difference is between loading it in a virtual host or not, it doesn't make any sense to me!
View 2 Replies
View Related
Jul 2, 2010
I'd like to permit to start download file when I click over some links. How can I to start download files through http protocol with apache 2?
View 5 Replies
View Related
Apr 25, 2009
I've decided to install apache server from groundzero. So I've done next things:1)downloaded source tar with apache22)unzipped it3)./configure(d) it4)make5)make install
...But!!! I can't start it. apachectl in /usr/local/apache2/bin
error answer is:
<code>
[root@dhcppc1 bin]# apachectl start
[code]...
View 6 Replies
View Related
Nov 9, 2010
I'm trying to figure out if it's possible to configure apache or any other linux http server, to allow the visiting user to start applications installed locally on the http server and get the GUI of that application displayed in a java applet (or any other similar solution). In short, I'm looking for an alternative solution to proprietary technologies such as Citrix and Microsoft Remote Access Gateway.
View 3 Replies
View Related
Sep 2, 2010
I'm configuring a new Centos 5.5 server in replacement of an old W2K server.The topology of our network is simple : one file/dhcp/dns relay server and workstations (PC's and some MAC's) plus network printers and scanners.All the workstations have dynamic IP addresses (easier because a lot of 'dynamic' changes : new persons with their own laptop, ...) and the server and printers/scanners have fixed IP addresses.I edited the dhcpd.conf (see here underneath), I have the file dhcpd.leases but it doesn't start !
DHCPD.CONF
ddns-update-style interim;
ignore client-updates;
[code].....
View 3 Replies
View Related
Feb 22, 2011
when I reboot the server with centos 5.5 the SMB deamon doesn't start?
View 2 Replies
View Related
May 6, 2011
i am learning to using ubuntu as my server and learning using vps too
now i getting consfuse about my server memory usage i just have 3 sites , 1 blog site and 2 company profile but apache memory usage is more than 300MB and total of memory use in my server is more than 500 MB (maximum 512MB burst memory)
i am using drupal for my website is this normal ? because in last week, memory consumption in my server no more than 380 MB
View 2 Replies
View Related
Jul 22, 2011
I am running a CentOS 5.6 Server with a website and Forum. The website has a contact form and users can email various people in the organization. I have setup sendmail to send any mails like this to my email address on a Windows machine.The problem is that there emails don't have a header which has the senders original email header. It comes from localhost on my sendmail. How can I get any mail generated from the apache site to ALSO send mail to root on the Centos Server? That way I should be able to see the header and report the spammer or block them.
View 2 Replies
View Related