Apache- Failed to start the Apache Server sites do not exist

Apache- Failed to start the Apache Server sites do not exist

Postby ozstar » Thu Jan 09, 2020 6:37 am

Hi.
A new problem which may.. (or may not) be the answer to many of my webserver setup woes.

I thought Id do an Apache status check

Code: Select all
sudo service apache2 status


and this is what was reported..

It seems that it has been searching for my sites in another area..

This shows it is looking in Home

Code: Select all
Warning: DocumentRoot /home/www/html/mysite2/public_html does not exist


because I have placed them in..

Code: Select all
var/www/html/mysite1/public_html    -      var/www/html/mysite2/public_html
HP-Compaq 6000 Tower - 4 K Ram Graphics: Intel® Q45/Q43
Intel® Core™2 Quad CPU Q9650 @ 3.00GHz × 4 Linux Zorin 15 64bit
Dual Boot with Win 10x64 1909
User avatar
ozstar
 
Posts: 115
Joined: Fri Dec 06, 2019 5:46 am
Location: Sydney Oz

Re: Apache- Failed to start the Apache Server sites do not e

Postby ozstar » Thu Jan 09, 2020 9:50 am

Well I took it all back to basics and redid all the hosts, folders etc in html and it is all back to working. I think somehow with all my messing around changing things chasing an outcome, it got corrupt somewhere.

Anyway all back to normal now with it resolving using the outside IP#.

There is only one thing I need to know and can't seem to find anything definitive, it whether the folders in www/html/ have to be named mysite or mysite.com using the extension. Also the .conf files as they have to mirror what those folders are.

I ask because, whilst I am getting to the server from outside, I am still not getting to the actual folders of each site.

I have checked all the addresses many times and they all correspond correctly being the same on the site folder, the name of the .conf file and in the contents of the .conf file.

Anyway back on track.. Which is good :-)
HP-Compaq 6000 Tower - 4 K Ram Graphics: Intel® Q45/Q43
Intel® Core™2 Quad CPU Q9650 @ 3.00GHz × 4 Linux Zorin 15 64bit
Dual Boot with Win 10x64 1909
User avatar
ozstar
 
Posts: 115
Joined: Fri Dec 06, 2019 5:46 am
Location: Sydney Oz

Re: Apache- Failed to start the Apache Server sites do not e

Postby Swarfendor437 » Fri Jan 10, 2020 2:12 pm

So has this issue been [RESOLVED] or is it ongoing? ;) :D
https://vimeo.com/user15592214
https://www.deviantart.com/swarfendor437
https://trisquel.info/

Machine: ASUS X470-PRO, AMD Ryzen 7 1700X 8 Core, 16 Gb RAM, ZOTAC Geforce GT1030 (2 Gb)
User avatar
Swarfendor437
 
Posts: 11291
Joined: Wed Sep 18, 2013 5:51 pm

Re: Apache- Failed to start the Apache Server sites do not e

Postby ozstar » Sat Jan 11, 2020 12:49 am

Hi,
Yes it is 99% resolved but I am doing final testing and then will close this thread and open a new post with a definitive tutor on one way how to get a webserver going on Zorin 15.

It's been a long haul..

oz
HP-Compaq 6000 Tower - 4 K Ram Graphics: Intel® Q45/Q43
Intel® Core™2 Quad CPU Q9650 @ 3.00GHz × 4 Linux Zorin 15 64bit
Dual Boot with Win 10x64 1909
User avatar
ozstar
 
Posts: 115
Joined: Fri Dec 06, 2019 5:46 am
Location: Sydney Oz

Re: Apache- Failed to start the Apache Server sites do not e

Postby Swarfendor437 » Sat Jan 11, 2020 12:53 am

Looking forward to seeing the tutorial in the How-tos ... section. ;) :D
https://vimeo.com/user15592214
https://www.deviantart.com/swarfendor437
https://trisquel.info/

Machine: ASUS X470-PRO, AMD Ryzen 7 1700X 8 Core, 16 Gb RAM, ZOTAC Geforce GT1030 (2 Gb)
User avatar
Swarfendor437
 
Posts: 11291
Joined: Wed Sep 18, 2013 5:51 pm

Re: Apache- Failed to start the Apache Server sites do not e

Postby ozstar » Sun Jan 12, 2020 7:02 am

Up there now. Should be okay.. Will do the additions soon.. PHP then MySQL installs
HP-Compaq 6000 Tower - 4 K Ram Graphics: Intel® Q45/Q43
Intel® Core™2 Quad CPU Q9650 @ 3.00GHz × 4 Linux Zorin 15 64bit
Dual Boot with Win 10x64 1909
User avatar
ozstar
 
Posts: 115
Joined: Fri Dec 06, 2019 5:46 am
Location: Sydney Oz

Return to Help and Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 16 guests