Server :: Apache2-mpm-itk Will Not Successfully Restart

Jun 15, 2010

I am having some problems after installing apache2-mpm-itk on my Debian 5.4 server. From my understanding apache2-mpm-itk will run child processes as root until a http request is received. It then suid's to the username in the VirtualHost directive. This is all working fine, as I can see a few apache processes started by a specific user.

However, the problem is when I try to restart apache. It will kill all the processes running by root but wont kill any of the processes that have been suid'ed to another username.

When i attempt to restart I get this error:

Code:
charged:/etc/apache2# /etc/init.d/apache2 restart
Restarting web server: apache2 ... waiting (98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80

[Code]....

If I do a "ps aux | grep apache" before and after I see all the root processes killed, but processes running as specified users from VritualHost directive remaining.

Now I am not an extreme linux power user, but I know a bit.

View 1 Replies


ADVERTISEMENT

General :: Network Cannot Restart Successfully In CentOS 5

Jun 7, 2010

When I reboot my CenOS, my nic does not. If I run eht0, I get the following:
./network-functions: line 78: icfg-eth0: No such file or directory
./network-functions: line 78: No such file or directory
Usage: grep [OPTION]... PATTERN [FILE)...
Try 'grep --help- for more information

The information in /etc/sysconfig/nework-scripts/ifcfg-eth0 is:
#Advanced Micro Devices [AMD] ...
Device=eth0
ONBOOT=yes
BOOTPROTO=None

NETMASK = 255.255.255.0
IPADDR = **.**.**.**
HWADDR=**:**:**:**:**:
Gateway=**.**.***.*
TYPE=Ethernet
How to rectify this?

View 3 Replies View Related

SUSE :: Apache2 Reload Error Cannot Load /usr/lib64/apache2/mod_dav_svn.so Into Server?

Nov 19, 2010

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 Related

Debian :: Apache2 Start Error Starting Web Server: Apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost?

Dec 9, 2009

I 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

View 1 Replies View Related

Debian Configuration :: Disable Apache2 Does Not Restart On Boot?

Apr 19, 2011

want to disable apache2 so that it does not restart on boot so that I may evaluate lighttpd

View 1 Replies View Related

Ubuntu Servers :: Can't Restart The Service - Apache2: Command Not Found

Sep 5, 2010

I just installed apache2 and i can't restart the service, i get: Code: sudo: /etc/init.d/apache2: command not found

View 6 Replies View Related

Software :: Restart Apache2 Process Every 10 Mins To Clear /tmp Directory?

Aug 31, 2009

I have been working on this for a few hours now and still haven't been able to track down whats going on. I just switched servers and put a fresh debian install on with apache2 + custom suexec + php5(fcgi). now when i upload a file to the site it wont upload, so i tracked down the issue. its the /tmp directory that root tmp. its at 100% so i restart the /etc/init.d/apache2 process and the /tmp directory is automagically cleared to 20% used and i can upload again. so i figure ok its got to be a setting. i looked in all the conf files conf.d the php5 conf files and no where do i have a /tmp directory set. so i think OK I can build a cron to clear the tmp directory every 10 mins till i find the issue, but alas, when i go into the tmp directory There are NO files to delete!!! wtf. holy crap. and all that goodness, this is crazy, how can you have a tmp directory that is not being written to, from all i can see, so i think ok it might be a hard link, i checked, in all root and sub root directories no hard links to tmp, no soft links to temp either. and if i sit in my /tmp directory and do a df -h after some uploads its going from 20% so 23% and up, but i do ls -alh and nothing, then ls -al and watch bytes, nothing , so this is very strange. has anyone encountered something like this? is it possible that this is a hard link thats hidden somewhere or some other extreme function i have never heard of?

View 8 Replies View Related

Debian Configuration :: Configure (start/stop/restart) Services (especially Apache2, MySQL And PHP) Using A Graphical Or Cli Tool?

Jul 23, 2010

I'm using debian 5 x64 with xfce.Is there a way to configure (start/stop/restart) services (especially Apache2, mySQL and PHP) using a graphical or cli tool? I tried to use sysv-rc, sysv-rc-conf, rcconf and rc-conf in the terminal but Bash didn't find them (Although Synaptic show that sysv-rc is installed).

View 9 Replies View Related

Server :: Edit Apache Virtual Hosts Successfully - But Can't Add A New One?

Oct 28, 2010

This really has me baffled! I'm running Apache 2.2 on Windows Server 2003 (I know, my first blunder). I can edit existing virtual hosts without a problem, for example, I can change this existing vhost to point to a different document root and it works fine:

<VirtualHost *:80>
ServerName existingsubdomain.mydomain.net
DocumentRoot "C:/Inetpub/wwwroot/mydirectory"
</VirtualHost>

But the moment I try to add a new virtual host, it doesn't get recognized! When I try to browse to it in a browser, I get a "Server not found: Firefox can't find the server at newsubdomain.mellemallc.net."

<VirtualHost *:80>
ServerName newsubdomain.mydomain.net
DocumentRoot "C:/Inetpub/wwwroot/mydirectory"
</VirtualHost>

Can anyone point me in the right direction as to why this may be happening?

View 4 Replies View Related

Networking :: Change MAC Address & Connect To A Dhcp Server Successfully

Dec 26, 2009

For changing the the mac address of my lan card( eth0) in linux fedora 9(solphur) i used this command

And i could change my mac address successfully but now i couldn't connect to my network via a dhcp server ( in configuration section of my router im going to check my new mac address (because i want to spoof) ,how i can do that?

View 7 Replies View Related

Server :: Apache2: Could Not Reliably Determine The Server's Fully Qualified Domain Name

Oct 24, 2010

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

View 1 Replies View Related

Ubuntu :: Getting CGI To Work In Apache2 Server

May 12, 2010

I'm running 10.04 with Apache2/PHP5.x I wanted to test some basic cgi scripts, but my browser is displaying the code (#!...) If I run the scripts on the console, they work fine so CGI is not the problem, it's apache. To install the CGI module I ran sudo apt-get install libapache2-mod-perl2 with no problems. By the way, I installed Apache through apt-get instead of doing it manually, but it seems that the installation divides the conf file in different parts, so the regular apache2.conf has this:

Code:
# Include module configuration:
Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf
# Include all the user configurations:
Include /etc/apache2/httpd.conf
# Include ports listing
Include /etc/apache2/ports.conf
[Code]....

I can't figure out what I need to do to get CGI working on my server.

View 9 Replies View Related

Server :: Apache2 Mod_proxy Failing With Ssl

May 14, 2010

I seem to be having a problem with mod_proxy and https websites. A simple connection to port 80 works fine but all calls to 443 fail.

I had a look at my firewall but can't see anything that would block port 443, although I get no tcpdump traffic on that port on the deb01 client when I try and connect to it. I disabled the firewall but still no luck.

My configuration consists of 3 VMs (KVM) each running a different website.

I get the following error when connecting to ssl deb01

Code: An error occurred during a connection to deb03.example.com.

SSL received a record that exceeded the maximum permissible length.

(Error code: ssl_error_rx_record_too_long)

The following is what can be found on the host

Code:

View 1 Replies View Related

Server :: Embed Grails 1.2.2 In Apache2?

Apr 30, 2010

I downloaded grails [URL]... and installed it. Created a sample application hello world. It was running successfully. In browser [URL].. I was able to see grails running. Now comes the problem. To be able to always start the grails application running after boot I wrote a script in /etc/init.d/software_grails its contents are

[code]...

I have to open command prompt and go to /root/helloworld and then execute grails run-app. you dont have to write the name of application to run it. logging of boot messages is enabled /etc/default/bootlogd BOOTLOGD_ENABLE=Yes. then I opened /var/log/boot.

[code]...

But it does not work. If I am not wrong then above method will work ONLY WHEN some one Logs in not on boot time. Is there a way where I can embed grails in apache2 they [URL]... have not mentioned any thing about apache2 to deploy my applications.

View 2 Replies View Related

Server :: Optimizing Apache2 Load?

Jul 23, 2011

I would like to ask how can I optimize apache2 load on my dedicated server. I am hosting Facebook applications on it, but most users will get a Timed Out message when they try to access it. I was tinkering with MaxClients directive in apache2 config, and it got better, but still it's not best. Programmers are trying their best to optimize the applications at their side, but I am afraid this is an server issue.

View 2 Replies View Related

Server :: Perl Cgi Configuration Under Apache2

Sep 14, 2010

I want to learn perl CGI. I tried to configure it on apache server. But when I was searching about it in the net, I faced some difficulties. Each and every post has been leaded me in different way. I am confused now. I have done this,

1. Installed this libapache2-mod-perl2 module

2. Then I checked the /etc/apache2/mods-available/ using ls command for checking the module availability.Here I mentioned the output of ls command.

[Code]...

View 2 Replies View Related

Server :: PHPAdmin Crackers And Apache2?

May 24, 2011

I have lots of bots searching for broken PHPAdmin URL's showing up in my apache2 logs. (Guess why I don't run PHPAdmin)

