Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


udiserversupport
2012-06-08T18:13:05Z
We are running 6.1.1 on WIndows 2008 R2. I have tried running the VC service as an admin and default system account. I have also reinstalled the server as well. We have VC installed on other servers and this is the only one that is giving us problems. Here is the log when starting the server:

6/8/2012 2:04:59 PM Debug Successful verification of Activation code
6/8/2012 2:04:59 PM Info License status: Activated
6/8/2012 2:05:00 PM Debug Loading language
6/8/2012 2:05:00 PM Debug Variables file did not exist.
6/8/2012 2:05:00 PM Info No Certificates loaded, file not found
6/8/2012 2:05:00 PM Debug FTP connections file did not exist.
6/8/2012 2:05:00 PM Debug Loading users
6/8/2012 2:05:02 PM Info Loaded: 4 users(s)
6/8/2012 2:05:02 PM Info No Conditions loaded, file not found
6/8/2012 2:05:02 PM Debug PGP Key Rings file did not exist.
6/8/2012 2:05:02 PM Debug Loading Time Exceptions
6/8/2012 2:05:02 PM Info Loaded: 1 time exception(s)
6/8/2012 2:05:02 PM Debug Loading network credentials
6/8/2012 2:05:02 PM Debug Loaded: 3 network credential(s)
6/8/2012 2:05:02 PM Debug Notifications file did not exist.
6/8/2012 2:05:02 PM Debug Network Drives file did not exist.
6/8/2012 2:05:02 PM Debug ConnectNetworkDrives()
6/8/2012 2:05:02 PM Debug AddNonControlledNetworkDrives()
6/8/2012 2:05:02 PM Debug Exiting NetworkDrivesAPI.Load
6/8/2012 2:05:02 PM Debug Loading jobs
6/8/2012 2:05:06 PM Info Loaded: 5 job(s)
6/8/2012 2:05:06 PM Info Deleteting all output files in: C:\ProgramData\VisualCron\output
6/8/2012 2:05:06 PM Debug Expiring old triggers
6/8/2012 2:05:06 PM Info Skipping RunMissed because the server is off
6/8/2012 2:05:06 PM Debug Recalculating all jobs
6/8/2012 2:05:06 PM Debug Next execution (6) for job 'Backup settings' is: 6/8/2012 11:00:00 PM
6/8/2012 2:05:06 PM Debug Next execution (6) for job 'Delete old log files' is: 6/8/2012 11:10:00 PM
6/8/2012 2:05:06 PM Debug Next execution (6) for job 'Billing - Move to Model' is: 12:00:00 AM
6/8/2012 2:05:06 PM Debug Next execution (6) for job 'IVR - Move to Production' is: 12:00:00 AM
6/8/2012 2:05:06 PM Debug Next execution (6) for job 'Billing - Move to Production' is: 6/14/2012
6/8/2012 2:05:06 PM Debug Starting main threads
6/8/2012 2:05:06 PM Debug InternalWorkerThreadClass was started
6/8/2012 2:05:06 PM Debug Flushing memory
6/8/2012 2:05:06 PM Debug Startup finished
6/8/2012 2:05:06 PM Debug Starting IPC server.
6/8/2012 2:05:06 PM Debug Creating certificates
6/8/2012 2:05:07 PM Err Could not start socket server - error loading certificate.
6/8/2012 2:05:11 PM Debug Before sending ClientConnection.
6/8/2012 2:05:11 PM Debug Using normal logon (False)
Sponsor
Forum information
Support
2012-06-08T18:15:22Z
Try this:

http://neteject.com/down...sualCron/CertCleaner.zip 

1. download
2. extract to visualcron installation folder
3. run
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
udiserversupport
2012-06-08T18:27:52Z
Thanks for the quick reply. I ran the utility and it said it deleted and recreate 2 certs... i had to run with elevated permissions?

C:\>certcleaner
Trying to find old certificates
Creating new certificates
Preparing makecert.exe
Certificate 1/2 created
Certificate 2/2 created
Cleaning up creation files
Checking number of certificates in cert store
Found 0 certificate(s)

I restarted the service and getting the same error.
Support
2012-06-09T09:33:31Z
Seem to be some kind of permission restriction on your machine. Try the following. Stop the VisualCron service. Go to the installation folder and run "VisualCronService.exe". Wait 20 seconds and start the client to connect. If it works, close the "VisualCronService.exe" and start the service. Wait 20 seconds and connect with client again.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
udiserversupport
2012-06-11T15:09:32Z
Ok, the short is that it did not work. Here are the details.

In order to get it to run at all I needed to "right-click" and "run as administrator". When I do that a dialog box appears with the following:

- service installed:True
- Service running:False
- Socket server started:False
- IPC Server started:True
Is Tray CLient running:True

Also, we are running UAC on the highest setting but I also relaxed the settings and still does not work.
Support
2012-06-11T16:26:23Z
What if you turn UAC off completely on this server. At least temporary for testing.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
udiserversupport
2012-06-11T16:29:37Z
I have already tried that as well. Remember that the service runs as Local System which already has the highest permissions levels. UAC is more for user control aka interactive sessions.
Support
2012-06-11T16:31:32Z
Right, you are correct. I am just throwing out ideas right now as this is not normal behavior. Do you get this on all machines on your network or just this?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
udiserversupport
2012-06-11T16:39:09Z
This is our only server with VC installed on Windows 2008 R2.
Support
2012-06-11T17:23:23Z
Ok, so there is some kind of permission missing. Either read or write. What we are doing is to create two certificates that used for the secure TLS communication between Client and Server.

The executable we sent before was an extract of that functionality.

When I look at the code it probably fails on certificate creation. You could try the following yourself. Open a command prompt and write:

makecert -pe -n "CN=myvc" -ss my -sr LocalMachine -a sha1 -sky -r "vc.cer"


followed by:

makecert -pe -n "CN=vc" -ss my -sr LocalMachine -a sha1 -sky exchange -eku 1.3.6.1.5.5.7.3.1 -in "myvc" -is my -ir LocalMachine -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12 "vc.cer"


"Hopefully" you get an error that explains the problem when running these commands.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
udiserversupport
2012-06-11T19:04:52Z
FIXED!!!

Runing makecert I am getting a:

Error: Can't create the key of the subject ('bdc47f9b-582a-4344-9a79-2733c186e514') Failed

I traced the problem to access rights using ProcessExplorer from systInternals. The problem is that SYSTEM did not have rights to:

C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys

So I ran the following:

cacls C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys /E /G "NT Authority/SYSTEM":F

NOTE: Using properties from file explorer does not work but cacls.exe does.

restarted VC Service and everything is working now. Thanks for the awesome help in resolving this issue.

-Dave
Support
2012-06-11T19:36:11Z
Great! Thanks for feedback and patience!
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top