Re: Ubuntu issues

2024-06-30 Thread אורי
Hi Shlomo,

"python3 --version" returns Python 3.6.9 in both my Ubuntu 18.04.6 LTS
servers. But I think the first server has a better pip version and certbot
version. Is it possible to upgrade the second server to the same pip and
certbot versions without upgrading Python?

Thanks,
Uri.

אורי
u...@speedy.net


On Sun, Jun 30, 2024 at 3:07 PM Shlomo Solomon 
wrote:

> Of course, it's your decision not to upgrade Ubuntu, but from my
> experience, upgrading Python to other than what Ubuntu supplies as a
> default can break the system.
> For example, in my case apt stopped working properly.
>
> If you really need a newer version of Python, pyenv might be worth
> looking at.
>
>
> On Sun, 30 Jun 2024 14:20:54 +0300
> אורי  wrote:
>
> > Hi,
> >
> > I have two Ubuntu 18.04.6 LTS servers (droplets) which I can't and
> > don't want to upgrade right now. One of them is running pip==22.2.2
> > and when I run this command I get this output:
> >
> > pip freeze|grep -i certb
> > certbot==2.10.0
> > certbot-apache==2.10.0
> > certbot-dns-digitalocean==2.10.0
> >
> > The other one is running pip==21.3.1 and when I run this command I
> > get this output:
> >
> > pip freeze|grep -i certb
> > /usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15:
> > CryptographyDeprecationWarning: Python 3.6 is no longer supported by
> > the Python core team. Therefore, support for it is deprecated in
> > cryptography and will be removed in a future release.
> >   from cryptography.utils import int_from_bytes
> > certbot==1.23.0
> > certbot-apache==1.23.0
> > certbot-dns-digitalocean==1.23.0
> > certbot-dns-route53==1.23.0
> >
> > I want to know how do I upgrade pip, certbot and optionally Python to
> > its latest version in both machines, and especially the second
> > machine?
> >
> > I also have two machines with Ubuntu 22.04.4 LTS. There I have
> > problems with Ubuntu pro:
> >
> > # sudo pro detach
> > Detach will disable the following service:
> > livepatch
> > Are you sure? (y/N) y
> > Executing `/snap/bin/canonical-livepatch disable`
> > An unexpected error occurred: Failed running command
> > '/snap/bin/canonical-livepatch disable' [exit(1)]. Message: cannot
> > create mount point for file "/tmp/snap.rootfs_GcwX7d/README.md":
> > Permission denied
> >
> > For more details, see the log: /var/log/ubuntu-advantage.log
> > If you think this is a bug, please run: ubuntu-bug
> > ubuntu-advantage-tools # pro status
> > SERVICE  ENTITLED  STATUS   DESCRIPTION
> > anbox-cloud  yes   disabled Scalable Android in the cloud
> > esm-apps yes   disabled Expanded Security Maintenance
> > for Applications
> > esm-infrayes   disabled Expanded Security Maintenance
> > for Infrastructure
> > livepatchyes   warning  Canonical Livepatch service
> > realtime-kernel  yes   disabled Ubuntu kernel with PREEMPT_RT
> > patches integrated
> > usg  yes   disabled Security compliance and audit
> > tools
> >
> > NOTICES
> > Error running canonical-livepatch status:
> > cannot create mount point for file
> > "/tmp/snap.rootfs_dUW8Xu/README.md": Permission denied
> >
> >
> > For a list of all Ubuntu Pro services, run 'pro status --all'
> > Enable services with: pro enable 
> >
> >  Account: u...@speedy.net
> > Subscription: Ubuntu Pro - free personal subscription
> >
> >
> > I recently ran the following upgrade commands for all the above
> > machines, and I got many times in the Ubuntu 22.04.4 LTS to select an
> > option (I always selected the default):
> >
> > sudo apt update
> > sudo apt upgrade
> > sudo apt dist-upgrade
> > sudo apt autoremove
> > sudo apt autoclean
> >
> > sudo apt autoremove
> > sudo apt-get update
> > sudo apt-get upgrade
> > sudo apt update
> > sudo apt upgrade
> >
> > And I also had to run the following commands:
> > cd /var/lib/dpkg
> > sudo mv info info.bak
> > sudo mkdir info
> > sudo apt-get upgrade
> >
> > Thanks,
> > Uri Rodberg, Speedy Net
> >
> > אורי
> > u...@speedy.net
>
>
>
> --
> Shlomo Solomon
> http://the-solomons.net
> Claws Mail 4.0.0 - KDE Plasma 5.24.7 - Kubuntu 22.04
>
___
Linux-il mailing list -- linux-il@cs.huji.ac.il
To unsubscribe send an email to linux-il-le...@cs.huji.ac.il


Ubuntu issues

2024-06-30 Thread אורי
Hi,

I have two Ubuntu 18.04.6 LTS servers (droplets) which I can't and don't
want to upgrade right now. One of them is running pip==22.2.2 and when I
run this command I get this output:

pip freeze|grep -i certb
certbot==2.10.0
certbot-apache==2.10.0
certbot-dns-digitalocean==2.10.0

The other one is running pip==21.3.1 and when I run this command I get this
output:

pip freeze|grep -i certb
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15:
CryptographyDeprecationWarning: Python 3.6 is no longer supported by the
Python core team. Therefore, support for it is deprecated in cryptography
and will be removed in a future release.
  from cryptography.utils import int_from_bytes
certbot==1.23.0
certbot-apache==1.23.0
certbot-dns-digitalocean==1.23.0
certbot-dns-route53==1.23.0

I want to know how do I upgrade pip, certbot and optionally Python to its
latest version in both machines, and especially the second machine?

I also have two machines with Ubuntu 22.04.4 LTS. There I have problems
with Ubuntu pro:

# sudo pro detach
Detach will disable the following service:
livepatch
Are you sure? (y/N) y
Executing `/snap/bin/canonical-livepatch disable`
An unexpected error occurred: Failed running command
'/snap/bin/canonical-livepatch disable' [exit(1)]. Message: cannot create
mount point for file "/tmp/snap.rootfs_GcwX7d/README.md": Permission denied

For more details, see the log: /var/log/ubuntu-advantage.log
If you think this is a bug, please run: ubuntu-bug ubuntu-advantage-tools
# pro status
SERVICE  ENTITLED  STATUS   DESCRIPTION
anbox-cloud  yes   disabled Scalable Android in the cloud
esm-apps yes   disabled Expanded Security Maintenance for
Applications
esm-infrayes   disabled Expanded Security Maintenance for
Infrastructure
livepatchyes   warning  Canonical Livepatch service
realtime-kernel  yes   disabled Ubuntu kernel with PREEMPT_RT
patches integrated
usg  yes   disabled Security compliance and audit tools

NOTICES
Error running canonical-livepatch status:
cannot create mount point for file "/tmp/snap.rootfs_dUW8Xu/README.md":
Permission denied


For a list of all Ubuntu Pro services, run 'pro status --all'
Enable services with: pro enable 

 Account: u...@speedy.net
Subscription: Ubuntu Pro - free personal subscription


I recently ran the following upgrade commands for all the above machines,
and I got many times in the Ubuntu 22.04.4 LTS to select an option (I
always selected the default):

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo apt autoremove
sudo apt autoclean

sudo apt autoremove
sudo apt-get update
sudo apt-get upgrade
sudo apt update
sudo apt upgrade

And I also had to run the following commands:
cd /var/lib/dpkg
sudo mv info info.bak
sudo mkdir info
sudo apt-get upgrade

Thanks,
Uri Rodberg, Speedy Net

אורי
u...@speedy.net
___
Linux-il mailing list -- linux-il@cs.huji.ac.il
To unsubscribe send an email to linux-il-le...@cs.huji.ac.il


Re: off topic (but I don't know who to ask) - probably?? ISP problem

2024-05-19 Thread אורי
019 might have disabled it for the same reason (security/DDOS)
אורי
u...@speedy.net


On Sun, May 19, 2024 at 6:08 PM Shlomo Solomon 
wrote:

> Thanks.
>
> 1 - I will send it dirr=ectly to you - not to the list.
>
> 2 - No - that is not the problem since it works when I connect via a
> hotspot (i.e. a different ISP).
>
> When I use my "regular" 019 connection, I get:
> sudo python tmp1.py www.google.com
> 1 10.0.0.138 0.047
> 2 10.64.0.250 0.038
> 3 10.64.0.81 0.04
> 4 Timed Out
> 5 213.137.64.169 0.03
> 6 212.199.247.29 0.036
> 7 142.250.169.119 0.04
> 8 142.250.169.118 0.034
> 9 216.239.50.169 0.036
> 10 72.14.236.1 0.034
> 11 Timed Out
> 12 Timed Out
> 13 Timed Out
> 14 Timed Out
> 15 Timed Out
> 16 Timed Out
> 17 Timed Out
> 18 Timed Out
> 19 Timed Out
> 20 Timed Out
>
>
>
>
> When I connect via Hotspot (Golan), I get:
> sudo python tmp1.py www.google.com
> 1 192.168.43.85 0.054
> 2 Timed Out
> 3 172.25.86.33 0.136
> 4 172.25.50.130 0.042
> 5 172.27.27.2 0.062
> 6 172.27.27.6 0.058
> 7 207.232.57.110 0.062
> 8 207.232.57.183 0.06
> 9 72.14.197.132 0.038
> 10 142.251.229.3 0.086
> 11 72.14.236.1 0.058
> trace complete 12 172.217.22.100 0.056
>
> As you can see 72.14.236.1 is the last hop before reaching the
> destination, but on 019 all hops after that time out
>
>
>
>
>
>
>
> On Sun, 19 May 2024 17:49:32 +0300
> אורי  wrote:
>
> > Hi Shlomo,
> >
> > 1. Send me the code and I will try to test it.
> > 2. Are you sure there is a reply when your message reaches the
> > destination? And does it depend on the destination? Some destinations
> > may disable it for security reasons (DDOS attacks).
> >
> > Uri.
> > אורי
> > u...@speedy.net
> >
> >
> > On Sun, May 19, 2024 at 5:43 PM Shlomo Solomon
> >  wrote:
> >
> > > I teach computer networking and the latest assignment I gave my
> > > students was to use Python and Scapy to emmulate traceroute. The
> > > code is simple:
> > >  - send an ICMP packet with TTL = 1 which will fail but return the
> > > first hop address
> > >  - continue sending ICMP packets - each time increasing the TTL to
> > > get the next hop
> > >  - if the ICMP reply is NOT an error, we have arrived.
> > >
> > > None of my student submissions worked, which was strange, so I
> > > tried my own code which I know is correct.
> > > It also did not work.
> > > The error messages arrive for each hop, but it seems that the NO
> > > ERROR message (when the destination is reached) is not arriving.
> > > I also checked with Wireshark and see error replies (as I should)
> > > for each hop, but then (when I assume I have reached the
> > > destination) there is no reply.
> > >
> > > I then tried disconnecting my computer from my ISP and connected
> > > via a Hotspot on my phone - PROBLEM SOLVED.
> > >
> > > So this seems to be a problem with my ISP (019) blocking some
> > > traffic. But I don't know what the next step is.
> > > If I call customer service, I'm sure no-one will understand what I
> > > want.
> > >
> > > BTW - ping and the "real" traceroute work fine.
> > > I also looked at router settings, but did not find anything
> > > suspicious.
> > >
> > > Can anyone suggest how to explain my problem to my ISP?
> > >
> > > ALSO - if there is anyone using 019, I would be happy to send my
> > > code for testing to verify that this is really a problem with 019.
> > >
> > >
> > >
> > > --
> > > Shlomo Solomon
> > > http://the-solomons.net
> > > Claws Mail 4.0.0 - KDE Plasma 5.24.7 - Kubuntu 22.04
> > > ___
> > > Linux-il mailing list -- linux-il@cs.huji.ac.il
> > > To unsubscribe send an email to linux-il-le...@cs.huji.ac.il
> > >
>
>
>
> --
> Shlomo Solomon
> http://the-solomons.net
> Claws Mail 4.0.0 - KDE Plasma 5.24.7 - Kubuntu 22.04
>
___
Linux-il mailing list -- linux-il@cs.huji.ac.il
To unsubscribe send an email to linux-il-le...@cs.huji.ac.il


Re: off topic (but I don't know who to ask) - probably?? ISP problem

2024-05-19 Thread אורי
Hi Shlomo,

1. Send me the code and I will try to test it.
2. Are you sure there is a reply when your message reaches the destination?
And does it depend on the destination? Some destinations may disable it for
security reasons (DDOS attacks).

Uri.
אורי
u...@speedy.net


On Sun, May 19, 2024 at 5:43 PM Shlomo Solomon 
wrote:

> I teach computer networking and the latest assignment I gave my
> students was to use Python and Scapy to emmulate traceroute. The code
> is simple:
>  - send an ICMP packet with TTL = 1 which will fail but return the
> first hop address
>  - continue sending ICMP packets - each time increasing the TTL to get
> the next hop
>  - if the ICMP reply is NOT an error, we have arrived.
>
> None of my student submissions worked, which was strange, so I tried my
> own code which I know is correct.
> It also did not work.
> The error messages arrive for each hop, but it seems that the NO ERROR
> message (when the destination is reached) is not arriving.
> I also checked with Wireshark and see error replies (as I should) for each
> hop, but then (when I assume I have reached the destination) there is
> no reply.
>
> I then tried disconnecting my computer from my ISP and connected via a
> Hotspot on my phone - PROBLEM SOLVED.
>
> So this seems to be a problem with my ISP (019) blocking some traffic.
> But I don't know what the next step is.
> If I call customer service, I'm sure no-one will understand what I want.
>
> BTW - ping and the "real" traceroute work fine.
> I also looked at router settings, but did not find anything suspicious.
>
> Can anyone suggest how to explain my problem to my ISP?
>
> ALSO - if there is anyone using 019, I would be happy to send my code
> for testing to verify that this is really a problem with 019.
>
>
>
> --
> Shlomo Solomon
> http://the-solomons.net
> Claws Mail 4.0.0 - KDE Plasma 5.24.7 - Kubuntu 22.04
> ___
> Linux-il mailing list -- linux-il@cs.huji.ac.il
> To unsubscribe send an email to linux-il-le...@cs.huji.ac.il
>
___
Linux-il mailing list -- linux-il@cs.huji.ac.il
To unsubscribe send an email to linux-il-le...@cs.huji.ac.il


Re: problem with cron on Kubuntu 22.04

2024-02-07 Thread אורי
Try to remove the word "root"
אורי
u...@speedy.net


On Wed, Feb 7, 2024 at 5:18 PM Shlomo Solomon 
wrote:

> Sorry if this is a bit long, but I wanted to give as much information
> as I could and hope someone can help.
>
>
> On a new installation of Kubuntu 22.04, cron jobs are not running and
> this is driving me crazy.
>
> The cron daemon is running
>
> shoshana@shoshana:~/Desktop$ pgrep cron
> 827
>
> I thought there might be a problem with a specific job so I created the
> following simple script (which DOES work).
>
> shoshana@shoshana:~/Desktop$ cat tstrun
> #!/usr/bin/sh
> cd /home/shoshana/Desktop
> echo "" >> tst.txt
>
> If I do:  cd /home/shoshana/Desktop
>   ./tstrun
> the script works and I see   in tst.txt
>
> I then deleted ALL jobs in crontab and added only the following to
> /etc/crontab
> */1 * * * * root /home/shoshana/Desktop/tstrun
>
> Nothing happens - nothing written in tst.txt
>
> I tried:
> sudo grep CRON /var/log/syslog   and got no output
>
> I changed the script to:
> #!/usr/bin/sh
> echo "test echo from tstrun"
> cd /home/shoshana/Desktop
> echo "" >> tst.txt
>
> and changed the crontab line to:
> */1 * * * * root /home/shoshana/Desktop/tstrun >>
> /home/shoshana/Desktop/tstrun-log.txt
>
> still no output in tst.txt and also no output in
> /home/shoshana/Desktop/tstrun-log.txt
>
> And as expected, if I do:
> ./tstrun >> tstrun-log.txt
> I see the expected output in both files
>
> I also tried:
> shoshana@shoshana:~/Desktop$ sudo service cron stop
> shoshana@shoshana:~/Desktop$ sudo service cron start
> shoshana@shoshana:~/Desktop$ pgrep cron
> 3377
>
> AND
> shoshana@shoshana:~/Desktop$ sudo systemctl stop cron
> shoshana@shoshana:~/Desktop$ sudo systemctl start cron
> shoshana@shoshana:~/Desktop$ pgrep cron
> 3413
>
>
> But still no change.
>
> And just to be clear, on a different machine (also Kubuntu 22.04) all
> the above DOES work - output to both files and if I do:
> sudo grep CRON /var/log/syslog   I get:
> Feb  7 17:13:01 solomon-laptop CRON[16619]: (root) CMD
> (/home/solomon/Desktop/tstrun)
>
>
>
>
>
>
> --
> Shlomo Solomon
> http://the-solomons.net
> Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04
> ___
> Linux-il mailing list -- linux-il@cs.huji.ac.il
> To unsubscribe send an email to linux-il-le...@cs.huji.ac.il
>
___
Linux-il mailing list -- linux-il@cs.huji.ac.il
To unsubscribe send an email to linux-il-le...@cs.huji.ac.il


Re: HP OfficeJet Pro 8023

2023-12-23 Thread אורי
They have a policy of printer being very cheap and ink very expensive. They
sell the printer and lose money and expect to make profit on the ink.
אורי
u...@speedy.net


On Sun, Dec 24, 2023 at 1:16 AM Shlomo Solomon 
wrote:

> Original ink which costs more than the printer (!!!) is not an option.
> On my existing HP 8610, I used compatible ink for 8 years, so 
>
>
> On Sun, 24 Dec 2023 01:11:22 +0200
> אורי  wrote:
>
> > If you use HP printer I strongly recommend using HP original ink,
> > which is more expensive but it's the only ink they officially support.
> >
> > אורי
> > u...@speedy.net
> >
> >
> > On Sun, Dec 24, 2023 at 12:23 AM Shlomo Solomon
> >  wrote:
> >
> > > My existing HP printer (8610) died after 8 years - does not
> > > recognize the Magenta ink.
> > >
> > > I'm looking at the HP OfficeJet Pro 8023
> > >
> > > 2 questions:
> > >
> > > 1 - Has anyone had good (or bad) experience with this on Linux? I
> > > know that HP supports this printer on Linux, but I'm looking for
> > > first hand experience.
> > >
> > > 2 - Any comments about the availability of compatible ink? I found
> > > ink on several sites, but from experience, know that HP printers are
> > > sometimes fussy about non-original ink.
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Shlomo Solomon
> > > http://the-solomons.net
> > > Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04
> > > ___
> > > Linux-il mailing list -- linux-il@cs.huji.ac.il
> > > To unsubscribe send an email to linux-il-le...@cs.huji.ac.il
> > >
>
>
>
> --
> Shlomo Solomon
> http://the-solomons.net
> Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04
>
___
Linux-il mailing list -- linux-il@cs.huji.ac.il
To unsubscribe send an email to linux-il-le...@cs.huji.ac.il


Re: HP OfficeJet Pro 8023

2023-12-23 Thread אורי
If you use HP printer I strongly recommend using HP original ink, which is
more expensive but it's the only ink they officially support.

אורי
u...@speedy.net


On Sun, Dec 24, 2023 at 12:23 AM Shlomo Solomon 
wrote:

> My existing HP printer (8610) died after 8 years - does not recognize
> the Magenta ink.
>
> I'm looking at the HP OfficeJet Pro 8023
>
> 2 questions:
>
> 1 - Has anyone had good (or bad) experience with this on Linux? I know
> that HP supports this printer on Linux, but I'm looking for first hand
> experience.
>
> 2 - Any comments about the availability of compatible ink? I found ink
> on several sites, but from experience, know that HP printers are
> sometimes fussy about non-original ink.
>
>
>
>
>
> --
> Shlomo Solomon
> http://the-solomons.net
> Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04
> ___
> Linux-il mailing list -- linux-il@cs.huji.ac.il
> To unsubscribe send an email to linux-il-le...@cs.huji.ac.il
>
___
Linux-il mailing list -- linux-il@cs.huji.ac.il
To unsubscribe send an email to linux-il-le...@cs.huji.ac.il


Re: .il domain names with IPv6 support

2023-08-01 Thread אורי
Hi Gabor,

I also use https://www.box.co.il/ and you can put any name servers you
want, I usually don't use the same company as a registrar and for name
servers - I use different companies. I would recommend either AWS route 53
(not expensive) or also DigitalOcean - if you have an account then name
servers are free, I think you don't have to have droplets with them
(although I do) and also you can try Linode or Vultr (I never tried these
two companies' name servers). Or use the name servers of your hosting
provider.

Thanks,
Uri.
אורי
u...@speedy.net


On Wed, Aug 2, 2023 at 8:34 AM Gabor Szabo  wrote:

> Hi,
>
> I have been using BOX ( https://box.co.il/ ) for my .il domains and for
> DNS. Apparently their DNS server still does not support IPv6.  So far it
> did not bother me too much, but now that I am trying to move a domain to
> use GitHub pages it seems that they require that configuration as well.
>
> So my question what do you suggest as a domain registrar for .il domains
> that has a reasonable DNS interface that also supports IPv6. Alternatively,
> what DNS provider do you use?
>
> (for my com/org names I use https://iwantmyname.com/ and I am quite
> satisfied)
>
> regards
> Gabor
>
> --
> Gabor Szabohttps://szabgab.com/ <http://szabgab.com/>
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


PostgreSQL

2023-06-20 Thread אורי
Hi.

I have a server with Ubuntu 22.04.1 LTS and PostgreSQL 14. I was thinking
it uses PostgreSQL 14.7 and I want about to upgrade to PostgreSQL 14.8 in
July (my policy regarding PostgreSQL is to upgrade to it about two months
after it's minor release (major release I upgrade once every year or two
years). But today I checked and I found out that my server already uses
PostgreSQL 14.8. How can this be? Maybe this is related to ubuntu pro that
I subscribed to, or maybe PostgreSQL upgraded itself?

Another question - My server uses Python 3.10 and the version on the server
is currently 3.10.6. Is there a safe way to upgrade to the latest Python
3.10 (3.10.12). Because I use ppa:deadsnakes/ppa but I understand they
don't upgrade the Python version that comes with Ubuntu (in my case 3.10).
But if it was Ubuntu 20.04 or 18.04 then they would upgrade.

Thanks,
Uri Rodberg, Speedy Net.
אורי
u...@speedy.net
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: ISP recommendation in Israel - geek-friendly & IPv6

2023-04-15 Thread אורי
Hi Lionel,

I don't know about all the technical issues but I'm satisfied with Triple
C. And I don't use Bezeq's fibers although it's possible. If you're
interested in speed (ping/download/upload) to Europe, check in speedtest.net
and you can write to me offlist to compare times.

Thanks, Uri.
אורי
u...@speedy.net


On Sat, Apr 15, 2023 at 10:10 AM Lionel Élie Mamane 
wrote:

> Hi,
>
> What would you recommend as a geek-friendly ISP for a "consumer price
> level" glass fiber-based Internet connection in Israel, in Qesarya
> specifically? I'd like to have dual stack IPv4 + IPv6, with one fixed
> IPv4 address and a fixed IPv6 prefix (whatever it is one gets as
> standard... a /48, a /56...). Not sure if I can hope for competent
> customer support in English, but if that exists, even better.
>
> My family currently has Bezeq with a fixed IPv4 in our "2nd home /
> vacation home", that was setup by a local guy that knows a guy that
> knows a guy that knows my mother, without my intervention, supposed to
> be a "surprise we got fast Internet now, you can now spend more time
> in Israel and work remotely" for me, and well... I'd like us to
> upgrade to something better. The guy tells me that if we activate IPv6
> on our Bezeq connection, we will not only loose the fixed IPv4
> address, but also be behind double (carrier-grade, I assume) NAT,
> which would be major suckage. Is that true? Anyone has experience with
> that?
>
> Is it realistic to hope significantly less than 100ms ping times to
> Western Europe from Israel? That's what I currently get, and in usage
> as "remote desktop" / VNC / ssh sessions (with graphical / X11
> programs running over the link), this kind of lag is really felt...
>
> Thanks in advance,
>
> Lionel
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Upgrading the Kernel

2022-10-12 Thread אורי
Thank you.
אורי
u...@speedy.net


On Thu, Oct 13, 2022 at 6:17 AM Shlomo Solomon 
wrote:

> BTW - in addition to my previous answer, when I usded the method I
> suggested, I originally made an error and upgraded to a more advanced
> version (5.19.*) that was not supported by Ubuntu. Everything worked
> fine, but I did have a problem with VirtualBox so needed to "downgrade"
> to a supported version which is now 5.15.**
>
>
> On Thu, 13 Oct 2022 06:08:26 +0300
> Shlomo Solomon  wrote:
>
> > uname -rwill tell you the current version
> > I currently have  5.15.0-48-generic   but do not remeber if that is
> > the latest (it was a couple of months ago)
> >
> > To upgrade, the following worked for me, although, for various
> > reasons I did it a bit differently:
> > https://linuxhint.com/install-upgrade-linux-kernel-ubuntu-linux-mint/
> >
> >
> >
> > On Thu, 13 Oct 2022 03:03:44 +0300
> > אורי  wrote:
> >
> > > Hi,
> > >
> > > I have a remote Ubuntu 22.04 server. How do I check which kernel I'm
> > > using, and how do I upgrade the kernel to its latest stable version
> > > without risking the server?
> > >
> > > Thanks,
> > > Uri Rodberg, Speedy Net.
> > > אורי
> > > u...@speedy.net
> >
> >
> >
>
>
>
> --
> Shlomo Solomon
> http://the-solomons.net
> Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Upgrading the Kernel

2022-10-12 Thread אורי
Hi,

I have a remote Ubuntu 22.04 server. How do I check which kernel I'm using,
and how do I upgrade the kernel to its latest stable version without
risking the server?

Thanks,
Uri Rodberg, Speedy Net.
אורי
u...@speedy.net
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT (but I don't know who else to ask) - e-mail forwarding

2022-03-15 Thread אורי
Hi,

You can use Google mail (workspaces) for email forwarding.

I also used siteground.com for email forwarding. I don't recommend using a
domain registrar since they only register domain names and their email
forwarding is not so good.

You might also consider Amason SES.

If you use Google, there are ways to forward also emails that are filtered
as spam.

Good luck!
Uri.
אורי
u...@speedy.net


On Tue, Mar 15, 2022 at 8:15 AM Shlomo Solomon 
wrote:

> I use my domain - the-solomons.net - for only one thing - e-mail
> forwarding. I do not have or need any other services such as site
> hosting, storage, "real" e-mail, etc.
>
> I'm about to renew and discovered that GoDaddy's prices have gone up,
> so I looked at options to transfer to another registrar.
>
> But, I discovered that in many cases, the 100 free e-mail forwarding
> addresses are subject to spam and/or virus filtering or do not forward
> certain attachments such as .zip.
>
> I want all my mail forwarded and certainly don't want .zip, etc to be
> dropped.
>
> Can anyone suggest a cheap registrar who will not "tamper" with my
> forwarded e-mail?
>
> --
> Shlomo Solomon
> http://the-solomons.net
> Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Should beginners work with WSL?

2022-02-06 Thread אורי
Hi,

I'm using git bash - by installing Git for Windows, I get a bash shell with
most of the commands I need from Linux, and I can run it also when not
related to git. For example diff, awk, etc.

Also if for some reason I need a real Linux machine, I can SSH to one of my
Ubuntu servers, and run my command remotely from there.

I never had a need to run a Linux app that is not a shell command on my
desktop.


אורי
u...@speedy.net


On Sun, Feb 6, 2022 at 11:44 AM Steve Litt 
wrote:

> אורי said on Sun, 6 Feb 2022 0
>
> >Personally I never used WSL, and I have been using Linux servers and
> >Windows desktops for more than 20 years.
>
> Being a huge POSIX fan, I'm sure I'd use it if I had Windows machines.
>
> Sorry how my  left to right settings garbled the reference to אורי . I
> tried to fix it and only made it worse.
>
> SteveT
>
> Steve Litt
> Spring 2021 featured book: Troubleshooting Techniques of the Successful
> Technologist http://www.troubleshooters.com/techniques
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Acronyms: was Should beginners work with WSL?

2022-02-06 Thread אורי
On Sun, Feb 6, 2022 at 5:32 PM Michael Tewner  wrote:

> After all of these emails, I still don't know what WSL is *shrug*
>

Just something like the KGB or DDT.
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Should beginners work with WSL?

2022-02-05 Thread אורי
Personally I never used WSL, and I have been using Linux servers and
Windows desktops for more than 20 years.

אורי
u...@speedy.net


On Sun, Feb 6, 2022 at 7:04 AM Shlomi Fish  wrote:

> Hi Michael!
>
> On Sun, Feb 6, 2022 at 5:22 AM Michael Shiloh
>  wrote:
> >
> > What is WSL?
> >
>
> See https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux ;
>
> https://www.shlomifish.org/philosophy/culture/case-for-commercial-fan-fiction/indiv-nodes/starved_of_employees.xhtml
> ; http://esr.ibiblio.org/?p=8764 .
>
> > On Sat, Feb 5, 2022 at 11:40 PM Shachar Shemesh 
> wrote:
> >>
> >> The context is a book I'm writing about introduction to Linux. I don't
> know exactly who will pick it up and what her reasons might be.
> >>
> >> On 05/02/2022 08:37, Yaacov Zamir wrote:
> >>
> >> Hi,
> >>
> >> Sorry for the off topic answer
> >> I was trying to think what I would recommend, and found that I would
> give different answers depending on the needs of the specific beginner.
> >> Do they want to try out the desktop environment, e.g. gnome KDE?
> >> Do they want to learn to be linux sys admins?
> >> Do they want to learn to program linux specific applications, drivers?
> >> Do they want to learn linux containers, virtulization?
> >> What type of beginner do you have in mind?
> >>
> >> בתאריך יום ו׳, 4 בפבר׳ 2022, 09:11 PM, מאת Shachar Shemesh ‏<
> shac...@shemesh.biz>:
> >>>
> >>> Title pretty much says it all. Should beginners on Linux be directed
> toward trying out WSL?
> >>>
> >>>
> >>> I have my own opinion, but I'd like to hear others as well.
> >>>
> >>>
> >>> Thank you,
> >>>
> >>> Shachar
> >>>
> >>> ___
> >>> Linux-il mailing list
> >>> Linux-il@cs.huji.ac.il
> >>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
> >>
> >>
> >> ___
> >> Linux-il mailing list
> >> Linux-il@cs.huji.ac.il
> >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
> >>
> >> ___
> >> Linux-il mailing list
> >> Linux-il@cs.huji.ac.il
> >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
> >
> > ___
> > Linux-il mailing list
> > Linux-il@cs.huji.ac.il
> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>
>
> --
> Shlomi Fish https://www.shlomifish.org/
>
> Chuck Norris was challenged to fight the world, and accepted. He bet
> on himself, won, and collected the bet money.
>
> Please reply to list if it's a mailing list post - http://shlom.in/reply .
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


mail.log

2022-01-17 Thread אורי
Hi,

I want to check mail.log for how many emails are sent every day. The format
of my mail.log is something like this:

Jan 17 08:49:23 www  (the rest of the log)

I'm running a command such as:

cat mail.log* |fgrep "status=sent (250 Ok"|awk '{print $1" "$2}'|sort
-n|uniq -c

And I receive the number of emails sent every day. But the date doesn't
contain the year, the months are sorted alphabetically and the line of Jan
17 comes before the line of Jan 2. I would like to sort the lines according
to the date order such as in -mm-dd and with including the year. How do
I do it?

אורי
u...@speedy.net
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: recover ssh-agent socket

2022-01-08 Thread אורי
Is there a reason not to restart?
אורי
u...@speedy.net


On Sat, Jan 8, 2022 at 11:07 AM Tzafrir Cohen  wrote:

> Hi,
>
> I accidentally deleted my ssh-agent's socket from /tmp. The agent is
> still running and I have $SSH_AGENT_PID and $SSH_AUTH_SOCK set in
> various processes, so I know where it should have been.
>
> Is there any way to recover the socket? Short of restarting the X
> session, of course.
>
> --
> mail / xmpp / matrix: tzaf...@cohens.org.il
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Python on Ubuntu 18.04.6 LTS

2022-01-03 Thread אורי
I apologize about the subject. Feel free to change it. The main post was
about almost crashing my computer with the command  _py -c
"print(2**64**3)".
אורי
u...@speedy.net


On Tue, Jan 4, 2022 at 8:01 AM Michael Shiloh 
wrote:

> Interesting discussion, but the subject seems quite wrong.
>
> ‪On Tue, Jan 4, 2022 at 9:32 AM ‫אורי‬‎  wrote:‬
>
>> From checking also powers of 3, I can't find more than c==5 (for 3**20
>> and 3**124).
>>
>> אורי
>> u...@speedy.net
>>
>>
>> ‪On Tue, Jan 4, 2022 at 7:24 AM ‫אורי‬‎  wrote:‬
>>
>>> Thank you, that's interesting. So all such numbers are divisible by 9. I
>>> didn't think about it.
>>>
>>> You might be interested in my related question:
>>>
>>> https://math.stackexchange.com/questions/4348279/what-is-the-highest-number-of-digits-so-that-this-number-of-digits-in-a-specific
>>>
>>> From checking about the first 50,000 powers of 2, I didn't find c more
>>> than 5, who actually appears only twice (c is the number of digits who
>>> appear exactly 10% of the time in the decimal form of a specific power of
>>> 2).
>>>
>>> אורי
>>> u...@speedy.net
>>>
>>>
>>> On Tue, Jan 4, 2022 at 6:53 AM Daniel Shahaf 
>>> wrote:
>>>
>>>> אורי wrote on Tue, 04 Jan 2022 04:07 +00:00:
>>>> > Are there powers of 2 which give exactly 10% of each of the digits 0
>>>> to 9 (in
>>>> > decimal form)?
>>>>
>>>> No, because then the sum of the digits would be a multiple of nine, so
>>>> the
>>>> number wouldn't be a power of two.
>>>>
>>> ___
>> Linux-il mailing list
>> Linux-il@cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Python on Ubuntu 18.04.6 LTS

2022-01-03 Thread אורי
>From checking also powers of 3, I can't find more than c==5 (for 3**20 and
3**124).

אורי
u...@speedy.net


‪On Tue, Jan 4, 2022 at 7:24 AM ‫אורי‬‎  wrote:‬

> Thank you, that's interesting. So all such numbers are divisible by 9. I
> didn't think about it.
>
> You might be interested in my related question:
>
> https://math.stackexchange.com/questions/4348279/what-is-the-highest-number-of-digits-so-that-this-number-of-digits-in-a-specific
>
> From checking about the first 50,000 powers of 2, I didn't find c more
> than 5, who actually appears only twice (c is the number of digits who
> appear exactly 10% of the time in the decimal form of a specific power of
> 2).
>
> אורי
> u...@speedy.net
>
>
> On Tue, Jan 4, 2022 at 6:53 AM Daniel Shahaf 
> wrote:
>
>> אורי wrote on Tue, 04 Jan 2022 04:07 +00:00:
>> > Are there powers of 2 which give exactly 10% of each of the digits 0 to
>> 9 (in
>> > decimal form)?
>>
>> No, because then the sum of the digits would be a multiple of nine, so the
>> number wouldn't be a power of two.
>>
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Python on Ubuntu 18.04.6 LTS

2022-01-03 Thread אורי
Thank you, that's interesting. So all such numbers are divisible by 9. I
didn't think about it.

You might be interested in my related question:
https://math.stackexchange.com/questions/4348279/what-is-the-highest-number-of-digits-so-that-this-number-of-digits-in-a-specific

>From checking about the first 50,000 powers of 2, I didn't find c more than
5, who actually appears only twice (c is the number of digits who appear
exactly 10% of the time in the decimal form of a specific power of 2).

אורי
u...@speedy.net


On Tue, Jan 4, 2022 at 6:53 AM Daniel Shahaf  wrote:

> אורי wrote on Tue, 04 Jan 2022 04:07 +00:00:
> > Are there powers of 2 which give exactly 10% of each of the digits 0 to
> 9 (in
> > decimal form)?
>
> No, because then the sum of the digits would be a multiple of nine, so the
> number wouldn't be a power of two.
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Python on Ubuntu 18.04.6 LTS

2022-01-03 Thread אורי
Hi,

/usr/bin/python is defined on my server as a link to the
deprecated python2.7, and I didn't want to break anything, so I
defined /usr/bin/_py as a link to python3.8. I wanted to check how many
bytes a giga and tera is, so I ran _py -c "print(1024**3)" and _py -c
"print(1024**4)". Then I checked  _py -c "print(2**64)" and I wanted to
check _py -c "print(2**64**3)", which I thought will be equal to  _py -c
"print(2**192)" (_py -c "print((2**64)**3)"), but no - this gave me a
number with 78914 digits and I'm glad it didn't crash my server (4 or 5 or
6 would have crashed it). Since when  2**64**3 is  2**(64**3) and not
(2**64)**3? Anyway I also checked 2**10**6 (==2**100) and I found out
that it contains exactly 10% digits of 6, and I even created a small
program to calculate the powers of 2 that give exactly 10% digits of 6. Are
there powers of 2 which give exactly 10% of each of the digits 0 to 9 (in
decimal form)?

for n in range(1, 10 ** 6 + 1):
a = 2 ** n
b = list(str(a))
s = sum([1 if i == "6" else 0 for i in b])
if (s * 10 == len(b)):
print(n, len(b), s)

Thanks,

אורי
u...@speedy.net
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Floppy disks at 2021?!

2021-12-26 Thread אורי
Maybe backup your files on the cloud - S3, Google Cloud, Linode. But also
there I don't know what will happen in 50 or 500 years.

אורי
u...@speedy.net


On Sun, Dec 26, 2021 at 11:03 AM  wrote:

> On Saturday, 25 December 2021 3:22:22 IST Steve Litt wrote:
> > said on Sat, 25 Dec 2021 03:13:54 +0200
> >
> > >Until this thread I didn't even know there was such a thing as 8"
> > >diskettes. My first computer was an Apple IIe with 5.25" diskettes
> > >(from 1983). I used 3.5" diskettes too and disk on key but today I
> > >hardly use even disk on keys, although I used one last week after more
> > >than a year of not using it. And of course CDs I don't use any more.
> > >My parents have stories of using punched cards when studying in the
> > >Technion (around 1970). But I still use hard disks, and I assume that
> > >everything we use today will be obsolete in the next 50 years or so.
> >
> > And this is one of the greatest challenges to long term backup and
> > archiving.
> >
>
> working long term backup that you do not need to update is a myth, both
> hard drives and cds die with time ( I had seen it few years ago when I was
> updating my archives to a newer media types).
> I had special db cases (bags?) and even then some of the cds had perished.
>
>
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Floppy disks at 2021?!

2021-12-24 Thread אורי
Until this thread I didn't even know there was such a thing as 8"
diskettes. My first computer was an Apple IIe with 5.25" diskettes (from
1983). I used 3.5" diskettes too and disk on key but today I hardly use
even disk on keys, although I used one last week after more than a year of
not using it. And of course CDs I don't use any more. My parents have
stories of using punched cards when studying in the Technion (around 1970).
But I still use hard disks, and I assume that everything we use today will
be obsolete in the next 50 years or so.
אורי
u...@speedy.net


On Sat, Dec 25, 2021 at 2:58 AM Steve Litt 
wrote:

> Omer Zak said on Fri, 24 Dec 2021 20:32:56 +0200
>
> >My friend, thankfully, has already progressed to the 1.44MB, 3.5"
> >diskettes era when the now-archeological PC was new.
> >No 5.25" diskettes.
> >No 8" diskettes.
>
> LOL, my first job in the computer industry was as a receptionist at one
> of those early computer stores that catered to business. CPM, hard
> disk, Wordstar, spreadsheet and Dbase. And 8 inch floppies.
>
> This was February or March of 1984, and we were still emerging from the
> 1982-83 recession, so in spite of the fact that in school I wrote a
> Cobol program that would take, as input, another Cobol program, and
> output a function decomposition diagram of the input, complete with
> branches, loops and procedure calls, nobody would hire me. So I became a
> receptionist in order to get a "computer job".
>
> Two months later I had a real job as a Pascal programmer (remember, bad
> economy, I took what I could), on PDP-11/23 with 5MB Winchester
> removeable drive and about 50 serial ports to drive serial terminals. I
> never saw an 8 inch floppy again.
>
> SteveT
>
> Steve Litt
> Spring 2021 featured book: Troubleshooting Techniques of the Successful
> Technologist http://www.troubleshooters.com/techniques
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Got an SPF report, am I reading this right?

2021-12-23 Thread אורי
Hi Daniel,

My copy to this list from Gmail:

Created at: Thu, Dec 23, 2021 at 4:49 PM (Delivered after 6 seconds)
From: אורי 
To: Ira Linux Abramov 
Subject: Re: Got an SPF report, am I reading this right?
DKIM: 'FAIL' with domain speedy-net.20210112.gappssmtp.com Learn more

My copy to another mailing list from Gmail:

DKIM: 'PASS' with domain googlegroups.com Learn more

אורי
u...@speedy.net


On Thu, Dec 23, 2021 at 11:03 PM Daniel Shahaf 
wrote:

> אורי wrote on Thu, 23 Dec 2021 14:49 +00:00:
> > I suggest that you use/create a Gmail account, send yourself mail the way
> > you usually send it and check the headers from there.
>
> I just did basically that.
>
> My copy of my post to this list a few minutes ago shows as dkim=fail
> on my end.  My copy of a post I made to another list a few minutes
> before that shows as dkim=pass on my end.  By "My copy" I mean the
> copy of the post I received through the list.  The two posts were sent
> the same way.
>
> I suspect the list's footer breaks the DKIM-Signature body hash (bh=)
> verification.
>
> Cheers,
>
> Daniel
>
> > For example if I
> > check a mail I receive from my server (sent automatically), I receive
> > the following messages:
> >
> > SPF: PASS with IP 69.169.224.10 Learn more
> > DKIM: 'PASS' with domain amazonses.com Learn more
> >
> > You may consider sending your mail via an external email provider, such
> as
> > Amazon SES. I use them and they are very reliable.
> >
> > Thanks,
> > אורי
> > u...@speedy.net
> >
> >
> > On Thu, Dec 23, 2021 at 4:01 PM Ira Linux Abramov <
> > lists-linux...@ira.abramov.org> wrote:
> >
> >> Hey gang,
> >>
> >> I have added SPF record for my domains about 2 years ago and kinda
> >> forgot about it. I get a lot of reports about spam received "from my
> >> domain" but not from my servers. almost 50% from google, and I assume
> >> that's because half the world in on gmail...
> >>
> >> however today I found a report from an Israeli domain for the first
> >> time, the OpenU server sent me the following report and I'm not happy
> >> about what I am reading here. if I read it correctly, someone at
> >> openu.ac.il got an email I sent through this list but it is rejected
> >> because the DKIM is broken. If that is true there is something wrong
> >> with the way the huji mail server is adding the sig at the bottom, or
> >> something else is breaking the message, which suggests using SPF records
> >> may be more harmful than helpful, plus the huji server is not configured
> >> correctly to prevent DKIM breakage.
> >>
> >> Anyone got insights?
> >>
> >> 
> >> 
> >>1.0
> >>
> >>  openu.ac.il
> >>  mailer-dae...@openu.ac.il
> >>  
> >>  8e1971$6c419ec=9144b8f822523...@openu.ac.il
> >>  
> >>1640124003
> >>1640210403
> >>  
> >>
> >>
> >>  ira.abramov.org
> >>  r
> >>  r
> >>  none
> >>  
> >>  100
> >>
> >>
> >>  
> >>132.65.116.210
> >>1
> >>
> >>  none
> >>  fail
> >>  fail
> >>
> >>  
> >>  
> >>ira.abramov.org
> >>cs.huji.ac.il
> >>  
> >>  
> >>
> >>  ira.abramov.org
> >>  dkim
> >>  permerror
> >>
> >>
> >>  cs.huji.ac.il
> >>  mfrom
> >>  none
> >>
> >>  
> >>
> >> 
> >>
> >> ___
> >> Linux-il mailing list
> >> Linux-il@cs.huji.ac.il
> >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
> >>
> >
> > ___
> > Linux-il mailing list
> > Linux-il@cs.huji.ac.il
> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Got an SPF report, am I reading this right?

2021-12-23 Thread אורי
Hi Ira,

When I check your message from speedy.net mail (powered by Google), I
receive the following messages:

SPF: PASS with IP 132.65.116.210 Learn more
DKIM: 'FAIL' with domain ira.abramov.org Learn more
DMARC: 'FAIL' Learn more

I suggest that you use/create a Gmail account, send yourself mail the way
you usually send it and check the headers from there. For example if I
check a mail I receive from my server (sent automatically), I receive
the following messages:

SPF: PASS with IP 69.169.224.10 Learn more
DKIM: 'PASS' with domain amazonses.com Learn more

You may consider sending your mail via an external email provider, such as
Amazon SES. I use them and they are very reliable.

Thanks,
אורי
u...@speedy.net


On Thu, Dec 23, 2021 at 4:01 PM Ira Linux Abramov <
lists-linux...@ira.abramov.org> wrote:

> Hey gang,
>
> I have added SPF record for my domains about 2 years ago and kinda
> forgot about it. I get a lot of reports about spam received "from my
> domain" but not from my servers. almost 50% from google, and I assume
> that's because half the world in on gmail...
>
> however today I found a report from an Israeli domain for the first
> time, the OpenU server sent me the following report and I'm not happy
> about what I am reading here. if I read it correctly, someone at
> openu.ac.il got an email I sent through this list but it is rejected
> because the DKIM is broken. If that is true there is something wrong
> with the way the huji mail server is adding the sig at the bottom, or
> something else is breaking the message, which suggests using SPF records
> may be more harmful than helpful, plus the huji server is not configured
> correctly to prevent DKIM breakage.
>
> Anyone got insights?
>
> 
> 
>1.0
>
>  openu.ac.il
>  mailer-dae...@openu.ac.il
>  
>  8e1971$6c419ec=9144b8f822523...@openu.ac.il
>  
>1640124003
>1640210403
>  
>
>
>  ira.abramov.org
>  r
>  r
>  none
>  
>  100
>
>
>  
>132.65.116.210
>1
>
>  none
>  fail
>  fail
>
>  
>  
>ira.abramov.org
>cs.huji.ac.il
>  
>  
>
>  ira.abramov.org
>  dkim
>  permerror
>
>
>  cs.huji.ac.il
>  mfrom
>  none
>
>  
>
> 
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: diff

2021-12-14 Thread אורי
comm -3 works here.
אורי
u...@speedy.net


On Tue, Dec 14, 2021 at 6:45 PM Daniel Shahaf 
wrote:

> אורי wrote on Tue, 14 Dec 2021 15:32 +00:00:
> > אורי
> > u...@speedy.net
> >
> >
> > On Tue, Dec 14, 2021 at 5:22 PM Daniel Shahaf 
> > wrote:
> >
> >> אורי wrote on Tue, 14 Dec 2021 07:44 +00:00:
> >> > Actually I prefer the "<(..)" method, because sometimes I want to
> >> compare 2
> >> > commands:
> >> >
> >> > diff <(pip freeze | sort) <(cat requirements.txt | sort)
> >> >
> >>
> >> Consider s/diff/comm -12/.
> >>
> >
> > ???
>
> s/foo/bar/ means "change foo to bar".  In this case, I was referring you
> to comm(1).  Your use-case there is right up comm(1)'s alley.
>
> «-12» is an argument to to comm(1).
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: diff

2021-12-14 Thread אורי
אורי
u...@speedy.net


On Tue, Dec 14, 2021 at 5:22 PM Daniel Shahaf 
wrote:

> אורי wrote on Tue, 14 Dec 2021 07:44 +00:00:
> > Actually I prefer the "<(..)" method, because sometimes I want to
> compare 2
> > commands:
> >
> > diff <(pip freeze | sort) <(cat requirements.txt | sort)
> >
>
> Consider s/diff/comm -12/.
>

???


>
> > Or even use cat and echo to add a specific line to one of the outputs.
> If I
> > want the result to be completely null. For example to run in crontab and
> > send me mail whether it's not null.
>
> Careful here.  By default, cron jobs run not under your login shell but
> under /bin/sh, and it's possible the latter doesn't support «<(…)» even
> if the former does.
>

Yes, I changed crontabs to bash today.

אורי
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: diff

2021-12-13 Thread אורי
Hi,

Actually I prefer the "<(..)" method, because sometimes I want to compare 2
commands:

diff <(pip freeze | sort) <(cat requirements.txt | sort)

Or even use cat and echo to add a specific line to one of the outputs. If I
want the result to be completely null. For example to run in crontab and
send me mail whether it's not null.

אורי
u...@speedy.net


On Tue, Dec 14, 2021 at 9:31 AM Eli Marmor  wrote:

> Use "-" instead the file name of one of both of the files, and pipe your
> output to the diff command.
>
> ‪On Tue, 14 Dec 2021 at 09:12, ‫אורי‬‎  wrote:‬
>
>> Thank you.
>>
>> אורי
>> u...@speedy.net
>> ___
>> Linux-il mailing list
>> Linux-il@cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: diff

2021-12-13 Thread אורי
Thank you.

אורי
u...@speedy.net
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


diff

2021-12-13 Thread אורי
Hi,

I want to run diff on the output of a command (pip freeze), and compare it
to a file, but without saving the command output to a file. How do I do it?

I tried "diff $(pip freeze) requirements.txt" but it doesn't work.

Thanks,
אורי
u...@speedy.net
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Telegram - locale error

2021-12-03 Thread אורי
Try Telegram web. Or telegram on your mobile phone.

אורי
u...@speedy.net


On Fri, Dec 3, 2021 at 12:34 PM Shlomo Solomon 
wrote:

> Already tried that and it did not work.
>
> The truth is that I don't even use Telegram, but when I heard it runs
> on Linux, I thought it would be fun to try.
>
> But it's not worth the time I've wasted on it, so I'm giving up.
>
> Thanks for your help.
>
>
>
> On Fri, 03 Dec 2021 12:25:29 +0200
> borissh1...@gmail.com wrote:
>
> > 1. KDE (and qt) has another level of language config that is loaded
> > (system settings -> Regional settings -> Format) , try disabling it.
> > 2. your error look like a seccomp violation error.
> >
> >
> >
> > On Thursday, 2 December 2021 13:37:12 IST Shlomo Solomon wrote:
> > > I installed telegram from snap
> > > - sudo snap install telegram-desktop
> > >
> > > When I try running telegram from the KDE menu, nothing happens, but
> > > running dmesg shows:
> > >
> > > [2416340.605905] audit: type=1326 audit(1638444718.942:4956):
> > > auid=500 uid=500 gid=500 ses=1 pid=1860346 comm="telegram-deskto"
> > > exe="/snap/telegram-desktop/3343/usr/bin/telegram-desktop" sig=0
> > > arch=c03e syscall=314 compat=0 ip=0x7f599ed3189d code=0x5
> > >
> > >
> > > when I try running from a terminal, I see the same thing in dmesg
> > > and also get the following in the terminal:
> > >
> > > /bin/bash: warning: setlocale: LC_ALL: cannot change locale
> > > (en_US.UTF-8)
> > >
> > >
> > > I don't see any problems with my locale, but maybe I'm missing
> > > something:
> > >
> > > solomon@shlomo1:~$ locale
> > > LANG=en_US.UTF-8
> > > LANGUAGE=en_US.UTF-8
> > > LC_CTYPE="en_US.UTF-8"
> > > LC_NUMERIC="en_US.UTF-8"
> > > LC_TIME="en_US.UTF-8"
> > > LC_COLLATE="en_US.UTF-8"
> > > LC_MONETARY="en_US.UTF-8"
> > > LC_MESSAGES="en_US.UTF-8"
> > > LC_PAPER="en_US.UTF-8"
> > > LC_NAME="en_US.UTF-8"
> > > LC_ADDRESS="en_US.UTF-8"
> > > LC_TELEPHONE="en_US.UTF-8"
> > > LC_MEASUREMENT="en_US.UTF-8"
> > > LC_IDENTIFICATION="en_US.UTF-8"
> > > LC_ALL=en_US.UTF-8
> > >
> > > Any help would be appreciated.
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
> --
> Shlomo Solomon
> http://the-solomons.net
> Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Hebrew with putty

2021-09-30 Thread אורי
Hi Michael,

Did you use putty then?

אורי
u...@speedy.net


On Thu, Sep 30, 2021 at 12:07 PM Michael Shiloh 
wrote:

> This is very interesting. A while ago I was looking at something in Hebrew
> (I can't remember if it was a website or email) and I realized that the
> phone numbers were reversed. I'll bet they had the same bug you are talking
> about.
>
> Now if only I could remember what that was 
>
> ‪On Thu, Sep 30, 2021 at 11:45 AM ‫אורי‬‎  wrote:‬
>
>> Hi,
>>
>> I realized it is probably a bug in putty, so I wrote to
>> pu...@projects.tartarus.org and got a reply.
>>
>> https://www.chiark.greenend.org.uk/~sgtatham/putty/feedback.html
>>
>> However the putty developers might need help to fix it as they are not
>> RTL-language speaking themselves, so if you know how to do it you can write
>> to them or send them a patch of the source code. I tried to look at the
>> putty source code myself but it looks complicated and I don't know how to
>> fix this bug for myself. There is an option to disable bidirectional text
>> display in putty, but then the Hebrew text is reversed too.
>>
>> אורי
>> u...@speedy.net
>>
>>
>> ‪On Thu, Sep 30, 2021 at 7:10 AM ‫אורי‬‎  wrote:‬
>>
>>> Hi,
>>>
>>> I'm using bash on Ubuntu. I run a command to check how many times each
>>> lines appear. My command is something like:
>>>
>>> $ cat /var/log/django/speedy.log*|fgrep -i send_mail|fgrep
>>> 'subject="'|fgrep -v uri+selenium-test-user|awk -F\, '{print
>>> $(NF-1)","$NF}'|sort|uniq -c|sort -nr|fgrep -v
>>> email/contact_by_form/admin_feedback
>>>
>>> And the results are:
>>>
>>> ...
>>>  96  template_name_prefix=email/messages/new_message, subject="You
>>> have a new message on Speedy Net"
>>>  39  template_name_prefix=email/messages/new_message, subject="יש לך
>>> הודעה חדשה בספידי מץ'"
>>>  22  template_name_prefix=email/accounts/confirm_first_email,
>>> subject="אמת את כתובת הדואר האלקטרוני שלך בספידי מץ'"
>>>  15  template_name_prefix=email/accounts/confirm_second_email,
>>> subject="Confirm your email address on Speedy Net"
>>>  10  template_name_prefix=email/likes/like, subject="מישהו עשה לך
>>> לייק בספידי מץ'"
>>>   7  template_name_prefix=email/accounts/confirm_first_email,
>>> subject="אמתי את כתובת הדואר האלקטרוני שלך בספידי מץ'"
>>>   6  template_name_prefix=email/accounts/password_reset,
>>> subject="Password reset on Speedy Net"
>>> ...
>>>
>>> (I only showed a few lines in the middle).
>>>
>>> I do it with putty SSH, but when I view it with putty, I see "01" where
>>> "10" should be, and "93" where "39" should be (see screenshot attached). I
>>> think this is because the rest of the line is in Hebrew. Why does it show
>>> "01" and "93" and how can I fix it, if I can?
>>>
>>> Thanks,
>>>
>>>
>>> אורי
>>> u...@speedy.net
>>>
>> ___
>> Linux-il mailing list
>> Linux-il@cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Hebrew with putty

2021-09-30 Thread אורי
Hi,

I realized it is probably a bug in putty, so I wrote to
pu...@projects.tartarus.org and got a reply.

https://www.chiark.greenend.org.uk/~sgtatham/putty/feedback.html

However the putty developers might need help to fix it as they are not
RTL-language speaking themselves, so if you know how to do it you can write
to them or send them a patch of the source code. I tried to look at the
putty source code myself but it looks complicated and I don't know how to
fix this bug for myself. There is an option to disable bidirectional text
display in putty, but then the Hebrew text is reversed too.

אורי
u...@speedy.net


‪On Thu, Sep 30, 2021 at 7:10 AM ‫אורי‬‎  wrote:‬

> Hi,
>
> I'm using bash on Ubuntu. I run a command to check how many times each
> lines appear. My command is something like:
>
> $ cat /var/log/django/speedy.log*|fgrep -i send_mail|fgrep
> 'subject="'|fgrep -v uri+selenium-test-user|awk -F\, '{print
> $(NF-1)","$NF}'|sort|uniq -c|sort -nr|fgrep -v
> email/contact_by_form/admin_feedback
>
> And the results are:
>
> ...
>  96  template_name_prefix=email/messages/new_message, subject="You
> have a new message on Speedy Net"
>  39  template_name_prefix=email/messages/new_message, subject="יש לך
> הודעה חדשה בספידי מץ'"
>  22  template_name_prefix=email/accounts/confirm_first_email,
> subject="אמת את כתובת הדואר האלקטרוני שלך בספידי מץ'"
>  15  template_name_prefix=email/accounts/confirm_second_email,
> subject="Confirm your email address on Speedy Net"
>  10  template_name_prefix=email/likes/like, subject="מישהו עשה לך לייק
> בספידי מץ'"
>   7  template_name_prefix=email/accounts/confirm_first_email,
> subject="אמתי את כתובת הדואר האלקטרוני שלך בספידי מץ'"
>   6  template_name_prefix=email/accounts/password_reset,
> subject="Password reset on Speedy Net"
> ...
>
> (I only showed a few lines in the middle).
>
> I do it with putty SSH, but when I view it with putty, I see "01" where
> "10" should be, and "93" where "39" should be (see screenshot attached). I
> think this is because the rest of the line is in Hebrew. Why does it show
> "01" and "93" and how can I fix it, if I can?
>
> Thanks,
>
>
> אורי
> u...@speedy.net
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Hebrew with putty

2021-09-29 Thread אורי
Hi,

I'm using bash on Ubuntu. I run a command to check how many times each
lines appear. My command is something like:

$ cat /var/log/django/speedy.log*|fgrep -i send_mail|fgrep
'subject="'|fgrep -v uri+selenium-test-user|awk -F\, '{print
$(NF-1)","$NF}'|sort|uniq -c|sort -nr|fgrep -v
email/contact_by_form/admin_feedback

