Re: Ubuntu - apache is not working

2020-06-11 Thread אורי
How do I use journalctl? אורי u...@speedy.net On Thu, Jun 11, 2020 at 9:56 AM Shay Gover wrote: > Anything related in journalctl? > > ‪On Thu, Jun 11, 2020 at 9:52 AM ‫אורי‬‎ wrote:‬ > >> # cat /var/log/apache2/error.log >> [Thu Jun 11 06:25:05.426924 2020] [mpm_prefork:notice] [pid 1154] >>

Re: Ubuntu - apache is not working

2020-06-11 Thread אורי
Now I get this error on https://en.speedypedia.info/ for the first time: Sorry! This site is experiencing technical difficulties. Try waiting a few minutes and reloading. (Cannot access the database) -- You can try searching via Google in the meantime. Note that

Re: Ubuntu - apache is not working

2020-06-11 Thread אורי
Do you want me to run that again after reboot? אורי u...@speedy.net On Thu, Jun 11, 2020 at 9:38 AM Efraim Flashner wrote: > Not sure why apache is only starting some time after you reboot. What > does the output of 'systemctl status apache2.service' look like? > > On Thu, Jun 11, 2020 at

Re: Ubuntu - apache is not working

2020-06-11 Thread אורי
# cat /var/log/apache2/error.log [Thu Jun 11 06:25:05.426924 2020] [mpm_prefork:notice] [pid 1154] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1g configured -- resuming normal operations [Thu Jun 11 06:25:05.427080 2020] [core:notice] [pid 1154] AH00094: Command line: '/usr/sbin/apache2' [Thu Jun

Re: Ubuntu - apache is not working

2020-06-11 Thread אורי
I think I need Python. אורי u...@speedy.net On Thu, Jun 11, 2020 at 9:39 AM Efraim Flashner wrote: > If you no longer need python-3.6 then you can remove that PPA from your > list of sources. > > On Thu, Jun 11, 2020 at 08:05:10AM +0300, אורי wrote: > > I ran the commands again and found out

Re: Ubuntu - apache is not working

2020-06-11 Thread אורי
# systemctl status apache2.service ● apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled) Drop-In: /lib/systemd/system/apache2.service.d └─apache2-systemd.conf Active: active (running) since Thu 2020-06-11

Re: Ubuntu - apache is not working

2020-06-11 Thread אורי
# systemctl status apache2.service ● apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled) Drop-In: /lib/systemd/system/apache2.service.d └─apache2-systemd.conf Active: failed (Result: timeout) since Thu

Re: Ubuntu - apache is not working

2020-06-11 Thread אורי
Here, after reboot (and apache is not working again): # systemctl status apache2.service ● apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled) Drop-In: /lib/systemd/system/apache2.service.d

Re: Ubuntu - apache is not working

2020-06-11 Thread Shay Gover
Anything related in journalctl? ‪On Thu, Jun 11, 2020 at 9:52 AM ‫אורי‬‎ wrote:‬ > # cat /var/log/apache2/error.log > [Thu Jun 11 06:25:05.426924 2020] [mpm_prefork:notice] [pid 1154] AH00163: > Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1g configured -- resuming normal > operations > [Thu Jun 11

Re: Ubuntu - apache is not working

2020-06-11 Thread Efraim Flashner
If you no longer need python-3.6 then you can remove that PPA from your list of sources. On Thu, Jun 11, 2020 at 08:05:10AM +0300, אורי wrote: > I ran the commands again and found out there are errors: > > root@www:~# sudo apt autoremove > Reading package lists... Done > Building dependency tree

Re: Ubuntu - apache is not working

2020-06-11 Thread אורי
How do I remove it? אורי u...@speedy.net On Thu, Jun 11, 2020 at 9:39 AM Efraim Flashner wrote: > If you no longer need python-3.6 then you can remove that PPA from your > list of sources. > > On Thu, Jun 11, 2020 at 08:05:10AM +0300, אורי wrote: > > I ran the commands again and found out

Re: Ubuntu - apache is not working

2020-06-11 Thread Efraim Flashner
Not sure why apache is only starting some time after you reboot. What does the output of 'systemctl status apache2.service' look like? On Thu, Jun 11, 2020 at 07:31:31AM +0300, אורי wrote: > Hi, > > I estimate it's about 15 to 20 minutes after reboot that I can start apache > successfully.

Re: Ubuntu - apache is not working

2020-06-11 Thread Shay Gover
journalctl -e Send what's relevant around the time u start apache ‪On Thu, Jun 11, 2020 at 9:59 AM ‫אורי‬‎ wrote:‬ > How do I use journalctl? > אורי > u...@speedy.net > > > On Thu, Jun 11, 2020 at 9:56 AM Shay Gover wrote: > >> Anything related in journalctl? >> >> ‪On Thu, Jun 11, 2020 at

Re: Ubuntu - apache is not working

2020-06-11 Thread Shay Gover
What do u have in apache logs? ‪On Thu, Jun 11, 2020 at 9:47 AM ‫אורי‬‎ wrote:‬ > # systemctl status apache2.service > ● apache2.service - The Apache HTTP Server >Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor > preset: enabled) > Drop-In:

Re: Ubuntu

2020-06-11 Thread אורי
Hi, I ran autoremove both before and after the upgrade. אורי u...@speedy.net On Thu, Jun 11, 2020 at 8:43 AM Tzafrir Cohen wrote: > On 11/06/2020 6:29, אורי wrote: > > Hi, > > > > Thanks for your suggestion, I decided to upgrade to 18.04.4 and I ran a > > few times the following commands

Re: Ubuntu - apache is not working

2020-06-11 Thread Steve Litt
On Thu, 11 Jun 2020 07:27:50 +0300 אורי wrote: > Website is working now. But if I reboot the server again, I expect it > to stop working. After you've rebooted and it's stopped working: View the unit file for apache2. Verify the user and group, and su to that user. Verify any stated current

Re: Ubuntu - apache is not working

2020-06-11 Thread אורי
Hi, It's a big file and I prefer to send it off-list. If you want to receive it, please let me know (off-list). Uri. אורי u...@speedy.net On Thu, Jun 11, 2020 at 10:01 AM Shay Gover wrote: > journalctl -e > Send what's relevant around the time u start apache > > ‪On Thu, Jun 11, 2020 at 9:59

Re: Ubuntu - apache is not working

2020-06-11 Thread אורי
Hi, I'm sending this on-list. The relevant lines for apache are: Jun 11 08:44:35 www.speedypedia.info systemd[1]: Failed to start The Apache HTTP Server. Jun 11 08:44:35 www.speedypedia.info systemd[1]: Starting Disk Cache Cleaning Daemon for Apache HTTP Server... Jun 11 08:44:35

Re: Ubuntu - apache is not working

2020-06-11 Thread Geoff Shang
On Thu, 11 Jun 2020, אורי wrote: Err:4 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu bionic InRelease 403 Forbidden [IP: 91.189.95.83 80] E: Failed to fetch http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu/dists/bionic/InRelease 403 Forbidden [IP: 91.189.95.83 80] E: The

Re: Ubuntu - apache is not working

2020-06-11 Thread אורי
Hi, I have errors when running *sudo apt update*: # sudo apt update Hit:1 http://ppa.launchpad.net/certbot/certbot/ubuntu bionic InRelease Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease Err:4

Re: Ubuntu - apache is not working

2020-06-11 Thread אורי
Hi Geoff, Thanks for your feedback. I was not aware of these settings. I compared my servers' /etc/apt directories now with Beyond Compare, and copied files from the other server to this server and another server where there were differences, and then I ran the following commands again: sudo apt