[
https://issues.jenkins-ci.org/browse/JENKINS-8792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
evernat resolved JENKINS-8792.
------------------------------
Resolution: Not A Defect
So the first reporter has a typo (prefex instead of prefix). And other
reporters have made it work.
So closing as "not a defect", please reopen this issue or a new one if needed.
> --prefix ignored
> ----------------
>
> Key: JENKINS-8792
> URL: https://issues.jenkins-ci.org/browse/JENKINS-8792
> Project: Jenkins
> Issue Type: Bug
> Components: core
> Affects Versions: current
> Environment: debian
> Reporter: evilchili
> Priority: Critical
>
> The --prefix argument, specified in /etc/default/jenkins, isn't be honoured.
> When jenkins first starts,
> I get the "please wait while jenkins is getting ready to work" on the correct
> (prefixed) URL (though /static/* is broken). Once the startup is complete,
> however, all requests to http://localhost:8080/jenkins return 404:
> ridcully:/var/lib/jenkins# ps aux |grep jenkins
> jenkins 17224 0.0 0.0 3396 516 ? Ss 10:21 0:00
> /usr/bin/daemon --name=jenkins --inherit --env=JENKINS_HOME=/var/lib/jenkins
> --output=/var/log/jenkins/jenkins.log --pidfile=/var/run/jenkins/jenkins.pid
> -- /usr/bin/java -jar /usr/share/jenkins/jenkins.war
> --webroot=/var/run/jenkins/war --httpPort=8080 --ajp13Port=-1
> --prefex=/jenkins
> jenkins 17225 104 4.7 688536 49008 ? Sl 10:21 0:05
> /usr/bin/java -jar /usr/share/jenkins/jenkins.war
> --webroot=/var/run/jenkins/war --httpPort=8080 --ajp13Port=-1
> --prefex=/jenkins
> ridcully:/var/lib/jenkins# wget http://localhost:8080/jenkins
> --2011-02-14 10:22:19-- http://localhost:8080/jenkins
> Resolving localhost... 127.0.0.1, ::1
> Connecting to localhost|127.0.0.1|:8080... connected.
> HTTP request sent, awaiting response... 404 Not Found
> 2011-02-14 10:22:19 ERROR 404: Not Found.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira