Subscription, Paid and Free versions

Axcel
Posts: 373
Joined: Sun Dec 09, 2012 12:43 pm

Re: Subscription, Paid and Free versions

Post by Axcel » Sun Oct 14, 2018 11:42 pm

тоже самое
2018-10-14 23:41:07: Checking the key 42 (0.35089993476868, 0.025511026382446)
2018-10-14 23:41:07: Not 200 answer from lic server (0.63392210006714, 0.28302407264709)
2018-10-14 23:41:08: Cron job :: finished (1.2373781204224, 0.60344910621643)

admin
Site Admin
Posts: 25817
Joined: Wed Sep 10, 2008 11:43 am

Re: Subscription, Paid and Free versions

Post by admin » Mon Oct 15, 2018 5:55 pm

Значит с ваешго сервака оно не может достучаться. Показывайте traceroute
Have you done script update ?

Axcel
Posts: 373
Joined: Sun Dec 09, 2012 12:43 pm

Re: Subscription, Paid and Free versions

Post by Axcel » Tue Oct 16, 2018 8:25 am

traceroute to smartcj.com (162.251.108.22), 30 hops max, 60 byte packets
1 my_server_ip (my_server_ip) 0.341 ms * *
2 185.8.179.26 (185.8.179.26) 0.964 ms 1.224 ms 1.460 ms
3 speed-ix.he.net (185.1.95.6) 2.604 ms 2.578 ms 2.818 ms
4 100ge8-1.core1.man1.he.net (184.105.213.66) 10.992 ms 11.241 ms 11.228 ms
5 100ge8-1.core1.dub1.he.net (72.52.92.198) 15.423 ms 15.149 ms 15.417 ms
6 100ge5-2.core1.nyc5.he.net (184.105.65.245) 74.920 ms 74.904 ms 75.157 ms
7 100ge10-1.core2.ash1.he.net (184.105.81.150) 80.030 ms 79.997 ms 80.016 ms
8 100ge1-2.core1.ash1.he.net (72.52.92.225) 131.432 ms 131.438 ms 131.430 ms
9 100ge8-2.core1.atl1.he.net (184.105.213.69) 91.752 ms 91.770 ms 91.728 ms
10 100ge12-1.core1.dal1.he.net (184.105.81.170) 115.260 ms 115.274 ms 115.312 ms
11 100ge4-2.core1.phx2.he.net (184.105.81.173) 133.918 ms 133.779 ms 133.918 ms
12 hostiserver-ltd.gigabitethernet1-15.core1.phx2.he.net (216.218.213.254) 134.758 ms 134.777 ms 134.611 ms
13 hs0022.hostiserver.com (162.251.108.22) 136.309 ms 136.294 ms 136.173 ms

всё работает, как понимаю.
а теперь запускаю тест ключа:

2018-10-16 08:24:09: Checking the key 49 (0.31319999694824, 0.018080949783325)
2018-10-16 08:24:10: Not 200 answer from lic server (0.59614682197571, 0.28294777870178)

admin
Site Admin
Posts: 25817
Joined: Wed Sep 10, 2008 11:43 am

Re: Subscription, Paid and Free versions

Post by admin » Tue Oct 16, 2018 1:33 pm

а что говорит wget "http://smartcj.com/get_key.php?domain=...." ?
Have you done script update ?

Axcel
Posts: 373
Joined: Sun Dec 09, 2012 12:43 pm

Re: Subscription, Paid and Free versions

Post by Axcel » Tue Oct 16, 2018 2:11 pm

получил файл размером 1556

admin
Site Admin
Posts: 25817
Joined: Wed Sep 10, 2008 11:43 am

Re: Subscription, Paid and Free versions

Post by admin » Tue Oct 16, 2018 2:51 pm

Тогда не знаю, скидывайте шел, я проверю
Have you done script update ?

admin
Site Admin
Posts: 25817
Joined: Wed Sep 10, 2008 11:43 am

Re: Subscription, Paid and Free versions

Post by admin » Thu Oct 18, 2018 3:44 am

Оказалось что крон запускался без указания домена, скрипт не знал какой ключ качать и ставил фришный.
Have you done script update ?

Axcel
Posts: 373
Joined: Sun Dec 09, 2012 12:43 pm

Re: Subscription, Paid and Free versions

Post by Axcel » Thu Oct 18, 2018 4:03 am

Где именно запускался крон без домена?
в кроне же стандартная строка:
cd /home/axcel/web/мойдомен.com/public_html/co/bin; env HTTP_HOST=мойдомен.com /usr/bin/php -q cron.php
cd /home/axcel/web/мойдомен.com/public_html/co/bin; env HTTP_HOST=мойдомен.com /usr/bin/php -q rotation.php

admin
Site Admin
Posts: 25817
Joined: Wed Sep 10, 2008 11:43 am

Re: Subscription, Paid and Free versions

Post by admin » Thu Oct 18, 2018 4:06 am

cd /home/axcel/web/мойдомен.com/public_html/co/bin; env HTTP_HOST=мойдомен.com /usr/bin/php -q cron.php check_license=true
Have you done script update ?

Axcel
Posts: 373
Joined: Sun Dec 09, 2012 12:43 pm

Re: Subscription, Paid and Free versions

Post by Axcel » Thu Oct 18, 2018 4:24 am

Запустил, и файл лицензии обновился на нужный.
Как это поможет решить проблему? Скрипт автоматом же не обновляет мою лицензию.

Post Reply