
8th March 2010, 10:57
|
|
Member
|
|
Join Date: Aug 2008
Posts: 33
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
/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
|

8th March 2010, 11:15
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,886
Thanks: 691
Thanked 4,188 Times in 3,205 Posts
|
|
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.
|

8th March 2010, 12:32
|
|
Member
|
|
Join Date: Aug 2008
Posts: 33
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
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 ?
|

8th March 2010, 12:35
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,886
Thanks: 691
Thanked 4,188 Times in 3,205 Posts
|
|
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
|

8th March 2010, 12:44
|
|
Member
|
|
Join Date: Aug 2008
Posts: 33
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
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 aypal 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
Last edited by DreamK; 8th March 2010 at 16:11.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 10:40.
|
|
Recent comments
8 hours 16 min ago
13 hours 15 min ago
14 hours 41 min ago
15 hours 34 min ago
17 hours 17 min ago
21 hours 41 min ago
22 hours 33 min ago
1 day 46 min ago
1 day 13 hours ago
1 day 15 hours ago