# Task Agent - Log file

**URL:** <https://www.epiusers.help/t/task-agent-log-file/52453>\
**Category:** Epicor ERP 9\
**Tags:** epicor\
**Created:** [February 11, 2019, 8:00pm UTC](https://www.epiusers.help/t/task-agent-log-file/52453 "2019-02-11T20:00:09Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![cchang](https://www.epiusers.help/user_avatar/www.epiusers.help/cchang/32/13056_2.png) [@cchang](https://www.epiusers.help/u/cchang)\
**Post date:** [February 11, 2019, 8:00pm UTC](https://www.epiusers.help/t/task-agent-log-file/52453/1 "2019-02-11T20:00:09Z")

</div>

When the task agent goes down, is there a log file to view what is causing it to stop? We have a weekly sql backup job that runs and looking to see if that might be causing the task agent to stop. It seems to also be stopping the appserver services also.

---

<div class="post-metadata">

**Author:** ![josecgomez](https://www.epiusers.help/user_avatar/www.epiusers.help/josecgomez/32/55731_2.png) [@josecgomez](https://www.epiusers.help/u/josecgomez)\
**Post date:** [February 11, 2019, 8:05pm UTC](https://www.epiusers.help/t/task-agent-log-file/52453/2 "2019-02-11T20:05:43Z")

</div>

Event Viewer on the Server that is running the task agent.

---

<div class="post-metadata">

**Author:** ![cchang](https://www.epiusers.help/user_avatar/www.epiusers.help/cchang/32/13056_2.png) [@cchang](https://www.epiusers.help/u/cchang)\
**Post date:** [February 11, 2019, 8:28pm UTC](https://www.epiusers.help/t/task-agent-log-file/52453/3 "2019-02-11T20:28:09Z")

</div>

I didn’t see anything related in the Event Viewer except the error below when our VMWare takes a snapshot and then the messages after it goes haywire.

 ![image](https://epiusers.help/uploads/default/original/2X/4/4d4d6b8aea2d8e347daaab9fcda7e84bee1466be.png)

---

<div class="post-metadata">

**Author:** ![josecgomez](https://www.epiusers.help/user_avatar/www.epiusers.help/josecgomez/32/55731_2.png) [@josecgomez](https://www.epiusers.help/u/josecgomez)\
**Post date:** [February 11, 2019, 8:40pm UTC](https://www.epiusers.help/t/task-agent-log-file/52453/4 "2019-02-11T20:40:23Z")

</div>

There’s a custom event called Epicor Task Agent Event (under custom events)

---

<div class="post-metadata">

**Author:** ![cchang](https://www.epiusers.help/user_avatar/www.epiusers.help/cchang/32/13056_2.png) [@cchang](https://www.epiusers.help/u/cchang)\
**Post date:** [February 11, 2019, 8:46pm UTC](https://www.epiusers.help/t/task-agent-log-file/52453/5 "2019-02-11T20:46:01Z")

</div>

I don’t see the Custom Events. Where is it located?

![image](https://epiusers.help/uploads/default/original/2X/4/408004a9006ed2cfc05fa252f5782ea9aa599024.png)

---

<div class="post-metadata">

**Author:** ![josecgomez](https://www.epiusers.help/user_avatar/www.epiusers.help/josecgomez/32/55731_2.png) [@josecgomez](https://www.epiusers.help/u/josecgomez)\
**Post date:** [February 11, 2019, 8:46pm UTC](https://www.epiusers.help/t/task-agent-log-file/52453/6 "2019-02-11T20:46:39Z")

</div>

Ugh sorry I didn’t realize you were in 9 ☹

---

<div class="post-metadata">

**Author:** ![hkeric.wci](https://www.epiusers.help/user_avatar/www.epiusers.help/hkeric.wci/32/52019_2.png) [@hkeric.wci](https://www.epiusers.help/u/hkeric.wci)\
**Post date:** [February 11, 2019, 9:46pm UTC](https://www.epiusers.help/t/task-agent-log-file/52453/7 "2019-02-11T21:46:59Z")

</div>

Chai Chang why?? you not on Epicor 10, making it hard to support you… @Chris_Conn is less experienced with v9.

---

<div class="post-metadata">

**Author:** ![Chris\_Conn](https://www.epiusers.help/user_avatar/www.epiusers.help/chris_conn/32/93797_2.png) [@Chris\_Conn](https://www.epiusers.help/u/Chris_Conn)\
**Post date:** [February 12, 2019, 5:36am UTC](https://www.epiusers.help/t/task-agent-log-file/52453/8 "2019-02-12T05:36:06Z")

</div>

> [@hkeric.wci](#):
>
> @Chris_Conn is less experienced with v9.

#Facts

---

<div class="post-metadata">

**Author:** ![JennL](https://www.epiusers.help/user_avatar/www.epiusers.help/jennl/32/16476_2.png) [@JennL](https://www.epiusers.help/u/JennL)\
**Post date:** [February 16, 2019, 1:54pm UTC](https://www.epiusers.help/t/task-agent-log-file/52453/9 "2019-02-16T13:54:05Z")

</div>

I used to be on 9.05 in a VM environment and had the same problem. We thought it was an issue with losing connection between our SQL and app serveres (had them split out) during snapshot. Our workaround was to schedule a batch to restart the app services after the VM snapshot every night. You can find the batch file by searching this group.  
Jenn

---

<div class="post-metadata">

**Author:** ![cchang](https://www.epiusers.help/user_avatar/www.epiusers.help/cchang/32/13056_2.png) [@cchang](https://www.epiusers.help/u/cchang)\
**Post date:** [February 18, 2019, 3:49pm UTC](https://www.epiusers.help/t/task-agent-log-file/52453/10 "2019-02-18T15:49:14Z")

</div>

Were you ever able to find the root cause if this was indeed due the VM snapshots causing the task agents to go down? We did notice that in PET, the task agents status was “running” but when looking in system monitor, all the tasks were going to scheduled task.

---

<div class="post-metadata">

**Author:** ![JennL](https://www.epiusers.help/user_avatar/www.epiusers.help/jennl/32/16476_2.png) [@JennL](https://www.epiusers.help/u/JennL)\
**Post date:** [February 19, 2019, 10:33am UTC](https://www.epiusers.help/t/task-agent-log-file/52453/11 "2019-02-19T10:33:22Z")

</div>

Not sure if it’s root cause, but explanation was the connection between app and SQL servers gets lost during a VM snapshot when you have them separated. At that point our options were to run on 1 server or schedule a restart task - restart task was easier.  
This is much better in 10.0 and forward, I promise!

Jenn Lisser

ERP Business Analyst

Perlick Corporation

---

<div class="post-metadata">

**Author:** ![cchang](https://www.epiusers.help/user_avatar/www.epiusers.help/cchang/32/13056_2.png) [@cchang](https://www.epiusers.help/u/cchang)\
**Post date:** [February 19, 2019, 3:25pm UTC](https://www.epiusers.help/t/task-agent-log-file/52453/12 "2019-02-19T15:25:04Z")

</div>

Was there a way to verify there was a lost connection between the app and the sql servers? Our task agent servers are on a different server than our sql servers. We do a VM snapshot every evening at 9pm but it happens randomly.

---

<div class="post-metadata">

**Author:** ![JennL](https://www.epiusers.help/user_avatar/www.epiusers.help/jennl/32/16476_2.png) [@JennL](https://www.epiusers.help/u/JennL)\
**Post date:** [February 19, 2019, 3:38pm UTC](https://www.epiusers.help/t/task-agent-log-file/52453/13 "2019-02-19T15:38:09Z")

</div>

We didn’t have a way to verify. The batch I setup just restarted the task agents – I think it was ½ hour after snapshot. The snapshot was after 2nd shift ended, so I just needed to restart task agents before the overnight batches  
ran. We didn’t have a 3rd shift.

---

<div class="post-metadata">

**Author:** ![cchang](https://www.epiusers.help/user_avatar/www.epiusers.help/cchang/32/13056_2.png) [@cchang](https://www.epiusers.help/u/cchang)\
**Post date:** [February 19, 2019, 3:47pm UTC](https://www.epiusers.help/t/task-agent-log-file/52453/14 "2019-02-19T15:47:16Z")

</div>

How do you prove that the VM snapshot was a direct correlation with the task agents going down that required the workaround to restart the task agents? We’ve had this environment running for over 3 years and we do understand it goes down once in a while so we’ll need some “verification” the VM snapshots are causing the issue to pursue the workaround now.

---

<div class="post-metadata">

**Author:** ![cchang](https://www.epiusers.help/user_avatar/www.epiusers.help/cchang/32/13056_2.png) [@cchang](https://www.epiusers.help/u/cchang)\
**Post date:** [February 19, 2019, 7:52pm UTC](https://www.epiusers.help/t/task-agent-log-file/52453/15 "2019-02-19T19:52:46Z")

</div>

The task agent is going down outside of the VM snapshot evening hours during the day so it could rule out the VM snapshot issue. We are thinking when we do a server/client file refresh on the test server, this is causing the task agent to go down. How often do you refresh or sync your server/client files? We do it every 30 minutes in the test environment.

---

<div class="post-metadata">

**Author:** ![Kimberley](https://www.epiusers.help/user_avatar/www.epiusers.help/kimberley/32/50847_2.png) [@Kimberley](https://www.epiusers.help/u/Kimberley)\
**Post date:** [February 19, 2019, 8:07pm UTC](https://www.epiusers.help/t/task-agent-log-file/52453/16 "2019-02-19T20:07:29Z")

</div>

It was my understanding that if you tried to take a back up of the server and touch the DB files it would stop Epicor. We had that issue with V6 and when we went to E9 and did backups…we excluded the DB files. I think it was a progress thing…at least i remember someone mentioning that but I don’t have any details. Just what happened and avoided… 😉

At least this was my understanding of our experience.

---

<div class="post-metadata">

**Author:** ![cchang](https://www.epiusers.help/user_avatar/www.epiusers.help/cchang/32/13056_2.png) [@cchang](https://www.epiusers.help/u/cchang)\
**Post date:** [February 19, 2019, 8:14pm UTC](https://www.epiusers.help/t/task-agent-log-file/52453/17 "2019-02-19T20:14:51Z")

</div>

By DB files, you mean the Epicor905 server files…correct? Could you clarify “take a back up of the server and touch the DB files”? We do take a sql db backup copy nightly but it happens during the day also so we’re thinking it has something to do with syncing the Epicor905 files every 30 minutes that it would increase the likelihood of the task agent going down?

---

<div class="post-metadata">

**Author:** ![Kimberley](https://www.epiusers.help/user_avatar/www.epiusers.help/kimberley/32/50847_2.png) [@Kimberley](https://www.epiusers.help/u/Kimberley)\
**Post date:** [February 19, 2019, 8:35pm UTC](https://www.epiusers.help/t/task-agent-log-file/52453/18 "2019-02-19T20:35:00Z")

</div>

I mean like our Symantec back up that we take of the server daily. We back up certain files and do not back up the Epicor DB files (\Servername\Epicor\Epicor905\DB). We take a SQL backup daily and those files are backed up.

How often is it stopping?

---

<div class="post-metadata">

**Author:** ![cchang](https://www.epiusers.help/user_avatar/www.epiusers.help/cchang/32/13056_2.png) [@cchang](https://www.epiusers.help/u/cchang)\
**Post date:** [February 19, 2019, 8:48pm UTC](https://www.epiusers.help/t/task-agent-log-file/52453/19 "2019-02-19T20:48:40Z")

</div>

It has been stopping 1-2 times per week for the last three months. It seems to be random though. Below is the powershell script we use to sync the Epicor files across our servers. We’re thinking this continous 30 minute sync of the Epicor files is what is causing the task agent to go down when it sync’s to the task agent server.

 ![image](https://epiusers.help/uploads/default/original/2X/b/bf31df8f22b2a4a5ab6e114585cfb6d096686f24.png)

---

<div class="post-metadata">

**Author:** ![hkeric.wci](https://www.epiusers.help/user_avatar/www.epiusers.help/hkeric.wci/32/52019_2.png) [@hkeric.wci](https://www.epiusers.help/u/hkeric.wci)\
**Post date:** [February 19, 2019, 11:37pm UTC](https://www.epiusers.help/t/task-agent-log-file/52453/20 "2019-02-19T23:37:55Z")

</div>

@cchang

Find your oe102a\_wrk folder and there will be 3 .log files in there such as:

- admserv.log
- cmdplugin.log

See if they reveal anything.

```auto
// Your path may differ
C:\Epicor\oe102a_wrk

```

The second location to look at is your Epicor Server logs, the Task Agent should be logging there…

```auto
// Your Path may Differ
\\MYSERVER\c$\Epicor905\Server\logs

```

![2019-02-19_1840](https://epiusers.help/uploads/default/original/2X/d/db0edf8d666c3675e7f0ca660796a082cbb31e3a.png)

[Next page](https://www.epiusers.help/t/task-agent-log-file/52453.md?page=2)
