[Antivirus] Failed to update virus definitions

Q'center app, Helpdesk app
cabman
New here
Posts: 5
Joined: Mon Dec 12, 2016 11:33 am

Re: [Antivirus] Failed to update virus definitions

Post by cabman » Wed Apr 21, 2021 10:41 pm

vel0x wrote:
Thu Jan 23, 2020 12:31 pm
Had the same issue.
Somehow my default system volume was not set in the config.
Using SSH:

Code: Select all

[/etc/config] # getcfg SHARE_DEF defVolMP -f /etc/config/def_share.info

Fixed it using (you may need to adjust this if you use a different volume as your system volume):

Code: Select all

[/etc/config] # setcfg SHARE_DEF defVolMP -f /etc/config/def_share.info /share/CACHEDEV1_DATA
After that it looked like this:

Code: Select all

[/etc/config] # getcfg SHARE_DEF defVolMP -f /etc/config/def_share.info                      
/share/CACHEDEV1_DATA
And the updates started working again after this.
I am having this issue now after a power failure. I cannot understand how to enter this using SSH. Do I enter each line, press enter then do the next line and so on until all 3 lines are entered? I have never used SSH before. I figured out how to logon to my QNAP using SSH. When I put these lines of code in it appears that nothing happens. Which part of the code would be the volume...."defVolMP"? Any clarification would be appreciated. Is it possible to provide instructions as if someone has never done this before?

Thanks

ecoen
New here
Posts: 6
Joined: Fri Nov 22, 2013 7:28 am

Re: [Antivirus] Failed to update virus definitions

Post by ecoen » Tue May 04, 2021 10:10 pm

cabman wrote:
Wed Apr 21, 2021 10:41 pm

I am having this issue now after a power failure. I cannot understand how to enter this using SSH. Do I enter each line, press enter then do the next line and so on until all 3 lines are entered? I have never used SSH before. I figured out how to logon to my QNAP using SSH. When I put these lines of code in it appears that nothing happens. Which part of the code would be the volume...."defVolMP"? Any clarification would be appreciated. Is it possible to provide instructions as if someone has never done this before?

Thanks
The volume portion of the command is in the 2nd line of commands... in his example (and on my NAS), it is /share/CACHEDEV1_DATA .

If you are ssh'ed in, you can find the volume by figuring out where your NAS user homes directory lives:

Code: Select all

ls -al /share/homes
lrwxrwxrwx 1 admin administrators 20 2021-05-04 08:46 /share/homes -> CACHEDEV1_DATA/homes/

As you can see, in my example the volume that I want to use is going to be /share/CACHEDEV1_DATA .

Post Reply

Return to “NAS Management”