Issue Type: Bug Bug
Affects Versions: current
Assignee: Unassigned
Components: core
Created: 14/May/14 9:41 AM
Description:

Jenkins daemon fails to start when JMX monitoring via SNMP is enabled with args:
-Dcom.sun.management.snmp.interface=127.0.0.1
-Dcom.sun.management.snmp.acl=false
-Dcom.sun.management.snmp.port=16501

It fails with the followinf error:
Error: Failed to start SNMP adaptor with address: /127.0.0.1:16501 (Address already in use)

I am running Jenkins with the following command line fails:
/etc/alternatives/java -Djava.awt.headless=true -Dhudson.plugins.tmpcleaner.TmpCleanWork.minutes=360 -Dhudson.plugins.tmpcleaner.TmpCleanWork.days=1 -Dcom.sun.management.snmp.interface=10.120.230.20 -Dcom.sun.management.snmp.acl=false -Dcom.sun.management.snmp.port=1651 -DJENKINS_HOME=/var/lib/jenkins -jar /usr/lib/jenkins/jenkins.war --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war --daemon --httpPort=8081 --ajp13Port=8009 --debug=2 --handlerCountMax=100 --handlerCountMaxIdle=20

It works taking away the --daemon option and running it in foreground.
This bug seems to be the same as this one: https://issues.jenkins-ci.org/browse/JENKINS-14529

Environment: Linux RHEL 6
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
Project: Jenkins
Priority: Major Major
Reporter: Marco Tizzoni
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to