Questions tagged [tmp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
222 views

Docker-Compose Error on CentOS 7: Shared Library Mapping Issue

I've encountered an issue with Docker on CentOS 7. Although I have successfully installed both Docker and Docker-Compose, when I run docker-compose --version, I receive the following error: docker-...
adnan's user avatar
  • 101
2 votes
1 answer
730 views

Why are tmp files in /var/tmp/systemd-private-* excluded from automatic deletion?

I'm running a CGI application on an Apache instance, and lately I've been noticing errors like the following, which appear to be causing some issues: ERR012: Unable to create temporary file "/var/...
DMJ's user avatar
  • 171
1 vote
2 answers
624 views

Logrotate is not working in /tmp

I'm facing a strange problem with logrotate on my Debian 10 server. All in one, logrotate (v3.20.1) is working and rotating fine... except for some files in /tmp that I want to "skrink" ...
sbocquet's user avatar
0 votes
1 answer
509 views

Delete files from /tmp/ CentOS6

I'm running Centos6 and inside mt /tmp/ folder I see these files drwxr-xr-x. 2 root root 4096 Jan 14 2016 fileinstall-1059639640221211034 drwxr-xr-x. 2 root root 4096 Jan 30 2021 ...
fanpero87's user avatar
0 votes
0 answers
338 views

Wordpress error PCLZIP_ERR_MISSING_FILE (-4) when I'm trying to install, update a plugin, but the error is solved temporarily if I restart the server

Whenever I try to install or update a wordpress plugin, I get this error: PCLZIP_ERR_MISSING_FILE (-4) This is also happening if I edit a template from a layout manager or if I do anything that ...
user832's user avatar
0 votes
2 answers
3k views

what's root cause of "A start job is running for Create Volatile Files and Directories"

Stuck at "A start job is running for Create Volatile Files and Directories" after reboot a server(Debian 9.5, 64bit), and solve by this "boot-stuck-at-a-start-job-is-running-for-create-...
VictorLee's user avatar
0 votes
2 answers
3k views

Why is Docker volume world-writable if set to /tmp?

For the context : docker --version Docker version 20.10.7, build 20.10.7-0ubuntu5~20.04.2 test 1 : volume is /myvolume Here's my Dockerfile FROM alpine:latest USER 1000:1000 VOLUME /myvolume and ...
Httqm's user avatar
  • 235
1 vote
0 answers
196 views

Windows Creating tmp Files When Rotating Images

Windows server 2016 Standard Client PC's Windows 2010 Enterprise 2019 We have a shared folder that contains images (jpgs), we've noticed that when an image is opened in the default windows image ...
TheOrdinaryGeek's user avatar
2 votes
1 answer
5k views

Why even my root user cannot write in the /tmp directory?

I cannot write in the /tmp directory. This as a non root user: europasprak@vps-xxxxxxxx:~$ echo 'ok' > /tmp/dummy -bash: /tmp/dummy: Operation not permitted and europasprak@vps-xxxxxxxx:~$ sudo ...
Stephane's user avatar
  • 227
1 vote
1 answer
5k views

PHP can't write to /tmp folder anymore after Apache update

Linux dist: Ubuntu 18.04.5 LTS Server version: Apache/2.4.29 PHP Version: 7.4.20 with PHP-FPM Recently this server did an automatic upgrade of Apache and ever since PHP can't write to /tmp breaking ...
PHP Guru's user avatar
  • 121
0 votes
0 answers
34 views

Trojan:PHP/Obfuse.AR!MSR Detection by Windows Defender [duplicate]

I have an AWS server running Windows 2016 Datacenter. From the past few days, Windows Defender has been reporting Trojan:PHP/Obfuse.AR!MSR pointing to random phpXXXX.tmp files inside C:\Windows\Temp ...
Prashant Agarwal's user avatar
3 votes
1 answer
6k views

How exactly to use systemd private temporary directory feature?

Systemd has a nice feature that is private temporary directory (/tmp). But it is not clear from the dense manual what are the correct ways to use it and implementation gotchas (get the feeling the ...
gcb's user avatar
  • 72
7 votes
1 answer
33k views

Boot stuck at "A start job is running for Create Volatile Files and Directories"

I think something generated millions of files or folders in my /tmp on Ubuntu 18.04, as I'm unable to run ls /tmp or even rm -rf /tmp/*. So I tried rebooting, but now my machine's stuck at the step: ...
Cerin's user avatar
  • 3,640
0 votes
1 answer
524 views

How large should the mysql temp folder be when altering table information like auto increment?

If I have 500GB table size, how big should the temp folder be in order to alter table information? I will be configuring temp in my.cnf and, in this example, I have 64 GB physical ram.
jmazaredo's user avatar
  • 202
0 votes
2 answers
1k views

Linux Mint 19 through WDS PXE does not boot

I find myself stuck trying to make linux mint 19 available from my wds. I can boot windows, ubuntu, centos, debian, kali linux AND linux mint 18 with minimal problems but linux mint 19 just won't boot....
Carobell's user avatar
  • 341
5 votes
1 answer
5k views

Accidentally deleted /tmp/systemd-private-015eb2a30-apache2.service-9h6i

I accidentally deleted systemd-private-015eb2e9f67b4eef862c68e99fe0ba30-apache2.service-9h6i08 from my /tmp folder: sudo rm -R /tmp/systemd-private-015eb2e9f67b4eef862c68e99fe0ba30-apache2.service-...
mah. nah.'s user avatar
2 votes
1 answer
4k views

lsof shows tmp growing file marked as deleted

I have a cron that generated a lot (15GB) of PHP warnings and was writing them in a log file. I killed the process and as a temporary measure I stopped redirecting stderr to stdout so I don't fill up ...
rwms's user avatar
  • 155
2 votes
1 answer
3k views

tmpfiles.d -- difference between `x` and `X` options?

I'm configuring tmp cleanup on CentOS 7. The docs for tmpfiles are a little unclear to me when explaining the difference between the X and x options in tmp.conf. The difference according to the docs ...
limp_chimp's user avatar
2 votes
0 answers
144 views

Unexplained massive rmagick temporarily file

Problem We recently ran into a situation whereby some of our server instances were suddenly running out of disc space, evidenced by below graph: The reason for running out of disc space is a single /...
Jack's user avatar
  • 646
0 votes
0 answers
115 views

Is /tmp ever cleared on my servers and VM that don't get

Random curiosity had me look up when exactly /tmp was cleared, to discover that most OS do it at shutdown or boot up. I had always thought it was more of a "whenever we need to reclaim space" logic. ...
dsollen's user avatar
  • 103
0 votes
1 answer
1k views

Cannot create symlink from /var/tmp to /tmp. Cannot delete /var/tmp - CentOS 7

I cannot delete /var/tmp as it says, # rm -Rf /var/tmp rm: cannot remove ‘/var/tmp’: Device or resource busy Because of this, I cannot create a symbolic link from /var/tmp to /tmp. How can I ...
J Doe's user avatar
  • 1
4 votes
3 answers
23k views

git reports "No space left on device", but df -h says there is is 2.5G available [duplicate]

I have an EC2 node running Ubuntu 14.04. On a deploy this morning, I received the following error message from git fetch: error: unable to create temporary file: No space left on device I logged ...
Rjak's user avatar
  • 143
0 votes
2 answers
550 views

Windows Server: any built-in application that cleans TEMP folder(s)

Using Windows Server 2012 R2: My application creates many temp files in a service account's temp folder: C:\Users\SVC_ACCT\AppData\Local\Temp\ I need to build a PowerShell script that cleans the ...
Allan Xu's user avatar
  • 695
1 vote
1 answer
4k views

How to prevent tmpfs /tmp causing machine to run out of memory?

I have a virtual server (Debian 8.5, OpenVZ) that seems to run out of memory* when tmpfs-based /tmp is about 60% full. (* while the system reports 2GB of memory still free, processes start to behave ...
Kornel's user avatar
  • 1,145
5 votes
1 answer
20k views

Are directories with mode `drwxrwxrwt` safe in /tmp on a *nix system?

drwxrwxrwt 2 root root 4096 Aug 20 2015 .font-unix drwxrwxrwt 2 root root 4096 Aug 20 2015 .ICE-unix -rw------- 1 root root 0 Aug 20 2015 ipt.err -rw------- 1 root ...
John's user avatar
  • 897
-1 votes
1 answer
1k views

How to cleaning up /tmp

I have a CentOS web server with many clients on it. I see the /tmp reached DISKCRITICAL just after about two months since I made 8 GB (after expansion from 4 GB)! I want to know the reasons that make ...
Aymen's user avatar
  • 1
0 votes
2 answers
987 views

Unable to clear up tmp

I had a bunch of files in /tmp that I cleared up by doing $ rm -rf ./tmp/*. However, I'm still unable to 'clear' that information, even after a reset. Here is what I have now: $ cd Av-bash: cannot ...
David542's user avatar
  • 969
2 votes
2 answers
224 views

Dumped a large amount of small files in /tmp/ and rebooted... server not coming back up

I stupidly created a reasonably deep tree (4 folders deep) with the leaf folders containing a large amount of smallish files (over 1 million files around 200kb to 1mb in size). In total the count ...
Ben Boyter's user avatar
8 votes
1 answer
25k views

Error: No space left on device when starting/stopping services only

I know there are multiple questions like this already, but none of their answers applies to my problem. So I tried to upgrade from Debian 7.7 to Debian 8.1. Every works fine, but certain operations ...
OptimusCrime's user avatar
-2 votes
1 answer
752 views

Var folder maxing out /dev/mapper/vg00-var

Over the past few years we have had multiple linux servers have the same problem time and time again, our /dev/mapper/vg00-var folder max out at 100%. which means all sites on the server die. We have ...
Gismmo's user avatar
  • 101
0 votes
1 answer
1k views

Debian 8 + PHP: /tmp/ Permission denied

I had a website running fine on Debian 7 + PHP 5.6, and recently decided to upgrade my Debian installation to Debian 8. Everything went fine, except for a small thing. While running the same code, ...
TCB13's user avatar
  • 1,238
-5 votes
2 answers
166 views

Why isnt this sudoer command run as root? [closed]

I want to give PHP access to a very specific script using a configuration under /etc/sudoers.d. So I did the following: visudo -f /etc/sudoers.d/99-php And entered this sudo rule: www-data ALL = (...
Mr. Developerdude's user avatar
2 votes
3 answers
2k views

What is making /tmp/info-html*.tmp files and how do I stop it?

What is making /tmp/info-html*.tmp files and how do I stop it or configure it to clean these up and/or make these somewhere else? For example, # ll /tmp/info-html* -rw-r--r-- 1 user user 0 Oct 30 ...
Shovas's user avatar
  • 263
-1 votes
1 answer
2k views

Is It safe to delete all files/directories from /tmp folder on ubuntu 14.04 rackspace server? [closed]

I am getting error unable to connect with mysql. when I googled I found It's because of size. It's showing /tmp 100% used. so can I completely remove all files from/tmp folder ? #df -m /tmp ...
kamlesh.bar's user avatar
2 votes
2 answers
10k views

PDFTK: unable to open file for output

I am making use of PDFTK to watermark PDF files using the following command: pdftk /tmp/55180af7c8c88.pdf stamp /tmp/stamp55180af7c95b84.58412952.pdf output /tmp/55180af7c95c81.06110501.pdf However ...
Abs's user avatar
  • 1,609
8 votes
3 answers
25k views

No space left on device error, but df reports as more space available

My PHP sessions on my Debian webserver using Apache2 with mod_php seem to be failing randomly, saying that there’s no space to write them: sudo tail -60 /var/log/apache2/error.log [Fri Jan 30 15:55:...
Kzqai's user avatar
  • 1,288
0 votes
1 answer
231 views

deletion of tmp directory content on RHEL

we have installed Web logic server 10.3.6 in RHEL 5.8.There also a "tmp" folder inside "domains/servers/tmp" folder..this is the path of tmp folder in my case.Now My query is "Is it Mandatory to ...
rihi kalian's user avatar
-2 votes
1 answer
76 views

PHP website grinds to halt for an hour, then runs fine....how to debug?

I have a PHP website which uses $_SESSION variables. It runs on Apache, Mysql and Ubuntu 14.04 on a very resourceful server (Amazon EC2 - M3.X-large) For some unknown reason, the website virtually ...
richelliot's user avatar
1 vote
1 answer
3k views

Can't create/write to file '/mnt/temp/something' (Errcode: 13)

I changed the tmp directory of the mysql configuration to a mounted disk and on service mysql restart I get following error: Can't create/write to file '/mnt/temp/something' (Errcode: 13) To my ...
Ut xD's user avatar
  • 238
1 vote
1 answer
962 views

Suspicious Linux binary file in /tmp/ - Munin?

I have a CENTOS 6.6 x86_64 server running ConfigServer Firewall (installed by us) and Munin (installed by the datacentre). CSF has recently (and for no apparent reason) started sending us warnings, ...
JamesG's user avatar
  • 115
0 votes
2 answers
2k views

How to backup your MySQL database when /tmp is read only?

I have an Ubuntu server 12.04 with a corrupted ext4 file system on my /tmp partition : $ dmesg | tail [25300713.878456] end_request: I/O error, dev vda, sector 2019854 [25300713.882430] Aborting ...
Bite code's user avatar
  • 399
23 votes
1 answer
32k views

php script can't access /tmp folder

I have no open_basedir, php can access /etc /usr /proc /home etc… but not /tmp. tmpfs is mount on /tmp (/tmp type tmpfs (rw)) That's also the reason I want to use the /tmp folder. My files are owned ...
eephyne's user avatar
  • 791
-4 votes
2 answers
11k views

insufficient space in download directory /var/cache/yum/updates/packages [closed]

I try to install vim-enhanced using #yum install vim-enhanced I got an error like this insufficient space in download directory /var/cache/yum/updates/packages I found some answers to the this ...
Roledenez's user avatar
  • 101
1 vote
1 answer
311 views

Re-ocurring issue with keys on temp tables

We run a large forum with lots of reads and writes, particularly to the posts and topics tables which are both innodb. Last week I started doing 12 hourly backups with innobackupex because mysqldump ...
Christian's user avatar
  • 789
0 votes
2 answers
4k views

removed files from /tmp/ directory - can't login anymore

I'm a system integrator(evidently noob), and today i've made my first scan with rkhunter, a tool that look into the system for check the presence of rootkits. After that scan i -foolishly- decided to ...
lese's user avatar
  • 192
1 vote
1 answer
221 views

Temporary file security threat? [duplicate]

We use CentOS. We've been hacked and trying to figure out why. Looking at the /tmp folder I'm wondering if these are security threats: -rw-rw---- 1 mysql mysql 11665408 Apr 3 18:59 #...
user1397652's user avatar
3 votes
1 answer
1k views

Increase TMP size Centos 6.5 whm/cpanel

I'd like to increase it from 2G to 10G Using CENTOS 6.5 WHM 11.40.1 (build 11) I have tried: #vi /scripts/securetmp and looked for a line like “my $tmpdsksize” its not there. But this is what is ...
Will R.'s user avatar
  • 33
0 votes
0 answers
1k views

Mysql tmp file cause site exception error crash

Running Magento and every 3-15 days or so (fairly random) I get this error: exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[HY000]: General error: 1 Can't create/write to file '/tmp/#...
cshaun's user avatar
  • 1
2 votes
1 answer
3k views

/var/tmp size increasing. MYD file eating memory

i don't know much about linux file's system. there is centos installed on my machine. suddenly my web stopped working. sql_2031_0.MYD file in /var/tmp/ getting large when something browses in website. ...
user2349450's user avatar
1 vote
1 answer
500 views

Will changes to periodic.conf file be picked-up by the system automatically?

I have made some changes to my /etc/defaults/periodic.conf file to change how it cleans the /tmp dir. Do I need to do anything else such as log-out or reboot to get the system (Mac OS 10.8.4) to see ...
daustin777's user avatar