Kevin_kirk
Contributor
Contributor

/storage/log full points to vmafdd.log being 3.7GB

Jump to solution

Hello,

I'm relatively new to this so please bare with me. 🙂

I've traversed the /storage/log (Tried KB article 83070)but it seems to be pointing to vmafdd.log being 3.7GB.

-rw-r-----  1 root root 3.7G Jun  3 13:51 vmafdd.log

Full disk is 9.8GB. Everything else seems at normal.

So my question is, why is it not purging? What can I do about this?

I've attached a screenshot of the tail of the log. It seems to be looking for certs constantly? 

Thanks for the help!

 

Screen Shot 2022-06-03 at 2.02.12 PM.png

1 Solution

Accepted Solutions
Kevin_kirk
Contributor
Contributor

I cleared the log file, and I'll see how it goes. Most information doesn't mean much to me when looking it up and it's always creating new data. Please give more insight if you have any.

 

Much appreciated for anyone taking the time to think about my problem. 

View solution in original post

4 Replies
Kevin_kirk
Contributor
Contributor

I cleared the log file, and I'll see how it goes. Most information doesn't mean much to me when looking it up and it's always creating new data. Please give more insight if you have any.

 

Much appreciated for anyone taking the time to think about my problem. 

scott28tt
VMware Employee
VMware Employee

Presumably this is for the vCenter Server Appliance?

It is impossible to tell given that you posted the thread in an area which covers SDKs rather than problems with products.

 


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
0 Kudos
Kevin_kirk
Contributor
Contributor

Sorry for attempting to find the correct spot as I am new. Everything seems good to go. 

Mark as resolved. 

0 Kudos
Ajay1988
VMware Employee
VMware Employee

@Kevin_kirk From image ; your path for vmafdd.log is /var/log/vmware/vmafd which is not right. May be you have a wrong registry .
Actual vmafdd.log should go to /var/log/vmware/vmafdd/vmafdd.log

Check the output of below command :
/opt/likewise/bin/lwregshell list_values "[HKEY_THIS_MACHINE\Services\vmafd\Parameters]"

If the last line of the above command shows "/var/log/vmware/vmafdd/vmafdd.log" then you do not have the issue anymore. If it shows "/var/log/vmware/vmafd/vmafdd.log" then follow the below steps to actually resolve it.

Snapshot the vCenter
Update the registry to match the log rotate configuration path
/opt/likewise/bin/lwregshell set_value "[HKEY_THIS_MACHINE\Services\vmafd\Parameters]" "LogFile" "/var/log/vmware/vmafdd/vmafdd.log"

Restart the vCenter services
service-control --stop --all && service-control --start --all

If you think your queries have been answered
Mark this response as "Correct" or "Helpful".

Regards,
AJ
0 Kudos