Jenkins instance when opened using public address of AWS is giving permission denied

0 votes

image Error

java.io.IOException: Permission denied
	at java.io.UnixFileSystem.createFileExclusively(Native Method)
	at java.io.File.createTempFile(File.java:2026)
	at hudson.util.AtomicFileWriter.<init>(AtomicFileWriter.java:142)
Caused: java.io.IOException: Failed to create a temporary file in /var/lib/jenkins
	at hudson.util.AtomicFileWriter.<init>(AtomicFileWriter.java:144)
	at hudson.util.AtomicFileWriter.<init>(AtomicFileWriter.java:109)
	at hudson.util.AtomicFileWriter.<init>(AtomicFileWriter.java:84)
	at hudson.util.AtomicFileWriter.<init>(AtomicFileWriter.java:74)
	at hudson.util.TextFile.write(TextFile.java:116)
	at jenkins.model.Jenkins.<init>(Jenkins.java:910)
	at hudson.model.Hudson.<init>(Hudson.java:85)
	at hudson.model.Hudson.<init>(Hudson.java:81)
	at hudson.WebAppMain$3.run(WebAppMain.java:282)
Caused: hudson.util.HudsonFailedToLoad
	at hudson.WebAppMain$3.run(WebAppMain.java:299)
Oct 7, 2020 in DevOps & Agile by kavitha
• 120 points
878 views

1 answer to this question.

0 votes

Hi@Kavita,

You need to create a rule in your instance security group. Jenkins work on port 8080. So you need to allow this port no. Then only you can able to connect to your Jenkins instance.

answered Oct 7, 2020 by MD
• 95,440 points

Related Questions In DevOps & Agile

0 votes
1 answer

What OS is Jenkins installed on Azure Virtual Machine?

Under Managed Jenkins there's a section called ...READ MORE

answered Apr 4, 2018 in DevOps & Agile by DareDev
• 6,890 points
580 views
+1 vote
3 answers

How can I connect an app with an aws ec2 instance?

This is how you deploy a web ...READ MORE

answered Oct 18, 2018 in DevOps & Agile by Hannah
• 18,570 points
1,888 views
+13 votes
2 answers
0 votes
1 answer

Is there any difference between jenkins ssh publishers and ansible?

In a Layman’s language they're the same ...READ MORE

answered Apr 9, 2018 in DevOps & Agile by shubham
• 7,340 points
986 views
0 votes
1 answer

update $PATH of guest vm using vagrantfile

You can try the following command: I ...READ MORE

answered Apr 13, 2018 in DevOps & Agile by shubham
• 7,340 points
852 views
0 votes
1 answer

Is it possible to to create IIS Site and application Pool using Web Deploy

You can try and use the ServerManager ...READ MORE

answered Apr 20, 2018 in DevOps & Agile by ajs3033
• 7,300 points
1,727 views
0 votes
1 answer

Changing a computer IP address using fabric freezing

I used the following script to make ...READ MORE

answered Jul 20, 2018 in DevOps & Agile by ajs3033
• 7,300 points
514 views
+1 vote
1 answer

CSS formatting getting stripped out when viewing on jenkins

CSS is stripped out because of the ...READ MORE

answered Aug 14, 2018 in DevOps & Agile by Kalgi
• 52,360 points
4,242 views
0 votes
1 answer

Permission denied when executing module using ansible on host machine

Hi@Shamsher, This error usually occurs when their is ...READ MORE

answered May 29, 2020 in DevOps & Agile by MD
• 95,440 points
3,648 views
0 votes
1 answer

what is api token in jenkins and how to use for github webhook

Hi@Anil, GitHub webhook is used to trigger jenkins ...READ MORE

answered May 27, 2020 in DevOps & Agile by MD
• 95,440 points
1,831 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP