Ubuntu Servers :: Installing Apache Fails ?

Jul 17, 2010

I don't have much experience working with Ubuntu servers, but I recently decided to try to set one up. I have a remote server hosted with a static ip address, but I can't seem to install apache.

When I run the command

Code:

It fails to install with because it is missing dependencies.

"apt-get install -f" doesn't help. How can I install the necessary dependencies to get this working?

View 3 Replies


ADVERTISEMENT

Fedora Servers :: Build Of Apache 1.3.41 Fails On F12?

Jan 9, 2010

I'm trying to move an existing webserver from an old machine to a machine with Fedora 12 installed on it. ThSince the version available in the repository is version 2.X I downloaded the source from apache.org and tried to compile it. I ran configure using the default options and it an without any warnings or errors. However when I run make it fails with the following error:

gcc -c -I../os/unix -I../include -DLINUX=22 -DHAVE_SET_DUMPABLE -DUSE_HSREGEX -DNO_DL_NEEDED `../apaci` htpasswd.c
htpasswd.c:101: error: conflicting types for getline
/usr/include/stdio.h:653: note: previous declaration of getline was here
make[2]: *** [htpasswd.o] Error 1
make[2]: Leaving directory `/root/apache_1.3.41/src/support'
make[1]: *** [build-support] Error 1
make[1]: Leaving directory `/root/apache_1.3.41'
make: *** [build] Error 2

what the problem and more importantly the solution to this problem is?

View 9 Replies View Related

Ubuntu Servers :: Apache Restart Fails After Power Loss?

Oct 25, 2010

I have observed a problem twice now with Apache trying to restart but hanging somewhere in the process. This happens after a power failure; the machine comes back just fine, but not the web server. The machine is on a UPS, but occasionally it runs out of "juice" before someone can get to it (we have a generator for emergencies). When this happens, a ps indicates about three processes running that are trying to start Apache, but they just sit there - this time for three days since the power failure was on a Friday. I can fix this by killing those processes and doing an Apache restart - but that takes human intervention, which is not acceptable.

I suspect this may have to do with SSL, since when I do a manual restart it asks me for the SSL password. There must be some way around this so the system can recover on its own. This system's web site runs under SSL since it maintains medical information that must by law be protected. But it also could be life-threatening to someone if the system can't come back and as a result a person can't get help.

So I would appreciate some guidance as to what I could change that would allow for system recovery without intervention. I'm happy to provide any configuration file info, if you tell me where to look.

View 3 Replies View Related

Ubuntu Servers :: Restarting Apache (webdav) After Installing PHP & MySQL

Jun 7, 2011

i am using ubuntu 10.10. I had installed apache2 and subversion, using webdav, as described in the unbuntu wiki. SVN was working as expected, I could commit files, etc. I then installed php5 and mysql, as described in the ubuntu wiki, and i now get the following on apache restart:

apache2: Syntax error on line 203 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/dav_svn.load: Cannot load /usr/lib/apache2/modules/mod_dav_svn.so into server: /usr/lib/libgssapi_krb5.so.2: symbol krb5_authdata_context_copy, version krb5_3_MIT not defined in file libkrb5.so.3 with link time reference Action 'configtest' failed.

View 4 Replies View Related

Fedora Servers :: Apache Won't Start After Installing Openss

Sep 3, 2011

I'm running Fedora 15. I installed mod_ssl and tried restarting Apache. I get the following error:

Code:
(98)Address already in use: make_sock: could not bind to address [::]:443
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:443

no listening sockets available, shutting down Unable to open logs I rebooted the server, thinking there was some process in the background that was stopping Apache from listening on 443. Same problem.

I ran:

netstat -A inet -lnp and lsof -i tcp:443

I remove mod_ssl and Apache starts.

The other question I have is what to do with /var/www/html

In the default install, root:root owns it, but I want people to be able to ftp in to that folder and write to it without using the root account. I'm thinking of changing the group to apache and putting the ftp users in the apache group. What is the recommended behavior here?

View 5 Replies View Related

Fedora :: Apache Fails To Server Out Directory?

Mar 29, 2011

I am having a problem getting Apache to serve out a directory. If I place an index.html in the Document.Root I can see that page. When I remove the index.html I only see the test page for Apache. the relevant section form my httpd.conf. I am not using virtual hosts just setting up one Apache instance.

