The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
18 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 ...
0
votes
0answers
18 views

Is there a tmpreaper that reads from a group of conf files

Logrotate is really nice because each component that wants to have logs rotated just need to drop a file in /etc/logrotate.d, and the daemon reads from all of them. Tmpreaper reads from just a single ...
1
vote
1answer
47 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, ...
0
votes
2answers
59 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 ...
0
votes
1answer
152 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 ...
-4
votes
2answers
728 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 ...
0
votes
1answer
51 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 ...
0
votes
2answers
258 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 ...
1
vote
1answer
39 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 ...
2
votes
1answer
443 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 ...
0
votes
0answers
327 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 ...
1
vote
1answer
135 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. ...
1
vote
1answer
49 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 ...
0
votes
1answer
215 views

Email queue won't send - No disc space left (running Centos 6.3)

I hope anyone can help me out with the following issue. I'm no longer receiving emails because they are getting stuck in the email queue. I've tried the following: System reboot (even between the ...
0
votes
3answers
94 views

/tmp flooded with “.myapp” files

On my new server (dedicated, CentOs5), 2 or 3 .myapp files (like "51b9dc4cc246f.myapp", ~500 Mo) is created every minute under /tmp, fulling my harddisk at an alarming speed. There is nothing in ...
1
vote
1answer
426 views

tmpwatch not deleting folders and mp3 files in /tmp

I have a process which moves files from our EC2 server to s3, we're not sure why but it stores them in /tmp whilst moving them, but for some reason it also leaves them there once the process has ...
0
votes
2answers
1k views

/tmp used 100% where is files?

On Centos 6.3 server I noticed that /tmp has no longer free space to store files. [root@]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg0-lv_root ...
0
votes
3answers
194 views

Purge tmp directory per user

I've created on my fresh server a directory structure like this: /home/$username/$domain/ (for example: /home/domaincom/domain.com/) - public_html - logs - conf - tmp Everything works well, but ...
1
vote
1answer
2k views

How much space is in a Solaris /tmp filesystem?

On Solaris, the /tmp filesystem is a filesystem of type "tmpfs". It's implemented in the kernel by allocated space from the virtual memory pool. That means allocation interacts with the available RAM ...
2
votes
1answer
165 views

sudo does not preserve TMPDIR

The sudo manpage tells me, that I can preserve the environment by passing the -E option, which does not work in the case of $TMPDIR: > env | grep TMPDIR TMPDIR=/localdata/tmp > sudo env | grep ...
0
votes
0answers
124 views

How to define the upload_tmp_dir for all the accounts?

I'm not really a sysadmin, so bear that in mind. We recently set our server and we have multiple cliente accounts. The problem is the upload_tmp_dir configuration is empty. In an upload script that ...
0
votes
1answer
73 views

Ephemeral Amazon disc mounted in /tmp

I would like to know what do you think about mounting the ephemeral disc in /tmp when using Ubuntu in AWS.
0
votes
1answer
100 views

using /tmp partition instead tmp folder under root partition

I’m very new on using Linux (Debian) and have following question. I installed debian and during the process also created separate partition for /tmp. How can I now make sure that server programs use ...
0
votes
2answers
1k views

How long do uploaded files stay in the tmp folder in Linux Ubuntu?

I am building a web application where my users will be able to upload files. After the files are uploaded I need to send the files to two other servers, and after they will be deleted from the server ...
1
vote
1answer
504 views

Compiling passenger-install-nginx-module; “C compiler gcc is not found”

I am in the middle of a process of installing Redmine served with passenger and nginx with this tutorial. With the passenger-install-nginx-module, it works fine and during compiling it outputs an ...
0
votes
1answer
354 views

/tmp always gets full even after resize

I have a cPanel Server with 4GB of Ram and 4GB of /tmp space. I always get this error: Will this cause slow performance? and can I delete everything? Drive Critical: /tmp (/var/tmp) is 95% full ...
2
votes
1answer
2k views

Using tmpfs + a very large swap partition for /tmp instead of a regular filesystem?

I have Linux server and I have a spare 500GB disk partition. I wanted to format it and use it for /tmp. The server occasionally runs some large data processing tasks so it can happen that /tmp will ...
0
votes
3answers
1k views

mysql: Shall I change the mysql tmpdir from /tmp to /var/lib/mysql/tmp

Recently on one of the prodcution servers we have seen the replication being stopped due to the space issues on the /tmp drive which is having less space allocated. I would like to move the tmpdir ...
2
votes
5answers
7k views

How do I delete everything in the /tmp/ folder?

I do "sudo rm *" and it does not remove everything. (I probably have lots of objects in there which I don't need.) I'm not asking whether it's ok to remove everything in tmp - i'm asking how to do it ...
1
vote
2answers
1k views

delete all folders with tmp in name using batch file

Have tried to google this, but I always seem to get results relating to .tmp files, which isnt really any use. I have only a basic understanding of batch files, but I think I need something like ...
32
votes
5answers
30k views

When does /tmp get cleared?

I'm taking to putting various files in /tmp, and I wondered what the rules on deleting them are? I'm imagining it's different for different distributions, and I'm particularly interested in Ubuntu ...
0
votes
2answers
2k views

Tomcat: deleting content of “logs” and “tmp” directories

I have noticed that "logs" and "tmp" content take 36GB and 21GB respectively. I need to free up some disk space and currently wondering is it vise to clean them. Thanks!
0
votes
2answers
7k views

Increasing the size available to, or changing location of, /tmp

I am currently in charge of a server running Red Hat and a bioinformatics webapp that deals with huge files, some of which are over 100GB when uncompressed. The act of decompressing these files is ...
-1
votes
1answer
32 views

massemail with attachment - tmp folder

I have a small mailing php script and I would like to extend it with attachment function (we have a DB for our staff to get contact with them). As far as I understand I need a /tmp folder to be able ...
1
vote
2answers
318 views

Possible causes of PHP /tmp device full error

I am getting the following error on the odd occasion on our web server: Warning: session_start(): open(/tmp/sess_7ifl201pvdd91rr6tr4015n5k4, O_RDWR) failed: No space left on device (28) in ...
2
votes
2answers
407 views

Linux tmp-like dir in home folder?

I'd like to make a folder in my GNU/Linux home directory that behaves somewhat like TMPDIR (usually /tmp or /var/tmp); that is, a folder that deletes its contents on reboot or after they've started ...
0
votes
2answers
87 views

applications unable to use /tmp

The disk on a Ubuntu server filled up causing a website to fail and some database corruption. After freeing some space (rogue wordpress backup plugin) and reimporting the database we found some ...
0
votes
1answer
795 views

PHP fails to start sessions - disk corrupted?

In my Linux server, I can't login to my PHP application having an issue related to PHP sessions: PHP Error Logs: [Sat May 21 21:27:50 2011] [error] [client ] PHP Warning: Unknown: ...
1
vote
5answers
496 views

Scratch files in /tmp getting mysteriously deleted

I have certain files in a /tmp subdirectory that a script I wrote uses for scratch. The opens and closes these file perfectly fine for a few hours. Then, out of nowhere, the files are no longer found. ...
3
votes
3answers
194 views

Can you put user temp files in /tmp?

Can you put files in /tmp? A friend of mine was telling me never to do that, it could bring down a machine. Is this true?
2
votes
1answer
1k views

What is the most efficient way to handle /tmp and disk quotas on Linux

I'm running a VPS with a webserver (Apache+PHP), a database (MySQL) and smtp server (Exim). OS: Debian Lenny. RAM: 512MB. Using (quota](http://packages.debian.org/lenny/quota). At the moment, I've ...
1
vote
2answers
134 views

Longevity of entries in /tmp on a server

On a server that's up 24/7/365: where and how are the cleanup of /tmp (and /var/tmp) defined / controlled / configured?
3
votes
1answer
2k views

JBoss 5: $JBOSS_HOME/server/$INSTANCE/tmp cleanup

I've noticed since moving to jboss 5, tmp files for each instance are handled differently. In jboss 4, the entire directory was purged at each jboss restart. In 5, the applications are exploded to ...
1
vote
4answers
701 views

Cleanup of /tmp

What mechanism controls how often/when the /tmp directory is cleaned up. If there is such built-in mechanism at all or do I need to resort to a custom cron? I'd appreciate either a specific ...
1
vote
4answers
932 views

/var/tmp and file lifetime

I've got a cronjob that runs every minute and checks existence of a certain file. If there's no such file, job silently ends. If there is a file, then another script is started. That script removes ...
3
votes
1answer
2k views

Does Ubuntu Server have any sort of cron job to automatically clear /tmp?

I know it clears out /tmp on reboots, but I haven't been able to find any sort of cron job on my server that clears /tmp. I recently set up a script that writes lots of files to /tmp and my server ...
0
votes
1answer
889 views

Apache: tmp is not writable

I've installed Drupal on a new webserver and I get the following errors: warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/tmp) is not within the allowed ...
0
votes
1answer
3k views

JBoss 5.1.0.GA and huge vfs-nested.tmp

I noticed this while running a performance test with JMeter. For first half an hour everything was fine and the /server/all/tmp directory size was around 36M. Then suddenly the tmp directory grew up ...
2
votes
1answer
407 views

Is it all right to just delete /tmp/* and all the apache logs files (access.log, error.log)?

They are just taking too much disk space, is it safe to delete them? Is there anything I have to take special care of when I set up a crontab job to do the deletion routinely? Thanks!
0
votes
1answer
348 views

Can I delete CGI*****-* files in /tmp dir

We have a bunch of different applications running on a web server and some of them started falling over; Quickly checking disk space we realised the tmp folder on a seperate partition had become full ...