Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th March 2010, 11:57
DreamK DreamK is offline
Member
 
Join Date: Aug 2008
Posts: 33
Thanks: 1
Thanked 0 Times in 0 Posts
Default /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
Reply With Quote
Sponsored Links
  #2  
Old 8th March 2010, 12:15
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,802
Thanks: 840
Thanked 5,613 Times in 4,424 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 8th March 2010, 13:32
DreamK DreamK is offline
Member
 
Join Date: Aug 2008
Posts: 33
Thanks: 1
Thanked 0 Times in 0 Posts
Default

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 ?
Reply With Quote
  #4  
Old 8th March 2010, 13:35
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,802
Thanks: 840
Thanked 5,613 Times in 4,424 Posts
Default

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
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 8th March 2010, 13:44
DreamK DreamK is offline
Member
 
Join Date: Aug 2008
Posts: 33
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

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:10002aypal 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 17:11.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with rsync unsichtbare Installation/Configuration 12 23rd October 2011 19:03
rsync: opendir "/var/www/web44/web" failed: Permission denied (13) adrenalinic HOWTO-Related Questions 7 4th August 2009 14:16
a backup server by RSYNC + SSH in a chrooted environment paguira Server Operation 3 23rd August 2008 17:44
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 18:17
Backup /home keeping permissions Jellus Installation/Configuration 0 17th August 2005 22:32


All times are GMT +2. The time now is 18:02.


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