# First scan "invalid date"

**URL:** <https://forum.greenbone.net/t/first-scan-invalid-date/6020>\
**Category:** Greenbone Enterprise\
**Created:** [July 17, 2020, 5:02pm UTC](https://forum.greenbone.net/t/first-scan-invalid-date/6020 "2020-07-17T17:02:32Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![fishtaill](https://forum.greenbone.net/user_avatar/forum.greenbone.net/fishtaill/32/1187_2.png) [@fishtaill](https://forum.greenbone.net/u/fishtaill)\
**Post date:** [July 17, 2020, 5:02pm UTC](https://forum.greenbone.net/t/first-scan-invalid-date/6020/1 "2020-07-17T17:02:32Z")

</div>

Hi, Day One Newbie here (followed the incredible instructions by koromicha and set one up yesterday.)

Tried my first scan, but it failed after about 30 seconds. When I opened the Task, it says “Duration of last Scan” with “Invalid Date”.

I saw in github there’s a ticket (#1405) that addressed the issue, but I still see it…don’t know if they are related.

Any suggestions/assistance is greatly appreciated!

---

<div class="post-metadata">

**Author:** ![fishtaill](https://forum.greenbone.net/user_avatar/forum.greenbone.net/fishtaill/32/1187_2.png) [@fishtaill](https://forum.greenbone.net/u/fishtaill)\
**Post date:** [July 17, 2020, 8:31pm UTC](https://forum.greenbone.net/t/first-scan-invalid-date/6020/2 "2020-07-17T20:31:16Z")

</div>

I spun up another instance, this time via the virtual appliance (gsm-ce-6.0.7.iso), same result… ☹

---

<div class="post-metadata">

**Author:** ![Lukas](https://forum.greenbone.net/user_avatar/forum.greenbone.net/lukas/32/17_2.png) [@Lukas](https://forum.greenbone.net/u/Lukas)\
**Post date:** [July 18, 2020, 4:21pm UTC](https://forum.greenbone.net/t/first-scan-invalid-date/6020/3 "2020-07-18T16:21:28Z")

</div>

Please note GCE always run in UTC, check that your hypervisor has a correct date, and change it to UTC. Then you can set your User\_Settings to your local time zone.

---

<div class="post-metadata">

**Author:** ![fishtaill](https://forum.greenbone.net/user_avatar/forum.greenbone.net/fishtaill/32/1187_2.png) [@fishtaill](https://forum.greenbone.net/u/fishtaill)\
**Post date:** [July 18, 2020, 5:41pm UTC](https://forum.greenbone.net/t/first-scan-invalid-date/6020/4 "2020-07-18T17:41:20Z")

</div>

Hi. I’ve tried this twice…Once through the installation instruction from koromicha and deployed that in my company’s ESXi infrastructure.

The second try was on my local computer.

Both infrastructures has the correct local time…however, I can’t set either to “UTC” timezone, as ESXi and Windows 10 got their time via NTP.

I DID, change User\_Settings to “America/Los\_Angeles” and ran the task again…didn’t work/help…

---

<div class="post-metadata">

**Author:** ![Lukas](https://forum.greenbone.net/user_avatar/forum.greenbone.net/lukas/32/17_2.png) [@Lukas](https://forum.greenbone.net/u/Lukas)\
**Post date:** [July 19, 2020, 5:08pm UTC](https://forum.greenbone.net/t/first-scan-invalid-date/6020/5 "2020-07-19T17:08:43Z")

</div>

Please note, you need to run your hypervisor in UTC, otherwise Multi-User and Scan´s across different time zones do not work.

[https://kb.vmware.com/s/article/1436](https://kb.vmware.com/s/article/1436)

So please set your hypervisor to UTC, ntp is timezone agnostic, and always in UTC 😉 So your host setup needs to be fixed.

---

<div class="post-metadata">

**Author:** ![fishtaill](https://forum.greenbone.net/user_avatar/forum.greenbone.net/fishtaill/32/1187_2.png) [@fishtaill](https://forum.greenbone.net/u/fishtaill)\
**Post date:** [July 19, 2020, 8:40pm UTC](https://forum.greenbone.net/t/first-scan-invalid-date/6020/6 "2020-07-19T20:40:53Z")

</div>

Lukas, thanks for the reply. I guess our ESXi servers ARE running in UTC (as a matter of fact, all ESXi servers are running in UTC, according to the article.)

I have also confirmed that the time shown is in UTC ([https://imgur.com/a/l9qR4NP](https://imgur.com/a/l9qR4NP))…but scan still failed ([https://imgur.com/a/Jz6ZoPr](https://imgur.com/a/Jz6ZoPr))

---

<div class="post-metadata">

**Author:** ![Lukas](https://forum.greenbone.net/user_avatar/forum.greenbone.net/lukas/32/17_2.png) [@Lukas](https://forum.greenbone.net/u/Lukas)\
**Post date:** [July 20, 2020, 10:00am UTC](https://forum.greenbone.net/t/first-scan-invalid-date/6020/7 "2020-07-20T10:00:35Z")

</div>

Please delete all tasks and create a new one … You have to set your time zone withing user settings.

---

<div class="post-metadata">

**Author:** ![fishtaill](https://forum.greenbone.net/user_avatar/forum.greenbone.net/fishtaill/32/1187_2.png) [@fishtaill](https://forum.greenbone.net/u/fishtaill)\
**Post date:** [July 21, 2020, 1:32pm UTC](https://forum.greenbone.net/t/first-scan-invalid-date/6020/8 "2020-07-21T13:32:38Z")

</div>

I did…I deleted everything in Targets and Tasks, make sure My settings has the correct Timezone, then re-created one Task with one Target…sorry, still returned “Invalid date.”

---

<div class="post-metadata">

**Author:** ![robg](https://forum.greenbone.net/letter_avatar/robg/32/6_449c533f586939b6e5f246632a46421f.png) [@robg](https://forum.greenbone.net/u/robg)\
**Post date:** [July 28, 2020, 11:05am UTC](https://forum.greenbone.net/t/first-scan-invalid-date/6020/9 "2020-07-28T11:05:32Z")

</div>

same problem here - hypervisor running in UTC, no matter what timezone I configure in the VM or in greenbone web-ui I always get “invalid date”

---

<div class="post-metadata">

**Author:** ![Lukas](https://forum.greenbone.net/user_avatar/forum.greenbone.net/lukas/32/17_2.png) [@Lukas](https://forum.greenbone.net/u/Lukas)\
**Post date:** [July 28, 2020, 11:12am UTC](https://forum.greenbone.net/t/first-scan-invalid-date/6020/10 "2020-07-28T11:12:57Z")

</div>

Can you share us a example tasks, saying invalid date … did you tried the tasks in UTC ?

---

<div class="post-metadata">

**Author:** ![robg](https://forum.greenbone.net/letter_avatar/robg/32/6_449c533f586939b6e5f246632a46421f.png) [@robg](https://forum.greenbone.net/u/robg)\
**Post date:** [July 28, 2020, 11:19am UTC](https://forum.greenbone.net/t/first-scan-invalid-date/6020/11 "2020-07-28T11:19:58Z")

</div>

Host/hypervisor is running in UTC, VM also in UTC, greenbone user “gvmadmin” is configured to use UTC, task was created when everything was UTC. The file is here: [https://gofile.io/d/xkmLX0](https://gofile.io/d/xkmLX0)

---

<div class="post-metadata">

**Author:** ![robg](https://forum.greenbone.net/letter_avatar/robg/32/6_449c533f586939b6e5f246632a46421f.png) [@robg](https://forum.greenbone.net/u/robg)\
**Post date:** [July 28, 2020, 3:33pm UTC](https://forum.greenbone.net/t/first-scan-invalid-date/6020/12 "2020-07-28T15:33:03Z")

</div>

I tried another hypervisor, libvirt/KVM, with the same error. The config was ` <clock offset='utc'> <timer name='rtc' tickpolicy='catchup'/> <timer name='pit' tickpolicy='delay'/> <timer name='hpet' present='yes'/> </clock>`, also with hpet absent.  
Hypervisor before was FreeBSD/bhyve with the -u flag.

---

<div class="post-metadata">

**Author:** ![robg](https://forum.greenbone.net/letter_avatar/robg/32/6_449c533f586939b6e5f246632a46421f.png) [@robg](https://forum.greenbone.net/u/robg)\
**Post date:** [July 28, 2020, 5:50pm UTC](https://forum.greenbone.net/t/first-scan-invalid-date/6020/13 "2020-07-28T17:50:12Z")

</div>

gave it another try with the official iso: still the same error.

---

<div class="post-metadata">

**Author:** ![robg](https://forum.greenbone.net/letter_avatar/robg/32/6_449c533f586939b6e5f246632a46421f.png) [@robg](https://forum.greenbone.net/u/robg)\
**Post date:** [August 5, 2020, 10:46pm UTC](https://forum.greenbone.net/t/first-scan-invalid-date/6020/14 "2020-08-05T22:46:33Z")

</div>

after having the vm run for several hours and tinkering around with timezone and the web ui: the behaviour concerning the “invalid date” is not really reproducible. I managed to launch some scans, however, and that is weird: I created them the same way for 5 hosts: two scans were ok, but three aborted with “invalid date”.

---

<div class="post-metadata">

**Author:** ![Lukas](https://forum.greenbone.net/user_avatar/forum.greenbone.net/lukas/32/17_2.png) [@Lukas](https://forum.greenbone.net/u/Lukas)\
**Post date:** [August 6, 2020, 7:56am UTC](https://forum.greenbone.net/t/first-scan-invalid-date/6020/15 "2020-08-06T07:56:14Z")

</div>

> [@robg](#):
>
> gave it another try with the official iso: still the same error.

That ISO is only supported on Virtual Box and VMWare-Player, can you re-check please …

---

<div class="post-metadata">

**Author:** ![system](https://forum.greenbone.net/uploads/default/original/2X/4/4660e797edfaea797a8c9965246072ea26732804.png) [@system](https://forum.greenbone.net/u/system)\
**Post date:** [April 7, 2025, 10:06am UTC](https://forum.greenbone.net/t/first-scan-invalid-date/6020/16 "2025-04-07T10:06:07Z")

</div>

Closed on April 7, 2025, 10:06am UTC


