Ubuntu Servers :: Force To Upgrade Apache To 2.2.17?
Jan 11, 2011
I have a PCI compliance notice sitting here telling me to upgrade to Apache 2.2.17. Thing is, Ubuntu is quite happy sitting on 2.2.16 (Ubuntu).
I understand that the Ubuntu folks' reasoning in rolling security updates back to 2.2.16, but I need to get an automated scan to shut up.
View 9 Replies
ADVERTISEMENT
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
Sep 1, 2011
I am currently trying to upgrade the Apache installation on our server from v2.2.14 to v2.2.19 using:
[URL] as a guide.
Unfortunately I seem to have hit some walls. When trying to execute ./config.nice I get the following error:
./config.nice: 33: /build/buildd/apache2-2.2.14/configure: not found
Google have not yielded any results as yet. If I leave out this step and use configure, make and make install, v2.2.19 gets installed, but to a different directory and all the config will need to be reformatted as it seems it does not use the Ubuntu Apache config structure.
View 5 Replies
View Related
Jun 20, 2011
I use joomla and it only works with php5.2
I keep having to downgrade because ubuntu tried to upgrade to php5.3 everytime I try to upgrade something.
For instance, I just upgraded wine and didnt notice php5.3 in there as a dependancy, so now have to downgrade AGAIN!
Is there a way to upgrade wine without upgrading php as well?
View 2 Replies
View Related
Apr 18, 2011
I am playing with my LAMP server1. why can i access a php file on the server only by typing http://serverip/file with no .php extension on?2. later i tryed to play with .htaccess, but when i uploaded it to the server it just disappeared, why is that
View 4 Replies
View Related
Sep 16, 2010
I was upgrading from 10.04 to 10.10 and by mistake i closed the terminal window from where I run the: sudo update-manager -d.is there anyway to force the upgrade or restart it?
View 1 Replies
View Related
Jun 14, 2011
Why is it that Firefox in Fedora 14 will only display the [URL] website and no others ?!? It used to work. Is this the way to force me to upgrade to Fedora 15?
View 2 Replies
View Related
Mar 23, 2011
I have ubunto 10_4 X86-64 (I use putty to connect)
installed apps
screen
mysql server-client
my java program
open jdk* 64bit
apanche2 (the web server stuff)
and its aVPS machine
Xeon 2.0 64bit 4 GB ram
How can I make (or force) my java program to use more then 1 core? I would like it to be using just 5 of the 6 that I have. I use a .sh to run it this is the code for it.
Code:
#!/bin/bash
cd "${0%/*}"; java -Xshare:auto -Xmx2662M -jar craft.jar
View 5 Replies
View Related
Aug 7, 2011
I have set the kernel selection time out to 3 seconds. However, sometimes it just hangs indefinitely on the kernel selection screen until I manually select the kernel. This is bad news since it is a VM started up from a script and _has_ to start automatically. The VM is a re-constructed cloud backup made by rsync and re-running grub.
Is there any way to force Ubuntu to NEVER, under any circumstances, not time out on kernel selection.
View 2 Replies
View Related
May 30, 2010
I have a 8.04 LTS server that i have installed a new 1TB drive. The server is running great but I am bit confused regarding the ln -s command and drive mounting. I have backuppc installed on the server and I am running out of storage space. To reolve this I moved the cpool and pool directories to the 1 TB drive and type from within the /var/lib/backuppc directory ln -s cpool /store/1TB/cpool this created the symbolic link to the new drive and everything works fine. I then rebooted the server and everything is runing fine but the drive does not show up in the df -h command, however the directories appear to be mounted fine.
I thought the drive would not be mounted automatically until it was defined in the fstab. Does the ln -s command force the system to automatically mount the directories but not the volume? This behaviour has caused me to delete my backup data becuase I was sure the disk was not mounted but is was!
[Code]....
View 4 Replies
View Related
Aug 2, 2009
How can I force the upgrade FC10 -> FC11 with online download? Somewhere in Software Update settings?
View 2 Replies
View Related
Mar 8, 2011
I'm a bit lost with the PHP/Sendmail configuration, maybe somebody could help me getting back on the right track. Following situation:
Postfix:
* accepts smtp on port 25 but from his own domains. Some policy and spamchecks through amavisd are made.
* accepts submission on port 587 and 465 from authenticated users only. Quota and spamchecks prevent outgoing spam.
So I'm enforcing a very strong outgoing spam-policy but the users are still able to use the php mail() function to send spam through the /usr/sbin/sendmail command.
My users have access to their own php.ini so my idea was to somehow enforce the delivery through the local postfix on port 587 or 465 and just let them enter their user/pass in their php.ini. (I suppose, their might be a cleaner-solution ).
Unfortunately, my configurations like smtp_host, port, user etc. are getting ignored if the sendmail_path line is active. But if I comment this line out, php just uses the default, which is the same as configured in the sendmail_path line - so it's active whether i use the line or not (setting it to an invalid command breaks the mail() function completely).
how can I enforce my anti-spam policy on the php mail() command?For my ssh users I just blocked the outgoing connection to localhost on port 25 which seems to work so far, but somehow the postfix-sendmail-wrapper just ignores this.
View 3 Replies
View Related
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
Sep 30, 2010
I have a SSH server set up at home listening on port 22. I have hardened the server so it is pretty secure but I want to make it even safer by editing my iptables to rate-limit incoming connections and DROP false login attempts. I have tried these tutorials but I just cant get it to work:[URL]I want the debian-administration.org tutorial to work but when I try to add the first rule in terminal:sudo iptables -I INPUT -p tcp --dport 22 -i eth0 -m state --state NEW -m recent --setI get the following:Bad argument --set'I am new to iptables and I'm not sure if I'm doing something wrong when I try to set it up. I'm using Ubuntu 10.04.1 LTS with iptables v1.4.4.
View 6 Replies
View Related
Oct 22, 2010
After i upgraded my server from 10.04 to 10.10 one main user account(the one i use to su) has lost the contents of the public_html directory, I'm not sure why this has happened all other users accounts are intact, i had this issue once before and fixed it, but i cannot seen to find the solution to this now.
View 3 Replies
View Related
Jun 25, 2010
After Ubuntu autoupgraded my Apache, some VHosts are nor working anymore and PHP Code is not oarsed any longer. I think the apache2.conf was overwritten. I do not have a clue how ti fix that, I tried some things but now I am stuck. I have only three hosts: the default, an svn (over port 443) and one called "imcar" which has PHP scripts to be parsed.
So, in my apache2.conf I have this:
Code:
DocumentRoot /var/www
ServerName localhost
The imcar host is set up like this:
Code:
<VirtualHost *:80>
ServerName imcar
ServerAdmin webmaster@imcar
DocumentRoot /var/www/imcar
<Directory /var/www/imcar>
Options FollowSymLinks Indexes
AllowOverride None
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/imcar-error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
</VirtualHost>
If I go to imcar in the browser, the default DocumentRoot is shown. If I remove the default DocumentRoot, I get a 404 on imcar.
View 8 Replies
View Related
Apr 18, 2011
If there are users in a network who have desktop Linux (any variety), is there a way to configure their computers to "require" them to save documents to the network? Like for example, redirecting their /Home folders to a network file server or not allowing them to save files to their local hard drives?
View 2 Replies
View Related
Apr 13, 2011
i have a vsftpd server running well but i want to make/force all users to use sftp and not just ftp is this possible?
View 1 Replies
View Related
Jul 14, 2010
i am having a lot of challenges in changing my httpd conf file of apache 2.0 to 2.2. these conf files are customized according to our serever. now i am getting error in the load module. any link where in i can check for the difference.
View 1 Replies
View Related
Feb 8, 2011
Is there a way to update httpd from 2.2.3 to 2.2.15 without losing any configuration settings eg: virtual hosts and modules? The yum command does not find anything to update (RHEL 5.5)...
View 1 Replies
View Related
Feb 10, 2010
upgrading my apache 1.3 to the latest 2.2, have installed 1.3 through binary. Have also installed mysql and PHP and currently they work fine with apache 1.3.
View 1 Replies
View Related
Dec 24, 2010
I need to do this to pass PCI compliance tests, I know it's not necessarily the best thing to do but it has to be done.
How would I go about compiling this version as it's not on the official repo?
View 4 Replies
View Related
Jan 13, 2011
I'm a bit new to installing/upgrading on Linux/Centos so apologies if I've made a basic mistake here.I've searched around for the answer to this question but not found it - but apologies if this has been discussed in the forum before. The issue is that I want to upgrade Apache to version 2.2.12 or higher, because I want to install a second SSL domain on the same IP address. According to this page [URL].. you can do that from version 2.2.12.
Incidentally I've got Centos 5.4 installed. So I've had a little browse around with yum and did a "yum list *httpd* with gave me the following
[Code]...
View 2 Replies
View Related
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
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
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
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
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
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
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