As you can see from the below I have enabled Indexes so I am at a loss :-(

ServerTokens OS
ServerRoot "/etc/httpd"
PidFile run/httpd.pid
Timeout 120
KeepAlive Off
MaxKeepAliveRequests 100

[Code]...

View 3 Replies View Related

Ubuntu Servers :: Creating Virtual Apache Servers?

May 3, 2010

I have Webmin installed on an Ubuntu server. I currently have a successful apache server running on port 80, however I want to create a virtual host on port 81. When I try I go to servers->Apache Webserver-> Create Virtual Host I change the port to 81 and the document root to /var/port81www then I click create. How ever when I goto 192.168.1.5:81 (local ip, I know I have to port forward but its not even working local) it does not work.

View 5 Replies View Related

Networking :: Configure PhpLDAPadmin On OEL 5 With Apache 2.2.14 - Authentication Fails

Mar 4, 2010

I am trying o configure phpLDAPadmin on OEL 5 with apache 2.2.14 ,php 5.13 and phpLDAPadmin 1.2.0.4

apache directory = /apache
php directory = /apache/php/
phpLDAPadmin directory = /var/www/phpLDAPadmin 1.2.0.4

I am following the way given in the website : [URL]... but after configuring when i am trying to connect to the site [URL]... Authentication Fails and I am not able to log in with my LDAP user "Manager" I am using openldap version 2.4.21

View 9 Replies View Related

Server :: Pages With SSL Not Working - Apache Fails To Load

Aug 13, 2010

I have 2 servers that are mirrored. They host 3 separate websites. Two of these websites are regular HTTP and the other is HTTPS with Digest authentication as well. The reason there are 2 servers is because one is a primary and the other secondary in case the primary goes down. Recently I decided to upgrade the secondary server then make it the primary server. I have done most of the configuration and the sites using regular HTTP are working perfectly fine. The page using SSL is not. Apache fails to load and here are the errors I am receiving the the error log file:

Code:
[Fri Aug 13 09:27:00 2010] [warn] RSA server certificate CommonName (CN) `newserver.domain.com' does NOT match server name!?
[Fri Aug 13 09:27:00 2010] [error] Unable to configure RSA server private key
[Fri Aug 13 09:27:00 2010] [error] SSL Library Error: 185073780 error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch

For the first warning, I cannot find anywhere that says the CN "newserver.domain.com", only what the CN is in the SSL key. I have no idea where to even start with the other errors.

View 1 Replies View Related

Ubuntu :: Fails To Boot After Installing?

Aug 30, 2010

I installed Ubuntu netbook version on my HP netbook Mini 110 with Windows 7. After installing Ubuntu the first boot up failed. It hangs with a black screen with a flashing text-mode cursor. After several attempts (just rebooting) it worked. However, about 95% of the time the machine fails to boot - after 3-4 seconds, and without showing anything on the screen (text or graphical), it hangs with a black screen with a flashing text-mode cursor. Pressing Ctrl-Alt-F7 (or any other keys) has no effect.

I also tried booting in recovery mode from the Grub menu I get at start-up. It failed too. The last few lines I get in recovery mode looks like : ata1: SATA max UDMA/133 abar m1024@0xfe(some numbers)

ata2: DUMMY
ata3: SATA max UDMA/133 abar m1024@0xfe(some numbers)
ata4: DUMMY

After this it get stuck there forever. Can someone help me out on this ? I'm a novice in this area.

View 1 Replies View Related

CentOS 5 :: Installing NFS On Apache

Apr 22, 2009

I am trying to setup a simple Linux Virtual System (LVS). The 1st layer is two Virtual Servers, the 2nd layer is two Real Servers and the 3rd layer is one PostgreSQL Server. All data is on the third layer (PostgreSQL). The Apache Server is running on the 2nd layer but it is supposed to retrieve data (Folders) from the 3rd layer servers (PostgreSQL). I like to setup NFS server on the 3rd layer and NFS client on the 2nd (Apache) layer. I can't figure out how to do it! I have searched the Internet with no luck. I am sure many people on the CentOS community have done it. Can somebody point me to a Howto.. or email me a procedure they have.

View 3 Replies View Related

General :: Installing Apache PHP And MySQL For VHCS On Ubuntu?

Feb 1, 2009

I'm dual booting Windows XP and the latest version of Ubuntu.

I am trying to setup VHCS (vhcs.net)

In order to do so, it requires:

* Postfix (Version 2 or greater)
* ProFTPd
* Apache (Version 2 or greater)
* Courier POP3 and IMAP
* Bind9
* MySQL (Version 4 or greater)
* iptables

how to install on Ubuntu. I have done it with Windows XP, but not Ubuntu

View 14 Replies View Related

Software :: Installing Apache / PHP And MySQL In Ubuntu 10.10 Desktop?

Jan 26, 2011

I want to install all the functionality I need to make dynamic webpages. Can I use the Ubuntu Software Center, or will I have to use the cmd line?

View 2 Replies View Related

General :: Installing Apache Tomcat 5.5.29

May 11, 2010

I succesfully extract it and run it. This code is shown

Problems: [url]

View 6 Replies View Related

CentOS 5 :: Installing PHP Module For Apache?

Jul 21, 2009

I have installed CENTOS 5.3 on my machine and am running the new version of Subversion which comes bundled with Apache. I noticed in the httpd.conf file there is no module for PHP which is a problem. How do I install the PHP module for APACHE in Centos 5.3?

View 3 Replies View Related

Ubuntu :: Installing The Latest ATi Driver - Fglrx - Fails On 9.10

May 22, 2010

I got tired of not being able to run any 3D apps on my integrated Intel and went out and came home with a ATi Radeon HD 4650. Skip the bit about how I could have gotten an nVidia (they didn't have any HTPC compatible low-profile nVidias on shelf).

Actually the card works very well, it runs all the 3D apps I've thrown at it so far (and quite a bit faster too).

My problem is with video playback: it is jerky. The framerate stalls and then speeds up and is out of sync. When not out of sync, there is tearing. Yes I have tried turning Compiz off, didn't do anything. Weird thing is the CPU utilization is really low, so everything should be working.

I figured I would update the video drivers to the latest available on ATi website (following the instructions here) but I've ran into trouble with the installer:

Code:

How do I proceed from here? If you've got a fix for the video with the drivers in the repositories that is cool also. I don't necessarily need the latest drivers.

View 9 Replies View Related

Ubuntu Multimedia :: Installing Webcamstudio Module Fails

Jan 6, 2011

When trying to compile the webcamstudio modulae (ws4gl.org) it doesn't give an error, but when I want to modprobe it....

Code:

This is from dmesg:

Code:

View 1 Replies View Related

Debian :: Installing Apache Spark On Jessie

Jul 15, 2015

I want to learn Apache Spark and I wanted to install it on a Debian Jessie pc, but it seems the packages are not in the repository. Should I download it and install it manually?

What is the best choice for the underlying distributed file system. Obviously I need to setup a stack of tools as simple as possible. Any link to tutorials for Spark on Debian, I keep finding stuff for Ubuntu.

View 4 Replies View Related

Server :: Installing Complied Apache Using Yum In RHEL 5?

Feb 20, 2010

I am using RHEL 5.4 Here is my requirement.

- The ultimate aim is to install LAMP using yum.

- The Apache Spec (httpd.spec) is customized, like the location of the apache installation is /usr/local/apache2 rather than /usr. So I need to compile apache source code using this customized apache spec.

- I need to then install this apache using YUM.

So my understanding is I need to compile apache , then add into yum repository or something like that, so that yum can be used to install apache.

View 4 Replies View Related

Ubuntu Servers :: Php 5 Won't Install Into Apache 2.2.15

Apr 23, 2010

I've run into a problem and I don't know if it's apache or php or the combination of both. I can compile apache 2.2.15 just fine, but whenever I try to compile php 5.3.2 into my server, the first two steps work just fine but when I get to the make install part it shows the libphp5.so and it just stays there and I have to cancel the install because it won't finish.

View 5 Replies View Related

Ubuntu Servers :: Apache Access Though VPN

Sep 1, 2010

just switched our company from windows server to linux and everything is going good except we have 4 vpn connections though out the country coming to our server. All giving the client machines ip addresses of 192.168.x.x based on where they are located 192.168.1.x for the main location 192.168.2.x for a second location etc, and IIS could see the clients ip instead of the wan ip and was setup to block all ips except 192.168.x.x ip's and this worked great.

So i set up apache the same way, to allow only 192.168 ip's but i guess it doesn't work that way in apache for connections coming though vpn? 2 out of our 4 VPN connections are not static IP's, so the 2 that are I just add that ip to the allow list and that worked.But i don't think we should HAVE to get static ips for the other 2, that's one of the benefits of using VPN, especially if our old windows server didnt need it.Is there any way for apache to see the clients ip address for access or is there something somewhere else that needs changed for this?

View 8 Replies View Related

Ubuntu Servers :: Apache Being Used As Proxy?

Oct 6, 2010

I've got some strange looking requests in my access_log which I don't much like the look of. Can someone take a look and let me know if 1) it's possible for other people to use my server as a proxy, and 2) how I can stop them.

Code:
85.190.0.3 - - [06/Oct/2010:14:32:55 +0100] "CONNECT 213.92.8.7:31204 HTTP/1.0" 200 1606
85.190.0.3 - - [06/Oct/2010:14:32:55 +0100] "CONNECT 213.92.8.7:31204 HTTP/1.0" 200 1606
85.190.0.3 - - [06/Oct/2010:14:32:55 +0100] "GET http://vlad-tepes.bofh.it/proxy.txt HTTP/1.0" 404 1955
85.190.0.3 - - [06/Oct/2010:14:32:55 +0100] "GET http://vlad-tepes.bofh.it/proxy.txt HTTP/1.0" 404 1955
85.190.0.3 - - [06/Oct/2010:14:32:55 +0100] "CONNECT 213.92.8.7:31204 HTTP/1.0" 200 1606

[Code]...

View 9 Replies View Related

Ubuntu Servers :: 8.04 - Upgrading Apache From 2.28 To 2.2.17

Nov 14, 2010

My Server is 8.04 (hardy) and Apache is 2.2.8. I have been receiving emails from Apache each time a new stable release is available, most of which say you should install them due to security issues. The current stable release of apache being offered is 2.2.17

Q1) Do you recommend I upgrade from Apache 2.2.8 to 2.2.17?
Q2) Does this come automatically with my regular updates via Update Manager once the Ubuntu community thinks its stable enough (it appears that it doesn't)?
Q3) What is the best way to install the update?
Q4) Any concerns about installing it into a live environment? I don't have a development platform to try it in first.

View 3 Replies View Related

Ubuntu Servers :: Setting Up Apache In 10.10?

Dec 7, 2010

When starting Apache I get this error in 10.10 (not in 9.10): [Fri Dec 03 21:14:22 2010] [error] (2)No such file or directory: could not open transfer log file /etc/apache2/${APACHE_LOG_DIR}/other_vhosts_access.log. Unable to open logs So where do I define APACHE_LOG_DIR ?

View 4 Replies View Related

Ubuntu Servers :: Running R From An Apache?

Dec 9, 2010

I'm looking to run some R scripts on a mysql database (engine =csv) from the apache webserver.

The goal is to record some statistics/numbers while someone is logged in, pass those numbers to r, run some statistics algorithms on the passed set of data and output an image file back to the logged-in user's html web page.

Doing this along with knowledge on how to call general r functions from within a php framework would be great.

View 1 Replies View Related

Ubuntu Servers :: Add ROR And PHP On Apache Web Server?

Mar 6, 2011

I would like to add ROR to my web server, but I would still like to keep php. I tried doing this a few days ago, but it made my PHP unusable so that it would ask me to download a file rather than displaying the php page. how to install ruby on rails without trashing my system again.

View 3 Replies View Related

Ubuntu Servers :: Bind DNS And Apache ?

May 10, 2011

I was wondering if anyone knows how to make a zone file for bind dns server that points "example.com" and all (by all i mean any) sub-domains to this 127.0.0.1 address. and i wanted to set up a virtual host in apache to use /var/www/eample/index.php for 'example.com' and all of its sub-domains.

View 1 Replies View Related

Ubuntu Servers :: Get Good Apache GUI?

May 12, 2011

Can anyone point me to a good apache GUI?

Ive read online about webmin, ebox etc but are there any others? I'm using gnome on my server and i did a search through the Ubuntu software Centre but nothing came up.

View 2 Replies View Related

Ubuntu Servers :: Apache Two Websites One IP

Jun 12, 2011

So here is my problem. I have websiteA.com and websiteB.com. I only have one public IP address. And websiteB needs to be constantly restarted, so both need to be on separate apache servers or instances.Virtual directories wont work cause I can only point websiteA to a directory /var/www/websiteA.Reverse proxy wont work cause I can only catch a sub directory.Proxy /websiteA/ URL...Does anyone know how I could get this to work in anyway.

View 4 Replies View Related

Ubuntu Servers :: Apache 2.2 - My Site Cant Be Seen On Lan

Jul 29, 2011

Im trying to just set up my web page so it can be seen on my local home Lan (then Ill try to get it on the internet). I can see the site it on my pc but other network users cant.

They can ping my computer but cant telnet to it on port 6060 (thats the one is set the server up on)

What's wrong with my configuration its mostly the default with a few changes that I hoped would make the site work.

My ip 192.168.1.10

Here is the sites-available default file

Quote:

View 7 Replies View Related







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