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

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 6 years ago. Improve this question 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 … Read more

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

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 7 years ago. Improve this question 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 … Read more

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 grinds to a halt every so often, and I don’t know why. When this occurs, very few people are visiting the website, … Read more

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 found a temporary solution for this which is to increase the size of this var folder, however we keep … Read more

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

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 6 years ago. Improve this question 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. … Read more

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 path(s): (/customers/rollergirl.ch/rollergirl.ch:/var/www/diagnostics:/usr/share/php) in /customers/rollergirl.ch/rollergirl.ch/httpd.www/drupal/sites/all/modules/imagecache/imagecache.install on line 37. ImageCache Temp Directory /tmp is not writeable by the webserver. I guess this happen because the server is not configured with a … Read more

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 functions of the site where not working. I fixed some of the problems by changing the PHP upload_tmp_dir do be something other than … Read more

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/#sql_362_0.MYD’ (Errcode: 17)’ in public_html/lib/Zend/Db/Statement/Pdo.php:234 And yes indeed /tmp/#sql_362_0.MYD file exists. 0 bytes, owner MYSQL:MYSQL. The only way to recover from this is to delete the file (or restart … Read more