Questions tagged [var]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
39 views

I have been trying to move /var to a new partition but the data disappears

I have been attempting to move my /var folder to a new partition. I am using Debian 10.7 and have an 8GB processor so am trying to save space. I have tried several things but part of the data always ...
0
votes
0answers
26 views

As admin, can I log all keystrokes for one specific non-root user?

I'm a sudoer. I'd like to set something up that whenever (non-sudoer) user student1 is logged in, all keystrokes are logged so that I can later (sudo) review them; student1 should not be able to kill ...
0
votes
1answer
73 views

I accidentally deleted /var directory in my fedora 33 server

The system is up and running but I can't use yum or dnf and some other programs.What should I do now. How can I fix it.
0
votes
1answer
27 views

What enable `mysql` user to write a file into /var/log?

/var/log/ belongs to root user: $ ls -ld /var/log drwxr-xr-x. 13 root root 4096 Mar 31 19:23 /var/log As you can see the other do not have the write privilege and there's no sticky bit (as for the /...
3
votes
2answers
13k views

Is it safe to delete these snaps? [closed]

UPDATE: No, it is not safe to delete these snaps. I deleted them and can no longer open three of my applications. Attempt at opening Visual Studio Code: ~$ code internal error, please report: running ...
0
votes
1answer
111 views

I accidentally deleted var directory in my linux opensuse system. I can't acces the GUI as var/lib/gdm also got deleted

Message shown: Server authorization directory (daemon/ServeAuthDir) is set to /var/lib/gdm but this doesn't exist.
1
vote
1answer
638 views

How to find and delete OS junk files on /var

I tried to update my "Fedora" by using Terminal. It worked great at first but after a while it said that "there is not enough space in var/". I added some more space by using Gparted and now ...
0
votes
1answer
339 views

PhpStorm don't show /var/www on opening

I installed PhpStorm on Linux Mint 19.2 . When I try to open the project, the editor doesn't show me the /var/www directory. What can I do? I don't have this problem with VSCode In lamp installation ...
1
vote
1answer
3k views

How can I move /var to spacious partition or increase size of the partition (/dev/sda3 in this case) to say 30G?

I am working on a Debian 9 system. When I try to install a package, dpkg fails with following error: Selecting previously unselected package mariadb-server-10.1. Preparing to unpack .../3-mariadb-...
0
votes
3answers
1k views

How to make /var/log persistent through reboots on an embedded linux device

Scenario I am on an embedded linux system. As usual /var/log/ is the directory when all the logs are stored. I have a directory called /safepath which is created during image creation and it is on ...
0
votes
2answers
108 views

Bind mounted /var to /raid5/var and CentOS fails to boot

System Background: I am running CentOS 7 in a VM (in VirtualBox) on a host computer running Windows 10. My /dev/sda is on an SSD and then I have three 1TB HDDs /dev/sdb, /dev/sdc, and /dev/sdd ...
0
votes
1answer
4k views

can i safely remove /var/log/jenkins/jenkins.log (/var: 100% used) [duplicate]

I am running out of disk space with /var system file and noticed /var/log/jenkins/jenkins.log file is occupied 7 GB. Can i safely remove this log file ?
1
vote
1answer
401 views

mount /var as tmpfs && backup to disk @ shutdown && restore from disk @ boot

I run a fedora 27 server mainly for an email service, that is mainly used for temporary email communications by a software. Almost nothing permanent need to be stored on the /var, maybe except it's ...
1
vote
1answer
133 views

To Symlink or not to Symlink?

Prefacing this by saying I'm pretty new to Linux/Computers. I'm working on doing a yum update on an outdated RHEL (7.2) system. I'm currently not able to install anything new or change the disk ...
1
vote
2answers
94 views

Want to increase partition sizes - how to do so safely?

I'm looking to resize a number of partitions, but I'm unsure how to go about doing this. I want to increase the partition size of the /var partition, that is in the middle of all the other partitions....
0
votes
1answer
3k views

Search by file extension using grep command in /var/run

I want to search files by using grep command in the directory /var/run /var/run stores the processes running in the system and it has files with pid extension. I want to get a list of all the files ...
6
votes
4answers
5k views

What would likely cause directories in /var/run to disappear / not be created on startup? (CentOS 7.3)

Ran into an issue today where Apache would not load because /var/run/httpd was missing. After much hunting to find that cause of the error I was getting ([Tue Jul 25 00:06:31.574386 2017] [auth_digest:...
1
vote
1answer
1k views

var directory showing its full via command 'df-h' [duplicate]

df -h shows: df -h Filesystem Size Used Avail Capacity Mounted on /dev/ada0p2 1.9G 256M 1.5G 14% / devfs 1.0K 1.0K 0B 100% /dev /dev/ada0p4 804G ...
10
votes
1answer
17k views

Why do I get the error “failed unmounting /var” during shutdown?

I have a fresh install of Debian 9.0.0. It has a separate 1 GB partition for /var formatted at ext4. When I shutdown from the terminal, using shutdown -h now, there is a bright-red error message ...
3
votes
2answers
1k views

Accidentally deleted /var folder

I accidentally moved my /var folder to trash and now unable to login to Mac. The only solution I found until now is to recover OS X. I have tried to move /var back to /private folder in single user ...
3
votes
2answers
1k views

Does /var keep growing in size?

tldp.org quotes /var as: Files in /var/log can often grow indefinitely, and may require cleaning at regular intervals. So without cleaning, using a system for a long enough period will fill up ...