Questions tagged [var]

/var is a standard subdirectory of the root directory in Linux and other Unix-like operating systems that contains files to which the system writes data during the course of its operation.

35 questions
2
votes
2 answers

Can't update opensuse from 11.4 to 12.1 because of lack of space in /var

I'm trying to update opensuse from version 11.4 to 12.1. The required download size is more than 1.0 GB, but my filesystem /var is precisely 1.0 GB, that's why zypper stops while downloading .rpm packages because of lack of space in /var. What…
user1088224
  • 131
  • 1
  • 3
2
votes
3 answers

What, if anything, is safe to symlink in /var?

We have plenty of space on a different mounted device. Since the /var partition stays relatively static in terms of size (around 8-10GB because of big logs that we need), I'd be fairly happy to simply make our current /var space 65% full rather than…
2
votes
2 answers

increase the space in var partition on Debian GNU/Linux 10 (buster)

I'm running docker containers on my machine which puts it all in /var/. DF shows that /var/ is 6.9G and no free space. The Linux system is running under VMWare and I've given the server extra 100 GB's in VMWare console. How do I increase "/var" in…
resolver101
  • 301
  • 3
  • 7
  • 17
1
vote
1 answer

How Ubuntu 12.04 re-install handles /var on separate partition

To add some context to my question, the majority of my experience is with Mac OS X. The default installation process in modern versions of Mac OS X, for volumes on which Mac OS X is already installed, is an "archive and install." Booting from…
sardean
  • 833
  • 3
  • 15
  • 34
1
vote
1 answer

How do i create Symlink to /var/log/myapp to another mount?

I am not very familiar with unix terminologies but I have a requirement where I have installed Gitlab on one of my RHEL server. By default the installation and log goes to /var/opt/gitlaband /var/log/gitlab respectively. Gitlab doesn't recommend to…
0
votes
2 answers

Huge /var/log directory inode in ext3 after creating and removing many files

I have Debian Jessie, /var/log on root partition of type ext3 (rw,relatime,data=ordered). Four days ago logrotate dumped tens of thousands files, this was fixed and files deleted. After this: # du -hc /var/log/ 511M total Files and…
0
votes
0 answers

Odd entries in Debian Linux /var/log/auth.log

I have found some odd entries all of the sudden in my /var/log/auth.log files. They are showing up every 10-20 seconds or so. There isn't anything in cron that would do this, and I am at a loss of where to look next. Nov 17 02:21:06 centaur…
lext01
  • 21
  • 4
0
votes
3 answers

sed replace unix path with variable that contain another unix path

I need to replace Unix path via sed with variable that contain another unix path in a bash script Example: another_unix_path=/another/unix/path sed -i 's/ \/some\/path\/file.txt/ '$another_unix_path'/g' some_file.txt
vasek
  • 13
  • 1
  • 1
  • 3
0
votes
2 answers

/var/lib/mysql folder is not coming up after install

I'm having some trouble with reinstalling MySQL, since i uninstalled it. I have been unable to install it again. yum install mysql-server yum install mysql But what ever I do, the folder /var/lib/mysql is not having any files in it. When I do the…
user156461
  • 11
  • 1
0
votes
3 answers

Mac OS X Snow Leopard: permissions changed on /var results in dns lookup issues

I was attempting to solve an issue ("/var/log/msmtp.log: permissions denied" error when attempting to send mail using msmtp) when I did this: > chmod -R 770 /var After that, my machine would not resolve domain names via cURL. (ping also fails) But,…
Ivan
0
votes
1 answer

Resize the /var directory in redhat enterprise edition 4

I am running NDB mysql. the log files fills up the /var directory. therefore i cant start the ndbd service now. as a temporary fix, i have deleted the log files and again working fine. but again the log files fill up the /var directory. i got…
Sri
0
votes
1 answer

Avoid Docker to write into /var/tmp

How can I tell docker to write data elsewhere of /var/tmp ? Like specifying another path, like /opt for example. Because I often running out of disk usage on /var file system. The challenge is that I don't to resize /var every time I need to load or…
Suffren
  • 7
  • 2
0
votes
0 answers

Issue adding space from /home to /var with ext4 fs debian 11

My /var is full on 9.1GB and I need to increase space to 100GB from /home that has 1.4TB. When I run fdisk it keeps giving me the same default amount of space (9.1GB). Is the another way of adding more space from /home to /var that I can use to…
0
votes
0 answers

On macOS, what is /var/db/uuidtext?

My Macbook Pro has a folder /var/db/uuidtext What do the hexidecimal numbers for the subfolders represent, and what is the dsc subfolder? James-MacBook-Pro-4:~ jamespedersen$ ls /var/db/uuidtext 00 0C 18 24 30 3C 48 54 60 6C 78 84 90 9C…
user2279952
  • 121
  • 4
0
votes
1 answer

How to move /var back to Root from a different filesystem

I need to move my /var (dev/sdc1) back to the / (dev/sda2) from a different file system. I've resized the / partition and want to move /var back to / partition and resize /dev/sdc1 filesystem to mount another directory /data002 Currently, df -h and…
Sam89
  • 11
  • 4