LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 07-29-2017, 04:48 PM   #46
signmeuptoo
Member
 
Registered: Jul 2005
Location: Ithaca, NY
Posts: 82

Original Poster
Rep: Reputation: 16

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.
 
Old 07-29-2017, 04:52 PM   #47
signmeuptoo
Member
 
Registered: Jul 2005
Location: Ithaca, NY
Posts: 82

Original Poster
Rep: Reputation: 16
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.
 
Old 07-29-2017, 05:11 PM   #48
signmeuptoo
Member
 
Registered: Jul 2005
Location: Ithaca, NY
Posts: 82

Original Poster
Rep: Reputation: 16
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?
 
Old 07-29-2017, 11:03 PM   #49
signmeuptoo
Member
 
Registered: Jul 2005
Location: Ithaca, NY
Posts: 82

Original Poster
Rep: Reputation: 16
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.
 
Old 07-29-2017, 11:18 PM   #50
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 20 MATE, MX-19, antiX
Posts: 3,095
Blog Entries: 17

Rep: Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139
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.
Attached Thumbnails
Click image for larger version

Name:	PHP7.png
Views:	16
Size:	142.9 KB
ID:	25601  
 
Old 07-29-2017, 11:41 PM   #51
signmeuptoo
Member
 
Registered: Jul 2005
Location: Ithaca, NY
Posts: 82

Original Poster
Rep: Reputation: 16
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.
 
Old 07-30-2017, 02:01 AM   #52
signmeuptoo
Member
 
Registered: Jul 2005
Location: Ithaca, NY
Posts: 82

Original Poster
Rep: Reputation: 16
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.
 
Old 07-30-2017, 09:55 AM   #53
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 20 MATE, MX-19, antiX
Posts: 3,095
Blog Entries: 17

Rep: Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139
signmeuptoo,

Attached are various screenshots taken during the LAMP installation on Linux Mint 18.2 MATE.
Attached Thumbnails
Click image for larger version

Name:	Apache2.png
Views:	10
Size:	179.0 KB
ID:	25612   Click image for larger version

Name:	phpMyAdmin.png
Views:	11
Size:	162.4 KB
ID:	25613   Click image for larger version

Name:	WordPress-Lets go!.png
Views:	9
Size:	99.2 KB
ID:	25614   Click image for larger version

Name:	WordPress-Run the install.png
Views:	9
Size:	65.0 KB
ID:	25615   Click image for larger version

Name:	WordPress-Success!.png
Views:	16
Size:	65.9 KB
ID:	25616  

 
1 members found this post helpful.
Old 07-30-2017, 09:56 AM   #54
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 20 MATE, MX-19, antiX
Posts: 3,095
Blog Entries: 17

Rep: Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139
signmeuoptoo,

Last one attached.
Attached Thumbnails
Click image for larger version

Name:	WordPress Dashboard.png
Views:	9
Size:	172.9 KB
ID:	25617  
 
1 members found this post helpful.
Old 07-30-2017, 03:16 PM   #55
signmeuptoo
Member
 
Registered: Jul 2005
Location: Ithaca, NY
Posts: 82

Original Poster
Rep: Reputation: 16
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?
 
Old 07-30-2017, 04:38 PM   #56
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 20 MATE, MX-19, antiX
Posts: 3,095
Blog Entries: 17

Rep: Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139
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/
 
Old 07-30-2017, 06:32 PM   #57
signmeuptoo
Member
 
Registered: Jul 2005
Location: Ithaca, NY
Posts: 82

Original Poster
Rep: Reputation: 16
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.
 
Old 07-30-2017, 09:38 PM   #58
signmeuptoo
Member
 
Registered: Jul 2005
Location: Ithaca, NY
Posts: 82

Original Poster
Rep: Reputation: 16
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.
 
Old 07-30-2017, 11:26 PM   #59
signmeuptoo
Member
 
Registered: Jul 2005
Location: Ithaca, NY
Posts: 82

Original Poster
Rep: Reputation: 16
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.
 
Old 07-31-2017, 12:41 AM   #60
signmeuptoo
Member
 
Registered: Jul 2005
Location: Ithaca, NY
Posts: 82

Original Poster
Rep: Reputation: 16
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
seems horrible what can be searched here jheengut General 17 06-23-2012 02:00 PM
Searched Everywhere jeep99899 Linux - Newbie 1 09-13-2004 02:06 PM
I searched and searched so... NeeWom Linux - Software 0 04-16-2004 12:14 PM
Linksys driver install (searched hi & low) Bogus8 Slackware 3 10-15-2003 08:05 PM
Searched Everywhere... ChrisL Linux - General 5 02-14-2002 10:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration