Applications, problèmes de configuration réseau
PowaBanga
archer de cavalerie
Messages : 175 Inscription : mar. 12 sept. 2017, 21:15
Message
par PowaBanga » mar. 14 déc. 2021, 10:14
Bonjour à tous,
je viens d'installer jenkins sur mon raspberrypi3B+, et je rencontre une difficulté à me connecter dessu en local
Voici donc un petit rapport de ce que j'ai fais pour essayer d'identifier le souci, mais il n'y a rien à faire, je ne trouve pas... :/
Code : Tout sélectionner
powabanga@Raspi3BLio ~]$ sudo systemctl restart jenkins
powabanga@Raspi3BLio ~]$ curl localhost:8090
curl: (7) Failed to connect to localhost port 8090 after 13 ms: Connexion refusée
powabanga@Raspi3BLio ~]$ ss -pantu | grep 8090
powabanga@Raspi3BLio ~]$ sudo iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
powabanga@Raspi3BLio ~]$ cat /etc/conf.d/jenkins
JAVA=/usr/bin/java
JAVA_ARGS=-Xmx512m
JAVA_OPTS=
JENKINS_USER=jenkins
JENKINS_HOME=/var/lib/jenkins
JENKINS_WAR=/usr/share/java/jenkins/jenkins.war
JENKINS_WEBROOT=--webroot=/var/cache/jenkins
JENKINS_PORT=--httpPort=8090
JENKINS_AJPPORT=--ajp13Port=-1
JENKINS_OPTS=
JENKINS_COMMAND_LINE="$JAVA $JAVA_ARGS $JAVA_OPTS -jar $JENKINS_WAR $JENKINS_WEBROOT $JENKINS_PORT $JENKINS_AJPPORT $JENKINS_OPTS"
# vim:set ts=2 sw=2 et:
powabanga@Raspi3BLio ~]$ ps aux | grep jenkins
jenkins 13291 0.0 0.3 7312 3136 ? Ss 09:07 0:00 /bin/sh -c eval $JENKINS_COMMAND_LINE
jenkins 13295 100 7.7 2356268 73592 ? Sl 09:07 4:30 /usr/bin/java -Xmx512m -jar /usr/share/java/jenkins/jenkins.war --webroot=/var/cache/jenkins --httpPort=8090 --ajp13Port=-1
powaban+ 13373 0.0 0.2 6148 2128 pts/1 S+ 09:11 0:00 grep jenkins
Si quelqu'un savait m'aider sur ce coup là, ça serait vraiment top
Dernière modification par
PowaBanga le lun. 20 déc. 2021, 12:28, modifié 1 fois.
benjarobin
Maître du Kyudo
Messages : 17254 Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon
Message
par benjarobin » mar. 14 déc. 2021, 20:43
Bonjour, étrange en effet. Quelle est la sortie de :
PowaBanga
archer de cavalerie
Messages : 175 Inscription : mar. 12 sept. 2017, 21:15
Message
par PowaBanga » lun. 20 déc. 2021, 12:19
Voici la réponse Benajarobin
Code : Tout sélectionner
tcp 0 0 0.0.0.0:27910 0.0.0.0:* LISTEN 1000 1182586 41059/ddaynormandyd
tcp 0 0 0.0.0.0:5355 0.0.0.0:* LISTEN 980 11911 234/systemd-resolve
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 0 12871 292/perl
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 980 10197 234/systemd-resolve
tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN 0 12788 236/cupsd
tcp 0 0 0.0.0.0:55000 0.0.0.0:* LISTEN 0 12752 238/sshd: /usr/bin/
tcp6 0 0 :::35946 :::* LISTEN 1000 12241 224/znc
tcp6 0 0 :::5355 :::* LISTEN 980 11914 234/systemd-resolve
tcp6 0 0 :::22000 :::* LISTEN 1000 12817 254/syncthing
tcp6 0 0 :::631 :::* LISTEN 0 12789 236/cupsd
tcp6 0 0 :::55000 :::* LISTEN 0 12754 238/sshd: /usr/bin/
tcp6 0 0 :::8090 :::* LISTEN 963 149101 13295/java
tcp6 0 0 :::55004 :::* LISTEN 1000 13719 254/syncthing
[édit]
bon he bien après avoir laissé tourné sans y toucher pendant la semaine, je rentre chez moi et je me rend compte que ça fonctionne. c'est merveilleux !
benjarobin
Maître du Kyudo
Messages : 17254 Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon
Message
par benjarobin » lun. 20 déc. 2021, 12:29
On voit bien Jenkins sur le port 8090 en IPv6.
PowaBanga
archer de cavalerie
Messages : 175 Inscription : mar. 12 sept. 2017, 21:15
Message
par PowaBanga » sam. 12 févr. 2022, 21:51
Je vois que je n'avais pas mis de retour ici, en fait au premier démarrage de jenkins sur mon rpi3, je pense que le souci étais juste que ça a mis super longtemps à démarrer (au moins une heure, voir plus), il fallait juste être patient.
À présent il tourne super bien
Merci pour ton aide Benja !