Solution to this problem.
Stop the vps.
vzctrl stop vps_id
Run the script.
#!/bin/bash
for i in `find /vz/private/vps_id/fs/root/ -noleaf -type l -print | perl -nle '-e || print'|grep ._vzlnk_.`
do
ln -sf `ls -ga $i|grep ._vzlnk_.|awk '{print $9}'|sed 's/\/\/\//\/vz\/template/'` $i
done
Start the vps.
vzctrl start vps_id
PS should check directories in the folder template, so as not to create dead links.
- Previous Entry: Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php5/20060613+lfs/fileinfo.so’ – /usr/lib/php5/20060613+lfs/fileinfo.so: cannot open shared object file: No such file or directory in Unknown on line 0
- Next Entry: [ayuda magento] Errores al importar base de datos magento
Trackbacks /
Pingbacks