Ubuntu :: Apache Process (Internal Dummy Connection)
Aug 13, 2011
I have this problem for a month now. Some apache process that appears rather slowly using 100% cpu for each core. Today I watch some logs in apache2, namely other_vhosts_access.log and discover this
server:8181 127.0.0.1 - - [13/Aug/2011:12:34:52 +0200] "OPTIONS * HTTP/1.0" 200 136 "-" "Apache (internal dummy connection)"
On 8181 I have google sitemap generator running but I have it for over a year and it never make any problems.
View 1 Replies
ADVERTISEMENT
Jan 24, 2010
I am upgrading my server and I have a lot of sites. Since I cannot take my server down for a few days, maybe a week until I manage to migrate all the sites to the new machine, I figured I could migrate them one by one. After migrating one, I would somehow tunnel the requests of that name virtual host to my internal machine. When everything is migrated, I would then switch the machines, update ip's and stuff and everything will work just fine.
However I cannot seem to find a way to do this tunneling. is this at all possible? If not, what alternatives do I have?
View 5 Replies
View Related
Apr 18, 2011
we have a dual server setup: Windows server 2003 and Ubuntu 10.04 with apache installed with all the goodies. This is all virtualized. What I'm wanting to do, is make the new website we've created run on the Ubuntu machine, which it is, and be accessible outside the office. However, by doing this, we forfeit being able to use remote access or web exchange on Windows server 2003.
How can I create a link from the new website on Apache point to the internal server and it work outside of the office?
View 7 Replies
View Related
Sep 30, 2015
I installed debian 7 and apache 2.2 with virtualhosts. I'd like to run CGI, but always get internal server error. i tested it with a simple test.cgi file.I got this in apache error log.Wed Sep 30 21:39:02 2015] [error] [client 192.168.0.156] Premature end of script headers: test.cgi
When is switch off "Addhandler cgi-script .cgi" in the config file i see the code. Permissions are 755 on the whole directory. I have checked a2enmod, the modul is loaded (sudo a2enmod cgi)..here are the part of config files :
ScriptAlias /gestioip "/var/www/gestioip"
<Directory "/var/www/gestioip">
AddHandler cgi-script .cgi
AddDefaultCharset utf8
[code]...
View 0 Replies
View Related
Apr 20, 2010
I'm not sure is this is possible or not, but what I would like to do is take my public address mydomain.com and configure a virtual host something.mydomain.com only instead of having the content on the same server I would like it to point to the IP of my virtual machine that is in my private network and display that page publicly. Does anyone know if this is possible, or how to do it? I have done this with port forwards, but would like them both to be on the same port.
View 3 Replies
View Related
Feb 22, 2011
I have a need to create a virtual directory in Apache for one of my company's internal websites. I have confirmed that I can create an alias for a local directory: Alias /vdir/ "/usr/share/somefolder/"
So I would get to this virtual directory by going to http://server.domain.com/vdir/. But when I attempt to point it to a shared folder on another server:
Alias /vdir/ "//servername/share/"
or
Alias /vdir/ "//servername/share/somefolder/"
Both return the 404 Not Found error, which I would expect if it is not connecting to the share. I've searched but can't seem to find the correct syntax and I know I am missing something basic. I have searched google and these forums but can't seem to locate the exact syntax. Are there other lines in the config file I need? Permissions should be no problem the shared is EVERYONE has access (for now).
View 7 Replies
View Related
Feb 18, 2009
I would like to redirect a external IP to a internal IP, all done with Apache. Is that possible.
View 4 Replies
View Related
Jun 23, 2010
My httpd error_log says the following error while running the htpasswd.pl
[Thu Jun 24 08:25:54 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jun 24 08:25:54 2010] [notice] Digest: generating secret for digest authentication ...
[Thu Jun 24 08:25:54 2010] [notice] Digest: done
[Thu Jun 24 08:25:54 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Thu Jun 24 08:26:01 2010] [error] [client 117.204.119.181] (2)No such file or directory: exec of '/var/www/cgi-bin/htpasswd.pl' failed
[Thu Jun 24 08:26:01 2010] [error] [client 117.204.119.181] Premature end of script headers: htpasswd.pl
Also the apache shows this error in the webpage. Internal Server Error. The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.
Apache/2.2.3 (CentOS) Server at 59.93.43.183 Port 8284
I am using the htpasswd.pl script dwoloaded from net. I can run the perl file using the command line and gets the sytax OK message. The contents of te htpasswd file is as follows:
#! /usr/local/bin/perl -T
# htpasswd.cgi by David Efflandt (efflandt@xnet.com) 8/97
# Last update 10/4/99
# Update password file from the web for use with user authentication.
# Stores each line in the format: username:crypted_password .....
View 8 Replies
View Related
Mar 6, 2011
I currently have an Apache Web Server running on Ubuntu 10.4 and I use a DynDNS service to make them accessible to the outside world via a domain and/or subdomain.
My configs currently look like this:
<VirtualHost *:80>
ServerAdmin <obscured>@<obscured>.com
ServerName <subdomain>.<obscured>.com
ServerAlias <subdomain>
[Code].....
This works fine from access outside of the network and all subdomains resolve to the correct directory.
The problem I am having is with accessing a subdomain over my internal network.
I can access the Web Server using the server's IP address: http://192.168.1.123/ but this always takes me to the same virtual host and I don't know how to distinguish between different virtual hosts (different subdomains).
Ideally I would like to access the same subdomains using http://<subdomain>/ where <subdomain> is the same as the subdomain attached to the external domain name.
View 2 Replies
View Related
Jun 22, 2010
Apache2 on Ubuntu 10.04 no longer parses PHP files. I've done a complete uninstall and reinstall of both Apache and PHP, but no joy.In the Apache2 log, I get this message: /usr/lib/php5/20090626+lfs/xdebug.so: cannot open shared object fileI've done the obvious and checked that the library is there and it is. It has permissions of 644 (rw-r--r--).Does anyone know what I'm missing here?
View 9 Replies
View Related
Jan 26, 2011
Suppose I have a bunch of web servers running on my internal network:
And I have a dyndns account, I was wondering:
How can I do this?
View 2 Replies
View Related
May 17, 2010
I am using ubuntu 8.10 server for running my sugar crm. because of some reason I can see multiple instances of apache2 running when I issue top command. can I further know about the problem that is occuring.
I know this is more of sugarcrm or php or apache problem but I would like to track the problem.
View 3 Replies
View Related
Nov 11, 2009
I have made out a little software as to talk with my friends through network . there are two parts : one is listening to receive messages ,the other will send messages. but the firewall is bothering .so I want to know if I can make my software listen to port 80 while apache is also running .
View 11 Replies
View Related
Apr 21, 2010
I am running Montavista distribution. I have an Apache server running in my machine. Now I want to know how many clients are connected to the Apache server and what are the process ids for those sessions. What is the command to do that?
View 5 Replies
View Related
Feb 18, 2010
I have been tasked with sending a kill -s SIGHUP (a reload) to a Daemon process owned by root running on a centOS 5.4 machine.
Obviously, Apache cannot normally do this, so I'm going to have to use the sudoers file.
My problem is, how do I allow the Apache user to only run the kill command? nothing else.
in testing, I've gotten Apache to basically run every command prefixed with sudo and no password prompting. But I want the added security to only run the kill command without the password being prompted everything else should prompt for a password.
I'm trying to understand the sudoers file, and i must say, its non-trivial.
is there a simple 1 line I can put in the sudoers file like
PHP Code:
apache ALL=(ALL) NOPASSWD: /bin/kill
View 6 Replies
View Related
Jan 27, 2011
I have an Acer one with this peculiar operating system which I don't understand. I have had it a couple of years and it has hardly been used. It has always worked well and connected up to my WiFi until today when after it has booted I get 'internal fault. Hal has failed to initiate' and the Wifi connection does not work. I am perfectly familiar with Windows but I haven't a clue with this one. Have found a post on this forum relating to this fault but I am afraid it was double Dutch to me. I don't even know how to access it's inner system let along enter any commands.
View 4 Replies
View Related
Jun 8, 2011
Fedora 14. I have Apache HTTP Server installed and running fine. I am interested in doing some java servlet pages. Am I correct that in addition to the above I need to install another server - for example Tomcat - that knows how to process java servlets? I see that yum has tomcat. And that Tomcat is not an add on to the HTTP Server, but an alternative to it? i.e I start one or the other?
View 2 Replies
View Related
Sep 9, 2010
I have mounted an NFS share with ISO images on my kvm Server. If i connect such a iso to a VM (using virt-manager) for installing a operating system i get the following error on startup: Error starting domain: internal error Process exited while reading console log output: char device redirected to /dev/pts/1 qemu: could not open disk image /mnt/iso/public/Linux/Distributions/Debian/debian-504-amd64-netinst.iso: Permission denied
The problem is definitly that kvm (or qemu or libvirt-bin, i don't know) tries to set permissions (rwx owner for libvirt-qemu, --- for kvm group, --- for other) on the file, although it has read permissions. Is it possible to change this behavior?
View 1 Replies
View Related
Dec 4, 2010
My machine seems to be constantly downloading/uploading something. Not much - 1KiB/s - 50KiB/s, but it is bugging me.Is there a tool to see what process is using the network connection?
View 2 Replies
View Related
Jun 11, 2010
When installing build-essential and ubuntu-restricted-extras the internet connection was interrupted. How can I force re-installation in terminal? I'm looking all over for the commands but I can't find them. If i just type "sudo apt-get install build-essential ubuntu-restricted-extras" it returns the message that they are both up to date. I know one of them was interrupted and needs to be finished.
View 1 Replies
View Related
Oct 17, 2010
I had a problem with Ubuntu 10 trying to mount a non-existent directory, mount/DRIVE_F/R&RMT . It would post an error message, wait for acknowledgement (or timeout).
The only cure for this incredible annoyance was to manually create the missing directory and path.
This works, EXCEPT THAT now instead of the (Gnome) desktop coming up, the empty directory I created comes up, and I have to close or minimize it.
I can't find where in the boot process the command to mount this occurs.
I need a clear explanation of the complete boot process from cold boot to Gnome GUI exposition.
View 3 Replies
View Related
Apr 6, 2010
If I look at firestarter actve connections I see that there are several connections from me to some dynamic ip, on various ports. I have no idea what that is.1. How to find which process is doing this connection ?2This is sure nothing good, how to kill /block connection
View 1 Replies
View Related
Feb 20, 2010
I have the following problem. I want to find out connection between process and socket. When I type to the terminal the following command netstat -anpetu so I get the following output:
[Code]....
As you can see just some connection have assign PID/Programme. How can I find out Program of this socket without PID/programme. like this 0.0.0.0:52472? Certainly I know that some port are well-known but there are a lot of unknown ports(like 8307 3350 and so on).
View 3 Replies
View Related
Jul 29, 2010
Running slackware13.1 with mysql on box2 and apache on box1 both in same lan. How do i configure mysql for apache connection? I have looked at many mysql config. howto which i can follow but i'm confused about whether the connection type is considered remote connection because the 2 services are on seperate boxes but are in same lan? Apache will be serving public webpages not just to the lan.
View 1 Replies
View Related
May 14, 2010
On my Server I have an application running. I have the External IP address of the Server registered in DNS so users requiring access from outside the office can enter a full URL rather then an IP address.
How to I change my Apache config so that all traffic that comes into the server from the URL is put over https?
View 6 Replies
View Related
May 6, 2010
I have updated my Ubuntu to Lucid 10.04 from 9.10.
Although my sound disappeared in 9.10 only, I thought maybe upgrading might help, but there is no change.
I guess everything is installed fine.
But still aplay -l command shows "NO sound cards.. "
Moreover the sound preferences shows no hardware, no input and a dummy stereo output.
I have banged my head a lot trying various things written in forums and all but no success.
One more thing : When I test "osstest" , I get sound in both the earphones , but altogether there is no sound. I am very much confused.
View 9 Replies
View Related
Feb 11, 2011
Sound used to work fine on my computer, but one day my headphone jack stopped working -- when I tried to use it, no sound played through the headphones but did play through the computer's speakers.After I tried to fix it, I lost ALL sound on my computer. I noticed in my sound preferences it says "Dummy Output" and no other hardware.The problem seems common -- I've Googled the issue to death and read many threads here about the same problem -- but no matter how many times I've tried, I can't find a solution that works for me.I'm relatively new to Ubuntu and so there's still a great deal of stuff that
View 1 Replies
View Related
Dec 19, 2009
I'm using Fedora 12 with Apache 2.2.14, and I was having this error on 2.2.13 as well.
Even when I connect to my server over LAN, Firefox times out occasionally while connecting. I can't figure out what is causing this. The error_log isn't showing anything. I even cleaned the error_log file, so that if something happened, it'd be a little easier to spot. But I'm still getting time outs, and nothing in the error_log.
Here is my httpd.conf [URL]
It's the default Fedora configuration, I've only changed the ServerName if I remember correctly. it's not the Timeout setting, because on LAN it should never time out.
View 4 Replies
View Related
Aug 29, 2010
Basically, this is not the first time it happened, but the third I would say. My trouble and concern is with this massive downloading targeting a test file of mine/client file of mine. Since my server couldn't support that many connections child process spawns, my apache server crashed.
I managed to solve it by closing the client's account, preventing the attack from continuous download. Another way I could solve it was by replacing the file they attempted to attack with 0 byte file.
I'm wondering if there is a possible solution to prevent such issue in future. I'm also not very sure what kind of attack this is. Could it be DDOS? But from what I've asked, some said it wasn't DDOSed, if it was, my whole server would go down, not only apache.
What I was curious was how these attacker found out the files that were stored on the server. These files were not leaked outside, nor there could be a possibility to access that folder because it was protected by .htaccess which deny everyone.
View 4 Replies
View Related
Mar 19, 2009
Long story short - on my laptop, touch pad is recognised as PS/2 mouse. Everything works (moving, clicking, dragging, vertical scroll). But I often accidental click the pad while typing.Synaptic driver recognises it as ALPS glide point it seems (synclient -m 1 gives me back only x,y difference for the gestures, but X,Y coordinates are always 0,0) - so then I get everything right including disabling mouse on keyboard input - but scrolling doesn't work So I came up with 2 possible ideas - which I don't know how to do/test:1. Perhaps there is a way to disable mouse input while typing without synaptics drivers?2. Create a dummy input device (mouse), and tie synaptics driver to it. Add another input device in xorg.conf to point to the real touch pad as PS/2. And make the synaptics disable "real mouse" by enabling GuestMouseOff option.
View 1 Replies
View Related