Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
We migrated to new Windows 2008 servers this weekend, and things went fairly smoothly. However, I am not able to get my CAD Workers started.
I have updated the proeworker.bat file to point to the new application server. The CAD Worker server did not change (it was already a 2008 machine).
When I go to Worker Agent Administration, do a Reload, and then attempt to start one of the workers, I get the status "Fails to Start" I haven't been able to find any matching messages in the log files.
On the CAD Worker side, I can run the proeworker.bat. In the monitor.log file, I see:
Connecting to server <fqdn> on port <n>
Connection established
Got INIT SUCCESS reply
But when I try to TestServer from the Adapter Configuration (using our .pvi file), I get
Testing Connection to server...Failed
Set keepalive ok
The CADAgent rejected the connection, is it configured for a PROE worker on machine <worker server="> (alias not set)?
Any ideas???
Thanks,
Mary-Ann
Yes I can ping in both directions. I updated my hosts file with the servernames (both the app server and cad worker server), and when I run the proeworker.bat, I now get
Connecting to server <app server=" fqdn="> on port <n>
Connection established
Got version 8 INIT FAILURE (with no description) from WVS
Monitor shutting down.
Still nothing in the method server logs, and the Agent still Fails to Start.
Mary-Ann
I checked them. And updated the auth.properties file.
I'm sure this is some simple thing, if I could just find it!
Mary-Ann
Hi Mary Ann,
Did you check if your firewalls are turned off? Are you using SSL/https? Did you install both 32bit and 64 bit java on your worker? Does your java have security off or allow your server?
Here's something to help. Did you try just to re-install/update the worker?
You state that the agent fails to start,
Did you try to put the agent in debug mode? Is the agent remote or local to Windchill server? Is the background methodserver starting? How many method servers do you have configured.
Regards,
Patrick
We've had issues when UAC was turned on for the server. Also, if the CADWorker is running as a service, you could try starting it manually from a command prompt:
<creo view=" adapters=">\i486_nt\obj\WorkerDaemon.exe <port>
Sometimes it will show you if applications are crashing. I would also turn on debugging as suggested in one of the previous comments.
Good luck!
We have 2 background servers and 5 method servers running on the app server. On the CAD worker server we have 2 workers defined, with 2 Agents corresponding to the workers on the app server. To communicate with the CAD worker, we use a directory on the worker server - the app server pushes files out there, and the worker checks the drive for incoming work.We aren't using FTP.
I've updated the hosts files on both servers.
We've been using the short name in the Agent definitions. I tried changing one to the full name, and it didn't seem to matter. I also deleted one of the Agents, and recreated it with no luck.
I did a reboot on the worker server, and the proeworker.bat file now works - I get an INIT SUCCESS. Testing the connection to the app server is still failing - I am still geting "The CADAgent rejected the connection, is it configured for a PROE worker on machine <short server=" name="> (alias not set)?"
What properties would turn on verbose logging for the CAD Agent? I'm wondering if I could get any more info from it (versus the none I get now!).
Mary-Ann
Turns out it was the etc/hosts file. Since we have two CAD workers defined, and want to be able to refer to the workers uniquely, we have 'named' them proeworker_p1 and proeworker_p2 (rather than giving them the host name). Interestingly, even though the path to the commands and directory used the FQDN, Windchill uses this name to connect to the server. So my etc/hosts file needed to be updated to add these two CAD worker names to the aliases for the CAD worker server.
Thanks for all the suggestions and help!
Mary-Ann