Comments (10)
I tried few thing but it doesn't work because "ntpd.service" doesn't exist/missing from.
so i reinstall "ntp"
& also install "systemd-timesyncd"
Which synced with my system automatically. ANd now ntp is active without "timedatectl set-ntp on".
may be it occurs because of some packet downloading issue while installing. It worked for me, I Hope this will work for you guys too.
from mtproto_proxy.
So this command was crashing the script timedatectl set-ntp on
from mtproto_proxy.
It seems that, while Ubuntu uses systemd-timesyncd for time synchronization, CentOS 7 uses ntp
or chrony
.
I will update setup script to install chrony
package.
from mtproto_proxy.
sudo ntpdate -qu 1.ro.pool.ntp.org
timedatectl set-timezone "your loc"
from mtproto_proxy.
This is strange, because what script does is that it tries to disable ntp
service and use systemd-timesyncd
:
https://gist.github.com/seriyps/dc00ad91bfd8a2058f30845cd0daed83#file-mtp_install-sh-L142-L149
Do you have script's output available before it failed? I'm interested in the last INFO
message it printed before it failed (basically, want to find which command crashed)
from mtproto_proxy.
Unfortunately I dont have the output. but I know exactly where it was failing as I debugged it.
systemctl is-active ntp
was returning unknown
and timedatectl set-ntp on
was giving Failed to set ntp: NTP not supported.
error and crashing the script.
from mtproto_proxy.
Ok, thanks! That's interesting.. I found this https://bugzilla.novell.com/show_bug.cgi?id=869336 but will investigate further later
from mtproto_proxy.
Also this: https://unix.stackexchange.com/questions/317346/ntp-not-enabled-according-to-timedatectl-centos-7
from mtproto_proxy.
Well I dont know about chrony
, but installing ntp
resolved the issue for me.
from mtproto_proxy.
yep, timedatectl
can work with both ntp
and chrony
. It checks which one is installed and uses it. And if none installed, then you'll get this error: Failed to set ntp: NTP not supported.
from mtproto_proxy.
Related Issues (20)
- How get status of proxy directly(without use telegram mtproxy admin)
- System has not been booted with systemd as init system (PID 1)
- ipv6 problem
- force traffic pass through eth0
- 100% CPU
- Your OS ubuntu 24.04 is not supported! HOT 1
- The number of users connected to the proxy HOT 2
- fallback HOT 2
- Run on Windows Server 2019
- fake TLS not set HOT 1
- Websocket transport support HOT 4
- [Solved] crash--Changed the ip, then no crash again
- Crash Report Downstream terminates with reason downstream_socket_closed
- Downstream error
- Download failure of multimedia messages in Docker edition HOT 7
- 这个已经被识别了吧?
- Blocking the server ip in Iran after 300 people connected HOT 2
- IP white list method - amazon changer & checker - local server tunnel HOT 1
- Is there a back door? HOT 1
- Crash at start.sh
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mtproto_proxy.