Skip to content

some troubles #30

@Mourrit

Description

@Mourrit

(sorry for my not perfect English)

I had some troubles using mytonctrl utility.

I use Fedora Linux and mytonctrl is not supported for my OS, so first I tried to install mytonctrl into Debian official Docker container (latest tag).

In the official Debian Docker container by default not installed some packages as "wget" and "systemd" ("systemd" is needed to run "systemctl" command). "wget" is easy to install, but install and customize "systemd" is a bit difficult.

So then mytonctrl is not simple one-script install in this way.

In the installation process raised such exception.

[100%] Built target json2tlo
Scanning dependencies of target http-proxy
[100%] Building CXX object http/CMakeFiles/http-proxy.dir/http-proxy.cpp.o
[100%] Linking CXX executable http-proxy
[100%] Built target http-proxy
Scanning dependencies of target rldp-http-proxy
[100%] Building CXX object rldp-http-proxy/CMakeFiles/rldp-http-proxy.dir/rldp-http-proxy.cpp.o
[100%] Linking CXX executable rldp-http-proxy
[100%] Built target rldp-http-proxy
[6/6] TON software installation complete
[3/4] Launching the mytoninstaller.py
[debug] 15.06.2021, 15:02:06.585 (UTC) Start WritingLogFile thread.
[debug] 15.06.2021, 15:02:06.586 (UTC) Start SelfTesting thread.
[info] 15.06.2021, 15:02:06.586 (UTC) Start program '/usr/src/mytonctrl/mytoninstaller.py'
[debug] 15.06.2021, 15:02:06.586 (UTC) start FirstMytoncoreSettings fuction
Traceback (most recent call last):
File "/usr/src/mytonctrl/mytoninstaller.py", line 535, in
General()
File "/usr/src/mytonctrl/mytoninstaller.py", line 118, in General
FirstMytoncoreSettings()
File "/usr/src/mytonctrl/mytoninstaller.py", line 202, in FirstMytoncoreSettings
Add2Systemd(name="mytoncore", user=user, start="/usr/bin/python3 /usr/src/mytonctrl/mytoncore.py")
File "/usr/src/mytonctrl/mypylib/mypylib.py", line 951, in Add2Systemd
subprocess.run(args)
File "/usr/lib/python3.7/subprocess.py", line 472, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.7/subprocess.py", line 775, in init
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'systemctl': 'systemctl'
root@11bc55ae6036:~#

On the third try I got:

"[4/4] Mytonctrl installation completed"

After installation, I got some problems.

image

image

In the official Ubuntu Docker container (ubuntu:20.04) situation is the same as in the official Debian Docker container.

Then I tried to use mytonctrl in Debian (10.9.0) via VirtualBox.

image

And then I tried to use mytonctrl in Ubuntu (20.04.2.0) via VirtualBox.

image

If you need additional information you can write me on Telegram: https://t.me/mourrit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions