Linux Lite 8.0 RC1 has been released - Click here


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Lite Sources Development Thread
#11

(12-23-2016, 07:23 AM)Jerry link Wrote:  I assume your using the Yad I uploaded to our repo ie. 0.37.0-1 ?
ralphy@linuxlite:~/Desktop/litesources$ yad --version
0.37.0 (GTK+ 3.18.9)
ralphy@linuxlite:~/Desktop/litesources$

https://unlockforus.com

Sorry for seeming stupid and preferring Linux - I just don't know any better.

[Image: AGxgqJ6.png]
Reply
#12

FYI - I'm going out for 4 hrs and will be unable to respond during that time.

Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply
#13

No problem. Please check whether repo.linuxliteos.com is online or offline for you. I cannot reach it from my end. Seems to be down. Found about it running some tests that I want to include in the application if possible.

https://unlockforus.com

Sorry for seeming stupid and preferring Linux - I just don't know any better.

[Image: AGxgqJ6.png]
Reply
#14

Looks to be down. I've created a ticket. Now that's timing!

Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply
#15

LL Repo is online again - "Layer one issue"

Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply
#16

Awesome!

Layer one issue in OSI model... either they lost power or a cable got disconnected or the fiber stopped feeding or a switch or router took a hike. It is back online anyways.

https://unlockforus.com

Sorry for seeming stupid and preferring Linux - I just don't know any better.

[Image: AGxgqJ6.png]
Reply
#17

Ok, I think we have to postpone server checks until I find a more reliable way to perform it...

Currently, using PING is not a solution. When servers fail to respond the application takes quite a bit of time to load... even when checking just 2 pings

Code:
#! /bin/bash
echo "Starting check..."
HOSTS="mirror.unlockforus.com repo.linuxliteos.com mirror.uta.edu.ec"

COUNT=2

for myHost in $HOSTS
do
  count=$(ping -c $COUNT $myHost | grep 'received' | awk -F',' '{ print $2 }' | awk '{ print $1 }')
  if [ "$count" -eq "0" ]; then
    # 100% failed
    echo "Host : $myHost is down (ping failed) at $(date)"
  fi
done
echo "How fast did this message show up? That's how long it will take for the application to open"

Try the above and you will see what I mean... only 2 pings checks and it takes a while to open because mirror.uta.edu.ec is not responding. This mirror is GONE; you should remove it from the list of mirrors in the main site.

Back on topic. It takes way to long for the application to open and check the hosts. We need a better solution.

I also tried netcat without much success:

Code:
while IFS= read -r server _; do
servers=( "$server" )
        nc -vzw 2 $servers 80
        if [ $? == 0 ];
        then
        echo "$server is pinging"
        else
        echo "$server is not pinging"
        fi
done < servers.txt

In this test you need to create a servers.txt file and add the hostnames one per line.

You will see that all hosts do respond on port 80 and that should tell us that the mirrors are fine... but they are not.  mirror.uta.edu.ec is down and doesn't respond but nc is able to connect on port 80 without expecting a response as it does... which gives us the complete wrong result for our test.

So, I don't really know how to address this. I amy have to go with wget to grab a file off of each mirror or something because ping and nc do not seem to help us much at all.

https://unlockforus.com

Sorry for seeming stupid and preferring Linux - I just don't know any better.

[Image: AGxgqJ6.png]
Reply
#18

Can you set a ping =< response time? If less than 300 then.. else..

Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply
#19

(12-23-2016, 01:51 PM)ralphy link Wrote:  ... only 2 pings checks and it takes a while to open because mirror.uta.edu.ec is not responding. This mirror is GONE; you should remove it from the list of mirrors in the main site.

I'll contact them first, their other 2 mirrors are fine.

Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply
#20

Admin reply:

hi Jerry
we are facing a power issue with this server and to worsen things the
server does not comes up by itself after a power failure... and... it is
the day before xmas and the U should be on vacation..

will try to call them...

thanks for your patiente
epe

Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)