Jenkins fails when running “service start jenkins”

前端 未结 21 2330
不知归路
不知归路 2021-01-30 20:46

I installed jenkins on Cnetos 7 using the following:

sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins.io/redhat-stable/jenkins.repo
sudo rpm --impor         


        
21条回答
  •  离开以前
    2021-01-30 21:17

    [100 %]Solved. I had the same problem today. I checked my server space

    df-h
    

    I saw that server is out of space so i check which directory has most size by

    sudo du -ch / | sort -h
    

    I saw 12.2G /var/lib/jenkins so i entered this folder and cleared all the logs by

    cd /var/libs/jenkins
    rm *
    

    and restart the jenkins it will work normal

    sudo systemctl restart jenkins.service
    

提交回复
热议问题