View 1 Replies View Related

Server :: Redirection With Different Folders Over Apache2

Nov 6, 2010

I have a problem about redirection over Apache2 over Debian Lenny. We have build a LAMP, and our programmer make a software with these features:

When you put on your browser (i.e.) [URL], you access to the program in /var/www/vhosts/hugohome/inside. And when you put [URL] you access to the program in /var/www/vhosts/hugohome/outside. Today, if you just put [URL] our Apache answers 403 (forbidden), because we had blocked folder access. (You know....isn't the right way). Our Apache's Document Root is in /var/www/vhosts/hugohome.

Our goal is to change definitely [URL] to access -> /var/www/vhosts/hugohome/inside. This is our main intention. Also, we can continue with [URL] pointing to /var/www/vhosts/hugohome/outside. I thought, hmm easy!: I can change the DocumentRoot to /var/www/vhosts/hugohome/inside and try with an Alias to outside. But the problem is that the programmer has taken the software reference with /var/www/vhosts/hugohome and when I tried to change the Document Root the programs didn't work fine (loops, error 404, etc).

How can I do?. I have tried with Apache with many manners, but I just have a relative success with: "RedirectMatch ^/$ [URL]". It works, but the Browser shows the ugly [URL]. Our intention is just show [URL]. Unfortunately we can't work directly with the DNS servers, and I guess that I can resolve with (i.e.) Apache and Bind together.

View 3 Replies View Related

Server :: Shell Script Won't Run From Apache2

May 10, 2011

why apache2 won't run my shell script i made.So in detail this is what i want it to do. I have a apache2 web-server running on my mac and i found some shell commands that control itunes so i wrote a shell script that basically pause's itunes. Now i have put the shell script in the cgi executable folder. and the link for the webpage is http://10.10.0.110/cgi-bin/itunes.sh but when i goto the page in my browser it just keeps loading. I have run other scripts and they work and i don't think you need root access.

View 7 Replies View Related

Server :: Squid For Lan Filter And Apache2

Nov 22, 2010

Im currently serving a web in apache2; no problems I recently set up squid to filter internet for my LAN users.

***i dont want squid to accelerate WEB requests in my apache2.

So the problem is that SQUID blocks my 192.168.1. LAN denied attemps, so far, its ok BUT IT ALSO BLOCKS ANY OF THE INTERNET USERS TRYING TO REACH MY HOSTED WEB.

Can i have both servers in the same box without interferring each other?

View 6 Replies View Related

Server :: Where To Write ProxyPass In Apache2

Apr 23, 2010

Its a silly problem but I am facing it.The OS is Debian Lenny ,apache2. I am having a webserver.www.mydomain.comand site1.mydomain.comsite1 is on a webserver which is on LAN.

On main server i.e. our Gateway
in /etc/apache2/sites-available/
I have

[code].....

View 4 Replies View Related

Ubuntu :: Running Apache2 Server As A Different User?

May 4, 2010

I'm a web developer and I make plug-ins for various shopping cart softwares on demand. because of this I'm constantly installing carts and then immediately updating them/modifying them. The problem I'm having is that I'm having to update the permissions manually all the time (every time I copy a new cart into the /var/www folder). Instead of doing this I'd like apache2 to run under my user, so I don't ever have to update the permissions again. How do I do this?

View 1 Replies View Related

Networking :: Set Up Webmin With Apache2 Http Server

Jun 14, 2010

I have recently downloaded and installed apache2 http server from tarball source (i'm running ubuntu but i think its more fun to use tarballs i don't know why but its how i am) anyway i just installed apache2 and when i go into the servers section of webmin and click on apache web server i get this message:

The Apache server executable /usr/local/apache2/conf/ does not exist. If you have Apache installed, adjust the module configuration to use the correct path. and when i go to the configuration menu i don't understand a word of it.

View 9 Replies View Related

Server :: 4 Websites On Different IP - How To Host Them Using Apache2 Mod_proxy ?

Apr 12, 2010

Dom0 is having public IP. I read a lot of blog and tutorials about name based and IP based hostings and also about mod_proxy. But I am unable to do.

Here is what I am trying to do. I have a webserver on public IP.Which is running Xen on it. There are 4 Guest Operating systems installed on top of Dom0 which are Dom1,Dom2,Dom3,Dom4 These are application servers which are going to serve the requests that come from the main server.Which is Dom0.

All I see is "It works" on all 4 of the hosts. On my LAN on any machine on same subnet if I do [url] of Domu1 message comes

Code:

in browser from LAN gives me a message

Code: It works.

What do I need to do on Dom0 so that requests are forwarded to the appropriate DomUs apache2 is running on all of them including Dom0.Some one suggested me to go for ReverseProxy in Apache2.

View 3 Replies View Related

Server :: Apache2 Mod That Shows Latest Visitors?

Apr 8, 2010

I was wondering if there is any apache2 hack/mod that shows the latest visitors just like in Cpanel that shows the 300 latest visitors to your page.

View 1 Replies View Related

Server :: Apache2 Not Accepting Remote Connections?

Dec 9, 2010

I have run a small webserver from my home computer and I can access it fine from computers on my local network, but cannot access it from other networks. I see in wireshark that the traffic is arriving at the computer and I have checked the firewall logs on my computer and nothing is being blocked(I use iptables as a firewall), and I can't see any reason why it shouldn't be working.

View 2 Replies View Related

Server :: Apache2 Not Serving Html Pages ?

Dec 24, 2010

I just did yet another fresh install of OpenSuse 11.1, (no DVD drive otherwise I would use the newer version), all updates have been performed, I installed apache2 and it's modules, php5 and some of the modules I needed, mysql, sshd for local only access, and webmin, postfix is used only for local mail between php scripts and the system, mainly because out-of-the-box, postfix is an open relay, and can take weeks to configure as an SMTP server, so I have to use php scripts that do not use a mail server, anyway.

The problem is, apache2 only seems to know how to serve php files, html files only get shown on ANY browser as source code not the contents.

I've been trying for 3 weeks,,, messing with this option, setting that option, and screwing up the system, hence reformatting and re-installing OpenSuse several times, so if anyone wants to try and get apache to serve html files properly and to have apache use mod_rewrite as default on ANY folder whether inside or outside the document root, I can give that person full ssh access. I've got to the point now, that I don't really give a damn what happens to the server.

What I should be able to do, is, leave the apache and php setting as default,,, upload either an html or php file to the document root and direct a browser to the address, and it'll work without changing a single item, the same is if that file has rewrite, it should work flawless, or if I upload an html or php file to a folder outside the doc root, I change the doc redirect to point to the folder, and it should work without changing anything else.

View 14 Replies View Related

Server :: Using Apache2 Prefork As Proxy (mod_proxy)?

Mar 9, 2010

i'm using apache2 prefork as proxy (mod_proxy) and i'm facing some performance problems such freezes , for instance the entire server blocks and becomes totally unresponsive after several requests.

at first i thought that the system is running out of memory so i tweaked the mpm config and reduced the number of allowed processes that can start concurrently , however the problem still persists..would mpm worker serve better than prefork ?

View 1 Replies View Related

Server :: Apache2 Running On SLES 11 Mod_rewrite?

Jun 3, 2010

I am running Apache2 on Novell SLES 11. I am using Virtual Hosting for two sites. One site only has a single domain whereas the other site has two domains registered. surrounding my one virtual host with the two domains. I want anyone that point to [URL] gets redirected to [URL]. I am trying to do this for trending but not 100% on how to go about doing this. I've read about mod_rewrite but most of the information I've read about is about a single site running on Apache and not much around Virtual Hosting within Apache. I am currently using Server Alias within my vhost.conf file which allows either [URL] or [URL] to see the site but I really want to redirect [URL] to [URL].

View 12 Replies View Related

Server :: Cannot Access /var/log/apache2/*: No Such File Or Directory

Aug 24, 2009

I am trying to access log file which located in /etc/log/apache2. I could get into the directory using `su`. I was able to run ls command under the directory and everything was file. I could run a command,

ls -d /var/log/apache2/*

However after I switched to my account, I got an error. sudo ls -d /var/log/apache2/* ls: cannot access /var/log/apache2/*: No such file or directory

I want to use this command in a bash script to get a list of log files. Should I write the script as root and run it as root?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved