- Modifié
En effet, ca fonctionne, et tout ce qui doit tourner sur le port 443 fonctionne !
Merci à vous !
Merci à vous !
Starting ssl/ssh multiplexer: sslhsslh disabled, please adjust the configuration to your needs
[FAIL] and then set RUN to 'yes' in /etc/default/sslh to enable it. ... failed!
failed!
La config de sslh :
# Default options for sslh initscript
# sourced by /etc/init.d/sslh
# Disabled by default, to force yourself
# to read the configuration:
# - /usr/share/doc/sslh/README.Debian (quick start)
# - /usr/share/doc/sslh/README, at "Configuration" section
# - sslh(8) via "man sslh" for more configuration details.
# Once configuration ready, you *must* set RUN to yes here
# and try to start sslh (standalone mode only)
RUN=YES
# binary to use: forked (sslh) or single-thread (sslh-select) version
DAEMON=/usr/sbin/sslh
DAEMON_OPTS="--user sslh --listen 0.0.0.0:443 --ssh 127.0.0.1:22 --openvpn 127.0.0.1:1194 --ssl 127.0.0.1:444 --pidfile /var/run/sslh/sslh.pid"
(les ports sont bien les bons)Oui, je l'ai trouvé, mais merci !Baptbapt0 wrote:j'arrive après la bataille mais sinon c'est ça ?
/etc/nginx/sites-enabled/rutorrent.conf
server { listen 444 default_server ssl; server_name _;
Ou faut il modifier le port par défaut ? Si c'est dans /etc/nginx/conf.d/default.conf, le port semble être déjà le port 80Solinvictus wrote:Il te faut donc modifier le port HTTPS de nginx, qui par défaut est 443. N'oublie pas de relancer nginx suite à cette manipulation.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
nginx 4195 root 10u IPv4 5292 0t0 TCP *:https (LISTEN)
nginx 4197 www-data 10u IPv4 5292 0t0 TCP *:https (LISTEN)
nginx 4198 www-data 10u IPv4 5292 0t0 TCP *:https (LISTEN)
nginx 4199 www-data 6u IPv4 27239825 0t0 TCP (mon serveur) :https->dedi-fr-99931.op-net.com:6124 (ESTABLISHED)
nginx 4199 www-data 10u IPv4 5292 0t0 TCP *:https (LISTEN)
nginx 4199 www-data 14u IPv4 27239922 0t0 TCP (mon serveur) :(mon IP) (ESTABLISHED)
nginx 4200 www-data 10u IPv4 5292 0t0 TCP *:https (LISTEN)
ls -all
renvoie :
total 40
dr-xr-xr-x 6 root julien 4096 avril 12 18:32 .
drwxrwxrwx 4 root root 4096 juin 17 2012 ..
dr-xr-xr-x 2 julien julien 16384 avril 7 22:00 lost+found
-r-xr-xr-x 1 julien julien 663 avril 7 22:58 .rtorrent.rc
dr-xr-xr-x 2 julien julien 4096 avril 13 12:31 .session
dr-xr-xr-x 8 julien julien 4096 avril 12 18:32 torrents
dr-xr-xr-x 2 julien julien 4096 avril 7 22:36 watch
Merci !Baptbapt0 wrote:Probablement dans ce répertoire ?
ps: tu aurais pu éviter la visu des noms de fichiers dans /torrents/ =)sudo vim /home/julien/.rtorrent.rc
scgi_port = 127.0.0.1:5004
encoding_list = UTF-8
port_range = 45000-65000
port_random = no
check_hash = no
directory = /home/julien/torrents
session = /home/julien/.session
encryption = allow_incoming, try_outgoing, enable_retry
schedule = watch_directory,1,1,"load_start=/home/julien/watch/*.torrent"
schedule = untied_directory,5,5,"stop_untied=/home/julien/watch/*.torrent"
schedule = espace_disque_insuffisant,1,30,close_low_diskspace=500M
use_udp_trackers = yes
dht = off
peer_exchange = no
min_peers = 40
max_peers = 100
min_peers_seed = 10
max_peers_seed = 50
max_uploads = 15
execute = {sh,-c,/usr/bin/php /var/www/rutorrent/php/initplugins.php julien &}
Wagner wrote:Que retourne cette commande ?
ls -all /home/julien/*
/home/julien/lost+found:
total 20
dr-xr-xr-x 2 julien julien 16384 avril 7 22:00 .
dr-xr-xr-x 6 root julien 4096 avril 12 18:32 ..
/home/julien/torrents:
total 14958840
dr-xr-xr-x 8 julien julien 4096 avril 12 18:32 .
dr-xr-xr-x 6 root julien 4096 avril 12 18:32 ..
-r-xr-xr-x 1 julien julien 3252756668 avril 10 21:30 -. .mkv
-r-xr-xr-x 1 julien julien 3682043925 avril 11 19:49 -.mkv
-r-xr-xr-x 1 julien julien 1144365391 avril 8 20:48 -.mkv
dr-xr-xr-x 2 julien julien 4096 avril 11 13:28 -
dr-xr-xr-x 2 julien julien 4096 avril 11 21:27 -
dr-xr-xr-x 2 julien julien 4096 avril 10 22:00 -
dr-xr-xr-x 2 julien julien 4096 avril 11 22:46 -
-r-xr-xr-x 1 julien julien 1607813549 avril 12 12:01 -.mkv
-r-xr-xr-x 1 julien julien 1596155679 avril 11 22:48 -.mkv
dr-xr-xr-x 2 julien julien 4096 avril 8 20:51 -
dr-xr-xr-x 2 julien julien 4096 avril 11 22:48 -
-r-xr-xr-x 1 julien julien 4034534415 avril 10 21:38 -.mkv
/home/julien/watch:
total 8
dr-xr-xr-x 2 julien julien 4096 avril 7 22:36 .
dr-xr-xr-x 6 root julien 4096 avril 12 18:32 ..
Ou est le fichier rtorrent.rc ?Quand j'entre "rtorrent", j'ai :Wagner wrote:Bonsoir,
su - julien rtorrent ## "ctrl + q" : C'est le raccourci clavier afin de quitter (ou fermer) rtorrent exit
d'abord il faudrait voir si rtorrent fonctionne avec cet utilisateur. Ensuite, il sera possible d'aviser.
rtorrent: Could not lock session directory: "/home/julien/.session/", Permission non accordée
Oui.ex_rat wrote:Ok pour le u1
L'user julien, tu l'as créé avec le script vu le numéro de port. T'as touché à quoi avant le reboot pour ton user quand tu voulais régler le soucis des torrents en pause ?
rm /home/julien/.session/rtorrent.lock
J'ai eu :
rm: cannot remove `/home/julien/.session/rtorrent.lock': No such file or directory
Et toujours impossible d'accéder à la seedbox (j'ai continué et entré l'autre commande).Salut,ex_rat wrote:Salut
Tu as tenté de le relancer proprement ton user ?Test ça, passe les lignes une à une.
killall --user julien rtorrent killall --user julien screen rm /home/julien/.session/rtorrent.lock /etc/init.d/julien-rtorrent start
Ex.
rtorrent: no process found
Ok !BXT wrote:J'ai souvent ce message d'erreur, mais mon rTorrent marche toujours
Il n'y a donc pas de rapport avec ton message d'erreur PHP & le fait que ruTorrent ne marche pas
server {
listen 80 default_server;
listen 443 default_server ssl;
server_name _;
index index.html index.php;
charset utf-8;
client_max_body_size 10M;
ssl_certificate /etc/nginx/ssl/server.crt;
ssl_certificate_key /etc/nginx/ssl/server.key;
access_log /var/log/nginx/rutorrent-access.log combined;
error_log /var/log/nginx/rutorrent-error.log error;
error_page 500 502 503 504 /50x.html;
location = /50x.html { root /usr/share/nginx/html; }
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd";
location = /favicon.ico {
access_log off;
log_not_found off;
}
## début config accueil serveur ##
location ^~ / {
root /var/www/base;
include /etc/nginx/conf.d/php;
include /etc/nginx/conf.d/cache.conf;
satisfy any;
allow all;
}
## fin config accueil serveur ##
## début config proxy ##
location ^~ /rutorrent {
root /var/www;
include /etc/nginx/conf.d/php;
include /etc/nginx/conf.d/cache.conf;
location ~ /\.svn {
deny all;
}
location ~ /\.ht {
deny all;
}
}
location ^~ /rutorrent/conf/ {
deny all;
}
location ^~ /rutorrent/share/ {
deny all;
}
## fin config rutorrent ##
## début config munin ##
location ^~ /graph {
root /var/www;
include /etc/nginx/conf.d/php;
include /etc/nginx/conf.d/cache.conf;
}
## fin config munin ##
## début config seedbox-manager ##
location ^~ /seedbox-manager {
alias /var/www/seedbox-manager/public;
include /etc/nginx/conf.d/php-manager;
include /etc/nginx/conf.d/cache.conf;
}
## fin config seedbox-manager ##
## config utilisateurs ##
location /u1 {
include scgi_params;
scgi_pass 127.0.0.1:5001; #ou socket : unix:/home/username/.session/$
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_u1";
}
location /JULIEN {
include scgi_params;
scgi_pass 127.0.0.1:5004; #ou socket : unix:/home/username/.session/$
auth_basic "seedbox";
auth_basic_user_file "/etc/nginx/passwd/rutorrent_passwd_julien";
}
}
Si ca peut aider, l'utilisateur posant problème est julien.