And the results are:

...
 96  template_name_prefix=email/messages/new_message, subject="You have
a new message on Speedy Net"
 39  template_name_prefix=email/messages/new_message, subject="יש לך
הודעה חדשה בספידי מץ'"
 22  template_name_prefix=email/accounts/confirm_first_email,
subject="אמת את כתובת הדואר האלקטרוני שלך בספידי מץ'"
 15  template_name_prefix=email/accounts/confirm_second_email,
subject="Confirm your email address on Speedy Net"
 10  template_name_prefix=email/likes/like, subject="מישהו עשה לך לייק
בספידי מץ'"
  7  template_name_prefix=email/accounts/confirm_first_email,
subject="אמתי את כתובת הדואר האלקטרוני שלך בספידי מץ'"
  6  template_name_prefix=email/accounts/password_reset,
subject="Password reset on Speedy Net"
...

(I only showed a few lines in the middle).

I do it with putty SSH, but when I view it with putty, I see "01" where
"10" should be, and "93" where "39" should be (see screenshot attached). I
think this is because the rest of the line is in Hebrew. Why does it show
"01" and "93" and how can I fix it, if I can?

Thanks,


אורי
u...@speedy.net
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Python and Ubuntu versions

2021-07-25 Thread אורי
Thank you.
אורי
u...@speedy.net


On Fri, Jul 23, 2021 at 4:29 PM Rami Krankurs  wrote:

> You can download it's source compile and install wherever you want in your
> system.
> Then refer your django to it.
>
> On Fri, Jul 23, 2021, 05:53 אורי  wrote:
>
>> Hi,
>>
>> I have a production server with Ubuntu 18.04 LTS (currently upgraded
>> to Ubuntu 18.04.5 LTS) and I use Python in virtualenv - currently Python
>> 3.6.9. I'm using Django and I read that from Django 4.0, a minimal version
>> of Python 3.8 will be required. I would like to know how I use the latest
>> version of Python (3.10 or 3.9) with my production server - do I have to
>> reinstall a new server with the latest Ubuntu LTS version? Or do I have to
>> upgrade my current server's Ubuntu version by upgrading the same machine?
>> Or should I keep the Ubuntu version and only upgrade Python? I'm also using
>> other software such as PostgreSQL which is currently psql (PostgreSQL)
>> 10.17 (Ubuntu 10.17-0ubuntu0.18.04.1). Should I upgrade this too? And what
>> is the risk that things will not work after I upgrade this?
>>
>> Thanks,
>> אורי
>> u...@speedy.net
>> ___
>> Linux-il mailing list
>> Linux-il@cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Python and Ubuntu versions

2021-07-22 Thread אורי
Hi,

I have a production server with Ubuntu 18.04 LTS (currently upgraded
to Ubuntu 18.04.5 LTS) and I use Python in virtualenv - currently Python
3.6.9. I'm using Django and I read that from Django 4.0, a minimal version
of Python 3.8 will be required. I would like to know how I use the latest
version of Python (3.10 or 3.9) with my production server - do I have to
reinstall a new server with the latest Ubuntu LTS version? Or do I have to
upgrade my current server's Ubuntu version by upgrading the same machine?
Or should I keep the Ubuntu version and only upgrade Python? I'm also using
other software such as PostgreSQL which is currently psql (PostgreSQL)
10.17 (Ubuntu 10.17-0ubuntu0.18.04.1). Should I upgrade this too? And what
is the risk that things will not work after I upgrade this?

Thanks,
אורי
u...@speedy.net
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Copy-Paste from Firefox 88.0.1 not working properly on Ubuntu 21.04 (Hirsute Hippo)

2021-05-18 Thread אורי
Why not use Chrome?
אורי
u...@speedy.net


On Tue, May 18, 2021 at 8:44 AM Gabor Szabo  wrote:

> Hi,
>
> A few days ago I  upgraded from 20.10 to 21.04. Since then I have problems
> with Copy-paste. At first it seemed to be randomly not working, but after
> some experimentation I think it does not work when I try to Copy from
> Firefox to anything else which is not Firefox.
>
> (And to be even stranger it seems to work sometimes from Firefox to other
> apps as well, but only a few times and then it stops working.)
>
> I also posted it on AskUbuntu, but so far no good responses.
>
>
> https://askubuntu.com/questions/1338970/copy-paste-from-firefox-88-0-1-not-working-properly-on-ubuntu-21-04-hirsute-hip
>
> Have any of you encountered it?
> Do you have a similar environment and it works for you?
>
> Gabor
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Mail blocked by Google

2021-05-16 Thread אורי
Thank you.

אורי
u...@speedy.net
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Mail blocked by Google

2021-05-15 Thread אורי
Hi,

I have an Ubuntu server which sends mail to me daily, and until recently I
received the mail without problems. But recently, mail from the server to
my email address (which is powered by Google) is blocked with the following
error messages:

May 16 04:00:01 www postfix/smtp[1364]: 79264BD01C: to=<
webmaster+root-cron...@speedy.net>, relay=aspmx.l.google.com[142.250.27.27]:25,
delay=0.13, delays=0.02/0.01/0.02/0.07, dsn=5.7.1, status=bounced (host
aspmx.l.google.com[142.250.27.27] said: 550-5.7.1 [157.245.76.159  18]
Our system has detected that this message is 550-5.7.1 likely suspicious
due to the very low reputation of the sending IP 550-5.7.1 address. To best
protect our users from spam, the message has been 550-5.7.1 blocked. Please
visit 550 5.7.1  https://support.google.com/mail/answer/188131 for more
information. bo27si207201edb.287 - gsmtp (in reply to end of DATA command))

The IP of the server is 157.245.76.159, the sender is
r...@www.speedypedia.info and SPF is defined. Is there a way to receive
mail from this server, without using another SMTP server to send mail? This
server only sends mail to myself and I never marked it as spam.

Thanks,

אורי
u...@speedy.net
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Error running shared postrotate script for mysql

2020-06-20 Thread אורי
Hi,

I think I found the problem according to
https://serverfault.com/questions/325171/debian-mysql-error-running-shared-postrotate-script-for-var-log-mysql-log
:

My password for user debian-sys-maint was not correct. I updated the
password with:

update user set authentication_string=password("") where
user="debian-sys-maint";

אורי
u...@speedy.net


‪On Sun, Jun 21, 2020 at 7:37 AM ‫אורי‬‎  wrote:‬

> Hi,
>
> I installed a new Ubuntu 18.04 server with mysql, and I receive the
> following error by email daily:
>
>
>
>
>
>
> *Cron  test -x /usr/sbin/anacron || ( cd / && run-parts --report
> /etc/cron.daily )/etc/cron.daily/logrotate:error: error running shared
> postrotate script for '/var/log/mysql.log /var/log/mysql/*log 'run-parts:
> /etc/cron.daily/logrotate exited with return code 1*
> How can I fix this error?
> תודה,
> אורי
> u...@speedy.net
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Error running shared postrotate script for mysql

2020-06-20 Thread אורי
Hi,

I installed a new Ubuntu 18.04 server with mysql, and I receive the
following error by email daily:






*Cron  test -x /usr/sbin/anacron || ( cd / && run-parts --report
/etc/cron.daily )/etc/cron.daily/logrotate:error: error running shared
postrotate script for '/var/log/mysql.log /var/log/mysql/*log 'run-parts:
/etc/cron.daily/logrotate exited with return code 1*
How can I fix this error?
תודה,
אורי
u...@speedy.net
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: certbot version conflict

2020-06-16 Thread אורי
Thank you, I removed them with dpkg.
אורי
u...@speedy.net


On Tue, Jun 16, 2020 at 10:33 PM Geoff Shang  wrote:

> On Tue, 16 Jun 2020, אורי wrote:
>
> >raise VersionConflict(dist, req).with_context(dependent_req)
> > pkg_resources.VersionConflict: (certbot 0.31.0
> > (/usr/lib/python3/dist-packages), Requirement.parse('certbot>=1.1.0'))
>
> My guess is that you installed Certbot both from the Python Package
> repository and also from an Ubuntu package repository.
>
> You should install a Python package one way or the other, not both.
> Otherwise you will get problems like this.
>
> If you run:
>
> dpkg -s python3-certbot
>
> or similar (try 'dpkg --get-selections |grep certbot' if you can't find
> the package).
>
> I would recommend removing the Ubuntu package if you are working with a
> package installed via pip.
>
> BTW: randomly deleting directories is generally not a good idea,
> particularly if you have installed from a package.  All packages provide a
> method to remove it, even programs compiled from source will usually have
> the ability to "make uninstall".
>
> Geoff.
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: certbot version conflict

2020-06-16 Thread אורי
Hi,

I removed these directories and reinstalled with pip3. I hope it works now.
אורי
u...@speedy.net


‪On Tue, Jun 16, 2020 at 4:06 PM ‫אורי‬‎  wrote:‬

