Error in package installation vis Package Manager | Community
Skip to main content
VatsalGupta
Level 2
October 16, 2015
Solved

Error in package installation vis Package Manager

  • October 16, 2015
  • 8 replies
  • 2494 views

 Facing issues on installation of DAM packages on one server.

Error - "Error while creating tmp file."

These packages work fine on other servers.

Any directions?

Thanks

Vatsal

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

Hi,

please have a look at the error.log file, theres should be an indication about the problem. Regarding this specific message you might have a look at the free disk space on the volume where you tmpdir is located on.

kind regards,
Jörg

8 replies

smacdonald2008
Level 10
October 16, 2015

Are the versions of CQ the same on the ones that work and do not work? If they are all the same - the package that works on 1 instance should be working on other instances. 

What CQ version are you working with. 

JK_Kendall
Level 9
October 16, 2015

What version of AEM are you using?

-JK

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

Hi,

please have a look at the error.log file, theres should be an indication about the problem. Regarding this specific message you might have a look at the free disk space on the volume where you tmpdir is located on.

kind regards,
Jörg

VatsalGupta
Level 2
October 16, 2015

5.6.1

VatsalGupta
Level 2
October 16, 2015

5.6.1 - Same at all places.

VatsalGupta
Level 2
October 16, 2015

There is not anything in the logs. The disk space is enough.

joerghoh
Adobe Employee
Adobe Employee
October 16, 2015

Hi,

and this affects only 1 server? Does it effect all packages you are uploading?

Jörg

irina-chirita
Adobe Employee
Adobe Employee
February 5, 2022

Hello, 

I ran into this issue too on AEM 6.5 recently and believe my answer on this thread may help others. To diagnose the problem, I have first looked up the temporary location for the AEM process:

# ps -ef | grep java | grep tmp
crx 6533 1 10 Jan27 ?  1-00:30:24 java -Xms4096m -Xmx4096m -Djava.io.tmpdir=/ephemeral0/tmp ...  -jar /mnt/crx/author/cq-author-4502.jar -r author,test,dynamicmedia_scene7 -r nosamplecontent -nofork -nobrowser

As per this community thread there could be several reasons for the temp related error and I believe these would apply here too:

- tmpdir does not have enough space

- tmpdir does not exist

- AEM service user does not have proper permission to tmpdir

In my case, there was simply no space left in the temp location:

#:/ephemeral0/tmp df -kh .
Filesystem      Size  Used Avail Use% Mounted on
/dev/sdb1        14G   13G     0 100% /ephemeral0

Once I removed some of the files no longer necessary, package installation completed successfully.

Irina