Page 1 of 1

ERROR: Download failed with ERROR (6)

Posted: Sat May 15, 2021 7:10 am
by GhostSpirit
root@logonie:/var/ossec/etc# wget -q -O - https://updates.atomicorp.com/installers/oum | bash

OSSEC Updater Modifed (OUM) Installer (v1.0)
Further Documentation is available at:
https://ossec.net

Support: https://ossec.net
Installing the Atomic GPG keys: OK

Hit:1 http://mirror.debian.ikoula.com/debian buster InRelease
Hit:2 http://mirror.debian.ikoula.com/debian buster-updates InRelease
Hit:3 http://mirror.debian.ikoula.com/debian buster-backports InRelease
Hit:4 http://security.debian.org/debian-security buster/updates InRelease
Hit:5 https://updates.atomicorp.com/channels/atomic/debian buster InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
gpg is already the newest version (2.2.12-1+deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
W: --force-yes is deprecated, use one of the options starting with --allow instead.
--2021-05-15 10:51:00-- https://www.atomicorp.com/RPM-GPG-KEY.atomicorp.txt
Resolving www.atomicorp.com (www.atomicorp.com)... 74.208.77.16
Connecting to www.atomicorp.com (www.atomicorp.com)|74.208.77.16|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1694 (1.7K) [text/plain]
Saving to: ‘STDOUT’

- 100%[===============================>] 1.65K --.-KB/s in 0s

2021-05-15 10:51:00 (59.7 MB/s) - written to stdout [1694/1694]

OK
Adding [atomic] to /etc/apt/sources.list.d/atomic.list: Already installed
Hit:2 http://security.debian.org/debian-security buster/updates InRelease
Hit:1 http://mirror.debian.ikoula.com/debian buster InRelease
Hit:3 http://mirror.debian.ikoula.com/debian buster-updates InRelease
Hit:4 http://mirror.debian.ikoula.com/debian buster-backports InRelease
Hit:5 https://updates.atomicorp.com/channels/atomic/debian buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
oum is already the newest version (0.2-17946buster).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

To complete installation run:
oum configure

and to update your rules:
oum update

root@logonie:/var/ossec/etc# oum configure

OSSEC Updater Modified (OUM) 0.2
Please enter your subscription username [Default: ] XXXX
Please enter your subscription password [Default: ]
Configuration Complete!

To update the system, please run:
oum update

root@logonie:/var/ossec/etc# oum update
===============================================================================
Component Version
===============================================================================
Upgrading:
OSSEC-CRS-Rules 2.0
Atomicorp-Threatfeed 20210513


===============================================================================

Is this ok [y/N]: y
Downloading Rule update: 2.0
ERROR: Download failed with ERROR (6)

ls /var/ossec/oum.conf
ls: cannot access '/var/ossec/oum.conf': No such file or directory

I already change passeword

help me please

Re: ERROR: Download failed with ERROR (6)

Posted: Mon May 17, 2021 2:26 pm
by mikeshinn
Is this on debian?

Re: ERROR: Download failed with ERROR (6)

Posted: Sat May 22, 2021 8:12 pm
by johnnyboy1981
I'm getting this same error on Centos 8.

Re: ERROR: Download failed with ERROR (6)

Posted: Mon May 24, 2021 8:28 am
by cponton
Please go into the oum file at /var/ossec/etc/oum.conf and verify that the credentials have been input to the file and that they are correct. make any changes needed and then save the file.

The run oum update

Re: ERROR: Download failed with ERROR (6)

Posted: Fri May 28, 2021 3:53 pm
by ciscs
I'm having the same issue on CentOS 7. The oum.conf does have correct creds and "oum configure" comes back as Verifying account: Passed
Configuration Complete!

Thanks in advance!

Re: ERROR: Download failed with ERROR (6)

Posted: Fri May 28, 2021 5:44 pm
by cponton
If you would like to try changing the password for the account, you can do so here:
www.atomicorp.com/amember/login

Once changed, update the oum.conf directly and then try and run oum update

Re: ERROR: Download failed with ERROR (6)

Posted: Fri Jun 04, 2021 4:58 pm
by ciscs
Unfortunately same issue even after password change.

"Downloading Rule update: 2.0
ERROR: Download failed with ERROR (6)"

Anything else I can try?

Re: ERROR: Download failed with ERROR (6)

Posted: Tue Jul 27, 2021 1:40 pm
by iwa_cslipacoff
I was experiencing the same issue.

The solution I discovered was to change my password to not include special characters. I am not sure which special character was causing the issue but only including alphanumeric characters resolved the issue for me.