> Hi,
>
> I installed certbot with pip3 on an Ubuntu 18.04 server:
>
> # pip3 freeze|grep -i certbot
> certbot==1.5.0
> certbot-apache==1.5.0
> certbot-dns-digitalocean==1.5.0
>
> But when running `certbot renew` with crontab, I receive the following
> error message:
>
> 2020-06-16 14:42:01,556:DEBUG:certbot.log:Exiting abnormally:
> Traceback (most recent call last):
>   File "/usr/bin/certbot", line 11, in 
> load_entry_point('certbot==0.31.0', 'console_scripts', 'certbot')()
>   File "/usr/lib/python3/dist-packages/certbot/main.py", line 1335, in main
> plugins = plugins_disco.PluginsRegistry.find_all()
>   File "/usr/lib/python3/dist-packages/certbot/plugins/disco.py", line
> 206, in find_all
> plugin_ep = PluginEntryPoint(entry_point)
>   File "/usr/lib/python3/dist-packages/certbot/plugins/disco.py", line 52,
> in __init__
> self.plugin_cls = entry_point.load()
>   File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py",
> line 2461, in load
> self.require(*args, **kwargs)
>   File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py",
> line 2484, in require
> items = working_set.resolve(reqs, env, installer, extras=self.extras)
>   File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py",
> line 792, in resolve
> raise VersionConflict(dist, req).with_context(dependent_req)
> pkg_resources.VersionConflict: (certbot 0.31.0
> (/usr/lib/python3/dist-packages), Requirement.parse('certbot>=1.1.0'))
> 2020-06-16 14:42:01,556:ERROR:certbot.log:An unexpected error occurred:
>
> I ran `ls -l /usr/lib/python3/dist-packages|grep certbot` and received the
> following output:
> drwxr-xr-x  6 root root   4096 Jun 16 05:36 certbot
> drwxr-xr-x  2 root root   4096 Jun 16 05:36 certbot-0.31.0.egg-info
> drwxr-xr-x  5 root root   4096 Jun 16 05:36 certbot_apache
> drwxr-xr-x  2 root root   4096 Jun 16 05:36 certbot_apache-0.31.0.egg-info
> drwxr-xr-x  3 root root   4096 Jun 16 05:47 certbot_dns_digitalocean
> drwxr-xr-x  2 root root   4096 Jun 16 05:47
> certbot_dns_digitalocean-0.23.0.egg-info
>
> What did I do wrong and how do I fix it?
>
> תודה,
> אורי
> u...@speedy.net
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


certbot version conflict

2020-06-16 Thread אורי
Hi,

I installed certbot with pip3 on an Ubuntu 18.04 server:

# pip3 freeze|grep -i certbot
certbot==1.5.0
certbot-apache==1.5.0
certbot-dns-digitalocean==1.5.0

But when running `certbot renew` with crontab, I receive the following
error message:

2020-06-16 14:42:01,556:DEBUG:certbot.log:Exiting abnormally:
Traceback (most recent call last):
  File "/usr/bin/certbot", line 11, in 
load_entry_point('certbot==0.31.0', 'console_scripts', 'certbot')()
  File "/usr/lib/python3/dist-packages/certbot/main.py", line 1335, in main
plugins = plugins_disco.PluginsRegistry.find_all()
  File "/usr/lib/python3/dist-packages/certbot/plugins/disco.py", line 206,
in find_all
plugin_ep = PluginEntryPoint(entry_point)
  File "/usr/lib/python3/dist-packages/certbot/plugins/disco.py", line 52,
in __init__
self.plugin_cls = entry_point.load()
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py",
line 2461, in load
self.require(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py",
line 2484, in require
items = working_set.resolve(reqs, env, installer, extras=self.extras)
  File "/usr/local/lib/python3.6/dist-packages/pkg_resources/__init__.py",
line 792, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.VersionConflict: (certbot 0.31.0
(/usr/lib/python3/dist-packages), Requirement.parse('certbot>=1.1.0'))
2020-06-16 14:42:01,556:ERROR:certbot.log:An unexpected error occurred:

I ran `ls -l /usr/lib/python3/dist-packages|grep certbot` and received the
following output:
drwxr-xr-x  6 root root   4096 Jun 16 05:36 certbot
drwxr-xr-x  2 root root   4096 Jun 16 05:36 certbot-0.31.0.egg-info
drwxr-xr-x  5 root root   4096 Jun 16 05:36 certbot_apache
drwxr-xr-x  2 root root   4096 Jun 16 05:36 certbot_apache-0.31.0.egg-info
drwxr-xr-x  3 root root   4096 Jun 16 05:47 certbot_dns_digitalocean
drwxr-xr-x  2 root root   4096 Jun 16 05:47
certbot_dns_digitalocean-0.23.0.egg-info

What did I do wrong and how do I fix it?

תודה,
אורי
u...@speedy.net
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Letsencrypt certbot auto-renew not working

2020-06-14 Thread אורי
Hi,

I have 4 servers with Letsencrypt HTTPS certificates which should renew
with certbot. They were created with user `ubuntu` with the
flags --dns-route53, --dns-digitalocean and --dns-digitalocean-credentials
respectively. When I installed certbot, a file /etc/cron.d/certbot was
created:

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

0 */12 * * * root test -x /usr/bin/certbot -a \! -d /run/systemd/system &&
perl -e 'sleep int(rand(43200))' && certbot -q renew

But, I think it runs from root, and the credentials for these flags expect
user ubuntu. And I checked, they are not automatically renewed (except one
certificate which was created without these flags). How do I configure
these certificates to renew automatically?

To renew them manually, I can run `sudo certbot renew` from user ubuntu,
and then type the password.


אורי
u...@speedy.net
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Upgrade Ubuntu Linux kernel

2020-06-12 Thread אורי
Hi,

It's a cloud server located in Amsterdam, and I can connect only with SSH.

אורי
u...@speedy.net


‪On Fri, Jun 12, 2020 at 10:27 AM ‫אורי‬‎  wrote:‬

> Hi,
>
> I followed the steps on this website:
>
> http://www.yourownlinux.com/2018/12/how-to-install-linux-kernel-4-15-0.html
>
>
> # cd /tmp
>
> # wget
> http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15/linux-headers-4.15.0-041500_4.15.0-041500.201802011154_all.deb
>
> # wget
> http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15/linux-headers-4.15.0-041500-generic_4.15.0-041500.201802011154_amd64.deb
>
> # wget
> http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15/linux-image-4.15.0-041500-generic_4.15.0-041500.201802011154_amd64.deb
>
> # sudo dpkg -i linux-headers-4.15.0*.deb linux-image-4.15.0*.deb
>
> # sudo reboot
>
> And then:
>
> # uname -r
> 3.13.0-52-generic
>
> And the kernel version is still 3.13.0.
>
> How do I upgrade to 4.15.0?
>
> אורי
> u...@speedy.net
>
>
> ‪On Fri, Jun 12, 2020 at 9:23 AM ‫אורי‬‎  wrote:‬
>
>> Hi,
>>
>> I want to upgrade my Ubuntu Linux kernel from 3.13.0-52-generic
>> to 4.15.0-106-generic. How do I do it? I searched on Google and found a few
>> websites, but it doesn't work - I get error messages:
>>
>> https://linuxhint.com/upgrade-kernel-ubuntu-1804/
>>
>> # sudo apt-get install ukuu
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> E: Unable to locate package ukuu
>>
>>
>> http://ubuntuhandbook.org/index.php/2018/01/install-linux-kernel-4-15-in-ubuntu-linux-mint/
>>
>> root@www:/tmp# wget
>> http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15/linux-headers-4.15.0-041500_4.15.0-041500.201801282230_all.deb
>> URL transformed to HTTPS due to an HSTS policy
>> --2020-06-12 08:19:53--
>> https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15/linux-headers-4.15.0-041500_4.15.0-041500.201801282230_all.deb
>> Resolving kernel.ubuntu.com (kernel.ubuntu.com)... 91.189.94.216
>> Connecting to kernel.ubuntu.com (kernel.ubuntu.com)|91.189.94.216|:443...
>> connected.
>> HTTP request sent, awaiting response... 404 Not Found
>> 2020-06-12 08:19:53 ERROR 404: Not Found.
>>
>> Thanks,
>> Uri.
>>
>> אורי
>> u...@speedy.net
>>
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Upgrade Ubuntu Linux kernel

2020-06-12 Thread אורי
Hi,

I followed the steps on this website:

http://www.yourownlinux.com/2018/12/how-to-install-linux-kernel-4-15-0.html

# cd /tmp

# wget
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15/linux-headers-4.15.0-041500_4.15.0-041500.201802011154_all.deb

# wget
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15/linux-headers-4.15.0-041500-generic_4.15.0-041500.201802011154_amd64.deb

# wget
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15/linux-image-4.15.0-041500-generic_4.15.0-041500.201802011154_amd64.deb

# sudo dpkg -i linux-headers-4.15.0*.deb linux-image-4.15.0*.deb

# sudo reboot

And then:

# uname -r
3.13.0-52-generic

And the kernel version is still 3.13.0.

How do I upgrade to 4.15.0?

אורי
u...@speedy.net


‪On Fri, Jun 12, 2020 at 9:23 AM ‫אורי‬‎  wrote:‬

> Hi,
>
> I want to upgrade my Ubuntu Linux kernel from 3.13.0-52-generic
> to 4.15.0-106-generic. How do I do it? I searched on Google and found a few
> websites, but it doesn't work - I get error messages:
>
> https://linuxhint.com/upgrade-kernel-ubuntu-1804/
>
> # sudo apt-get install ukuu
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> E: Unable to locate package ukuu
>
>
> http://ubuntuhandbook.org/index.php/2018/01/install-linux-kernel-4-15-in-ubuntu-linux-mint/
>
> root@www:/tmp# wget
> http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15/linux-headers-4.15.0-041500_4.15.0-041500.201801282230_all.deb
> URL transformed to HTTPS due to an HSTS policy
> --2020-06-12 08:19:53--
> https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15/linux-headers-4.15.0-041500_4.15.0-041500.201801282230_all.deb
> Resolving kernel.ubuntu.com (kernel.ubuntu.com)... 91.189.94.216
> Connecting to kernel.ubuntu.com (kernel.ubuntu.com)|91.189.94.216|:443...
> connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2020-06-12 08:19:53 ERROR 404: Not Found.
>
> Thanks,
> Uri.
>
> אורי
> u...@speedy.net
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Upgrade Ubuntu Linux kernel

2020-06-12 Thread אורי
Hi,

I want to upgrade my Ubuntu Linux kernel from 3.13.0-52-generic
to 4.15.0-106-generic. How do I do it? I searched on Google and found a few
websites, but it doesn't work - I get error messages:

https://linuxhint.com/upgrade-kernel-ubuntu-1804/

# sudo apt-get install ukuu
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ukuu

http://ubuntuhandbook.org/index.php/2018/01/install-linux-kernel-4-15-in-ubuntu-linux-mint/

root@www:/tmp# wget
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15/linux-headers-4.15.0-041500_4.15.0-041500.201801282230_all.deb
URL transformed to HTTPS due to an HSTS policy
--2020-06-12 08:19:53--
https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15/linux-headers-4.15.0-041500_4.15.0-041500.201801282230_all.deb
Resolving kernel.ubuntu.com (kernel.ubuntu.com)... 91.189.94.216
Connecting to kernel.ubuntu.com (kernel.ubuntu.com)|91.189.94.216|:443...
connected.
HTTP request sent, awaiting response... 404 Not Found
2020-06-12 08:19:53 ERROR 404: Not Found.

Thanks,
Uri.

אורי
u...@speedy.net
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


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 update
sudo apt upgrade
sudo apt dist-upgrade
sudo apt autoremove
sudo apt autoclean

I checked again now, after rebooting the servers, and this server's apache
still doesn't work after rebooting, as you expected. But at least I don't
get this apt error messages any more. I'm still looking for the reason why
this server's apache and mysql don't restart after a reboot.

אורי
u...@speedy.net


On Thu, Jun 11, 2020 at 5:33 PM Geoff Shang  wrote:

> 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 repository 'http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu
> > bionic InRelease' is no longer signed.
> > N: Updating from such a repository can't be done securely, and is
> therefore
> > disabled by default.
> > N: See apt-secure(8) manpage for repository creation and user
> configuration
> > details.
> >
> > Do you know how to fix this issue?
>
> Firstly, this is just failing to get an updated list of packages from this
> repository.  The existing version, if there is one, will still be
> installed, so it shouldn't actually be breaking anything.
>
> Having said that, a quick search says that Ubuntu 18.04 ships with Python
> 3.6.8, so there should be no need to get it from an external repository
> which appears not to function correctly anymore anyway.
>
> The entry for this repository is either in /etc/apt/sources.list or in a
> file in /etc/apt/sources.list.d.
>
> Remove the line or lines which reference it from the file it appears in.
> If it's in a file in /etc/apt/sources.list.d and there are no other
> repositories listed, you can delete the file.
>
> This will stop the complaints.
>
> Note: I've not used Ubuntu in awhile.  This is assuming that they are
> still doing what Debian does.
>
> Cheers,
> Geoff.
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


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 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu bionic InRelease
  403  Forbidden [IP: 91.189.95.83 80]
Hit:5 http://mirrors.digitalocean.com/ubuntu bionic InRelease
Hit:6 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
Hit:7 http://mirrors.digitalocean.com/ubuntu bionic-updates InRelease
Reading package lists... Done
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 repository 'http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu
bionic InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore
disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration
details.

Do you know how to fix this issue?

It is worth mentioning that this server used to be Ubuntu 14.04, and now
it's 18.04.4. I did upgrade its OS. All the other servers of mine, where I
didn't have problems, are originally 18.04.

I can, in theory, deploy a new server from scratch, but if I can fix the
current server in less effort, I prefer. Even if I deploy a new server, I
think I will prefer 18.04 than 20.04, since I'm sure this website runs on
18.04, and I still didn't check 20.04.

Currently the website is working, but it takes about 15-20 minutes after
reboot that I can start apache and mysql. Otherwise it doesn't work. I want
to fix first the *sudo apt update* issue to see if this is the cause to the
problem.


אורי
u...@speedy.net


‪On Thu, Jun 11, 2020 at 8:05 AM ‫אורי‬‎  wrote:‬

> I ran the commands again and found out there are errors:
>
> root@www:~# sudo apt autoremove
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> root@www:~# sudo apt-get update
> Hit:1 http://ppa.launchpad.net/certbot/certbot/ubuntu bionic InRelease
> Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7
> kB]
> Err:3 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu bionic
> InRelease
>   403  Forbidden [IP: 91.189.95.83 80]
> Hit:4 http://archive.ubuntu.com/ubuntu bionic InRelease
> Hit:5 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
> Hit:6 http://mirrors.digitalocean.com/ubuntu bionic InRelease
> Hit:7 http://mirrors.digitalocean.com/ubuntu bionic-updates InRelease
> Reading package lists... Done
> 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 repository 'http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu
> bionic InRelease' is no longer signed.
> N: Updating from such a repository can't be done securely, and is
> therefore disabled by default.
> N: See apt-secure(8) manpage for repository creation and user
> configuration details.
> root@www:~# sudo apt-get upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Calculating upgrade... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> root@www:~# 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 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu bionic
> InRelease
>   403  Forbidden [IP: 91.189.95.83 80]
> Hit:5 http://mirrors.digitalocean.com/ubuntu bionic InRelease
> Hit:6 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
> Hit:7 http://mirrors.digitalocean.com/ubuntu bionic-updates InRelease
> Reading package lists... Done
> 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 repository 'http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu
> bionic InRelease' is no longer signed.
> N: Updating from such a repository can't be done securely, and is
> therefore disabled by default.
> N: See apt-secure(8) manpage for repository creation and user
> configuration details.
> root@www:~# sudo apt upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Calculating upgrade... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>
> אורי
> u...@speedy.net
>
>
> On Thu, Jun 11, 2020 at 7:23 AM Eli Marmor  wrote:
>
>> Please run:
>> apachectl start
>> from the command line, and copy the response

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 www.speedypedia.info systemd[1]: Started Disk Cache
Cleaning Daemon for Apache HTTP Server.
Jun 11 08:55:40 www.speedypedia.info systemd[1]: Starting The Apache HTTP
Server...
Jun 11 08:55:40 www.speedypedia.info systemd[1]: Started The Apache HTTP
Server.

And for mysql:

Jun 11 08:53:05 www.speedypedia.info systemd[1]: mysql.service: Start
operation timed out. Terminating.
Jun 11 09:00:46 www.speedypedia.info systemd[1]: mysql.service: Failed with
result 'timeout'.
Jun 11 09:00:46 www.speedypedia.info systemd[1]: Failed to start MySQL
Community Server.
Jun 11 09:00:47 www.speedypedia.info systemd[1]: mysql.service: Service
hold-off time over, scheduling restart.
Jun 11 09:00:47 www.speedypedia.info systemd[1]: mysql.service: Scheduled
restart job, restart counter is at 1.
Jun 11 09:00:47 www.speedypedia.info systemd[1]: Stopped MySQL Community
Server.
Jun 11 09:00:47 www.speedypedia.info systemd[1]: Starting MySQL Community
Server...
Jun 11 09:00:47 www.speedypedia.info systemd[1]: Started MySQL Community
Server.

אורי
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 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 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 06:25:05.427080 2020] [core:notice] [pid 1154] AH00094:
>>>> Command line: '/usr/sbin/apache2'
>>>> [Thu Jun 11 06:27:29.459759 2020] [mpm_prefork:notice] [pid 1154]
>>>> AH00169: caught SIGTERM, shutting down
>>>> [Thu Jun 11 06:27:34.334311 2020] [mpm_prefork:notice] [pid 1250]
>>>> AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1g configured -- resuming
>>>> normal operations
>>>> [Thu Jun 11 06:27:34.334390 2020] [core:notice] [pid 1250] AH00094:
>>>> Command line: '/usr/sbin/apache2'
>>>> [Thu Jun 11 08:42:54.263194 2020] [mpm_prefork:notice] [pid 1250]
>>>> AH00169: caught SIGTERM, shutting down
>>>>
>>>> access logs - when apache worked, nothing unusual.
>>>>
>>>> (I think caught SIGTERM, shutting down is due to reboot)
>>>>
>>>> אורי
>>>> u...@speedy.net
>>>>
>>>>
>>>> On Thu, Jun 11, 2020 at 9:49 AM Shay Gover  wrote:
>>>>
>>>>> 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: /lib/systemd/system/apache2.service.d
>>>>>>└─apache2-systemd.conf
>>>>>>Active: failed (Result: timeout) since Thu 2020-06-11 08:44:35
>>>>>> CEST; 2min 1s ago
>>>>>>   Process: 577 ExecStart=/usr/sbin/apachectl start (code=killed,
>>>>>> signal=TERM)
>>>>>>
>>>>>> Jun 11 08:43:03 www.speedypedia.info systemd[1]: Starting The Apache
>>>>>> HTTP Server...
>>>>>> Jun 11 08:44:35 www.speedypedia.info systemd[1]: apache2.service:
>>>>>> Start operation timed out. Terminating.
>>>>>> Jun 11 08:44:35 www.speedypedia.info systemd[1]: apache2.service:
>>>>>> Failed with result 'timeout'.
>>>>>> Jun 11 08:44:35 www.speedypedia.info systemd[1]: Failed to start The
>>>>>> Apache HTTP Server.
>>>>>> אורי
>>>>>> u...@speedy.net
>>>>>>
>>>>>>
>>>>>> On Thu, Jun 11, 2020 at 9:38 AM Efraim Flashner <
>>>>>> efr...@flashner.co.il> wrote:
>>>>>>
>>>>>>> Not sure why apache is only starting some time 

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 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 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 06:25:05.427080 2020] [core:notice] [pid 1154] AH00094:
>>>> Command line: '/usr/sbin/apache2'
>>>> [Thu Jun 11 06:27:29.459759 2020] [mpm_prefork:notice] [pid 1154]
>>>> AH00169: caught SIGTERM, shutting down
>>>> [Thu Jun 11 06:27:34.334311 2020] [mpm_prefork:notice] [pid 1250]
>>>> AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1g configured -- resuming
>>>> normal operations
>>>> [Thu Jun 11 06:27:34.334390 2020] [core:notice] [pid 1250] AH00094:
>>>> Command line: '/usr/sbin/apache2'
>>>> [Thu Jun 11 08:42:54.263194 2020] [mpm_prefork:notice] [pid 1250]
>>>> AH00169: caught SIGTERM, shutting down
>>>>
>>>> access logs - when apache worked, nothing unusual.
>>>>
>>>> (I think caught SIGTERM, shutting down is due to reboot)
>>>>
>>>> אורי
>>>> u...@speedy.net
>>>>
>>>>
>>>> On Thu, Jun 11, 2020 at 9:49 AM Shay Gover  wrote:
>>>>
>>>>> 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: /lib/systemd/system/apache2.service.d
>>>>>>└─apache2-systemd.conf
>>>>>>Active: failed (Result: timeout) since Thu 2020-06-11 08:44:35
>>>>>> CEST; 2min 1s ago
>>>>>>   Process: 577 ExecStart=/usr/sbin/apachectl start (code=killed,
>>>>>> signal=TERM)
>>>>>>
>>>>>> Jun 11 08:43:03 www.speedypedia.info systemd[1]: Starting The Apache
>>>>>> HTTP Server...
>>>>>> Jun 11 08:44:35 www.speedypedia.info systemd[1]: apache2.service:
>>>>>> Start operation timed out. Terminating.
>>>>>> Jun 11 08:44:35 www.speedypedia.info systemd[1]: apache2.service:
>>>>>> Failed with result 'timeout'.
>>>>>> Jun 11 08:44:35 www.speedypedia.info systemd[1]: Failed to start The
>>>>>> Apache HTTP Server.
>>>>>> אורי
>>>>>> u...@speedy.net
>>>>>>
>>>>>>
>>>>>> On Thu, Jun 11, 2020 at 9:38 AM Efraim Flashner <
>>>>>> efr...@flashner.co.il> 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 07:31:31AM +0300, אורי wrote:
>>>>>>> > Hi,
>>>>>>> >
>>>>>>> > I estimate it's about 15 to 20 minutes after reboot that I can
>>>>>>> start apache
>>>>>>> > successfully. Otherwise, I can't start apache.
>>>>>>> >
>>>>>>> > אורי
>>>>>>> > u...@speedy.net
>>>>>>> >
>>>>>>> >
>>>>>>> > On Thu, Jun 11, 2020 at 7:23 AM Eli Marmor  wrote:
>>>>>>> >
>>>>>>> > > Please run:
>>>>>>> > > apachectl start
>>>>>>> > > from the command line, and copy the response to this list.
>>>>>>> > > If there is no error, please copy the relevant lines from the
>>>>>>> error.log of
>>>>>&g

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 their indexes of our content may be out of date.

