Thanks Richard, I was looking at finding it too..

So here are the findings...

The default location is /root/.jenkins

and the config.xml is created per user eg:
/root/.jenkins/tom/config.xml
/root/.jenkins/gocool/config.xml

tom and gocool are jenkins user id's.

Once I deleted the /root/.jenkins all were fine and it is working fine.

Thanks again for all your time.


On Mon, Sep 16, 2013 at 4:10 PM, Richard Bywater <[email protected]> wrote:

> It might take a while, but try:
> find / -name config.xml
>
> and see what comes up. You'll need to be root to get the best results.
>
> Richard.
>
>
> On Mon, Sep 16, 2013 at 7:59 PM, Gocol Dev <[email protected]> wrote:
>
>> No, actually I did not set it up :(
>>
>> And, I assume it is defaulted to some location which  I am not able to
>> find and that is why re-installs still remember and ask for log-in.
>>
>> I just tried adding the CATALINA_OPTS and JENKINS_HOME now, but it is of
>> no use - I guess I have to know the default path or do something for it to
>> forget the config and then the config.xml might be added in the path
>> specified by CATALINA_OPTS or JENKINS_HOME...
>>
>> So just keeping it open to find some help. Thanks again for your time.
>>
>>
>> On Mon, Sep 16, 2013 at 3:35 PM, Richard Bywater <[email protected]>wrote:
>>
>>> I'm guessing the config file mentioned will most likely be whatever has
>>> been set as the Jenkins home using the CATALINA_OPTS variable as per
>>> https://wiki.jenkins-ci.org/display/JENKINS/Tomcat - I'm assuming
>>> you've set that. If you haven't I'm not sure what the default is so someone
>>> will have to pipe in here...
>>>
>>> Richard.
>>>
>>>
>>> On Mon, Sep 16, 2013 at 7:28 PM, Gocol Dev <[email protected]>wrote:
>>>
>>>> Hi Richard
>>>>
>>>>  Sorry for posting it in the dev.
>>>>
>>>> I did not use the sudo-apt get way of doing it, I just downloaded the
>>>> war and I am copying it inside my tomcat webapps. And for removing it, I
>>>> just did a rm -Rf of the folder.
>>>>
>>>> Thanks,
>>>> G
>>>>
>>>>
>>>> On Mon, Sep 16, 2013 at 3:26 PM, Richard Bywater <[email protected]>wrote:
>>>>
>>>>> Have you seen
>>>>> https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu
>>>>>  ?
>>>>>
>>>>> Assuming you installed it that way, it would be better to remove it
>>>>> via package management rather than manually deleting files - this should
>>>>> then clean things up.
>>>>>
>>>>> Richard.
>>>>>
>>>>>
>>>>> On Mon, Sep 16, 2013 at 6:18 PM, Go Cool <[email protected]>wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>>  I was unable to find the config.xml. I am using version 1.530. In
>>>>>> the jenkins home, I just have the following  -
>>>>>>
>>>>>> drwxr-xr-x  9 root root   4096 Sep 16 05:48 .
>>>>>> drwxr-xr-x  6 root root   4096 Sep 16 05:48 images
>>>>>> drwxr-xr-x  7 root root   4096 Sep 16 05:48 WEB-INF
>>>>>> drwxr-xr-x  3 root root   4096 Sep 16 05:48 scripts
>>>>>> drwxr-xr-x  2 root root   4096 Sep 16 05:48 executable
>>>>>> drwxr-xr-x  2 root root   4096 Sep 16 05:48 css
>>>>>> drwxr-xr-x 15 root root   4096 Sep 16 05:48 help
>>>>>> drwxr-xr-x  3 root root   4096 Sep 16 05:48 META-INF
>>>>>> drwxr-xr-x  8 root root   4096 Sep 16 05:48 ..
>>>>>> -rw-r--r--  1 root root 363051 Aug 26 21:04 winstone.jar
>>>>>> -rw-r--r--  1 root root   1544 Aug 26 21:01 dc-license.txt
>>>>>> -rw-r--r--  1 root root  17542 Aug 26 21:01 favicon.ico
>>>>>> -rw-r--r--  1 root root     71 Aug 26 21:01 robots.txt
>>>>>> -rw-r--r--  1 root root   2824 Mar  6  2013 ColorFormatter.class
>>>>>> -rw-r--r--  1 root root   1845 Mar  6  2013 JNLPMain.class
>>>>>> -rw-r--r--  1 root root    788 Mar  6  2013
>>>>>> LogFileOutputStream$1.class
>>>>>> -rw-r--r--  1 root root    586 Mar  6  2013
>>>>>> LogFileOutputStream$2.class
>>>>>> -rw-r--r--  1 root root   2197 Mar  6  2013 LogFileOutputStream.class
>>>>>> -rw-r--r--  1 root root  19503 Mar  6  2013 Main.class
>>>>>> -rw-r--r--  1 root root   1049 Mar  6  2013 MainDialog$1$1.class
>>>>>> -rw-r--r--  1 root root   1123 Mar  6  2013 MainDialog$1.class
>>>>>> -rw-r--r--  1 root root   2424 Mar  6  2013 MainDialog.class
>>>>>> -rw-r--r--  1 root root    512 Mar  6  2013
>>>>>> Main$FileAndDescription.class
>>>>>>
>>>>>> Thanks,
>>>>>> G
>>>>>>
>>>>>>
>>>>>> On Mon, Sep 16, 2013 at 2:07 PM, Vivekanand S V <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Have you checked this
>>>>>>> https://wiki.jenkins-ci.org/display/JENKINS/Disable+security ?
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Sep 16, 2013 at 11:31 AM, Gocool Geek <[email protected]
>>>>>>> > wrote:
>>>>>>>
>>>>>>>> Hi folks,
>>>>>>>>
>>>>>>>>  Sorry if this sound silly, but I am stuck hence wanted to know the
>>>>>>>> answer.
>>>>>>>>
>>>>>>>>  I forgot my admin password and I am the only admin in the jenkins,
>>>>>>>> hence I wanted to re-install and start from scratch.
>>>>>>>>
>>>>>>>>  I removed the physical directory where jenkins is in - under
>>>>>>>> tomcat webapps. I pushed a new war file into webapps and restarted the
>>>>>>>> server.
>>>>>>>>
>>>>>>>>  Now when I access jenkins - the new one, it still takes me to the
>>>>>>>> login screen. I was assuming it should be starting from scratch and 
>>>>>>>> should
>>>>>>>> not ask for log-in.
>>>>>>>>
>>>>>>>>  Please let me know how I can solve this issue?
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> G
>>>>>>>>
>>>>>>>> --
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>> Groups "Jenkins Users" 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/groups/opt_out.
>>>>>>>>
>>>>>>>
>>>>>>>  --
>>>>>>> You received this message because you are subscribed to the Google
>>>>>>> Groups "Jenkins Users" 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/groups/opt_out.
>>>>>>>
>>>>>>
>>>>>>  --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "Jenkins Users" 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/groups/opt_out.
>>>>>>
>>>>>
>>>>>  --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Jenkins Users" 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/groups/opt_out.
>>>>>
>>>>
>>>>  --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Jenkins Users" 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/groups/opt_out.
>>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Jenkins Users" 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/groups/opt_out.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Users" 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/groups/opt_out.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" 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/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" 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/groups/opt_out.

Reply via email to