HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   /home ad symlink after rsync run (http://www.howtoforge.com/forums/showthread.php?t=43917)

DreamK 8th March 2010 11:57

/home ad symlink after rsync run
 
Hi,

At the first time, sorry to mind you.

I have proceed urgently to a faulty hard drive replacement. I have done a rsync run and i have lost all the symlink.

There is a way to proceed to restore all the symlink in /home ?

Thanks in advance for you reply :)

till 8th March 2010 12:15

You mean the symlinks for the websites in ispconfig? Set the field "status" in the isp_isp_web table in the ispconfig database to 'u' and then edit one website and save it. ISPConfig will then recreate the links.

DreamK 8th March 2010 13:32

ok, a part of the symlink have been restored.

The website with no symlink are those with active web logs.

web[id] -> /log empty
www.web[id] -> /log working

Should I cut and past the /log into web[id] for each website ?

till 8th March 2010 13:35

The symlinks should not depend on the logfiles. Also if log is empty, this would mean that the site is not in use. Do you have any errors in the file /home/admispconfig/ispconfig/ispconfig.log

DreamK 8th March 2010 13:44

I have this logs after having set an option for webalizer on web2


Quote:

08.03.2010 - 12:39:58 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 755: /etc/init.d/apache2 restart &> /dev/null
08.03.2010 - 12:39:58 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 755: /etc/init.d/postfix stop &> /dev/null
08.03.2010 - 12:39:59 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 755: /etc/init.d/postfix start &> /dev/null
08.03.2010 - 12:40:00 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 755: /etc/init.d/bind9 restart &> /dev/null
08.03.2010 - 12:40:03 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 755: /etc/init.d/proftpd restart &> /dev/null
08.03.2010 - 12:42:03 => INFO - Signalfile Set: insert
08.03.2010 - 12:42:07 => WARN - /root/ispconfig/scripts/lib/config.lib.php, Line 1136: WARNING: could not ln -s /home/web2 /home/www.yyy.xx
08.03.2010 - 12:42:07 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 259: setquota -g web2 0 0 0 0 -a &> /dev/null
08.03.2010 - 12:42:07 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 260: setquota -T -g web2 604800 604800 -a &> /dev/null
08.03.2010 - 12:42:07 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 279: Connected successfully
08.03.2010 - 12:42:07 => INFO - USER:
web2_info:x:10002:10002:info xxx.yy:/home/web2:/bin/false
08.03.2010 - 12:42:08 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 910: setquota -u web2_info 0 0 0 0 -a &> /dev/null
08.03.2010 - 12:42:08 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 911: setquota -T -u web2_info 604800 604800 -a &> /dev/null
08.03.2010 - 12:42:08 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 60: cp -f /root/ispconfig/isp/conf/forward.master /home/web2/.forward
08.03.2010 - 12:42:08 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 117: symlink /home/web2/Maildir
08.03.2010 - 12:42:08 => INFO - USER:
web2_support:x:10025:10002:support xxx.yy:/home/web2/user/web2_support:/bin/false
08.03.2010 - 12:42:08 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 910: setquota -u web2_support 0 0 0 0 -a &> /dev/null
08.03.2010 - 12:42:08 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 911: setquota -T -u web2_support 604800 604800 -a &> /dev/null
08.03.2010 - 12:42:08 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 60: cp -f /root/ispconfig/isp/conf/forward.master /home/web2/user/web2_support/.forward
08.03.2010 - 12:42:08 => INFO - USER:
web2_newsletter:x:10031:10002:newsletter xxx.yy:/home/web2/user/web2_newsletter:/bin/false
08.03.2010 - 12:42:08 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 910: setquota -u web2_newsletter 0 0 0 0 -a &> /dev/null
08.03.2010 - 12:42:08 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 911: setquota -T -u web2_newsletter 604800 604800 -a &> /dev/null
08.03.2010 - 12:42:08 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 60: cp -f /root/ispconfig/isp/conf/forward.master /home/web2/user/web2_newsletter/.forward
08.03.2010 - 12:42:09 => INFO - USER:
web2_bounces:x:10032:10002:bounces xxx.yy:/home/web2/user/web2_bounces:/bin/false
08.03.2010 - 12:42:09 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 910: setquota -u web2_bounces 0 0 0 0 -a &> /dev/null
08.03.2010 - 12:42:09 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 911: setquota -T -u web2_bounces 604800 604800 -a &> /dev/null
08.03.2010 - 12:42:09 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 60: cp -f /root/ispconfig/isp/conf/forward.master /home/web2/user/web2_bounces/.forward
08.03.2010 - 12:42:09 => INFO - USER:
web2_paypal:x:10040:10002:paypal xxx.yy:/home/web2/user/web2_paypal:/bin/false
08.03.2010 - 12:42:09 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 910: setquota -u web2_paypal 0 0 0 0 -a &> /dev/null
08.03.2010 - 12:42:09 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 911: setquota -T -u web2_paypal 604800 604800 -a &> /dev/null
08.03.2010 - 12:42:09 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_procmail.lib.php, Line 60: cp -f /root/ispconfig/isp/conf/forward.master /home/web2/user/web2_paypal/.forward
08.03.2010 - 12:42:09 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 137: cp -fr /etc/postfix/local-host-names /etc/postfix/local-host-names~
08.03.2010 - 12:42:09 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 284: cp -fr /etc/postfix/virtusertable /etc/postfix/virtusertable~
08.03.2010 - 12:42:09 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 289: postmap hash:/etc/postfix/virtusertable
08.03.2010 - 12:42:09 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1268: cp -fr /etc/apache2/vhosts/Vhosts_ispconfig.conf /etc/apache2/vhosts/Vhosts_ispconfig.conf~
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:09 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2667: . /etc/apache2/envvars && httpd -t &> /dev/null
08.03.2010 - 12:42:09 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2677: httpd syntax ok
08.03.2010 - 12:42:10 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_system.lib.php, Line 755: /etc/init.d/apache2 reload &> /dev/null
08.03.2010 - 12:42:10 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2131: cp -fr /etc/proftpd_ispconfig.conf /etc/proftpd_ispconfig.conf~
08.03.2010 - 12:42:23 => INFO - Signalfile Set: empty trash
08.03.2010 - 12:42:30 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 137: cp -fr /etc/postfix/local-host-names /etc/postfix/local-host-names~
08.03.2010 - 12:42:30 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 284: cp -fr /etc/postfix/virtusertable /etc/postfix/virtusertable~
08.03.2010 - 12:42:30 => INFO - /root/ispconfig/scripts/lib/classes/ispconfig_postfix.lib.php, Line 289: postmap hash:/etc/postfix/virtusertable
08.03.2010 - 12:42:30 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 1268: cp -fr /etc/apache2/vhosts/Vhosts_ispconfig.conf /etc/apache2/vhosts/Vhosts_ispconfig.conf~
08.03.2010 - 12:42:30 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:30 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:30 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:30 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:30 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:30 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:30 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:30 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:30 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:30 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:30 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:30 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:30 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:30 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:30 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:30 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:30 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:30 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:30 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:30 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:31 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:31 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:31 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:31 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:31 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:31 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:31 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:31 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:31 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:31 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:31 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:31 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:31 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:31 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:31 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:31 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:31 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:31 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:31 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:31 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:31 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:31 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:31 => INFO - HTTPD_SYNTAX_CHECK: suexec
08.03.2010 - 12:42:31 => INFO - /root/ispconfig/scripts/lib/config.lib.php, Line 2131: cp -fr /etc/proftpd_ispconfig.conf /etc/proftpd_ispconfig.conf~



ADDENDUM :
- I have manualy cut and past the log file
- set option "u" to recreate de ln -s link
- forced the log creation
... webalizer is analyzing 300Gb of stat logs


All times are GMT +2. The time now is 11:23.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.