Speedypedia WWW
אורי
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]
>> 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 11 06:27:29.459759 2020] [mpm_prefork:notice] [pid 1154]
>> AH00169: caught SIGTERM, shutting down
>> [Thu Jun 11 06:27:34.334311 2020] [mpm_prefork:notice] [pid 1250]
>> AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1g configured -- resuming
>> normal operations
>> [Thu Jun 11 06:27:34.334390 2020] [core:notice] [pid 1250] AH00094:
>> Command line: '/usr/sbin/apache2'
>> [Thu Jun 11 08:42:54.263194 2020] [mpm_prefork:notice] [pid 1250]
>> AH00169: caught SIGTERM, shutting down
>>
>> access logs - when apache worked, nothing unusual.
>>
>> (I think caught SIGTERM, shutting down is due to reboot)
>>
>> אורי
>> u...@speedy.net
>>
>>
>> On Thu, Jun 11, 2020 at 9:49 AM Shay Gover  wrote:
>>
>>> 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: /lib/systemd/system/apache2.service.d
>>>>└─apache2-systemd.conf
>>>>Active: failed (Result: timeout) since Thu 2020-06-11 08:44:35 CEST;
>>>> 2min 1s ago
>>>>   Process: 577 ExecStart=/usr/sbin/apachectl start (code=killed,
>>>> signal=TERM)
>>>>
>>>> Jun 11 08:43:03 www.speedypedia.info systemd[1]: Starting The Apache
>>>> HTTP Server...
>>>> Jun 11 08:44:35 www.speedypedia.info systemd[1]: apache2.service:
>>>> Start operation timed out. Terminating.
>>>> Jun 11 08:44:35 www.speedypedia.info systemd[1]: apache2.service:
>>>> Failed with result 'timeout'.
>>>> Jun 11 08:44:35 www.speedypedia.info systemd[1]: Failed to start The
>>>> Apache HTTP Server.
>>>> אורי
>>>> 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 07:31:31AM +0300, אורי wrote:
>>>>> > Hi,
>>>>> >
>>>>> > I estimate it's about 15 to 20 minutes after reboot that I can start
>>>>> apache
>>>>> > successfully. Otherwise, I can't start apache.
>>>>> >
>>>>> > אורי
>>>>> > u...@speedy.net
>>>>> >
>>>>> >
>>>>> > On Thu, Jun 11, 2020 at 7:23 AM Eli Marmor  wrote:
>>>>> >
>>>>> > > Please run:
>>>>> > > apachectl start
>>>>> > > from the command line, and copy the response to this list.
>>>>> > > If there is no error, please copy the relevant lines from the
>>>>> error.log of
>>>>> > > apache2.
>>>>> > >
>>>>> > > On Thu, Jun 11, 2020, 7:12 AM אורי  wrote:
>>>>> > >
>>>>> > >> Hi,
>>>>> > >>
>>>>> > >> Running the command "sudo apachectl configtest" returns "Syntax
>>>>> OK".
>>>>> > >>
>>>>> > >> Running "sudo systemctl restart apache2" doesn't respond. But a
>>>>> few
>>>>> > >> minutes ago it worked and the website worked. I rebooted again
>>>>> and now
>>>>> > >> again it's not working. The proble

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]
>> 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 11 06:27:29.459759 2020] [mpm_prefork:notice] [pid 1154]
>> AH00169: caught SIGTERM, shutting down
>> [Thu Jun 11 06:27:34.334311 2020] [mpm_prefork:notice] [pid 1250]
>> AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1g configured -- resuming
>> normal operations
>> [Thu Jun 11 06:27:34.334390 2020] [core:notice] [pid 1250] AH00094:
>> Command line: '/usr/sbin/apache2'
>> [Thu Jun 11 08:42:54.263194 2020] [mpm_prefork:notice] [pid 1250]
>> AH00169: caught SIGTERM, shutting down
>>
>> access logs - when apache worked, nothing unusual.
>>
>> (I think caught SIGTERM, shutting down is due to reboot)
>>
>> אורי
>> u...@speedy.net
>>
>>
>> On Thu, Jun 11, 2020 at 9:49 AM Shay Gover  wrote:
>>
>>> 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: /lib/systemd/system/apache2.service.d
>>>>└─apache2-systemd.conf
>>>>Active: failed (Result: timeout) since Thu 2020-06-11 08:44:35 CEST;
>>>> 2min 1s ago
>>>>   Process: 577 ExecStart=/usr/sbin/apachectl start (code=killed,
>>>> signal=TERM)
>>>>
>>>> Jun 11 08:43:03 www.speedypedia.info systemd[1]: Starting The Apache
>>>> HTTP Server...
>>>> Jun 11 08:44:35 www.speedypedia.info systemd[1]: apache2.service:
>>>> Start operation timed out. Terminating.
>>>> Jun 11 08:44:35 www.speedypedia.info systemd[1]: apache2.service:
>>>> Failed with result 'timeout'.
>>>> Jun 11 08:44:35 www.speedypedia.info systemd[1]: Failed to start The
>>>> Apache HTTP Server.
>>>> אורי
>>>> 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 07:31:31AM +0300, אורי wrote:
>>>>> > Hi,
>>>>> >
>>>>> > I estimate it's about 15 to 20 minutes after reboot that I can start
>>>>> apache
>>>>> > successfully. Otherwise, I can't start apache.
>>>>> >
>>>>> > אורי
>>>>> > u...@speedy.net
>>>>> >
>>>>> >
>>>>> > On Thu, Jun 11, 2020 at 7:23 AM Eli Marmor  wrote:
>>>>> >
>>>>> > > Please run:
>>>>> > > apachectl start
>>>>> > > from the command line, and copy the response to this list.
>>>>> > > If there is no error, please copy the relevant lines from the
>>>>> error.log of
>>>>> > > apache2.
>>>>> > >
>>>>> > > On Thu, Jun 11, 2020, 7:12 AM אורי  wrote:
>>>>> > >
>>>>> > >> Hi,
>>>>> > >>
>>>>> > >> Running the command "sudo apachectl configtest" returns "Syntax
>>>>> OK".
>>>>> > >>
>>>>> > >> Running "sudo systemctl restart apache2" doesn't respond. But a
>>>>> few
>>>>> > >> minutes ago it worked and the website worked. I rebooted again
>>>>> and now
>>>>> > >> again it's not working. The problem is that apache doesn't
>>>>> restart after
>>>>> > >> rebooting.
>>>>> > >>
>>>>> > >> אורי
>>>>> > >> u...@speedy.net
>>>>> > >>
>>>>> > >>
>>>>> > >> ‪On

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 11 06:27:29.459759 2020] [mpm_prefork:notice] [pid 1154] AH00169:
caught SIGTERM, shutting down
[Thu Jun 11 06:27:34.334311 2020] [mpm_prefork:notice] [pid 1250] AH00163:
Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1g configured -- resuming normal
operations
[Thu Jun 11 06:27:34.334390 2020] [core:notice] [pid 1250] AH00094: Command
line: '/usr/sbin/apache2'
[Thu Jun 11 08:42:54.263194 2020] [mpm_prefork:notice] [pid 1250] AH00169:
caught SIGTERM, shutting down

access logs - when apache worked, nothing unusual.

(I think caught SIGTERM, shutting down is due to reboot)

אורי
u...@speedy.net


On Thu, Jun 11, 2020 at 9:49 AM Shay Gover  wrote:

