Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
07-29-2017, 04:48 PM
|
#46
|
Member
Registered: Jul 2005
Location: Ithaca, NY
Posts: 82
Original Poster
Rep:
|
Yes, I used nano as sudo exactly as your prescribed in the directory you gave.
I have verified that that FILE is made, and, as I said, before I rebooted, navigating to the page simply showed those three lines of the document, but now, after booting, I get 404 not found in both browsers.
Last edited by signmeuptoo; 07-29-2017 at 05:49 PM.
|
|
|
07-29-2017, 04:52 PM
|
#47
|
Member
Registered: Jul 2005
Location: Ithaca, NY
Posts: 82
Original Poster
Rep:
|
Does any of this indicate any problem?
Code:
ystemctl status apache2
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: inactive (dead) since Sat 2017-07-29 17:51:19 EDT; 3s ago
Docs: man:systemd-sysv-generator(8)
Process: 8087 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
Process: 8071 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)
Jul 29 17:51:19 Beast-Wutsinterweb apache2[8071]: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
Jul 29 17:51:19 Beast-Wutsinterweb apache2[8071]: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
Jul 29 17:51:19 Beast-Wutsinterweb apache2[8071]: no listening sockets available, shutting down
Jul 29 17:51:19 Beast-Wutsinterweb apache2[8071]: AH00015: Unable to open logs
Jul 29 17:51:19 Beast-Wutsinterweb apache2[8071]: Action 'start' failed.
Jul 29 17:51:19 Beast-Wutsinterweb apache2[8071]: The Apache error log may have more information.
Jul 29 17:51:19 Beast-Wutsinterweb apache2[8071]: *
Jul 29 17:51:19 Beast-Wutsinterweb apache2[8087]: * Stopping Apache httpd web server apache2
Jul 29 17:51:19 Beast-Wutsinterweb apache2[8087]: *
Jul 29 17:51:19 Beast-Wutsinterweb systemd[1]: Started LSB: Apache2 web server.
|
|
|
07-29-2017, 05:11 PM
|
#48
|
Member
Registered: Jul 2005
Location: Ithaca, NY
Posts: 82
Original Poster
Rep:
|
I wonder if anything in these two directories is out of place:
Code:
wutsinterweb@Beast-Wutsinterweb ~ $ cd /var/www/html
wutsinterweb@Beast-Wutsinterweb /var/www/html $ ls
example.com index.html.backup index.php license.txt phpinfo.php testing.php
index.html index.lighttpd.html info.php localhost readme.html xmlrpc.php
wutsinterweb@Beast-Wutsinterweb /var/www/html $ cd ..
wutsinterweb@Beast-Wutsinterweb /var/www $ ls
example.com index.html index.lighttpd.html info.php localhost readme.html xmlrpc.php
html index.html.backup index.php license.txt phpinfo.php testphp.php
OR if anything here is wrong:
Code:
cd /etc/apache2
wutsinterweb@Beast-Wutsinterweb /etc/apache2 $ ls
apache2.conf conf-available conf-enabled envvars magic mods-available mods-enabled ports.conf sites-available sites-enabled
wutsinterweb@Beast-Wutsinterweb /etc/apache2 $
A couple weeks ago when I was first trying to do this all, I swear I recall seeing something about envvars?
|
|
|
07-29-2017, 11:03 PM
|
#49
|
Member
Registered: Jul 2005
Location: Ithaca, NY
Posts: 82
Original Poster
Rep:
|
Sorry for so many replies, I am just trying to help the helpers by guessing what might be to blame.
At some point I realize I may have to do a fresh install, but I am trying to learn how to do things and solve things, rather than nuking and paving. Plus what if even after a nuke and pave I still have the issue.
It's likely something I screwed up up to 3 weeks ago trying to figure this out. I just don't want to give up.
I promise to listen carefully if anyone has the patience.
|
|
|
07-29-2017, 11:18 PM
|
#50
|
Senior Member
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS
Posts: 4,201
|
signmeuptoo,
I have just redone a LAMP installation on Linux Mint without any problems.
Attached is my PHP7 screenshot.
You really need to start from scratch. It is no big deal.
Good luck.
If you get stuck, refer to some of the links at the bottom of my blog.
|
|
|
07-29-2017, 11:41 PM
|
#51
|
Member
Registered: Jul 2005
Location: Ithaca, NY
Posts: 82
Original Poster
Rep:
|
Ok, so do an OS reinstall then?
Ok, gonna bite the bullet and reinstall OS.
Last edited by signmeuptoo; 07-29-2017 at 11:43 PM.
|
|
|
07-30-2017, 02:01 AM
|
#52
|
Member
Registered: Jul 2005
Location: Ithaca, NY
Posts: 82
Original Poster
Rep:
|
I am running Aptik backups before I start a fresh OS install. I've tried to prevent backing up what could be an issue, no php/apache and no added repositories.
|
|
|
07-30-2017, 09:55 AM
|
#53
|
Senior Member
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS
Posts: 4,201
|
signmeuptoo,
Attached are various screenshots taken during the LAMP installation on Linux Mint 18.2 MATE.
|
|
1 members found this post helpful.
|
07-30-2017, 09:56 AM
|
#54
|
Senior Member
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS
Posts: 4,201
|
signmeuoptoo,
Last one attached.
|
|
1 members found this post helpful.
|
07-30-2017, 03:16 PM
|
#55
|
Member
Registered: Jul 2005
Location: Ithaca, NY
Posts: 82
Original Poster
Rep:
|
Thank you BB and the rest of you for all your reaching out here!
I've downloaded and verified and installed 18.2 KDE on a thumby. I've backed up with Aptik trying to not backup things I suspected except for a full backup of my /home. Right now I am sleep deprived and the brain isn't working well enough. I may wait until later today or tomorrow to do my fresh install.
Question: Should I install and hold off on restoring with aptik and instead try installing LAMP. And if and after LAMP/Wordpress is working, then restore my Aptik backup? Will Aptik append to my accounts and installs?
|
|
|
07-30-2017, 04:38 PM
|
#56
|
Senior Member
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS
Posts: 4,201
|
signmeuptoo,
I have no experience of Aptik.
Personally I would backup all your personal data to an external drive before doing a fresh installation of Linux Mint.
You are right to defer this until you are well rested and wide awake.
You may find this link useful to preserve your /home partition etc:
http://www.linuxquestions.org/questi...-distro-37074/
|
|
|
07-30-2017, 06:32 PM
|
#57
|
Member
Registered: Jul 2005
Location: Ithaca, NY
Posts: 82
Original Poster
Rep:
|
Yes, that is what I did with Aptik is backup each option it controls to a separate hard drive.
One reason I want to wait and rest first is that I almost forget that I needed to disconnect all other drives during OS install, I've learned the hard way over the years that it's better to install with only the boot drive or required drives connected. I've indeed, even with Linux, had problems otherwise.
Your tutorial there I recently found recently from somewhere else and while that is one way, I'm going to use Aptik and wipe it as it will allow the fresh install to prevent any garbage, hopefully. That is, it will after I do the subsequent restore over the install.
Last edited by signmeuptoo; 07-30-2017 at 06:46 PM.
|
|
|
07-30-2017, 09:38 PM
|
#58
|
Member
Registered: Jul 2005
Location: Ithaca, NY
Posts: 82
Original Poster
Rep:
|
Ok, fresh OS install of Mint 18.2 KDE finished and in the process of using Aptik to restore the things I saved. I am not restoring the root, only /home. I THINK I didn't save any LAMP related configuration files with Aptik so I'm hoping once I'm done with this, I can proceed, either tonight or tommorrow with your, beachboy, tutorial.
|
|
|
07-30-2017, 11:26 PM
|
#59
|
Member
Registered: Jul 2005
Location: Ithaca, NY
Posts: 82
Original Poster
Rep:
|
ok, almost got it, but made a mistake. I tried entering all three lines:
never mind, got it!
Last edited by signmeuptoo; 07-31-2017 at 01:20 AM.
|
|
|
07-31-2017, 12:41 AM
|
#60
|
Member
Registered: Jul 2005
Location: Ithaca, NY
Posts: 82
Original Poster
Rep:
|
EDIT: I got it! I figured it out.
I have wordpress working, may the eternal "great grandmother of the celestial power" bless you for your help and tutorial!
|
|
|
All times are GMT -5. The time now is 07:17 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|