Re: Apache2 neds to ne reset
Balamurugan: Please download apache as a tar.gz and try installing in a local path rather installing as a system(/usr/bin or /usr/local/bin). This is bad advice. This installation will not receive any automatic upgrades and any problems the OP has with the Debian package can occur here as well. J. -- Fashion is more important to me than war, famine, disease or art. [Agree] [Disagree] http://www.slowlydownward.com/NODATA/data_enter2.html signature.asc Description: Digital signature
Re: Apache2 neds to ne reset
Dear John, Please download apache as a tar.gz and try installing in a local path rather installing as a system(/usr/bin or /usr/local/bin). In this way, you can configure to the most minute level. If you find any issues, you can simply remove that path. That is it. Steps: 1. tar -xzvf apache_tar_file 2. cd apache untar dir 3. ./configure with the required arguments (usually prefix, give it with your local path. Check './configure --help' for more details) 4. make 5. make install (This needs to be run with the user which has the permission to install apache in the configured prefix directory) After successfully completing the above steps, you can go to the apache/bin and execute 'httpd -k start' command. That is it. Regards, Balamurugan R On 09/09/2013 10:13 PM, John W. Foster wrote: I have an installation of Apache2 that is misconfigured no longer works. Over the last couple of years Apache has become bloated hard to manage so I tried using webmin to work out the kinks. My lack of experience has caused me to totally screw up my web server so I want to enlist some assistance. I want to know first of all if there is a way, Command line perhaps, to have apt completely reinstall all of Apache2 with the dist basic files so that it works upon startup, then I can try to reconfigure it manually. This would require removing all the old config files during the installation. I have tried using synaptic to reinstall it and it uses the old configs files, plus I don't know where all of them are hiding to delete them. Once before I had a similar issue, and to get rid of Apache to reinstall it I had to manually delete every reference to Apache, then it worked, however I also had to rebuild most of my entire Debian installation as Apache is very integrated into the requirements for many applications. Any suggestions please. Thanks! john -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/5230a006.2040...@gmail.com
Re: Apache2 neds to ne reset
John W. Foster: […] I want to know first of all if there is a way, Command line perhaps, to have apt completely reinstall all of Apache2 with the dist basic files so that it works upon startup, then I can try to reconfigure it manually. apt-get purge apache2 apt-get install apache2 Beware that this will purge all packages (including their configuration) depending on apache2 as well. You might want to take note of the packages that are uninstalled during the first step. J. -- In idle moments I remember former lovers with sentimental tenderness. [Agree] [Disagree] http://www.slowlydownward.com/NODATA/data_enter2.html signature.asc Description: Digital signature
Re: Apache2 neds to ne reset
On 09.09.2013 19:43, John W. Foster wrote: I have an installation of Apache2 that is misconfigured no longer works. One way would be to remove the package apache2 and then move the config files out of the way. Then reinstall apache2 to get the default settings back. apt-get remove apache2 mv /etc/apache2/ /etc/apache2.old/ apt-get install apache2 That allows you to at least use the old, broken config files as references. Regards, /Lars -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/522e0aac.6020...@gmail.com
Apache2 neds to ne reset
I have an installation of Apache2 that is misconfigured no longer works. Over the last couple of years Apache has become bloated hard to manage so I tried using webmin to work out the kinks. My lack of experience has caused me to totally screw up my web server so I want to enlist some assistance. I want to know first of all if there is a way, Command line perhaps, to have apt completely reinstall all of Apache2 with the dist basic files so that it works upon startup, then I can try to reconfigure it manually. This would require removing all the old config files during the installation. I have tried using synaptic to reinstall it and it uses the old configs files, plus I don't know where all of them are hiding to delete them. Once before I had a similar issue, and to get rid of Apache to reinstall it I had to manually delete every reference to Apache, then it worked, however I also had to rebuild most of my entire Debian installation as Apache is very integrated into the requirements for many applications. Any suggestions please. Thanks! john -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1378745030.3027.7.camel@beast