Forum Index  ViceVersa HOME         FAQ and Knowledge Base

 FAQForum FAQ   SearchSearch Forum  RegisterRegister 
 ProfileProfile   Log inLog in 

VVEngine Cannot Access Network Files
Goto page 1, 2  Next
 
Post new topic   Reply to topic     Forum Index -> Support
Author Message
ShytKicker



Joined: 10 Mar 2008
Posts: 10

PostPosted: Mon Mar 10, 2008 3:31 pm    Post subject: VVEngine Cannot Access Network Files Reply with quote

I am trying to sync a different server with VVEngine, but whenever I restart the computer that VVEngine is installed on, VVEngine says "Status Details: Folder not accessible: \\networkpath\content_images"

But, once I run ViceVersa Pro and hit the button "Compare", and then run the VVEngine profile again, it will work. Basically, it only connects whenever ViceVersa is running in the background.

Is this some kind of bug? I need the VVEngine to sync with other servers within the network, but they are password protected. How can I make it work?

Edit:

Well I got it to work with VVLauncher somehow, and I have it set to run whenever file changes are detected, but it doesn't do that.

It only runs when I hit the RUN button or when it starts up.


Any ideas?
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8763

PostPosted: Tue Mar 11, 2008 12:55 am    Post subject: Reply with quote

Hi, what scheduling settings are you using with this profile in VVEngine? thanks
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
ShytKicker



Joined: 10 Mar 2008
Posts: 10

PostPosted: Tue Mar 11, 2008 1:15 am    Post subject: Reply with quote

I installed both VVLauncher and VVEngine as a service.

The scheduled settings in VVEngine are as follows:

img375.imageshack.us/img375/1180/schedulerti5.gif



VVEngine will not start, says that the UNC path is not accessible. Although, VVLauncher does work with the path, except that it does not for some reason detect file changes. It runs every 5 minutes as I have set it, but I need it to work INSTANTLY once a file is added to the source directory since we want to use this software in order to replicate images in our load balanced servers.


VVlauncher:

img362.imageshack.us/img362/3741/vvlauncheryw1.jpg
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8763

PostPosted: Tue Mar 11, 2008 10:46 am    Post subject: Reply with quote

I think it is due to the monitoring of the remote folder.
    usually services cannot monitor remote folders
    also often remote folders cannot be monitored by Windows

_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
ShytKicker



Joined: 10 Mar 2008
Posts: 10

PostPosted: Tue Mar 11, 2008 3:27 pm    Post subject: Reply with quote

TGRMN Software wrote:
I think it is due to the monitoring of the remote folder.
    usually services cannot monitor remote folders
    also often remote folders cannot be monitored by Windows


So basically I cannot use this software to do what I want to accomplish?

Is there any way to have the VVLauncher "RUN" from a programming language?

Edit:

I don't understand. VVLauncher works on start up, but then doesn't auto-replicate afterwards. But, if I disable it manually and then enable it...it automatically replicates the files from that point on. Why is that?

Also, why could VVlauncher connect, but VVEngine shows the following error:


Status Details: Folder not accessible: \\networkpath\content_images


I just don't understand. Maybe if we can get VVEngine to access the network path then it would work maybe by using VVEngine for the job?
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8763

PostPosted: Wed Mar 12, 2008 1:03 am    Post subject: Reply with quote

Please try the following in VVengine:

- activate the scheduling option "Check if source and target aqre accessible on the server using PING command only"

- disactivate the option "Monitor target and run when file changes are detected"

please let me know if this works

thanks!
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
ShytKicker



Joined: 10 Mar 2008
Posts: 10

PostPosted: Wed Mar 12, 2008 2:39 pm    Post subject: Reply with quote

That did the job! Everything is now running PERFECTLY!

If I have any problems, I'll be sure to post. Thank you.
Back to top
Jerbear



Joined: 03 Jul 2008
Posts: 10

PostPosted: Wed Jul 23, 2008 6:32 pm    Post subject: Can't get VVEngine to connect to a Source using a UNC path Reply with quote

Hi, I been having similar problem this user has been experiencing but the propose configuration did not work for me.

I agree with him that I do not understand how VVlauncher running as a service using an account that has network access can monitor the UNC path and detect a change and synchronize the files and VVEngine can not do it or fails to monitor network resources. I have used other products that can detect UNC paths changes and trigger a replication like Robocopy.

Here is the profile settings:
Folders
- "\\stzvw0001cn01.test.bpa.gov\uploads$\" <to> "W:\stage\uploads\" (Include Subfolders)
- "\\stzvw0001cn02.test.bpa.gov\uploads$\" <to> "W:\stage\uploads\" (Include Subfolders)
- Create sources/targets that do not exist
- Exclude hidden files
- Exclude system files
- Exclude subfolders: "W:\stage\uploads\ratecase\temp"
- Exclude subfolders: "\\stzvw0001cn01.test.bpa.gov\uploads$\ratecase\temp"
- Exclude subfolders: "\\stzvw0001cn02.test.bpa.gov\uploads$\ratecase\temp"
- Exclude hidden subfolders
- Exclude system subfolders
Comparison
- Comparison Type: Size and Timestamp
Execution
- Method: Synchronization
- Tracking Database: "L:\ViceVersaPRO2\db\UploadsDB.tdb"
- Log File: "L:\ViceVersaPRO2\uploadlogs.log" (max 10000 KB)
- No archive for deleted/replaced source files
- No archive for deleted/replaced target files
- Process Priority: Normal
- Speed: 100 Buffer Size: 32768 (flush the buffer every write)
- Copy files even if timestamp changes after initial comparison
- Copy directly to destination file (do not use a temporary file)
- Try to copy files that are in use by other applications
- Run custom scripts after execution

