UbuntuThis forum is for the discussion of Ubuntu Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
so I was messing arround with apache and messed some stuff up and config files went missing. How can I get them back with default config?
I've tried dpkg-reconfig apache2 and dpkg-reconfig apache2-common as well as reinstalling those through apt. It has recreated most of /etc/apache2 (the part that was messed up) but I still don't have my default file in sites-enabled and there is no apache2.conf file either.
when I run apache2ctl -k start
no listening sockets available, shutting down
Unable to open logs
Try to start the service with sudo /etc/init.d/apache start instead. The file to configure/edit is found at /etc/apache/httpd.conf, not apache2.conf. And a little hint: Make backup of your files when messing with config files, for example:
ok, no that dosn't help shit. I didn't make backups because they were defualt configs and I thought I could reinstall. second of all I'M RUNNING APACHE 2! so I have the right config file, there is no /etc/init.d/apache because its /etc/init.d/apache2, and when I run that it still says no listening sockets available.
is there anyone out there familiar with debian who can tell me how to do a full reinstall of this? It isn't installed by default and I did an apt-get install apache2 to get it and it created all the config files the first time, why dosn't it when I reinstall now?
Originally posted by c-- ok, no that dosn't help shit.
Ah, kids. Don't you love their language trying to look "cooler". That's a great way to answer somebody trying to help you. You should simply be ignored. Well, at least I will ignore you, I don't have time to babysit in a public forum...
no, its just great when you have a problem and people post to tell you how you could have prevented it rather than how to fix it. I know how to copy a file and back it up, I should have done that, I didn't. what do I do now?
and great job rising above my bad language by responding about how you won't be dignifying it with a response.