> 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: /lib/systemd/system/apache2.service.d
>>└─apache2-systemd.conf
>>Active: failed (Result: timeout) since Thu 2020-06-11 08:44:35 CEST;
>> 2min 1s ago
>>   Process: 577 ExecStart=/usr/sbin/apachectl start (code=killed,
>> signal=TERM)
>>
>> Jun 11 08:43:03 www.speedypedia.info systemd[1]: Starting The Apache
>> HTTP Server...
>> Jun 11 08:44:35 www.speedypedia.info systemd[1]: apache2.service: Start
>> operation timed out. Terminating.
>> Jun 11 08:44:35 www.speedypedia.info systemd[1]: apache2.service: Failed
>> with result 'timeout'.
>> Jun 11 08:44:35 www.speedypedia.info systemd[1]: Failed to start The
>> Apache HTTP Server.
>> אורי
>> 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 07:31:31AM +0300, אורי wrote:
>>> > Hi,
>>> >
>>> > I estimate it's about 15 to 20 minutes after reboot that I can start
>>> apache
>>> > successfully. Otherwise, I can't start apache.
>>> >
>>> > אורי
>>> > u...@speedy.net
>>> >
>>> >
>>> > On Thu, Jun 11, 2020 at 7:23 AM Eli Marmor  wrote:
>>> >
>>> > > Please run:
>>> > > apachectl start
>>> > > from the command line, and copy the response to this list.
>>> > > If there is no error, please copy the relevant lines from the
>>> error.log of
>>> > > apache2.
>>> > >
>>> > > On Thu, Jun 11, 2020, 7:12 AM אורי  wrote:
>>> > >
>>> > >> Hi,
>>> > >>
>>> > >> Running the command "sudo apachectl configtest" returns "Syntax OK".
>>> > >>
>>> > >> Running "sudo systemctl restart apache2" doesn't respond. But a few
>>> > >> minutes ago it worked and the website worked. I rebooted again and
>>> now
>>> > >> again it's not working. The problem is that apache doesn't restart
>>> after
>>> > >> rebooting.
>>> > >>
>>> > >> אורי
>>> > >> u...@speedy.net
>>> > >>
>>> > >>
>>> > >> ‪On Thu, Jun 11, 2020 at 6:29 AM ‫אורי‬‎  wrote:‬
>>> > >>
>>> > >>> Hi,
>>> > >>>
>>> > >>> Thanks for your suggestion, I decided to upgrade to 18.04.4 and I
>>> ran a
>>> > >>> few times the following commands (from root):
>>> > >>>
>>> > >>> sudo apt autoremove
>>> > >>> sudo apt-get update
>>> > >>> sudo apt-get upgrade
>>> > >>> sudo apt update
>>> > >>> sudo apt upgrade
>>> > >>>
>>> > >>> I have 4 servers and I upgraded all of them and 3 of them are
>>> working
>>> > >>> properly, however one server apache is not working, I can't
>>> restart apache
>>> > >>> (with "sudo systemctl restart apache2" - it's not responding) and
>>> the
>>> > >>> w

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 2020-06-11 08:44:35 CEST;
2min 1s ago
  Process: 577 ExecStart=/usr/sbin/apachectl start (code=killed,
signal=TERM)

Jun 11 08:43:03 www.speedypedia.info systemd[1]: Starting The Apache HTTP
Server...
Jun 11 08:44:35 www.speedypedia.info systemd[1]: apache2.service: Start
operation timed out. Terminating.
Jun 11 08:44:35 www.speedypedia.info systemd[1]: apache2.service: Failed
with result 'timeout'.
Jun 11 08:44:35 www.speedypedia.info systemd[1]: Failed to start The Apache
HTTP Server.
אורי
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 07:31:31AM +0300, אורי wrote:
> > Hi,
> >
> > I estimate it's about 15 to 20 minutes after reboot that I can start
> apache
> > successfully. Otherwise, I can't start apache.
> >
> > אורי
> > u...@speedy.net
> >
> >
> > On Thu, Jun 11, 2020 at 7:23 AM Eli Marmor  wrote:
> >
> > > Please run:
> > > apachectl start
> > > from the command line, and copy the response to this list.
> > > If there is no error, please copy the relevant lines from the
> error.log of
> > > apache2.
> > >
> > > On Thu, Jun 11, 2020, 7:12 AM אורי  wrote:
> > >
> > >> Hi,
> > >>
> > >> Running the command "sudo apachectl configtest" returns "Syntax OK".
> > >>
> > >> Running "sudo systemctl restart apache2" doesn't respond. But a few
> > >> minutes ago it worked and the website worked. I rebooted again and now
> > >> again it's not working. The problem is that apache doesn't restart
> after
> > >> rebooting.
> > >>
> > >> אורי
> > >> u...@speedy.net
> > >>
> > >>
> > >> ‪On Thu, Jun 11, 2020 at 6:29 AM ‫אורי‬‎  wrote:‬
> > >>
> > >>> Hi,
> > >>>
> > >>> Thanks for your suggestion, I decided to upgrade to 18.04.4 and I
> ran a
> > >>> few times the following commands (from root):
> > >>>
> > >>> sudo apt autoremove
> > >>> sudo apt-get update
> > >>> sudo apt-get upgrade
> > >>> sudo apt update
> > >>> sudo apt upgrade
> > >>>
> > >>> I have 4 servers and I upgraded all of them and 3 of them are working
> > >>> properly, however one server apache is not working, I can't restart
> apache
> > >>> (with "sudo systemctl restart apache2" - it's not responding) and the
> > >>> website is not working. How can I fix it now?
> > >>>
> > >>> The server didn't respond after reboot once (after 2 reboots) and I
> had
> > >>> to shut it down and restart it again.
> > >>>
> > >>> Thanks,
> > >>> Uri
> > >>> אורי
> > >>> u...@speedy.net
> > >>>
> > >>>
> > >>> On Wed, Jun 10, 2020 at 10:29 PM Micha Bailey  >
> > >>> wrote:
> > >>>
> > >>>> Regarding the upgrade to Focal (20.04): There’s no reason to rush.
> > >>>> Bionic (18.04) is supported, if I’m not mistaken, until 2023. In
> fact,
> > >>>> Bionic (LTS) users aren’t even offered the upgrade (i.e. you need
> to go out
> > >>>> of your way to get it) until 20.04.1 is out in a few months.
> > >>>>
> > >>>> Regarding the upgrade to 18.04.4, I could be mistaken, but my
> > >>>> understanding is that point releases aren’t new versions of Ubuntu
> per se.
> > >>>> At point releases, new isos are spun with up-to-date packages, but
> it’s
> > >>>> still the same version. Assuming you make a habit of installing
> updates
> > >>>> regularly (which you obviously should be), you will effectively
> > >>>> automatically be on 18.04.4.
> > >>>>
> > >>>> On Wed, Jun 10, 2020 at 6:44 PM אורי  wrote:
> > >>>>
> > >>>>> Hi,
> > >>>>>
> > >>>>> Actually I have a staging server 

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
   └─apache2-systemd.conf
   Active: activating (start) since Thu 2020-06-11 08:43:03 CEST; 1min 26s
ago
Cntrl PID: 577 (apachectl)
   CGroup: /system.slice/apache2.service
   ├─577 /bin/sh /usr/sbin/apachectl start
   └─600 /usr/sbin/apache2 -k start

Jun 11 08:43:03 www.speedypedia.info systemd[1]: Starting The Apache HTTP
Server...
אורי
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 07:31:31AM +0300, אורי wrote:
> > Hi,
> >
> > I estimate it's about 15 to 20 minutes after reboot that I can start
> apache
> > successfully. Otherwise, I can't start apache.
> >
> > אורי
> > u...@speedy.net
> >
> >
> > On Thu, Jun 11, 2020 at 7:23 AM Eli Marmor  wrote:
> >
> > > Please run:
> > > apachectl start
> > > from the command line, and copy the response to this list.
> > > If there is no error, please copy the relevant lines from the
> error.log of
> > > apache2.
> > >
> > > On Thu, Jun 11, 2020, 7:12 AM אורי  wrote:
> > >
> > >> Hi,
> > >>
> > >> Running the command "sudo apachectl configtest" returns "Syntax OK".
> > >>
> > >> Running "sudo systemctl restart apache2" doesn't respond. But a few
> > >> minutes ago it worked and the website worked. I rebooted again and now
> > >> again it's not working. The problem is that apache doesn't restart
> after
> > >> rebooting.
> > >>
> > >> אורי
> > >> u...@speedy.net
> > >>
> > >>
> > >> ‪On Thu, Jun 11, 2020 at 6:29 AM ‫אורי‬‎  wrote:‬
> > >>
> > >>> Hi,
> > >>>
> > >>> Thanks for your suggestion, I decided to upgrade to 18.04.4 and I
> ran a
> > >>> few times the following commands (from root):
> > >>>
> > >>> sudo apt autoremove
> > >>> sudo apt-get update
> > >>> sudo apt-get upgrade
> > >>> sudo apt update
> > >>> sudo apt upgrade
> > >>>
> > >>> I have 4 servers and I upgraded all of them and 3 of them are working
> > >>> properly, however one server apache is not working, I can't restart
> apache
> > >>> (with "sudo systemctl restart apache2" - it's not responding) and the
> > >>> website is not working. How can I fix it now?
> > >>>
> > >>> The server didn't respond after reboot once (after 2 reboots) and I
> had
> > >>> to shut it down and restart it again.
> > >>>
> > >>> Thanks,
> > >>> Uri
> > >>> אורי
> > >>> u...@speedy.net
> > >>>
> > >>>
> > >>> On Wed, Jun 10, 2020 at 10:29 PM Micha Bailey  >
> > >>> wrote:
> > >>>
> > >>>> Regarding the upgrade to Focal (20.04): There’s no reason to rush.
> > >>>> Bionic (18.04) is supported, if I’m not mistaken, until 2023. In
> fact,
> > >>>> Bionic (LTS) users aren’t even offered the upgrade (i.e. you need
> to go out
> > >>>> of your way to get it) until 20.04.1 is out in a few months.
> > >>>>
> > >>>> Regarding the upgrade to 18.04.4, I could be mistaken, but my
> > >>>> understanding is that point releases aren’t new versions of Ubuntu
> per se.
> > >>>> At point releases, new isos are spun with up-to-date packages, but
> it’s
> > >>>> still the same version. Assuming you make a habit of installing
> updates
> > >>>> regularly (which you obviously should be), you will effectively
> > >>>> automatically be on 18.04.4.
> > >>>>
> > >>>> On Wed, Jun 10, 2020 at 6:44 PM אורי  wrote:
> > >>>>
> > >>>>> Hi,
> > >>>>>
> > >>>>> Actually I have a staging server which I can upgrade first to
> 18.04.4
> > >>>>> to see if it works, or if something breaks. But I didn't find it
> on Goog

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 07:31:31AM +0300, אורי wrote:
> > Hi,
> >
> > I estimate it's about 15 to 20 minutes after reboot that I can start
> apache
> > successfully. Otherwise, I can't start apache.
> >
> > אורי
> > u...@speedy.net
> >
> >
> > On Thu, Jun 11, 2020 at 7:23 AM Eli Marmor  wrote:
> >
> > > Please run:
> > > apachectl start
> > > from the command line, and copy the response to this list.
> > > If there is no error, please copy the relevant lines from the
> error.log of
> > > apache2.
> > >
> > > On Thu, Jun 11, 2020, 7:12 AM אורי  wrote:
> > >
> > >> Hi,
> > >>
> > >> Running the command "sudo apachectl configtest" returns "Syntax OK".
> > >>
> > >> Running "sudo systemctl restart apache2" doesn't respond. But a few
> > >> minutes ago it worked and the website worked. I rebooted again and now
> > >> again it's not working. The problem is that apache doesn't restart
> after
> > >> rebooting.
> > >>
> > >> אורי
> > >> u...@speedy.net
> > >>
> > >>
> > >> ‪On Thu, Jun 11, 2020 at 6:29 AM ‫אורי‬‎  wrote:‬
> > >>
> > >>> Hi,
> > >>>
> > >>> Thanks for your suggestion, I decided to upgrade to 18.04.4 and I
> ran a
> > >>> few times the following commands (from root):
> > >>>
> > >>> sudo apt autoremove
> > >>> sudo apt-get update
> > >>> sudo apt-get upgrade
> > >>> sudo apt update
> > >>> sudo apt upgrade
> > >>>
> > >>> I have 4 servers and I upgraded all of them and 3 of them are working
> > >>> properly, however one server apache is not working, I can't restart
> apache
> > >>> (with "sudo systemctl restart apache2" - it's not responding) and the
> > >>> website is not working. How can I fix it now?
> > >>>
> > >>> The server didn't respond after reboot once (after 2 reboots) and I
> had
> > >>> to shut it down and restart it again.
> > >>>
> > >>> Thanks,
> > >>> Uri
> > >>> אורי
> > >>> u...@speedy.net
> > >>>
> > >>>
> > >>> On Wed, Jun 10, 2020 at 10:29 PM Micha Bailey  >
> > >>> wrote:
> > >>>
> > >>>> Regarding the upgrade to Focal (20.04): There’s no reason to rush.
> > >>>> Bionic (18.04) is supported, if I’m not mistaken, until 2023. In
> fact,
> > >>>> Bionic (LTS) users aren’t even offered the upgrade (i.e. you need
> to go out
> > >>>> of your way to get it) until 20.04.1 is out in a few months.
> > >>>>
> > >>>> Regarding the upgrade to 18.04.4, I could be mistaken, but my
> > >>>> understanding is that point releases aren’t new versions of Ubuntu
> per se.
> > >>>> At point releases, new isos are spun with up-to-date packages, but
> it’s
> > >>>> still the same version. Assuming you make a habit of installing
> updates
> > >>>> regularly (which you obviously should be), you will effectively
> > >>>> automatically be on 18.04.4.
> > >>>>
> > >>>> On Wed, Jun 10, 2020 at 6:44 PM אורי  wrote:
> > >>>>
> > >>>>> Hi,
> > >>>>>
> > >>>>> Actually I have a staging server which I can upgrade first to
> 18.04.4
> > >>>>> to see if it works, or if something breaks. But I didn't find it
> on Google
> > >>>>> - how do I upgrade an OS to Ubuntu 18.04.4 (from 18.04.*) without
> upgrading
> > >>>>> it to 20.04?
> > >>>>>
> > >>>>> אורי
> > >>>>> u...@speedy.net
> > >>>>>
> > >>>>>
> > >>>>> On Wed, Jun 10, 2020 at 6:19 PM Shlomi Fish 
> wrote:
> > >>>>>
> > >>>>>> Hi Uri!
> > >>>>>>
> > >>>>>> ‪On Wed, Jun 10, 2020 at 5:30

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 06:27:34 CEST; 2h 13min ago
  Process: 1231 ExecStop=/usr/sbin/apachectl stop (code=exited,
status=0/SUCCESS)
  Process: 1246 ExecStart=/usr/sbin/apachectl start (code=exited,
status=0/SUCCESS)
 Main PID: 1250 (apache2)
   CGroup: /system.slice/apache2.service
   ├─1250 /usr/sbin/apache2 -k start
   ├─1251 /usr/sbin/apache2 -k start
   ├─1252 /usr/sbin/apache2 -k start
   ├─1255 /usr/sbin/apache2 -k start
   ├─1261 /usr/sbin/apache2 -k start
   ├─1262 /usr/sbin/apache2 -k start
   ├─1265 /usr/sbin/apache2 -k start
   ├─3475 /usr/sbin/apache2 -k start
   ├─3526 /usr/sbin/apache2 -k start
   ├─3527 /usr/sbin/apache2 -k start
   └─3660 /usr/sbin/apache2 -k start

Jun 11 06:27:34 www.speedypedia.info systemd[1]: Starting The Apache HTTP
Server...
Jun 11 06:27:34 www.speedypedia.info systemd[1]: Started The Apache HTTP
Server.
אורי
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 07:31:31AM +0300, אורי wrote:
> > Hi,
> >
> > I estimate it's about 15 to 20 minutes after reboot that I can start
> apache
> > successfully. Otherwise, I can't start apache.
> >
> > אורי
> > u...@speedy.net
> >
> >
> > On Thu, Jun 11, 2020 at 7:23 AM Eli Marmor  wrote:
> >
> > > Please run:
> > > apachectl start
> > > from the command line, and copy the response to this list.
> > > If there is no error, please copy the relevant lines from the
> error.log of
> > > apache2.
> > >
> > > On Thu, Jun 11, 2020, 7:12 AM אורי  wrote:
> > >
> > >> Hi,
> > >>
> > >> Running the command "sudo apachectl configtest" returns "Syntax OK".
> > >>
> > >> Running "sudo systemctl restart apache2" doesn't respond. But a few
> > >> minutes ago it worked and the website worked. I rebooted again and now
> > >> again it's not working. The problem is that apache doesn't restart
> after
> > >> rebooting.
> > >>
> > >> אורי
> > >> u...@speedy.net
> > >>
> > >>
> > >> ‪On Thu, Jun 11, 2020 at 6:29 AM ‫אורי‬‎  wrote:‬
> > >>
> > >>> Hi,
> > >>>
> > >>> Thanks for your suggestion, I decided to upgrade to 18.04.4 and I
> ran a
> > >>> few times the following commands (from root):
> > >>>
> > >>> sudo apt autoremove
> > >>> sudo apt-get update
> > >>> sudo apt-get upgrade
> > >>> sudo apt update
> > >>> sudo apt upgrade
> > >>>
> > >>> I have 4 servers and I upgraded all of them and 3 of them are working
> > >>> properly, however one server apache is not working, I can't restart
> apache
> > >>> (with "sudo systemctl restart apache2" - it's not responding) and the
> > >>> website is not working. How can I fix it now?
> > >>>
> > >>> The server didn't respond after reboot once (after 2 reboots) and I
> had
> > >>> to shut it down and restart it again.
> > >>>
> > >>> Thanks,
> > >>> Uri
> > >>> אורי
> > >>> u...@speedy.net
> > >>>
> > >>>
> > >>> On Wed, Jun 10, 2020 at 10:29 PM Micha Bailey  >
> > >>> wrote:
> > >>>
> > >>>> Regarding the upgrade to Focal (20.04): There’s no reason to rush.
> > >>>> Bionic (18.04) is supported, if I’m not mistaken, until 2023. In
> fact,
> > >>>> Bionic (LTS) users aren’t even offered the upgrade (i.e. you need
> to go out
> > >>>> of your way to get it) until 20.04.1 is out in a few months.
> > >>>>
> > >>>> Regarding the upgrade to 18.04.4, I could be mistaken, but my
> > >>>> understanding is that point releases aren’t new versions of Ubuntu
> per se.
> > >>>> At point releases, new isos are spun with up-to-date packages, but
> it’s
> > >>>> still the same version. Assuming you make a habit of

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 there are errors:
> >
> > root@www:~# sudo apt autoremove
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> > root@www:~# sudo apt-get update
> > Hit:1 http://ppa.launchpad.net/certbot/certbot/ubuntu bionic InRelease
> > Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7
> kB]
> > Err:3 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu bionic
> InRelease
> >   403  Forbidden [IP: 91.189.95.83 80]
> > Hit:4 http://archive.ubuntu.com/ubuntu bionic InRelease
> > Hit:5 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
> > Hit:6 http://mirrors.digitalocean.com/ubuntu bionic InRelease
> > Hit:7 http://mirrors.digitalocean.com/ubuntu bionic-updates InRelease
> > Reading package lists... Done
> > 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 repository 'http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu
> > bionic InRelease' is no longer signed.
> > N: Updating from such a repository can't be done securely, and is
> therefore
> > disabled by default.
> > N: See apt-secure(8) manpage for repository creation and user
> configuration
> > details.
> > root@www:~# sudo apt-get upgrade
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > Calculating upgrade... Done
> > 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> > root@www:~# 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 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu bionic
> InRelease
> >   403  Forbidden [IP: 91.189.95.83 80]
> > Hit:5 http://mirrors.digitalocean.com/ubuntu bionic InRelease
> > Hit:6 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
> > Hit:7 http://mirrors.digitalocean.com/ubuntu bionic-updates InRelease
> > Reading package lists... Done
> > 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 repository 'http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu
> > bionic InRelease' is no longer signed.
> > N: Updating from such a repository can't be done securely, and is
> therefore
> > disabled by default.
> > N: See apt-secure(8) manpage for repository creation and user
> configuration
> > details.
> > root@www:~# sudo apt upgrade
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > Calculating upgrade... Done
> > 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> >
> > אורי
> > u...@speedy.net
> >
> >
> > On Thu, Jun 11, 2020 at 7:23 AM Eli Marmor  wrote:
> >
> > > Please run:
> > > apachectl start
> > > from the command line, and copy the response to this list.
> > > If there is no error, please copy the relevant lines from the
> error.log of
> > > apache2.
> > >
> > > On Thu, Jun 11, 2020, 7:12 AM אורי  wrote:
> > >
> > >> Hi,
> > >>
> > >> Running the command "sudo apachectl configtest" returns "Syntax OK".
> > >>
> > >> Running "sudo systemctl restart apache2" doesn't respond. But a few
> > >> minutes ago it worked and the website worked. I rebooted again and now
> > >> again it's not working. The problem is that apache doesn't restart
> after
> > >> rebooting.
> > >>
> > >> אורי
> > >> u...@speedy.net
> > >>
> > >>
> > >> ‪On Thu, Jun 11, 2020 at 6:29 AM ‫אורי‬‎  wrote:‬
> > >>
> > >>> Hi,
> > >>>
> > >>> Thanks for your suggestion, I decided to upgrade to 18.04.4 and I
> ran a
> > >>> few times the following commands (from root):
> > >>>
> > >>> sudo apt autoremove
&

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 there are errors:
> >
> > root@www:~# sudo apt autoremove
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> > root@www:~# sudo apt-get update
> > Hit:1 http://ppa.launchpad.net/certbot/certbot/ubuntu bionic InRelease
> > Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7
> kB]
> > Err:3 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu bionic
> InRelease
> >   403  Forbidden [IP: 91.189.95.83 80]
> > Hit:4 http://archive.ubuntu.com/ubuntu bionic InRelease
> > Hit:5 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
> > Hit:6 http://mirrors.digitalocean.com/ubuntu bionic InRelease
> > Hit:7 http://mirrors.digitalocean.com/ubuntu bionic-updates InRelease
> > Reading package lists... Done
> > 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 repository 'http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu
> > bionic InRelease' is no longer signed.
> > N: Updating from such a repository can't be done securely, and is
> therefore
> > disabled by default.
> > N: See apt-secure(8) manpage for repository creation and user
> configuration
> > details.
> > root@www:~# sudo apt-get upgrade
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > Calculating upgrade... Done
> > 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> > root@www:~# 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 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu bionic
> InRelease
> >   403  Forbidden [IP: 91.189.95.83 80]
> > Hit:5 http://mirrors.digitalocean.com/ubuntu bionic InRelease
> > Hit:6 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
> > Hit:7 http://mirrors.digitalocean.com/ubuntu bionic-updates InRelease
> > Reading package lists... Done
> > 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 repository 'http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu
> > bionic InRelease' is no longer signed.
> > N: Updating from such a repository can't be done securely, and is
> therefore
> > disabled by default.
> > N: See apt-secure(8) manpage for repository creation and user
> configuration
> > details.
> > root@www:~# sudo apt upgrade
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > Calculating upgrade... Done
> > 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> >
> > אורי
> > u...@speedy.net
> >
> >
> > On Thu, Jun 11, 2020 at 7:23 AM Eli Marmor  wrote:
> >
> > > Please run:
> > > apachectl start
> > > from the command line, and copy the response to this list.
> > > If there is no error, please copy the relevant lines from the
> error.log of
> > > apache2.
> > >
> > > On Thu, Jun 11, 2020, 7:12 AM אורי  wrote:
> > >
> > >> Hi,
> > >>
> > >> Running the command "sudo apachectl configtest" returns "Syntax OK".
> > >>
> > >> Running "sudo systemctl restart apache2" doesn't respond. But a few
> > >> minutes ago it worked and the website worked. I rebooted again and now
> > >> again it's not working. The problem is that apache doesn't restart
> after
> > >> rebooting.
> > >>
> > >> אורי
> > >> u...@speedy.net
> > >>
> > >>
> > >> ‪On Thu, Jun 11, 2020 at 6:29 AM ‫אורי‬‎  wrote:‬
> > >>
> > >>> Hi,
> > >>>
> > >>> Thanks for your suggestion, I decided to upgrade to 18.04.4 and I
> ran a
> > >>> few times the following commands (from root):
> > >>>
> > >>> sudo apt autoremove
> >

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 (from root):
> >
> > sudo apt autoremove
> > sudo apt-get update
> > sudo apt-get upgrade
> > sudo apt update
> > sudo apt upgrade
>
> apt is basically a wrapper around apt-get and apt-cache. Running both
> apt-get and apt is pointless.
>
> It is also recommended to run autoremove after an upgrade (more useful
> than before).
>
> -- Tzafrir
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Ubuntu - apache is not working

2020-06-10 Thread אורי
I ran the commands again and found out there are errors:

root@www:~# sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@www:~# sudo apt-get update
Hit:1 http://ppa.launchpad.net/certbot/certbot/ubuntu bionic InRelease
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Err:3 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu bionic InRelease
  403  Forbidden [IP: 91.189.95.83 80]
Hit:4 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:5 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
Hit:6 http://mirrors.digitalocean.com/ubuntu bionic InRelease
Hit:7 http://mirrors.digitalocean.com/ubuntu bionic-updates InRelease
Reading package lists... Done
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 repository 'http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu
bionic InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore
disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration
details.
root@www:~# sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@www:~# 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 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu bionic InRelease
  403  Forbidden [IP: 91.189.95.83 80]
Hit:5 http://mirrors.digitalocean.com/ubuntu bionic InRelease
Hit:6 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
Hit:7 http://mirrors.digitalocean.com/ubuntu bionic-updates InRelease
Reading package lists... Done
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 repository 'http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu
bionic InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore
disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration
details.
root@www:~# sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

אורי
u...@speedy.net


On Thu, Jun 11, 2020 at 7:23 AM Eli Marmor  wrote:

> Please run:
> apachectl start
> from the command line, and copy the response to this list.
> If there is no error, please copy the relevant lines from the error.log of
> apache2.
>
> On Thu, Jun 11, 2020, 7:12 AM אורי  wrote:
>
>> Hi,
>>
>> Running the command "sudo apachectl configtest" returns "Syntax OK".
>>
>> Running "sudo systemctl restart apache2" doesn't respond. But a few
>> minutes ago it worked and the website worked. I rebooted again and now
>> again it's not working. The problem is that apache doesn't restart after
>> rebooting.
>>
>> אורי
>> u...@speedy.net
>>
>>
>> ‪On Thu, Jun 11, 2020 at 6:29 AM ‫אורי‬‎  wrote:‬
>>
>>> Hi,
>>>
>>> Thanks for your suggestion, I decided to upgrade to 18.04.4 and I ran a
>>> few times the following commands (from root):
>>>
>>> sudo apt autoremove
>>> sudo apt-get update
>>> sudo apt-get upgrade
>>> sudo apt update
>>> sudo apt upgrade
>>>
>>> I have 4 servers and I upgraded all of them and 3 of them are working
>>> properly, however one server apache is not working, I can't restart apache
>>> (with "sudo systemctl restart apache2" - it's not responding) and the
>>> website is not working. How can I fix it now?
>>>
>>> The server didn't respond after reboot once (after 2 reboots) and I had
>>> to shut it down and restart it again.
>>>
>>> Thanks,
>>> Uri
>>> אורי
>>> u...@speedy.net
>>>
>>>
>>> On Wed, Jun 10, 2020 at 10:29 PM Micha Bailey 
>>> wrote:
>>>
>>>> Regarding the upgrade to Focal (20.04): There’s no reason to rush.
>>>> Bionic (18.04) is supported, if I’m not mistaken, until 2023. In fact,
>>>> Bionic (LTS) users aren’t even offered the upgrade (i.e. you need to go out
>>>> of your way to get it) until 20.04.1 is out in a few months.
>>>>
>>>> Regarding the upgrade to 18.04.4, I could be mi

Re: Ubuntu - apache is not working

2020-06-10 Thread אורי
Hi,

I estimate it's about 15 to 20 minutes after reboot that I can start apache
successfully. Otherwise, I can't start apache.

אורי
u...@speedy.net


On Thu, Jun 11, 2020 at 7:23 AM Eli Marmor  wrote:

> Please run:
> apachectl start
> from the command line, and copy the response to this list.
> If there is no error, please copy the relevant lines from the error.log of
> apache2.
>
> On Thu, Jun 11, 2020, 7:12 AM אורי  wrote:
>
>> Hi,
>>
>> Running the command "sudo apachectl configtest" returns "Syntax OK".
>>
>> Running "sudo systemctl restart apache2" doesn't respond. But a few
>> minutes ago it worked and the website worked. I rebooted again and now
>> again it's not working. The problem is that apache doesn't restart after
>> rebooting.
>>
>> אורי
>> u...@speedy.net
>>
>>
>> ‪On Thu, Jun 11, 2020 at 6:29 AM ‫אורי‬‎  wrote:‬
>>
>>> Hi,
>>>
>>> Thanks for your suggestion, I decided to upgrade to 18.04.4 and I ran a
>>> few times the following commands (from root):
>>>
>>> sudo apt autoremove
>>> sudo apt-get update
>>> sudo apt-get upgrade
>>> sudo apt update
>>> sudo apt upgrade
>>>
>>> I have 4 servers and I upgraded all of them and 3 of them are working
>>> properly, however one server apache is not working, I can't restart apache
>>> (with "sudo systemctl restart apache2" - it's not responding) and the
>>> website is not working. How can I fix it now?
>>>
>>> The server didn't respond after reboot once (after 2 reboots) and I had
>>> to shut it down and restart it again.
>>>
>>> Thanks,
>>> Uri
>>> אורי
>>> u...@speedy.net
>>>
>>>
>>> On Wed, Jun 10, 2020 at 10:29 PM Micha Bailey 
>>> wrote:
>>>
>>>> Regarding the upgrade to Focal (20.04): There’s no reason to rush.
>>>> Bionic (18.04) is supported, if I’m not mistaken, until 2023. In fact,
>>>> Bionic (LTS) users aren’t even offered the upgrade (i.e. you need to go out
>>>> of your way to get it) until 20.04.1 is out in a few months.
>>>>
>>>> Regarding the upgrade to 18.04.4, I could be mistaken, but my
>>>> understanding is that point releases aren’t new versions of Ubuntu per se.
>>>> At point releases, new isos are spun with up-to-date packages, but it’s
>>>> still the same version. Assuming you make a habit of installing updates
>>>> regularly (which you obviously should be), you will effectively
>>>> automatically be on 18.04.4.
>>>>
>>>> On Wed, Jun 10, 2020 at 6:44 PM אורי  wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Actually I have a staging server which I can upgrade first to 18.04.4
>>>>> to see if it works, or if something breaks. But I didn't find it on Google
>>>>> - how do I upgrade an OS to Ubuntu 18.04.4 (from 18.04.*) without 
>>>>> upgrading
>>>>> it to 20.04?
>>>>>
>>>>> אורי
>>>>> u...@speedy.net
>>>>>
>>>>>
>>>>> On Wed, Jun 10, 2020 at 6:19 PM Shlomi Fish  wrote:
>>>>>
>>>>>> Hi Uri!
>>>>>>
>>>>>> ‪On Wed, Jun 10, 2020 at 5:30 PM ‫אורי‬‎  wrote:‬
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I'm sorry for posting twice in the same day to the same mailing
>>>>>>> list. But I have a question: I'm using Ubuntu 18.04.3 LTS for a few
>>>>>>> production servers (one of them I upgraded a few months ago from 14.04).
>>>>>>> How important it is to upgrade the OS version, or can I keep it like 
>>>>>>> this?
>>>>>>> I'm afraid that things will break up if I upgrade. And if I upgrade, 
>>>>>>> should
>>>>>>> I upgrade to Ubuntu 18.04.4 or 20.04? I think since 20.04 has been 
>>>>>>> recently
>>>>>>> released, it might have bugs which will be fixed later, and I prefer 
>>>>>>> not to
>>>>>>> use the first version of 20.04 but to wait about one year before I use 
>>>>>>> it.
>>>>>>> Is there a risk with keeping using 18.04.3? Or should I upgrade at 
>>>>>>> least to
>>>>>>> 18.04.4?
>>>>>>>
>>>>>>>
&g

Re: Ubuntu - apache is not working

2020-06-10 Thread אורי
Website is working now. But if I reboot the server again, I expect it to
stop working.
אורי
u...@speedy.net


On Thu, Jun 11, 2020 at 7:23 AM Eli Marmor  wrote:

> Please run:
> apachectl start
> from the command line, and copy the response to this list.
> If there is no error, please copy the relevant lines from the error.log of
> apache2.
>
> On Thu, Jun 11, 2020, 7:12 AM אורי  wrote:
>
>> Hi,
>>
>> Running the command "sudo apachectl configtest" returns "Syntax OK".
>>
>> Running "sudo systemctl restart apache2" doesn't respond. But a few
>> minutes ago it worked and the website worked. I rebooted again and now
>> again it's not working. The problem is that apache doesn't restart after
>> rebooting.
>>
>> אורי
>> u...@speedy.net
>>
>>
>> ‪On Thu, Jun 11, 2020 at 6:29 AM ‫אורי‬‎  wrote:‬
>>
>>> Hi,
>>>
>>> Thanks for your suggestion, I decided to upgrade to 18.04.4 and I ran a
>>> few times the following commands (from root):
>>>
>>> sudo apt autoremove
>>> sudo apt-get update
>>> sudo apt-get upgrade
>>> sudo apt update
>>> sudo apt upgrade
>>>
>>> I have 4 servers and I upgraded all of them and 3 of them are working
>>> properly, however one server apache is not working, I can't restart apache
>>> (with "sudo systemctl restart apache2" - it's not responding) and the
>>> website is not working. How can I fix it now?
>>>
>>> The server didn't respond after reboot once (after 2 reboots) and I had
>>> to shut it down and restart it again.
>>>
>>> Thanks,
>>> Uri
>>> אורי
>>> u...@speedy.net
>>>
>>>
>>> On Wed, Jun 10, 2020 at 10:29 PM Micha Bailey 
>>> wrote:
>>>
>>>> Regarding the upgrade to Focal (20.04): There’s no reason to rush.
>>>> Bionic (18.04) is supported, if I’m not mistaken, until 2023. In fact,
>>>> Bionic (LTS) users aren’t even offered the upgrade (i.e. you need to go out
>>>> of your way to get it) until 20.04.1 is out in a few months.
>>>>
>>>> Regarding the upgrade to 18.04.4, I could be mistaken, but my
>>>> understanding is that point releases aren’t new versions of Ubuntu per se.
>>>> At point releases, new isos are spun with up-to-date packages, but it’s
>>>> still the same version. Assuming you make a habit of installing updates
>>>> regularly (which you obviously should be), you will effectively
>>>> automatically be on 18.04.4.
>>>>
>>>> On Wed, Jun 10, 2020 at 6:44 PM אורי  wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Actually I have a staging server which I can upgrade first to 18.04.4
>>>>> to see if it works, or if something breaks. But I didn't find it on Google
>>>>> - how do I upgrade an OS to Ubuntu 18.04.4 (from 18.04.*) without 
>>>>> upgrading
>>>>> it to 20.04?
>>>>>
>>>>> אורי
>>>>> u...@speedy.net
>>>>>
>>>>>
>>>>> On Wed, Jun 10, 2020 at 6:19 PM Shlomi Fish  wrote:
>>>>>
>>>>>> Hi Uri!
>>>>>>
>>>>>> ‪On Wed, Jun 10, 2020 at 5:30 PM ‫אורי‬‎  wrote:‬
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I'm sorry for posting twice in the same day to the same mailing
>>>>>>> list. But I have a question: I'm using Ubuntu 18.04.3 LTS for a few
>>>>>>> production servers (one of them I upgraded a few months ago from 14.04).
>>>>>>> How important it is to upgrade the OS version, or can I keep it like 
>>>>>>> this?
>>>>>>> I'm afraid that things will break up if I upgrade. And if I upgrade, 
>>>>>>> should
>>>>>>> I upgrade to Ubuntu 18.04.4 or 20.04? I think since 20.04 has been 
>>>>>>> recently
>>>>>>> released, it might have bugs which will be fixed later, and I prefer 
>>>>>>> not to
>>>>>>> use the first version of 20.04 but to wait about one year before I use 
>>>>>>> it.
>>>>>>> Is there a risk with keeping using 18.04.3? Or should I upgrade at 
>>>>>>> least to
>>>>>>> 18.04.4?
>>>>>>>
>>>>>>>
>>>>>> I've answered

Re: Ubuntu - apache is not working

2020-06-10 Thread אורי
# apachectl start
Invoking 'systemctl start apache2'.
Use 'systemctl status apache2' for more info.
אורי
u...@speedy.net


On Thu, Jun 11, 2020 at 7:23 AM Eli Marmor  wrote:

> Please run:
> apachectl start
> from the command line, and copy the response to this list.
> If there is no error, please copy the relevant lines from the error.log of
> apache2.
>
> On Thu, Jun 11, 2020, 7:12 AM אורי  wrote:
>
>> Hi,
>>
>> Running the command "sudo apachectl configtest" returns "Syntax OK".
>>
>> Running "sudo systemctl restart apache2" doesn't respond. But a few
>> minutes ago it worked and the website worked. I rebooted again and now
>> again it's not working. The problem is that apache doesn't restart after
>> rebooting.
>>
>> אורי
>> u...@speedy.net
>>
>>
>> ‪On Thu, Jun 11, 2020 at 6:29 AM ‫אורי‬‎  wrote:‬
>>
>>> Hi,
>>>
>>> Thanks for your suggestion, I decided to upgrade to 18.04.4 and I ran a
>>> few times the following commands (from root):
>>>
>>> sudo apt autoremove
>>> sudo apt-get update
>>> sudo apt-get upgrade
>>> sudo apt update
>>> sudo apt upgrade
>>>
>>> I have 4 servers and I upgraded all of them and 3 of them are working
>>> properly, however one server apache is not working, I can't restart apache
>>> (with "sudo systemctl restart apache2" - it's not responding) and the
>>> website is not working. How can I fix it now?
>>>
>>> The server didn't respond after reboot once (after 2 reboots) and I had
>>> to shut it down and restart it again.
>>>
>>> Thanks,
>>> Uri
>>> אורי
>>> u...@speedy.net
>>>
>>>
>>> On Wed, Jun 10, 2020 at 10:29 PM Micha Bailey 
>>> wrote:
>>>
>>>> Regarding the upgrade to Focal (20.04): There’s no reason to rush.
>>>> Bionic (18.04) is supported, if I’m not mistaken, until 2023. In fact,
>>>> Bionic (LTS) users aren’t even offered the upgrade (i.e. you need to go out
>>>> of your way to get it) until 20.04.1 is out in a few months.
>>>>
>>>> Regarding the upgrade to 18.04.4, I could be mistaken, but my
>>>> understanding is that point releases aren’t new versions of Ubuntu per se.
>>>> At point releases, new isos are spun with up-to-date packages, but it’s
>>>> still the same version. Assuming you make a habit of installing updates
>>>> regularly (which you obviously should be), you will effectively
>>>> automatically be on 18.04.4.
>>>>
>>>> On Wed, Jun 10, 2020 at 6:44 PM אורי  wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Actually I have a staging server which I can upgrade first to 18.04.4
>>>>> to see if it works, or if something breaks. But I didn't find it on Google
>>>>> - how do I upgrade an OS to Ubuntu 18.04.4 (from 18.04.*) without 
>>>>> upgrading
>>>>> it to 20.04?
>>>>>
>>>>> אורי
>>>>> u...@speedy.net
>>>>>
>>>>>
>>>>> On Wed, Jun 10, 2020 at 6:19 PM Shlomi Fish  wrote:
>>>>>
>>>>>> Hi Uri!
>>>>>>
>>>>>> ‪On Wed, Jun 10, 2020 at 5:30 PM ‫אורי‬‎  wrote:‬
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I'm sorry for posting twice in the same day to the same mailing
>>>>>>> list. But I have a question: I'm using Ubuntu 18.04.3 LTS for a few
>>>>>>> production servers (one of them I upgraded a few months ago from 14.04).
>>>>>>> How important it is to upgrade the OS version, or can I keep it like 
>>>>>>> this?
>>>>>>> I'm afraid that things will break up if I upgrade. And if I upgrade, 
>>>>>>> should
>>>>>>> I upgrade to Ubuntu 18.04.4 or 20.04? I think since 20.04 has been 
>>>>>>> recently
>>>>>>> released, it might have bugs which will be fixed later, and I prefer 
>>>>>>> not to
>>>>>>> use the first version of 20.04 but to wait about one year before I use 
>>>>>>> it.
>>>>>>> Is there a risk with keeping using 18.04.3? Or should I upgrade at 
>>>>>>> least to
>>>>>>> 18.04.4?
>>>>>>>
>>>>>>>
>>>>>> I've ans

Ubuntu - apache is not working

2020-06-10 Thread אורי
Hi,

Running the command "sudo apachectl configtest" returns "Syntax OK".

Running "sudo systemctl restart apache2" doesn't respond. But a few minutes
ago it worked and the website worked. I rebooted again and now again it's
not working. The problem is that apache doesn't restart after rebooting.

אורי
u...@speedy.net


‪On Thu, Jun 11, 2020 at 6:29 AM ‫אורי‬‎  wrote:‬

> Hi,
>
> Thanks for your suggestion, I decided to upgrade to 18.04.4 and I ran a
> few times the following commands (from root):
>
> sudo apt autoremove
> sudo apt-get update
> sudo apt-get upgrade
> sudo apt update
> sudo apt upgrade
>
> I have 4 servers and I upgraded all of them and 3 of them are working
> properly, however one server apache is not working, I can't restart apache
> (with "sudo systemctl restart apache2" - it's not responding) and the
> website is not working. How can I fix it now?
>
> The server didn't respond after reboot once (after 2 reboots) and I had to
> shut it down and restart it again.
>
> Thanks,
> Uri
> אורי
> u...@speedy.net
>
>
> On Wed, Jun 10, 2020 at 10:29 PM Micha Bailey 
> wrote:
>
>> Regarding the upgrade to Focal (20.04): There’s no reason to rush. Bionic
>> (18.04) is supported, if I’m not mistaken, until 2023. In fact, Bionic
>> (LTS) users aren’t even offered the upgrade (i.e. you need to go out of
>> your way to get it) until 20.04.1 is out in a few months.
>>
>> Regarding the upgrade to 18.04.4, I could be mistaken, but my
>> understanding is that point releases aren’t new versions of Ubuntu per se.
>> At point releases, new isos are spun with up-to-date packages, but it’s
>> still the same version. Assuming you make a habit of installing updates
>> regularly (which you obviously should be), you will effectively
>> automatically be on 18.04.4.
>>
>> On Wed, Jun 10, 2020 at 6:44 PM אורי  wrote:
>>
>>> Hi,
>>>
>>> Actually I have a staging server which I can upgrade first to 18.04.4 to
>>> see if it works, or if something breaks. But I didn't find it on Google -
>>> how do I upgrade an OS to Ubuntu 18.04.4 (from 18.04.*) without upgrading
>>> it to 20.04?
>>>
>>> אורי
>>> u...@speedy.net
>>>
>>>
>>> On Wed, Jun 10, 2020 at 6:19 PM Shlomi Fish  wrote:
>>>
>>>> Hi Uri!
>>>>
>>>> ‪On Wed, Jun 10, 2020 at 5:30 PM ‫אורי‬‎  wrote:‬
>>>>
>>>>> Hi,
>>>>>
>>>>> I'm sorry for posting twice in the same day to the same mailing list.
>>>>> But I have a question: I'm using Ubuntu 18.04.3 LTS for a few production
>>>>> servers (one of them I upgraded a few months ago from 14.04). How 
>>>>> important
>>>>> it is to upgrade the OS version, or can I keep it like this? I'm afraid
>>>>> that things will break up if I upgrade. And if I upgrade, should I upgrade
>>>>> to Ubuntu 18.04.4 or 20.04? I think since 20.04 has been recently 
>>>>> released,
>>>>> it might have bugs which will be fixed later, and I prefer not to use the
>>>>> first version of 20.04 but to wait about one year before I use it. Is 
>>>>> there
>>>>> a risk with keeping using 18.04.3? Or should I upgrade at least to 
>>>>> 18.04.4?
>>>>>
>>>>>
>>>> I've answered the general question here:
>>>>
>>>>
>>>> https://github.com/shlomif/Freenode-programming-channel-FAQ/blob/master/FAQ_with_ToC__generated.md#will-a-change-i-would-like-to-do-break-some-functionality
>>>>
>>>> Quoting it:
>>>>
>>>> Will a change I would like to do break some functionality?
>>>>
>>>> As the aphorism
>>>> <https://github.com/shlomif/shlomif-email-signature/blob/master/shlomif-sig-quotes.txt#L1988>
>>>> goes: The difference between theory and practice is that in theory,
>>>> there is no difference between theory and practice, while in practice,
>>>> there is.. There is usually a risk, however small, that a change will
>>>> break some functionality. With good tooling (such as
>>>> https://en.wikipedia.org/wiki/Version_control ,
>>>> https://en.wikipedia.org/wiki/Virtual_machine and
>>>> https://en.wikipedia.org/wiki/OS-level_virtualisation ) it should be
>>>> relatively easy to revert a change which introduced regressions, and you
>>>> should do adequate testing.
>>>>
>>>> A change may have to b

Re: Ubuntu

2020-06-10 Thread אורי
Hi,

Thanks for your suggestion, I decided to upgrade to 18.04.4 and I ran a few
times the following commands (from root):

sudo apt autoremove
sudo apt-get update
sudo apt-get upgrade
sudo apt update
sudo apt upgrade

I have 4 servers and I upgraded all of them and 3 of them are working
properly, however one server apache is not working, I can't restart apache
(with "sudo systemctl restart apache2" - it's not responding) and the
website is not working. How can I fix it now?

The server didn't respond after reboot once (after 2 reboots) and I had to
shut it down and restart it again.

Thanks,
Uri
אורי
u...@speedy.net


On Wed, Jun 10, 2020 at 10:29 PM Micha Bailey  wrote:

> Regarding the upgrade to Focal (20.04): There’s no reason to rush. Bionic
> (18.04) is supported, if I’m not mistaken, until 2023. In fact, Bionic
> (LTS) users aren’t even offered the upgrade (i.e. you need to go out of
> your way to get it) until 20.04.1 is out in a few months.
>
> Regarding the upgrade to 18.04.4, I could be mistaken, but my
> understanding is that point releases aren’t new versions of Ubuntu per se.
> At point releases, new isos are spun with up-to-date packages, but it’s
> still the same version. Assuming you make a habit of installing updates
> regularly (which you obviously should be), you will effectively
> automatically be on 18.04.4.
>
> On Wed, Jun 10, 2020 at 6:44 PM אורי  wrote:
>
>> Hi,
>>
>> Actually I have a staging server which I can upgrade first to 18.04.4 to
>> see if it works, or if something breaks. But I didn't find it on Google -
>> how do I upgrade an OS to Ubuntu 18.04.4 (from 18.04.*) without upgrading
>> it to 20.04?
>>
>> אורי
>> u...@speedy.net
>>
>>
>> On Wed, Jun 10, 2020 at 6:19 PM Shlomi Fish  wrote:
>>
>>> Hi Uri!
>>>
>>> ‪On Wed, Jun 10, 2020 at 5:30 PM ‫אורי‬‎  wrote:‬
>>>
>>>> Hi,
>>>>
>>>> I'm sorry for posting twice in the same day to the same mailing list.
>>>> But I have a question: I'm using Ubuntu 18.04.3 LTS for a few production
>>>> servers (one of them I upgraded a few months ago from 14.04). How important
>>>> it is to upgrade the OS version, or can I keep it like this? I'm afraid
>>>> that things will break up if I upgrade. And if I upgrade, should I upgrade
>>>> to Ubuntu 18.04.4 or 20.04? I think since 20.04 has been recently released,
>>>> it might have bugs which will be fixed later, and I prefer not to use the
>>>> first version of 20.04 but to wait about one year before I use it. Is there
>>>> a risk with keeping using 18.04.3? Or should I upgrade at least to 18.04.4?
>>>>
>>>>
>>> I've answered the general question here:
>>>
>>>
>>> https://github.com/shlomif/Freenode-programming-channel-FAQ/blob/master/FAQ_with_ToC__generated.md#will-a-change-i-would-like-to-do-break-some-functionality
>>>
>>> Quoting it:
>>>
>>> Will a change I would like to do break some functionality?
>>>
>>> As the aphorism
>>> <https://github.com/shlomif/shlomif-email-signature/blob/master/shlomif-sig-quotes.txt#L1988>
>>> goes: The difference between theory and practice is that in theory,
>>> there is no difference between theory and practice, while in practice,
>>> there is.. There is usually a risk, however small, that a change will
>>> break some functionality. With good tooling (such as
>>> https://en.wikipedia.org/wiki/Version_control ,
>>> https://en.wikipedia.org/wiki/Virtual_machine and
>>> https://en.wikipedia.org/wiki/OS-level_virtualisation ) it should be
>>> relatively easy to revert a change which introduced regressions, and you
>>> should do adequate testing.
>>>
>>> A change may have to be avoided due to being estimated as too time or
>>> money consuming, or as having too little gain. However, promising changes
>>> should be attempted because:
>>>
>>>1. "No guts - no glory."
>>>2. What does "if it ain't broke, don't fix it" really mean?
>>>
>>> <https://szabgab.com/what-does--if-it-aint-broke-dont-fix-it--really-mean.html>
>>>3. If you never change anything, your project won't progress.
>>>
>>> --
>>> While you may break some functionality by updating to 18.04.04 , you
>>> also risk being affected by known security vulnerabilities (which may also
>>> break functionality sooner or later). There is a concept of
>>> https://en.wikipedia.org/wiki/Technical_debt .
>>>
>>&

Re: Ubuntu

2020-06-10 Thread אורי
Hi,

Actually I have a staging server which I can upgrade first to 18.04.4 to
see if it works, or if something breaks. But I didn't find it on Google -
how do I upgrade an OS to Ubuntu 18.04.4 (from 18.04.*) without upgrading
it to 20.04?

אורי
u...@speedy.net


On Wed, Jun 10, 2020 at 6:19 PM Shlomi Fish  wrote:

> Hi Uri!
>
> ‪On Wed, Jun 10, 2020 at 5:30 PM ‫אורי‬‎  wrote:‬
>
>> Hi,
>>
>> I'm sorry for posting twice in the same day to the same mailing list. But
>> I have a question: I'm using Ubuntu 18.04.3 LTS for a few production
>> servers (one of them I upgraded a few months ago from 14.04). How important
>> it is to upgrade the OS version, or can I keep it like this? I'm afraid
>> that things will break up if I upgrade. And if I upgrade, should I upgrade
>> to Ubuntu 18.04.4 or 20.04? I think since 20.04 has been recently released,
>> it might have bugs which will be fixed later, and I prefer not to use the
>> first version of 20.04 but to wait about one year before I use it. Is there
>> a risk with keeping using 18.04.3? Or should I upgrade at least to 18.04.4?
>>
>>
> I've answered the general question here:
>
>
> https://github.com/shlomif/Freenode-programming-channel-FAQ/blob/master/FAQ_with_ToC__generated.md#will-a-change-i-would-like-to-do-break-some-functionality
>
> Quoting it:
>
> Will a change I would like to do break some functionality?
>
> As the aphorism
> <https://github.com/shlomif/shlomif-email-signature/blob/master/shlomif-sig-quotes.txt#L1988>
> goes: The difference between theory and practice is that in theory, there
> is no difference between theory and practice, while in practice, there is..
> There is usually a risk, however small, that a change will break some
> functionality. With good tooling (such as
> https://en.wikipedia.org/wiki/Version_control ,
> https://en.wikipedia.org/wiki/Virtual_machine and
> https://en.wikipedia.org/wiki/OS-level_virtualisation ) it should be
> relatively easy to revert a change which introduced regressions, and you
> should do adequate testing.
>
> A change may have to be avoided due to being estimated as too time or
> money consuming, or as having too little gain. However, promising changes
> should be attempted because:
>
>1. "No guts - no glory."
>2. What does "if it ain't broke, don't fix it" really mean?
>
> <https://szabgab.com/what-does--if-it-aint-broke-dont-fix-it--really-mean.html>
>3. If you never change anything, your project won't progress.
>
> --
> While you may break some functionality by updating to 18.04.04 , you also
> risk being affected by known security vulnerabilities (which may also break
> functionality sooner or later). There is a concept of
> https://en.wikipedia.org/wiki/Technical_debt .
>
> Regarding updating to 20.04, it is likely more time consuming and may have
> more breaking changes, and you may not need all the newest and shiniest
> software versions there, and you may wish to only update to ubuntu
> 22.04/etc. I didn't hear of too many horror stories of ubuntu 20.04 being
> unusable or unstable, but I'm quite out of the loop.
>
> Good luck!
>
>
>
>> Thanks,
>> Uri.
>> אורי
>> u...@speedy.net
>> ___
>> Linux-il mailing list
>> Linux-il@cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>
>
> --
> Shlomi Fish https://www.shlomifish.org/
>
> Buddha has the Chuck Norris nature.
>
> Please reply to list if it's a mailing list post - http://shlom.in/reply .
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Ubuntu

2020-06-10 Thread אורי
Thank you, Shlomi. I like the difference between theory and practice.
אורי
u...@speedy.net


On Wed, Jun 10, 2020 at 6:19 PM Shlomi Fish  wrote:

> Hi Uri!
>
> ‪On Wed, Jun 10, 2020 at 5:30 PM ‫אורי‬‎  wrote:‬
>
>> Hi,
>>
>> I'm sorry for posting twice in the same day to the same mailing list. But
>> I have a question: I'm using Ubuntu 18.04.3 LTS for a few production
>> servers (one of them I upgraded a few months ago from 14.04). How important
>> it is to upgrade the OS version, or can I keep it like this? I'm afraid
>> that things will break up if I upgrade. And if I upgrade, should I upgrade
>> to Ubuntu 18.04.4 or 20.04? I think since 20.04 has been recently released,
>> it might have bugs which will be fixed later, and I prefer not to use the
>> first version of 20.04 but to wait about one year before I use it. Is there
>> a risk with keeping using 18.04.3? Or should I upgrade at least to 18.04.4?
>>
>>
> I've answered the general question here:
>
>
> https://github.com/shlomif/Freenode-programming-channel-FAQ/blob/master/FAQ_with_ToC__generated.md#will-a-change-i-would-like-to-do-break-some-functionality
>
> Quoting it:
>
> Will a change I would like to do break some functionality?
>
> As the aphorism
> <https://github.com/shlomif/shlomif-email-signature/blob/master/shlomif-sig-quotes.txt#L1988>
> goes: The difference between theory and practice is that in theory, there
> is no difference between theory and practice, while in practice, there is..
> There is usually a risk, however small, that a change will break some
> functionality. With good tooling (such as
> https://en.wikipedia.org/wiki/Version_control ,
> https://en.wikipedia.org/wiki/Virtual_machine and
> https://en.wikipedia.org/wiki/OS-level_virtualisation ) it should be
> relatively easy to revert a change which introduced regressions, and you
> should do adequate testing.
>
> A change may have to be avoided due to being estimated as too time or
> money consuming, or as having too little gain. However, promising changes
> should be attempted because:
>
>1. "No guts - no glory."
>2. What does "if it ain't broke, don't fix it" really mean?
>
> <https://szabgab.com/what-does--if-it-aint-broke-dont-fix-it--really-mean.html>
>3. If you never change anything, your project won't progress.
>
> --
> While you may break some functionality by updating to 18.04.04 , you also
> risk being affected by known security vulnerabilities (which may also break
> functionality sooner or later). There is a concept of
> https://en.wikipedia.org/wiki/Technical_debt .
>
> Regarding updating to 20.04, it is likely more time consuming and may have
> more breaking changes, and you may not need all the newest and shiniest
> software versions there, and you may wish to only update to ubuntu
> 22.04/etc. I didn't hear of too many horror stories of ubuntu 20.04 being
> unusable or unstable, but I'm quite out of the loop.
>
> Good luck!
>
>
>
>> Thanks,
>> Uri.
>> אורי
>> u...@speedy.net
>> ___
>> Linux-il mailing list
>> Linux-il@cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>
>
> --
> Shlomi Fish https://www.shlomifish.org/
>
> Buddha has the Chuck Norris nature.
>
> Please reply to list if it's a mailing list post - http://shlom.in/reply .
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Ubuntu

2020-06-10 Thread אורי
Hi,

Actually I had a website running on Ubuntu 10.04 LTS from 2012 to 2019 and
it didn't break, and I didn't upgrade.

אורי
u...@speedy.net


On Wed, Jun 10, 2020 at 5:34 PM Geoffrey Mendelson <
geoffreymendel...@gmail.com> wrote:

> I am running ubuntu lts 10.something on a server I am afraid will break.
>
> Geoff.
>
> --
> Geoffrey S. Mendelson, N3OWJ/4X1GM/KBUH7245/KBUW5379 Jerusalem, Israel
> On Jun 10, 2020, 5:30 PM +0300, אורי , wrote:
>
> Hi,
>
> I'm sorry for posting twice in the same day to the same mailing list. But
> I have a question: I'm using Ubuntu 18.04.3 LTS for a few production
> servers (one of them I upgraded a few months ago from 14.04). How important
> it is to upgrade the OS version, or can I keep it like this? I'm afraid
> that things will break up if I upgrade. And if I upgrade, should I upgrade
> to Ubuntu 18.04.4 or 20.04? I think since 20.04 has been recently released,
> it might have bugs which will be fixed later, and I prefer not to use the
> first version of 20.04 but to wait about one year before I use it. Is there
> a risk with keeping using 18.04.3? Or should I upgrade at least to 18.04.4?
>
> Thanks,
> Uri.
> אורי
> u...@speedy.net
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Ubuntu

2020-06-10 Thread אורי
Hi,

I'm sorry for posting twice in the same day to the same mailing list. But I
have a question: I'm using Ubuntu 18.04.3 LTS for a few production servers
(one of them I upgraded a few months ago from 14.04). How important it is
to upgrade the OS version, or can I keep it like this? I'm afraid that
things will break up if I upgrade. And if I upgrade, should I upgrade
to Ubuntu 18.04.4 or 20.04? I think since 20.04 has been recently released,
it might have bugs which will be fixed later, and I prefer not to use the
first version of 20.04 but to wait about one year before I use it. Is there
a risk with keeping using 18.04.3? Or should I upgrade at least to 18.04.4?

Thanks,
Uri.
אורי
u...@speedy.net
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Web hosting providers (OT)

2020-06-10 Thread אורי
Hi,

I'm thinking about the option to deploy a new server for testing speed at
https://www.speedtest.net/ . Do you know which hosting providers you
recommend with inexpensive but strong servers? I'm using Digital Ocean, and
in the past I used CloudSigma, Amazon EC2 and Rackspace. What's important
to me is the price and the good performance, and good network speed. I read
on https://www.speedtest.net/speedtest-servers and checked the minimal
hardware they want (https://support.ookla.com/hc/en-us/articles/234578628:
 Recommended Quad Core 8GB 2Gbps 1GB) - do they mean a dedicated CPU or can
I used shared CPU like in Digital Ocean? And how much will such a server
cost me? And by the way, I'm looking for locations where they don't have
many servers, such as Geneva or Seoul. But it all depends on the cost also,
I might prefer a cheaper server in a location where they have many servers.
What do you recommend?

I currently have a few servers hosted at Digital Ocean in Amsterdam, and I
might use one of them - but it will need to be upgraded in memory and CPU.
I think it's not a good idea to use my production server, but I'm thinking
about using my staging server. Do you think it's a good idea?

The operating system I feel most comfortable with for servers is Ubuntu
(LTS).

By the way, I'm thinking maybe to buy a new computer, but I'm using
MS-Excel and Word, so I guess I'm stuck with Microsoft Windows. By the way
it's a genius way to promote Windows - by making people to need Word and
Excel (and Powerpoint). And I'm also using TortoiseGit.

Please don't recommend to me alternatives for Word or Excel which are not
the real thing (been there, done that).

I have bash shell on Windows and I can do many things from the shell, so I
feel like using Linux even on Windows.

Thanks,
Uri.
אורי
u...@speedy.net
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: Non-Israeli domain name registration.

2019-08-11 Thread אורי
There is less competition and less money in the .il market (in total, not
per domain) therefore prices are higher and service quality is lower. I
think there are hundreds of .com etc. registrars and only about 10 .il
registrars. If you need the .il I'm currently using www.box.co.il, if not I
would recommend an international domain name. There are lots of extensions
but the most popular are com/net/org. I would recommend having at least one
of .com/.org version of your domain name, depending if you are for profit
or non-profit.

אורי
u...@speedy.net


On Sun, Aug 11, 2019 at 10:04 AM vordoo  wrote:

> Thanks for your input!
>
>
> I do not really care for Hebrew or NIS payments, but do for the service &
> bottom line. As long as the service is good (English and/or Hebrew, via
> email, web-ticket, phone or fax :-) I could care less. Most impotent is
> avoiding those interfaces that flash & up-sell more then serve the point
> you originally came to use them.
>
>
> Sadly, it looks like with an IL-registrar you only get to pay more & get
> the same or less service wise. Really hope someone can debunk me on that.
>
>
>
> On 8/8/19 1:26 PM, Yedidyah Bar David wrote:
>
> Last time I had to renew my only (.org) domain I decided to transfer it to
> box.co.il, which is also a .il registrar (which I why I knew them). It
> was a bit more expensive than the cheapest options abroad, but the ability
> to pay in NIS with an Israeli (-only) credit card, and be able to talk with
> someone over a phone, in Hebrew, made it, for me. The transfer and renew
> was just fine (although did take some time and work, also because I had to
> ask the previous registrar to allow transfer but also because they had some
> mistakes etc.). Didn't hear from them since then, and do not expect to hear
> - the yearly "update your details at icann" emails include links to "
> name-services.com", and the last one was also sent From: there. They are
> a sub-registrar of enom.com, which IIUC is a rather large registrar that
> only has sub- ones, does not work with end customers directly.
>
> Best regards,
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: Non-Israeli domain name registration.

2019-07-31 Thread אורי
I recommend NameSilo. Best prices and reliability.
https://new.namesilo.com/

Avoid GoDaddy. Unless it's a cheap domain and you want the cheapest prices
and then use them.

Notice that many websites just use GoDaddy with their own brand name.

אורי
u...@speedy.net


On Wed, Jul 31, 2019 at 1:10 PM vordoo  wrote:

> Regarding .com, .org, domains. What are the best registrars? Which are to
> be avoided (beside Godaddy).
>
>
> Thanks!
>
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: Israeli domain names

2019-07-24 Thread אורי
הם מרוויחים יותר על הקצאה מחדש ולכן מעדיפים לעשות הקצאה מחדש. הגשתי נגדם
(LiveDNS) תביעה לבית משפט לתביעות קטנות.

ההקצאה מחדש מגיעה מאיגוד האינטרנט הישראלי ולא נראה לי שיהיה קל לשנות את זה.
אבל ראיתי שבדומיינים בינלאומיים ובמדינות אחרות זה לא קיים. אתם מכירים
מדינות אחרות או סיומות דומיינים שבהם זה קיים?

אני מניח שיש גם יתרון בהקצאה מחדש, כך שאדם אחר לא יכול סתם ככה לפרוץ לך
לחשבון ולשנות את הדומיינים שלך על שמו ללא הקצאה מחדש, שאותה הם מוודאים איתך
גם בטלפון. אבל זה יקר יותר וגם לדעתי מיותר, ובמיוחד שזה לא מקובל בכל העולם
בדומיינים .com וכאלה.

אני חושב שגם בטאבו, העברה דירה למשל או נכס על שמו של אדם אחר כרוכה באגרה
וזה גם הליך לא פשוט.

בסופו של דבר LiveDNS כן שינו את שמי ללא הקצאה מחדש וללא תשלום נוסף אבל זה
לקח לי הרבה מאוד שעות עבודה והייתי צריך לפנות גם לאיגוד האינטרנט הישראלי
בשביל שהם יעשו את זה.

אורי
u...@speedy.net


On Wed, Jul 24, 2019 at 1:32 PM Yehuda Deutsch  wrote:

> לגבי שינוי פרטים זה עניין של נהלים והבעיה היא שאין נהלים אחידים בין הרשמים
> בהקשר זה.
> לגבי העברת בעלות, בלי קשר לשאלה האם מדובר באותו אדם או לא, אני חושב שהנוהל
> הנוכחי שלמעשה יוצר רישום מחדש הוא פגום ופוגע בכל המעורבים, וניסיתי להילחם
> בו.
> בכל מקרה תפנה לרשם עם מסמכי שינוי שם וזה אמור לפתור את העניין כי אין באמת
> העברת בעלות.
>
> יהודה
> --
> *Yehuda Deutsch | IT Developer*
>
>
> ‪On Wed, Jul 24, 2019 at 8:35 AM ‫אורי‬‎  wrote:‬
>
>> לי הייתה בעייה עם LiveDNS כשהחלפתי שם משפחה והם דרשו ממני להקצות את
>> הדומיין מחדש במחיר מופקע. לא הסכמתי. ולכן אני רוצה להפסיק לעבוד איתם.
>>
>> אני מתכוון כיום לנסות את box.co.il.
>>
>> GoDaddy דפקו את כולם ובכל זאת הם החברה הכי פופולרית וכולם מכירים אותם...
>> אבל הם לא רושמים דומיינים .il ככל הידוע לי.
>>
>> אורי
>> u...@speedy.net
>>
>>
>> On Wed, Jul 24, 2019 at 1:21 AM Rabin Yasharzadehe 
>> wrote:
>>
>>> החיים שלך תותים אם GoDaddy לא הצליחו לדפוק אותך בדרך כזאת או אחר.
>>> גם לי יש רק דברים רעים להגיד עלהם.
>>>
>>> בכול אופן לשאלה המקורית שלך,
>>> התשובה שלי לא השתנתה מאז שכתבתי אותה ואני עדיין חושב שהיא נכונה.
>>> לך לרשם הכי זול , תפנה את ה-NS-ים לשירות כמו CLOUDFLATE שנותן לך ניהול
>>> ZONE בחינם עם עוד עשרות אופציות בחינם, וזהו
>>> ושים לעצמך תזכורת ביומן לגבי מועד החידוש כדי שלא תסמוך שהרשם ישלח לך
>>> תזוכרת בזמן ושתראה אותה.
>>>
>>>
>>> --
>>> Rabin
>>>
>>>>
>>>> ___
>> Linux-il mailing list
>> Linux-il@cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: Israeli domain names

2019-07-23 Thread אורי
לי הייתה בעייה עם LiveDNS כשהחלפתי שם משפחה והם דרשו ממני להקצות את הדומיין
מחדש במחיר מופקע. לא הסכמתי. ולכן אני רוצה להפסיק לעבוד איתם.

אני מתכוון כיום לנסות את box.co.il.

GoDaddy דפקו את כולם ובכל זאת הם החברה הכי פופולרית וכולם מכירים אותם...
אבל הם לא רושמים דומיינים .il ככל הידוע לי.

אורי
u...@speedy.net


On Wed, Jul 24, 2019 at 1:21 AM Rabin Yasharzadehe  wrote:

> החיים שלך תותים אם GoDaddy לא הצליחו לדפוק אותך בדרך כזאת או אחר.
> גם לי יש רק דברים רעים להגיד עלהם.
>
> בכול אופן לשאלה המקורית שלך,
> התשובה שלי לא השתנתה מאז שכתבתי אותה ואני עדיין חושב שהיא נכונה.
> לך לרשם הכי זול , תפנה את ה-NS-ים לשירות כמו CLOUDFLATE שנותן לך ניהול
> ZONE בחינם עם עוד עשרות אופציות בחינם, וזהו
> ושים לעצמך תזכורת ביומן לגבי מועד החידוש כדי שלא תסמוך שהרשם ישלח לך
> תזוכרת בזמן ושתראה אותה.
>
>
> --
> Rabin
>
>>
>>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: OT: Israeli domain names

2019-07-23 Thread אורי
היי,

לי קרה בשנת 1999 שרציתי לרשום את הדומיין speedysoft.com והוא היה פנוי
לרישום, לא רשמתי ותוך כמה ימים הוא כבר היה תפוס, ונאלצתי לחכות שנתיים
ולרשום אותו אז. אחרי שרשמתי אותו, חברה אחרת רשמה speedysoftusa.com ומופיעה
עד היום ראשונה בגוגל כשמחפשים speedysoft. אני חושב שבשנת 1999 דווקא לא
בדקתי את הדומיין ב-GoDaddy.

קרה לי גם עם GoDaddy שאחסנתי אצלם אתר, שהיה די זול, וחרגתי קצת מנפח האיחסון
שהם היקצו לי, ועשיתי חשבון שהם חייבו אותי פי אלף על שטח האיחסון שחרגתי
יחסית לשטח האיחסון המקורי שעליו שילמתי, כלומר לכל קילובייט איחסון. כלומר
משהו כמו 10 דולר במקום סנט אחד ליחידת נפח. אני לא זוכר מחיר מדוייק אבל אני
חושב שהם חייבו אותי אז בערך 20 דולר יותר ומאז אני לא מאחסן אצלם אתרים. גם
דומיינים אני משתדל להמנע מהם אבל לפעמים אני כן משתמש במערכת החיפוש שלהם כי
הם נותנים לחפש עד 500 דומיינים בפעם אחת ולראות אם הם פנויים. יש דומיינים
שמצאתי אצלם שפנויים ורשמתי בחברות אחרות. ולא ידעתי שהם רושמים על שמם
דומיינים פנויים שחיפשת אצלם. טוב לדעת. עכשיו אני נזכר שדומיינים שחיפשתי
אצלם והיו פנויים ולא רשמתי, עכשיו כבר לא פנויים לרישום.

גם התשלום הנוסף ש-GoDaddy גובים לכאורה עבור ICANN, זה נראה לי טריק מלוכלך
בשביל שהדומיין ייראה זול יותר. אני לא מכיר אף חברה אחרת שעושה את זה.

מה שכן, אף פעם לא הייתה לי בעייה להעביר דומיינים מ-GoDaddy לחברות אחרות.
היו חברות אחרות בעבר שכן היו לי איתן בעיות אבל לא עם GoDaddy.

אורי
u...@speedy.net


On Tue, Jul 23, 2019 at 9:02 AM Eli Marmor  wrote:

> אם זו הבעיה שלך עם גודאדי, אז יצאת בזול.
>
> המודל העסקי של גודאדי בהתחלה, היה כזה:
> שבירת המחיר המקובל אז באופן פראי מצד אחד.
> ומצד שני, כדי לפצות על מחירי ההפסד שהם גבו, שימוש בפרקטיקות מלוכלכות.
> הלקוחות הוחתמו על חוזה דראקוני, אך כולם חתמו בשמחה, כי יחד עם הסעיפים
> המקפחים קיבלת גם מחירים ללא תחרות.
> שלפחות לדעתי, זה ״פייר אינאף״.
>
> בינתיים המחירים של גודאדי כבר פחות תחרותיים, אך רוב הפרקטיקות המלוכלכות
> נשארו.
> אז כולם יודעים על הצרות שהם הערימו על מי שרצה לעבור רשם, אך זה משותף
> לרשמים נוספים, ולא כלול בפרקטיקות המלוכלכות שאני מכוון אליהן.
>
> דוגמאות לפרקטיקות מלוכלכות באמת:
>
> א. אם תבצע חיפוש של דומיין דרך מנוע החיפוש של גודאדי, ותגלה שהוא פנוי, ולא
> תרשום אותו ביום-יומיים הבאים, וזה דומיין הגיוני (כלומר לא צירוף אותיות חסר
> משמעות או משהו שברור שחיפשת סתם מתוך שעמום), הדומיין ייתפס, כביכול ע״י
> מישהו שלא קשור לגודאדי, אך עם חיפוש מדוקדק תגלה שזה מישהו שבהחלט עובד עם
> גודאדי. התפיסה תהיה מסוג ״פארקינג״. כך למשל אם תחפש משהו, תגלה שהוא פנוי,
> תיקח כמה ימים להתייעץ עם אשתך ולרשום טריידמארק ולתפוס שם חברה ברשם החברות,
> אז כשתגיע סוף סוף לרשום את הדומיין, תגלה שבמקום כמה דולרים ספורים, תזדקק
> לאלף דולר כדי לרכוש אותו. לי אישית זה קרה, חיכיתי שנה לתום הרישום אך
> להפתעתי הוא חודש, חיכיתי עוד שנה ורק אז הוא התפנה ויכולתי לרשום אותו. חקרתי
> וגיליתי שזה קרה לאלפי אנשים. מאז אני כמובן מקפיד לבצע חיפושים רק דרך
> nslookup.
>
> ב. ברירת המחדל בעת רישום דומיין היא שהוא יחודש אוטומטית. האתר מקשה על
> שינוי ההגדרה הזאת. אם בכל זאת הצלחת לשנות, האתר מתמרן אותך ומנסה לגרום לך
> בכל מיני דרכים מטעות ומבלבלות לשנות בחזרה את ההגדרה. לכשעצמה, לא הייתי
> מגדיר בעיה זו כ״פרקטיקה מלוכלכת״, אבל בשילוב עם העובדה שמחיר חידוש הינו
> גבוה פי כמה ממחיר הרישום המקורי, לפעמים בסדר גודל שלם, אני בטוח שרוב האנשים
> היו מעדיפים אפשרות לבצע ריוויו לפני חידוש, למקרה שהמחיר קפץ לשמיים, ויש רשם
> אחר שגובה מחיר הרבה יותר נמוך. או במילים אחרות: גודאדי מתאמץ שכל הדומיינים
> אצלו יחודשו אוטומטית, כדי לאפשר לעצמו לגבות מחירים מופקעים עבור חידוש, בלי
> שהלקוחות יבחינו בכך. המלצה שלי: להמנע בכל מחיר מחידוש אוטומטי, ולדאוג
> בדרכים אחרות (למשל גוגל קלנדר) לקבל נוטיפיקציות לפני פקיעת דומיינים.
>
> ג. ואם כבר דיברנו על פקיעת דומיינים: כידוע, דומיין שפקע, ניתן לרישום ע״י
> מתחרה עסקי שלך, או סתם טרול שיודע כמה אתה תלוי בדומיין ויסחט ממך אח״כ רבבות
> דולרים תמורת החזרת הדומיין לרשותך. לכן יש לרוב הדומיינים תקופת ״חסד״ נוספת,
> שבה אתה עדיין יכול לחדש אותם, עם או בלי קנס, למרות שהמועד הרשמי עבר. מצד
> שני, יש דומיינים שאתה חייב לבצע חידוש שלהם לא עד המועד הרשמי, אלא הרבה לפני
> כן. למשל דומיינים בסיומת es. רוב האנשים לא מודעים לכך, כי הם לא קוראים את
> כל האותיות הקטנות, ובטוחים שבמקרה הגרוע הדומיין פוקע במועד הרשמי בלי תקופת
> חסד. ואז הם מבצעים חידוש 5-6 ימים לפני כן (כי הם סולידיים וזהירים ולא מחכים
> לרגע האחרון). גודאדי מבצעת חידוש זמני בכל מקרה, בלי ליידע אף אחד, אך לא
> מפעילה את החידוש הרשמי של אותם אנשים (כי הוא לא בוצע 45 ימים או 35 ימים
> מראש או בזמנים שהוגדרו), וכך אותם אנשים מגלים במועד החידוש שלמרות שהם
> כביכול חידשו, הדומיין שלהם פקע!  והם נכנסים ללחץ אטומי!  רגע לפני שהם
> מתייאשים הם פונים לגודאדי ש״מצטערים״ לבשר להם שהדומיין שלהם פקע ושהם הוזהרו
> על כך ונו נו נו ובלה בלה בלה, ורגע לפני התקף הלב גודאדי מבשרים להם שהם
> ״גילו״ שהם יכולים ״לשחזר״ להם את הדומיין אך זה יעלה להם בקנס, ובשלב הזה רוב
> האנשים נרגעים וכל כך שמחים, ומעדיפים לשלם את הקנס מאשר לקבל התקף לב.
>
> ואלו רק 3 דוגמאות מיני רבות.
>
> אני לא אומר לכם לא להחזיק דומיינים בגודאדי, ואפילו לי יש דומייני

Re: OT: Israeli domain names

2019-07-22 Thread אורי
Any .il domain name registrar recommended 2019? I have problems with
LiveDNS and I want to stop using them.

Do I have to renew a domain when I transfer it to a new registrar? Does it
cost money?

Are there big differences with prices or quality between registrars?

Not relevant with non-.il domain names, there I prefer to use NameSilo most
of the time.

GoDaddy cheated me 2 years ago and recently they refunded me "taxes" which
they collected from me in 2017. I read about a class action lawsuit against
them. I spent at least 3 hours trying to receive this refund which
eventually I received. They insisted on refunding it to the same credit
card I used in 2017 (which I don't use any more). You can register a domain
even for 99 cents with GoDaddy but if you turn your back they will pick
your pocket. I would not recommend using them.

Anyone else got a refund from GoDaddy?
אורי
u...@speedy.net


On Sun, Aug 13, 2017 at 4:27 PM Gabor Szabo  wrote:

> Thanks for all the replies.
>
> In the end I went with http://box.co.il for 49 NIS / year.
> They were fully automated, but I had to print a form, fill it, scan it
> and send it by email to ISOC in order to get their approval.
> They (ISOC) even called me to verify that it is indeed me who asked
> for the domain transfer.
>
> regards
>Gabor
>
> On Mon, Jul 31, 2017 at 9:42 AM, Gabor Szabo  wrote:
> > Hi,
> >
> > I am a bit late bird, but as my domains start to expire I have to move
> > them away from ISOC. I thought to give a try to BezeqInt (VirtualNest)
> > as I don't know any of the others either.
> >
> > Apparently I cannot do the transfer online. I need to fill out some
> > paper(!) forms.
> > I talked to a representative. She told me I will also need to call
> > them for renewals as that cannot be done via the website either.
> >
> > Finally she told me the cost is 100 NIS for the transfer and 250 NIS /
> > 2 years for the domain name. I have not seen any of these prices on
> > their site (I saw there 69 NIS / year) so I was rather shocked.
> >
> > What is your recommended registrar for Israeli domain names?
> >
> > regards
> >Gabor
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: What's so secure about sudo?

2019-06-18 Thread אורי
I'm not an expert, but I found out that if I login as a regular user, I use
sedo only when necessary. But when I login as root (which I do) I am root
all the time. This may cause problems if by mistake I enter a command which
might cause a big damage as root, but not a big damage as a regular user.
Such as, for example, rm -f. So the security issue is also for me entering
as a legitimate user and accidentally writing a wrong command. Which will
probably not happen with sedo. Especially when sedos require for me to
enter my password.

Anyway, some servers I manage I am able to login as root and some not, as
root login there is disabled. I'm not an expert is security but I think
usually my servers are not cracked/hacked as long as I keep the passwords
secure. If I login as root and don't make mistakes such as above, I don't
see why logging in as root is less secure than sedo.

By the way, sometimes I login as a regular user and then su. I don't
remember if this option is enabled in all my servers.
אורי
u...@speedy.net


On Tue, Jun 18, 2019 at 9:24 AM Shlomo Solomon 
wrote:

> This has bothered me for years and I decided to "get it off my chest".
>
> For many years I used su to do administrative tasks, but "everyone"
> uses sudo and the claim is that it's more secure than actually logging
> in as root.
>
> In principal, of course, root login is not a good thing, but let's
> remember something I've never seen discussed. I would assume that on
> most systems the root password is MUCH more secure than that of a
> regular user. Now if I give user david sudo privileges, anyone who
> cracks david's (weak) password now has access to root privileges.
>
> And before anyone says that this is only a one-time authorization, what
> if the guy who cracked david's password now does:
>sudo passwd root
>
> So what's so secure about using sudo?
>
> --
> Shlomo Solomon
> http://the-solomons.net
> Claws Mail 3.16.0 - Kubuntu 18.04
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Apache virtual hosts not working as expected - my website is redirected to the default virtual host

2018-12-21 Thread אורי
I found a solution and posted an answer there:

https://stackoverflow.com/questions/53846031/apache-virtual-hosts-not-working-as-expected-my-website-is-redirected-to-the-d

אורי
u...@speedy.net


‪On Fri, Dec 21, 2018 at 9:40 PM ‫אורי‬‎  wrote:‬

> Hi,
>
> I have a problem with Apache configuration and I submitted a question on
> Stack Overflow:
>
>
> https://stackoverflow.com/questions/53846031/apache-virtual-hosts-not-working-as-expected-my-website-is-redirected-to-the-d
>
> In short, I can't setup a virtual host on http://www.speedysoftware.com/,
> it leads to the default virtual host.
>
> I added a debugging URL - /_welcome.php, for example:
>
> http://www.speedysoft.com/_welcome.php (correct virtual host)
> http://www.speedy-software.com/_welcome.php (correct virtual host)
> http://www.speedysoftware.com/_welcome.php (default virtual host)
>
> In long, read the details on Stack Overflow.
>
> I'll appreciate your help. Except http://www.speedysoftware.com/, other
> virtual hosts on this server work as expected. For example,
> http://www.veganfriendly.co.il/.
>
> The name of the server (droplet) is www.speedysoftware.com, and this is
> the reverse DNS for the IP address as far as I know. But I'm not sure if
> this is the problem. I didn't try to change the name of the server and the
> reverse DNS.
>
> Thanks,
> אורי (Uri)
> u...@speedy.net
>
> P.S. Uri is not my name, but you can't write אורי in latin letters.
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Apache virtual hosts not working as expected - my website is redirected to the default virtual host

2018-12-21 Thread אורי
Hi,

I have a problem with Apache configuration and I submitted a question on
Stack Overflow:

https://stackoverflow.com/questions/53846031/apache-virtual-hosts-not-working-as-expected-my-website-is-redirected-to-the-d

In short, I can't setup a virtual host on http://www.speedysoftware.com/,
it leads to the default virtual host.

I added a debugging URL - /_welcome.php, for example:

http://www.speedysoft.com/_welcome.php (correct virtual host)
http://www.speedy-software.com/_welcome.php (correct virtual host)
http://www.speedysoftware.com/_welcome.php (default virtual host)

In long, read the details on Stack Overflow.

I'll appreciate your help. Except http://www.speedysoftware.com/, other
virtual hosts on this server work as expected. For example,
http://www.veganfriendly.co.il/.

The name of the server (droplet) is www.speedysoftware.com, and this is the
reverse DNS for the IP address as far as I know. But I'm not sure if this
is the problem. I didn't try to change the name of the server and the
reverse DNS.

Thanks,
אורי (Uri)
u...@speedy.net

P.S. Uri is not my name, but you can't write אורי in latin letters.
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il