Koozali.org: home of the SME Server
		Obsolete Releases => SME Server 7.x => Topic started by: bcalder01 on March 03, 2009, 02:34:27 PM
		
			
			- 
				Hi all,
I have had shadow copy working on my 7.4 server for months, much to my joy (users taking care of themselves!). Recently, my boss asked me to reconfigure the shares. I migrated the old folder contents over to their new ibays - Exec, Management and Personnel (without the @GMT symlinks), then renamed the old folders so that users wouldn't inadvertantly access them. It seems that shadow copy is not working on the new ibays. Thinking that it wasn't enabled, I explicitly enabled SC for them, following the procedure on http://wiki.contribs.org/ShadowCopy. However, looking in the logs & at /home/e-smith/files/.shadow/ (as well as in the ibays themselves), I am not seeing any SC action. Here is the output of /var/log/messages:
================================================================
Mar  3 13:54:31 en-fs01 /sbin/e-smith/db[26502]: /home/e-smith/db/accounts: OLD exec=ibay|CgiBin|disabled|Gid|5064|Group|executive|Name|executive share|PasswordSet|no|PublicAccess|none|Uid|5064|UserAccess|wr-group-rd-group 
Mar  3 13:54:31 en-fs01 /sbin/e-smith/db[26502]: /home/e-smith/db/accounts: NEW exec=ibay|CgiBin|disabled|Gid|5064|Group|executive|Name|executive share|PasswordSet|no|PublicAccess|none|ShadowCopy|disabled|Uid|5064|UserAccess|wr-group-rd-group 
Mar  3 13:54:39 en-fs01 /sbin/e-smith/db[26504]: /home/e-smith/db/accounts: OLD management=ibay|CgiBin|disabled|Gid|5013|Group|dept_heads|Name|Share for dept heads|PasswordSet|no|PublicAccess|none|Uid|5013|UserAccess|wr-group-rd-group 
Mar  3 13:54:39 en-fs01 /sbin/e-smith/db[26504]: /home/e-smith/db/accounts: NEW management=ibay|CgiBin|disabled|Gid|5013|Group|dept_heads|Name|Share for dept heads|PasswordSet|no|PublicAccess|none|ShadowCopy|disabled|Uid|5013|UserAccess|wr-group-rd-group 
Mar  3 13:54:50 en-fs01 /sbin/e-smith/db[26505]: /home/e-smith/db/accounts: OLD personnel=ibay|CgiBin|disabled|Gid|5019|Group|all|Name|company-wide share|PasswordSet|no|PublicAccess|none|Uid|5019|UserAccess|wr-group-rd-group 
Mar  3 13:54:50 en-fs01 /sbin/e-smith/db[26505]: /home/e-smith/db/accounts: NEW personnel=ibay|CgiBin|disabled|Gid|5019|Group|all|Name|company-wide share|PasswordSet|no|PublicAccess|none|ShadowCopy|disabled|Uid|5019|UserAccess|wr-group-rd-group 
Mar  3 13:55:00 en-fs01 upsd[3845]: Connection from 127.0.0.1
Mar  3 13:55:01 en-fs01 upsd[3845]: Client on 127.0.0.1 logged out
Mar  3 13:55:17 en-fs01 /sbin/e-smith/db[26663]: /home/e-smith/db/accounts: OLD personnel=ibay|CgiBin|disabled|Gid|5019|Group|all|Name|company-wide share|PasswordSet|no|PublicAccess|none|ShadowCopy|disabled|Uid|5019|UserAccess|wr-group-rd-group 
Mar  3 13:55:17 en-fs01 /sbin/e-smith/db[26663]: /home/e-smith/db/accounts: NEW personnel=ibay|CgiBin|disabled|Gid|5019|Group|all|Name|company-wide share|PasswordSet|no|PublicAccess|none|Uid|5019|UserAccess|wr-group-rd-group 
Mar  3 13:55:25 en-fs01 /sbin/e-smith/db[26665]: /home/e-smith/db/accounts: OLD management=ibay|CgiBin|disabled|Gid|5013|Group|dept_heads|Name|Share for dept heads|PasswordSet|no|PublicAccess|none|ShadowCopy|disabled|Uid|5013|UserAccess|wr-group-rd-group 
Mar  3 13:55:25 en-fs01 /sbin/e-smith/db[26665]: /home/e-smith/db/accounts: NEW management=ibay|CgiBin|disabled|Gid|5013|Group|dept_heads|Name|Share for dept heads|PasswordSet|no|PublicAccess|none|Uid|5013|UserAccess|wr-group-rd-group 
Mar  3 13:55:33 en-fs01 /sbin/e-smith/db[26666]: /home/e-smith/db/accounts: OLD exec=ibay|CgiBin|disabled|Gid|5064|Group|executive|Name|executive share|PasswordSet|no|PublicAccess|none|ShadowCopy|disabled|Uid|5064|UserAccess|wr-group-rd-group 
Mar  3 13:55:33 en-fs01 /sbin/e-smith/db[26666]: /home/e-smith/db/accounts: NEW exec=ibay|CgiBin|disabled|Gid|5064|Group|executive|Name|executive share|PasswordSet|no|PublicAccess|none|Uid|5064|UserAccess|wr-group-rd-group 
Mar  3 13:55:56 en-fs01 esmith::event[26669]: Processing event: ibay-modify Primary 
Mar  3 13:55:56 en-fs01 esmith::event[26669]: Running event handler: /etc/e-smith/events/actions/generic_template_expand 
Mar  3 13:55:56 en-fs01 esmith::event[26669]: expanding /etc/services  
Mar  3 13:55:56 en-fs01 esmith::event[26669]: expanding /etc/hosts.deny  
Mar  3 13:55:56 en-fs01 esmith::event[26669]: expanding /etc/shells  
Mar  3 13:55:56 en-fs01 esmith::event[26669]: expanding /etc/securetty  
Mar  3 13:55:56 en-fs01 esmith::event[26669]: expanding /etc/proftpd.conf  
Mar  3 13:55:56 en-fs01 esmith::event[26669]: expanding /etc/hosts.allow  
Mar  3 13:55:56 en-fs01 esmith::event[26669]: expanding /etc/atalk/AppleVolumes.default  
Mar  3 13:55:56 en-fs01 esmith::event[26669]: expanding /etc/httpd/conf/httpd.conf  
Mar  3 13:55:56 en-fs01 esmith::event[26669]: expanding /etc/samba/smbusers  
Mar  3 13:55:56 en-fs01 esmith::event[26669]: expanding /etc/samba/smb.conf  
Mar  3 13:55:57 en-fs01 esmith::event[26669]: generic_template_expand=action|Event|ibay-modify|Action|generic_template_expand|Start|1236084956 72264|End|1236084957 541248|Elapsed|1.468984 
Mar  3 13:55:57 en-fs01 esmith::event[26669]: Running event handler: /etc/e-smith/events/ibay-modify/S15ibay-modify 
Mar  3 13:55:57 en-fs01 esmith::event[26669]: usermod: user Primary does not exist  
Mar  3 13:55:57 en-fs01 esmith::event[26669]: Failed to modify account Primary.  
Mar  3 13:55:57 en-fs01 esmith::event[26669]: S15ibay-modify=action|Event|ibay-modify|Action|S15ibay-modify|Start|1236084957 541472|End|1236084957 652332|Elapsed|0.11086|Status|1536 
Mar  3 13:55:57 en-fs01 esmith::event[26669]: Running event handler: /etc/e-smith/events/actions/adjust-services 
Mar  3 13:55:57 en-fs01 esmith::event[26669]: adjusting supervised smbd (sighup)  
Mar  3 13:55:57 en-fs01 esmith::event[26669]: adjusting supervised smbd (up)  
Mar  3 13:55:57 en-fs01 esmith::event[26669]: adjusting supervised httpd-e-smith (sigusr1)  
Mar  3 13:55:57 en-fs01 esmith::event[26669]: adjusting supervised httpd-e-smith (up)  
Mar  3 13:55:57 en-fs01 esmith::event[26669]: adjust-services=action|Event|ibay-modify|Action|adjust-services|Start|1236084957 652518|End|1236084957 755301|Elapsed|0.102783 
Mar  3 13:55:57 en-fs01 esmith::event[26669]: Running event handler: /etc/e-smith/events/ibay-modify/S90atalk-reload 
Mar  3 13:55:57 en-fs01 afpd[4756]: re-reading configuration file
Mar  3 13:55:57 en-fs01 afpd[4756]: Loading ConfigFile
Mar  3 13:55:57 en-fs01 esmith::event[26669]: S90atalk-reload=action|Event|ibay-modify|Action|S90atalk-reload|Start|1236084957 755430|End|1236084957 843041|Elapsed|0.087611 
================================================================
These lines concern me:
Running event handler: /etc/e-smith/events/ibay-modify/S15ibay-modify 
Mar  3 13:55:57 en-fs01 esmith::event[26669]: usermod: user Primary does not exist  
Mar  3 13:55:57 en-fs01 esmith::event[26669]: Failed to modify account Primary.
I must be doing something boneheaded, but I just can't figure it out. Any help, as always, greatly appreciated.
			 
			
			- 
				Please report bugs and potential bugs in the bug tracker. Thanks.
			
 
			
			- 
				I filed it here as I thought it was a misconfiguration - it was working flawlessly before my configuration change.
			
 
			
			- 
				
I filed it here as I thought it was a misconfiguration - it was working flawlessly before my configuration change.
then it's a bug, isn't it? :-)
It should work also if you change your config..
please file a bug and report here the id reference, thank you
ciao
Stefano
			 
			
			- 
				Yea, guess it is. Appunto. ;-)
Suddenly, after 3 hours, I am seeing the shadowcopy symlinks in my ibays! So I guess that's the REAL bug. Weird one.
			 
			
			- 
				Resolved.
			
 
			
			- 
				How? Did it fix itself or did you do something?
			
 
			
			- 
				Hi David, it was "resolved" by the appearance of the SC symlinks in the ibays 3 hours after activating SC for them, but I see the bug team has reopened my ticket, as this isn't expected behavior. I will post the resolution to this forum once I receive an answer. 
			
 
			
			- 
				bcalder01
Would it be because of this note in the wiki ?
Note that a new snapshot is only taken if files have changed.
			 
			
			- 
				Hi Mary, I'm not sure what your question is.
I am aware that SCs aren't created unless changes are made, I forgot to include in my original message that I was modifying files every 20 minutes - 1/2 hour, and the ibays are busy ones anyway.