Here is the VVEngine settings:
Schedule: Monitor source(s) and target(s) and run when file changes are detected - If error occurs rerun after 5 minutes - Check if source and target are accessible on server using PING command only

Here is the error message I get from VVEngine:
Status Details: Folder not accessible: \\stzvw0001cn01.test.bpa.gov\uploads$

Keep in mind this works just fine with VVLauncher.

Thanks, Jerry
Back to top
pharcyde
Guest





PostPosted: Thu Jul 24, 2008 8:10 pm    Post subject: Reply with quote

I am having the same issues as Jerbear. I would really like to see the advertised ability of realtime file replication work with network shares as this is why I am recommending the purchase of ViceVersa over other file replication tools. I had a bat file that ran a Robocopy job running as a service that was able to monitor changes on a network share and replicate changed content so why can't the VVEngine?

And here's the kicker: when I run VVEngine as a domain user that has full permissions on the share, I get the folder not accessible message when trying to enable the profile with Monitoring enabled. Now, when I run the VVEngine as a local account that exists and an administrator on both the target machine and the server running VVEngine, I don't get this error.

What's the deal? What permissions do I need for the VVEngine to work over the network share? I'm not comfortable with running it as an administrator and leaving it at that.
Back to top
pharcyde
Guest





PostPosted: Thu Jul 24, 2008 8:30 pm    Post subject: Further Testing.... Reply with quote

I updated the user that the VVEngine service ran as back to the domain user. The profile failed when I did this. I noticed however that why I made the domain user an administrator on the server that the VVEngine was running on, I was able to run the profile with the Source and Target monitoring. Note that the domain user is not an admin on the Source or Target machines, only the server running VVEngine. My question is this: what security rights do I need to give the user running VVEngine in order for it to be able to access network shares? I am not comfortable running this service as an admin on the server if I can avoid it.
Back to top
pharcyde



Joined: 24 Jul 2008
Posts: 3

PostPosted: Thu Jul 24, 2008 8:39 pm    Post subject: Reply with quote

Note that when I changed the domain user to be an admin on the box I had to restart the VVEngine service for it work.
_________________
~Pharcyde
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 8763

PostPosted: Fri Jul 25, 2008 5:46 am    Post subject: Reply with quote

If Robocopy can monitor a UNC path for changes running as a service and under a specific account, then VVEngine should be able to do the same (and VVLauncher too) ...


For Jerbear :
Which account are you using to run VVEngine that gives the error?

For pharcyde:
Are you also getting the error:
Status Details: Folder not accessible: xxxxxxxxxx

thanks
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
pharcyde



Joined: 24 Jul 2008
Posts: 3

PostPosted: Fri Jul 25, 2008 1:20 pm    Post subject: Reply with quote

Yes, I am getting that error you mentioned if I do not place the domain user that I am running VVEngine as in the Administrators group on the server. Once I place the user in the admin group and restart the service I no longer get the error enabling the profile and it works fine. I've tried placing the User in the Backup Operators, Power Users and Users groups on the server but that didn't work.
_________________
~Pharcyde
Back to top
Jerbear



Joined: 03 Jul 2008
Posts: 10

PostPosted: Fri Jul 25, 2008 3:40 pm    Post subject: Reply with quote

I use a local user account on each server called “repl” and I configure VVEngine service to run under the local account “.\repl”. This was how I configured Robocopy in monitored mode. I configured robocopy to run as a service using a utility in the Windows 2003 reskit and it run under the same local account “repl” and it work just fine.

The web servers in our DMZ are standalone servers and do not belong to any domain, so putting a server name or domain in front of the user will cause it to fail since we have multiple web servers.

Jerbear
Back to top
Jerbear



Joined: 03 Jul 2008
Posts: 10

PostPosted: Fri Jul 25, 2008 3:51 pm    Post subject: Reply with quote

Interesting, I did what some other users have done by putting the “repl” account in the Local Administrator group and it was able to see the network shares and detect changes just like VVLauncher. However, by putting the “repl” account in the Local Administrator group doesn’t adhere to Least Privilege Security model being adopted by our industry as well as violates our cyber policies. VVLauncher doesn’t require the “repl” account to be a part of the Local Administrators group to monitor or detect network shares so it is interesting that VVEngine does. I will do some more testing to see why VVEngine is requiring the higher privilege access.

Jerbear
Back to top
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Support All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group
Copyright © TGRMN Software. TGRMN Software products: