LINUX.ORG.RU

Сообщения Pen1agramm

 

Не подключается Dante Server

Форум — Admin

Решил сделать socks5 сервер, используя сервер Amazon. На машине стоит Ubuntu. Подключился по ssh к серверу, установил dante-server, настроил конфиги. Все работает без ошибок, но тем не менее не могу подключиться к своему серверу. Dante слушает нужный мне порт (1080). Нахожусь в полном замешательстве. Быть может нужно открыть 1080 порт с помощью iptables? Помогите, пожалуйста.

Вот danted.conf:

logoutput: /var/log/danted.log
internal: eth0 port = 1080
external: eth0

socksmethod: username
user.privileged: root
user.unprivileged: nobody
user.libwrap: nobody

client pass {
        from: 0/0 to: 0/0
        log: error
}

socks pass {
        from: 0/0 to: 0/0
        lo
}

Вот что выдает netstat -tulpn:


Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      3035/systemd-resolv 
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      20420/sshd          
tcp        0      0 172.31.46.156:1080      0.0.0.0:*               LISTEN      25655/danted        
tcp6       0      0 :::22                   :::*                    LISTEN      20420/sshd          
tcp6       0      0 fe80::828:deff:fea:1080 :::*                    LISTEN      25655/danted        
udp        0      0 127.0.0.53:53           0.0.0.0:*                           3035/systemd-resolv 
udp        0      0 172.31.46.156:68        0.0.0.0:*                           3019/systemd-networ 

danted.log:

Jun  7 22:33:40 (1559946820.969234) danted[25484]: info: Dante/server[1/1] v1.4.2 running
Jun  7 22:38:18 (1559947098.965354) danted[25484]: info: sigterm(): exiting on signal 15
Jun  7 22:38:18 (1559947098.967712) danted[25491]: info: sigterm(): exiting on signal 15
Jun  7 22:38:18 (1559947098.967936) danted[25492]: info: sigterm(): exiting on signal 15
Jun  7 22:38:18 (1559947098.973444) danted[25493]: info: sigterm(): exiting on signal 15
Jun  7 22:38:18 (1559947098.973530) danted[25494]: info: sigterm(): exiting on signal 15
Jun  7 22:38:18 (1559947098.973847) danted[25495]: info: sigterm(): exiting on signal 15
Jun  7 22:38:18 (1559947098.974040) danted[25496]: info: sigterm(): exiting on signal 15
Jun  7 22:38:18 (1559947098.974209) danted[25497]: info: sigterm(): exiting on signal 15
Jun  7 22:38:18 (1559947098.974390) danted[25498]: info: sigterm(): exiting on signal 15
Jun  7 22:38:18 (1559947098.974564) danted[25499]: info: sigterm(): exiting on signal 15
Jun  7 22:38:18 (1559947098.974747) danted[25500]: info: sigterm(): exiting on signal 15
Jun  7 22:38:18 (1559947098.974918) danted[25484]: warning: closechild(): failed to notify request-child 25491 it should exit normally: Broken pipe
Jun  7 22:38:18 (1559947098.974933) danted[25484]: warning: closechild(): failed to notify request-child 25492 it should exit normally: Broken pipe
Jun  7 22:38:18 (1559947098.974944) danted[25484]: warning: closechild(): failed to notify request-child 25493 it should exit normally: Broken pipe
Jun  7 22:38:18 (1559947098.974955) danted[25484]: warning: closechild(): failed to notify request-child 25494 it should exit normally: Broken pipe
Jun  7 22:38:18 (1559947098.974965) danted[25484]: warning: closechild(): failed to notify request-child 25495 it should exit normally: Broken pipe
Jun  7 22:38:18 (1559947098.974974) danted[25484]: warning: closechild(): failed to notify request-child 25496 it should exit normally: Broken pipe
Jun  7 22:38:18 (1559947098.974985) danted[25484]: warning: closechild(): failed to notify request-child 25497 it should exit normally: Broken pipe
Jun  7 22:38:18 (1559947098.974995) danted[25484]: warning: closechild(): failed to notify request-child 25498 it should exit normally: Broken pipe
Jun  7 22:38:18 (1559947098.975005) danted[25484]: warning: closechild(): failed to notify request-child 25499 it should exit normally: Broken pipe
Jun  7 22:38:18 (1559947098.975016) danted[25484]: warning: closechild(): failed to notify request-child 25500 it should exit normally: Broken pipe
Jun  7 22:38:18 (1559947098.975103) danted[25484]: alert: mother[1/1]: shutting down
Jun  7 22:38:19 (1559947099.024827) danted[25655]: info: Dante/server[1/1] v1.4.2 running

 , , , ,

Pen1agramm
()

Не удалось получить доступ к «OS»

Форум — General

Доброго времени суток, уважаемые форумчане. Пользуюсь ubuntu относительно недавно и столкнулся вот с такой проблемой: в какой-то момент при попытке зайти в OS стал выдавать следующее:

Не удалось получить доступ к «OS» Error mounting /dev/sda3 at /media/failureness/OS: Command-line `mount -t «ntfs» -o «uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000» «/dev/sda3» «/media/failureness/OS»' exited with non-zero exit status 14: Windows is hibernated, refused to mount. Failed to mount '/dev/sda3': Операция не позволена The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.

Находил похожие случаи у других пользователей, но все-таки различия с другими ситуациями есть, поэтому ввиду своей неопытности в работе с ubuntu, хотел бы обратиться за помощью к Вам, форумчане. Помогите, пожалуйста, с моей проблемой. На компьютере также стоит windows 10. Также стоит заметить, что попытки зайти в виндоус и завершить работу (без гибернации и спящего режима) не помогли. Заранее спасибо.

 , , ,

Pen1agramm
()

Проблема с удалением Ubuntu

Форум — General

Доброго времени суток, уважаемые форумчане! Недавно стал пользоваться Linux. Скачал Ubuntu 16.04 второй системой с Windows 10. Теперь потребовалось все-таки удалить Ubuntu, понял, что Linux - не мое. Полазив по интернетус вопросом как удалить Ubuntu, выполнил все инструкции, а именно скачал на флешку установщик Windows, запустил его, после выбрал восстановление системы, открыл командную строку и далее следую по инструкциям, найденным мной в паутине, я должен ввести две команды: 1)bootrec /FixMbr 2)bootrec /FixBoot На первую команду пишет операция выполнена успешно, а на вторую «отказано в доступе». Сотоварищей по такой же проблеме нигде не нашел. У всех вторая команда выполняется. Помогите, пожалуйста решить проблему.

 , ,

Pen1agramm
()

Как поставить python3.6 в wing ide

Форум — General

Доброго времени суток, форумчане. Буквально недавно перешел на Linux. Установил Ubuntu 16.04. Установил Wing Ide 101 5.1. Настало время выбрать версию питона. Как я понял, в моей версии убунто уже есть python 3.5. Но мне захотелось 3.6. С установкой python 3.6 справился, но тут возникла другая проблема. Когда в wing ide в python environment выбираю скаченную мной версию 3.6 по адресу /usr/bin/python3.6 то python shell выдает это:

Trying to import netserver from ['/usr/lib/wingide-101-5/bin/3.6/src/debug/tserver']
Unable to import findmodules
Traceback (most recent call last):
  File "/usr/lib/wingide-101-5/bin/wingdb.py", line 584, in FindNetServerModule
    import findmodules
ModuleNotFoundError: No module named 'findmodules'
Trying to import netserver from ['/usr/lib/wingide-101-5/src/debug/tserver']
Unable to import findmodules
Traceback (most recent call last):
  File "/usr/lib/wingide-101-5/bin/wingdb.py", line 584, in FindNetServerModule
    import findmodules
ModuleNotFoundError: No module named 'findmodules'
Traceback (most recent call last):

  File "/usr/lib/wingide-101-5/bin/wingdb.py", line 787, in main
    netserver = FindNetServerModule(winghome, user_settings, tmp_log)

  File "/usr/lib/wingide-101-5/bin/wingdb.py", line 620, in FindNetServerModule
    raise ImportError('Could not import netserver')

ImportError: Could not import netserver

wingdb.py: Error: Failed to start the debug server
wingdb.py: Error: You may be running an unsupported version of Python
wingdb.py: Python version = 3.6.3 (default, Oct  6 2017, 08:44:35) 
[GCC 5.4.0 20160609]
wingdb.py: WINGHOME='/usr/lib/wingide-101-5'
Traceback (most recent call last):
  File "/usr/lib/wingide-101-5/bin/wingdb.py", line 787, in main
    netserver = FindNetServerModule(winghome, user_settings, tmp_log)
  File "/usr/lib/wingide-101-5/bin/wingdb.py", line 620, in FindNetServerModule
    raise ImportError('Could not import netserver')
ImportError: Could not import netserver

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/wingide-101-5/bin/wingdb.py", line 798, in main
    sys.exit(-1)
SystemExit: -1
Подскажите, пожалуйста, как решить это проблему и начать работать с python3.6 в wing ide?

 ,

Pen1agramm
()

RSS подписка на новые темы