CentOS 5 Server :: How To Disable Apache2 Modules
Dec 27, 2009Many Apache2 unused modules loaded. I'm going to disable some of them.But what is the command to disable the modules?
View 1 RepliesMany Apache2 unused modules loaded. I'm going to disable some of them.But what is the command to disable the modules?
View 1 Repliesi couldn't find anything on google. So here is my problem: It's Debian GNU/Linux. I installed apache2 a few weeks ago, but due to some work I couldn't go on installing further things. Today I installed php5 and mysql. Everything seemed to work fine. I loaded an existing MyBB Board and WordPress Site onto the server and imported the mysql db. I can open the sites and login. However, there are problems. I think my problems are due to the compiled modules. Some are missing. I checked several sites. They all give me this listing:
Code:
apache2 -l
Compiled in modules:
core.c
mod_access.c
[Code]...
What should I do? How can I get the missing modules? Do I have to install apache again (how? remove - install? install what?)? Step-by-step instructions would be kind, because I don't know a lot about unix systems.
I am trying change the MaxClients parameter for apache2 on ubuntu. I looked in apache2.conf and there are two instances where MaxClients is mentioned.
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
[Code]....
My apache and wordpress were running fine till this morning. I ran updates via webmin,though I wasn't sure what those updates were for.
Then when I tried to access mysite.com, index.php downloads instead of opening.
I tried some troubleshooting and followed a form where it was advised to enable mod php5, so I did a2enmod php5 and tried to restart apache. Since I get this error Cannot load /usr/lib/apache2/modules/libphp5.so into server.
this might not be a Centos related issue, but since I'm using Centos I guess it doesn't hurt to ask; I've used Ubuntu before and haven't encountered this. So, I've just installed Centos and Webmin and now I'm trying to configure the server. Problem is that on the Apache configuration page I don't have the option (should be there) to configure the Apache modules. I've attached a file to show where the modules option should (as before) appeared.
View 6 Replies View RelatedI am administrating a server with CentOS installed. It came with qmail and courier-imap preinstalled, and Plesk.I need to manually add email accounts outside of Plesk, because my 1-domain Plesk license only allows the creation of one email address (yes, it sucks).
When I say add email account I mean creating a new email address, have email for that address be stored in its maildir, and have a corresponding imap (and hipefully also pop3) account that will be able to read that mail. All this with virtual domains.I've already found out how to create the new email addresses for qmail, so that email for the new email address is being delivered correctly. Now I need to create the imap/pop3 accounts for courier.
For the qmail part, I create a folder in in /var/qmail/mailnames/virtualdomain.org/username and a maildir called Maildir inside it. This is how the first mail address was created by Plesk and i'd like to maintain the same structure. As I've said, the qmail part is already working, I need to get the courier-imap part to work. Ideally, it should accept login with both short (i.e. myuser) and long (i.e. myuser@virtualdomain.org) user names.
Currently the only authentication module that is enabled in courier-imap is authpsa, which is Plesk's authentication module.in order to add more authentication modules, do I just need to add them to the authentication module list in /etc/courierimap/imapd, or do I need to reinstall courier-imap with support for such authentication modules? I thought I would only need to add them to the list, but I've noticed that the /usr/lib/courier-imap/authlib/ folder only contains a binary called "authpsa". Does that mean that other authentication modules are not even installed? If so, can I install them without reinstalling courier?
The second question is, what would be the most recommended authentication module that would make it easiest to create new email addresses/accounts from the command line? I need to be able to write a shell scripts capable of creating a new email address with all that is needed, and I'd like to keep this script as simple as possible, so for example I'd avoid mysql-based authentication as it sounds rather complicated. And the last question is, if I do need to reinstall courier-imap, how can I install a package without recompiling it? Will my one existing mailbox keep working?
I have suse10 64 bit installed. I am setting up a svn server on it. After installation and adding the modules ,while reloading the apache2 it's throwing the error as: HTML Code: httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server
View 9 Replies View RelatedI am getting this error
Starting web server: apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost XX.XX.XX.XXX:80 has no VirtualHosts(99)Cannot assign requested address: make_sock: could not bind to address 68.178.232.100:80
no listening sockets available, shutting down Unable to open logs failed!
also what is 68.178.232.100
I am running centos 5.4, kernel 2.6.18. Also running httpd (apache2) as a reverse proxy with the following modules
mod_ssl
mod_cache
mod_proxy_*
Recently after updating these modules:
mod_ssl x86_64 1:2.2.3-31.el5.centos.2
httpd x86_64 2.2.3-31.el5.centos.2
distcache x86_64 1.4.5-14.1
I am getting wierd errors in the error logs:
[Wed Feb 10 15:44:18 2010] [error] (103)Software caused connection abort: cache: error returned while trying to return disk cached data
[Wed Feb 10 15:44:45 2010] [error] (103)Software caused connection abort: cache: error returned while trying to return disk cached data
[Wed Feb 10 15:44:48 2010] [error] (103)Software caused connection abort: cache: error returned while trying to return disk cached data .....
want to disable apache2 so that it does not restart on boot so that I may evaluate lighttpd
View 1 Replies View RelatedWhenever I type in my IP address or local domain name in my browser (http://myipaddress), my entire directory tree shows up in the browser. Normally I would not mind this behavior but I am networking my main computer through a router and if anybody within the range of the router types in my IP address in their browser (using their computer), I think they too will be able to access every file on my computer. How do I disable this?
I am running Linux Mint 9 (based on Ubuntu Lucid) and Apache2. I would rather just be limited to using Nautilus to connect to the HTTP server using a password.
I recently turned on sendmail in CentOS 5.2 and configured it to relay mail for its domain onto some other email account elsewhere. Anyway, it's kind of hit and miss, but I've got a few of these:
Jan 27 21:47:18 smhi sendmail[12176]: n0S3YLaX011994: to=<kevin@hiding.my.domain.com
>, delay=00:12:56, xdelay=00:00:03, mailer=esmtp, pri=120673, relay=mx.hiding.my.mailrelay.com
[65.87.230.26], dsn=4.0.0, stat=Deferred: 451 4.3.0 Greylisting is active,
please try again later.
I don't think I have any greylisting software installed, but it seems to be greylisting? What's up with that? And why would it be intermittent? how I turn this off?
I've previously configured sendmail on Fedora systems and CentOS 4 and haven't run into this before...
im using default setting for proftpd and having two major problem for me at least
1. how to disable anonymous login?
2. how to make proftpd login using my default box login?
I have installed bind with yum install bind bind-chroot.I am having query timeouts due to no ipv6 connectivity.Is there a way to re-compile and not loose the chroot structure?Or is there another way to disable ipv6 lookups?Example of issue resulting in ipv4 query timeout:
30-Dec-2010 17:52:03.226 client x.x.x.x#53593: view internal: query: paypal.com.cms.local IN A +
30-Dec-2010 17:52:03.227 client x.x.x.x#53594: view internal: query: paypal.com.cms.local IN AAAA +
30-Dec-2010 17:52:03.228 client x.x.x.x#53595: view internal: query: paypal.com IN A +
[code]....
I have installed squid using CentOS 5. The server is dedicated only for squid proxy server. I want to know how can I disable unwanted services which load at booting time. Like sendmail,samba,etc etc. These services take memory and are not in use. I does not know how can I make my server only for squid proxy service by removing unwanted services?
View 1 Replies View RelatedI am currently running CentOS 5.5 on a software raid 1 setup.
I would like to remove the raid configuration and have it run without raid.
How would one go ahead and do this?
I have added apache application into redhat cluster. If the apache process failed, it will cause the service group fail over. I want to disable the application monitoring. I search throung Internet and it depends on the apache init script. If I change /etc/init.d/httpd status always return 0(success). THe service group will not fail over even apache failed.
However, I want to remain the application monitoring but stop failover. If the application like apache failed, I want Redhat cluster to try restart the application like 3 or 4 times. If restart failed, it will not failover.
we have done a minimall install of centOS. We don't use software RAID, and after doing a "lsmod" we see a lot of modules loaded we dont need.
So I tried to remove the DMRAID because we don't need it. I'have added the dm_mirror, and dm_raid45 to both /etc/modprobe.d/blacklist:
blacklist dm_raid45
blacklist dm_message
blacklist dm_log
blacklist dm_log
blacklist dm_mod
[Code]...
I have a dedicated server. It doesn't have any GUI (gnome or something like that), so i need to use terminal, which is hard for a non-advanced user. So i have a few questions:I'm hosting a CS server and a few other servers later on. But right now only CS server. With it i need to start another perl window, which updates the stats to the website and database.So how can i start both server, that program and maybe use the console at the same time?Another question is: when i quit the server, it automatically restarts. How can i just kill the process? I don't want to restart my server every time i want to shut down the CS one.
About perl: how can i install per modules and how can i know the translations of perl modules from windows to linux names?And is there any firewalls by default clean installation, which might 27500 port and any connections trough 3306 to the database on my web server? If no, how come, that my program is unable to connect to my website database?Will my own email server take a lot of resources? Which only i would use and wouldn't receive much mail? And are there any guides how can i do that?Will a web server, which wouldn't take much visitors each day take a lot of resources?
i try update new kernel and got this error when i try to actived tun/tap
Quote:
-bash-3.2# modprobe tun
FATAL: Could not load /lib/modules/2.6.18-164.15.1.el5.028stab068.9PAE/modules.dep: No such
[code]....
I want set up VPN on my VPS but when i try to turn on tun/tap i see:
:/lib/modules# modprobe tun
FATAL: Could not load /lib/modules/2.6.18-194.17.1.el5.028stab070.7PAE/modules.dep: No such file or directory
os : debian 5
(folder lib/modules is empty)
I keep getting things like code...
but i already do
yum groupinstall "Development Tools"
yum install kernel-devel
commands.
I just reinstall my centos, and in the previous installation I used the virtual box without problems. that is giving wrong this time?
(i had tried the .run installer and the rpm installer but all lead the same.)
I am relatively new to CentOS. I attempted to install 5.3 with firewire several weeks ago and abandoned the install because it was taking too long to figure out the problems. I've had to revisit this and am having troubles with it. I was told that CentOS 5 has firewire 1394 support. When I did the typical install, it didn't physically (manually) install the video1394 and raw1394 modules. At boot up, my computer says that video1394 and raw1394 are "Module(s) not found". If I do <lsmod> I get (*snippet of o/p),
Module Size Used by
lockd 63081 0
sunrpc 145405 2 lockd
dm_mirror 24393 0
dm_multipath 24909 0
scsi_dh 11713 1 dm_multipath
[Code]...
I have found several other posts on the web that indicate I have to get the latest source files, but I do not know which one is the correct one or where to find it. Can anyone ponit me in the right direction? Is there anything else that I need to do?
The problem I am having is that iptables won't load the required modules for my firewall rules.
iptables -F
iptables -P INPUT DROP
iptables -P FORWARD DROP
[code]....
CentOS and RHEL even though I've been using various Debian/Ubuntu Distros for quite some time. However, I always used to install perl modules via apt-get or, if that did not work, via cpan.In CentOS, I tried installing a couple of perl modules via yum but there are only a very few available. When trying to install perl modules via cpan, the install process usually fails during the make process.I'd prefer to install those modules via the distribution's package manger yum as it's easier to resolve dependencies. Are there any repositories I should add to have more perl packages available? (Where to add further repositories, I just know /etc/apt/sources.list in debian based distros)The other option still would be to install perl modules via cpan. For instance, when trying to cpan install Geo::IP, the output is as follows:
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Wed, 02 Mar 2011 02:42:03 GMT
[code]....
I have newly updated CentOS 5.6 server and would like to keep it "true" to CentOS, so try to avoid manually installing rpm's and CPAN modules.
I need to install perl graphing modules, Chart::Base, GD, GD::Graph, GD::Text, etc.
Have already done
Yum install gd gd-devel php-gd
Using Debian Lenny I'm getting the following message in my mail: /etc/cron.daily/logrotate:
Quote:
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
any1 know how to config apache so i can use ServerName at my web browser ?
here is what i am trying to do: i need to host a number of web sites at my mac, for example: hostone.com, hosttwo.com, hostthree.com and etc since i need to host more than one website at the same pc, i use name based virtual hosts so i have hostone at 192.168.0.1:1234 and a servername of "hostone" hosttwo at 192.168.0.1:1235 with a server name of "hosttwo" and etc
my question is , how do i config my local settings, so all of my local network computers can access "hostone" site by type "hostone" at their browser and "hosttwo" site by type "hosttwo" at their browser
I just installed a fresh CentOS 5.2 32bit system. I used "The Perfect Server" server document from Howtoforge and went through those steps and then added Webmin administration console. I then tried to install VMware Workstation 6.5 onto the system. I downloaded the latest VMware bundle, ran it and everything went fine. I then try to run vmware and I get the following messages
C header files matching your running kernel were not found
Before youcan run VMware Workstation, several modules must be compiled and loaded into the running kernel
Kernel Headers 2.6.18-92.1.22.el5.centos.plusPAE
Kernel headers for version 2.6.18-92.1.22.el5.centos.plusPAE were not found. If you installed them in non-default path you can..
I am trying to install Centos5.6 on an older machine which has a 3com NIC. how I can get the kernel modules for this nic, or do I have to compile a new kernel with this enabled?
View 19 Replies View Related