• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

probleme dns

R

Rachad

Guest
last day i have move /var & /tmp to /home
now all my site is down
can any one tel me what happend
 
Generally, when you are going to move folders around, you also have to make sure that any software (such as Plesk) is reconfigured to know where to find things.

The quick way to get you running again would be for you to undo the /var and /tmp moves.

Moving /var is probably really not a good thing to do. There are *many* software packages which need /var to be directly accessible as /var/... not /home/var/....
 
i have Stop plesk, when i want start it i got this erreur message
etc/init.d/psa start
xinetd off
Starting INET services. (xinetd) done
named off
Starting name server BIND cp: `/etc/named.conf' and `/var/lib/named//etc/named.conf' are the same file
named: capset failed: Operation not permitted: please ensure that the capset kernel module is loaded. see insmod(8)
startproc: exit status of parent of /usr/sbin/named: 1
failed
mysql off
Starting service MySQL done
postgresql off
pg_ctl : un autre postmaster pourrait être en cours d'exécution ; néanmoins, je vais essayer de lancer postmaster.
pg_ctl : impossible de lancer postmaster
Examinez le journal des traces
failed
psa-spamassassin off
Starting psa-spamassassin service: done
apache2 off
Processing config directory: /usr/local/psa/admin/conf/httpsd.*.include
/usr/local/psa/admin/bin/httpsdctl start: httpd started
Starting Plesk: done
drwebd on
Starting drwebd done
 
mv /home/var /var
mv /home/tmp /tmp

Seems simple enough to me.

If you were doing this in attempt to regain some disk space because your /var partition is too small same with /tmp, try using sym links.

Move your /tmp and /var back to /home, but then issue the following commands:

ln -s /home/var /var
ln -s /home/tmp /tmp

The other thing I would check before doing anything period is that /var and /tmp aren't mountpoints for their own partitions, if so, you need to fix your fstab file before moving them.
 
Back
Top