unable to start jenkins after changing user to jenkins

12 views
Skip to first unread message

Turaco mobile

unread,
Mar 19, 2019, 8:10:51 AM3/19/19
to jenkins...@googlegroups.com
Hi, Jenkins 2.167 running on centos 7. So for its running as root user. I changed to jenkins user at /etc/sysconfig/jenkins file. I changed the file ownership at /var/lib/jenkins folder to jenkins;root.
similarly /root/jenkins/build_scripts and /root/jenkins/workspace also changed the ownershipas jenkins:root.
When restart the jenkins, log says:
SEVERE: Failed Loading global config
java.io.IOException: jenkins.model.InvalidBuildsDir: /root/jenkins/Build_Jobs/${ITEM_FULL_NAME}/build/ does not exist and probably cannot be created
        at jenkins.model.Jenkins.loadConfig(Jenkins.java:3050)
        at jenkins.model.Jenkins.access$1300(Jenkins.java:309)

pls let know

Dirk Heinrichs

unread,
Mar 19, 2019, 8:20:03 AM3/19/19
to jenkins...@googlegroups.com
Am Dienstag, den 19.03.2019, 17:40 +0530 schrieb Turaco mobile:

/root

This is root's $HOME where ordinary users don't have any permissions (and shouldn't have). You'll need to place this stuff elsewhere.

HTH...

Dirk
-- 
Dirk Heinrichs
Senior Systems Engineer, Delivery Pipeline
OpenText ™ Discovery | Recommind
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn, Registernummer HRB 10646
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.

denis mone

unread,
Mar 19, 2019, 8:50:50 AM3/19/19
to jenkins...@googlegroups.com

How did you install Jenkins in the first place.

How do you start/stop it. Without this information it'd be difficult to help.

--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAC3KZS-oRZ4MJC0__LwMHuJ8FLDkpt6rFTEbFciP40%3D8zv7Q7w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages