com.redhat.rhsa-all.xml:1: parser error : Start tag expected, '<' not found

General support questions
Post Reply
mreillyw
Posts: 7
Joined: 2021/10/25 18:53:24

com.redhat.rhsa-all.xml:1: parser error : Start tag expected, '<' not found

Post by mreillyw » 2021/10/25 18:56:34

Trying to download and import new errata and get the message below. This was working prior to Oct 15th

com.redhat.rhsa-all.xml:1: parser error : Start tag expected, '<' not found

Thank you

sml
Posts: 305
Joined: 2020/01/17 09:01:44

Re: com.redhat.rhsa-all.xml:1: parser error : Start tag expected, '<' not found

Post by sml » 2021/10/25 22:01:47

What do you mean?

Code: Select all

curl -s https://www.redhat.com/security/data/oval/com.redhat.rhsa-all.xml.bz2 |
bunzip2 | xmllint --noout -
gives me no errors.

mreillyw
Posts: 7
Joined: 2021/10/25 18:53:24

Re: com.redhat.rhsa-all.xml:1: parser error : Start tag expected, '<' not found

Post by mreillyw » 2021/10/27 13:17:24

We are using spacewalk with Centos 7 and when I try to run my sync it fails with that message. It was working last week and just stopped working

Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 38751 (38K) [text/plain]
Saving to: ‘/home/mreillyw/errata-import.pl’

100%[======================================>] 38,751 --.-K/s in 0.002s

2021-10-27 09:17:02 (22.3 MB/s) - ‘/home/mreillyw/errata-import.pl’ saved [38751/38751]

INFO: Server is running API version 22
INFO: Server is running SYSTEM version 2.9
INFO: API version 22 is supported
INFO: Authentication successful
INFO: User has administrator access to this server
INFO: Loading errata XML
INFO: Loading Red Hat OVAL XML
/home/mreillyw/com.redhat.rhsa-all.xml:1: parser error : Start tag expected, '<' not found
BZh91AY&SY▒'▒40߀x{▒▒▒▒▒▒▒▒▒▒▒a▒>▒▒▒o^▒i▒ݮ▒▒t▒J@▒▒▒/▒S▒+F▒
^

mreillyw
Posts: 7
Joined: 2021/10/25 18:53:24

Re: com.redhat.rhsa-all.xml:1: parser error : Start tag expected, '<' not found

Post by mreillyw » 2021/10/27 13:21:27

Thank you for any help or suggestions.

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: com.redhat.rhsa-all.xml:1: parser error : Start tag expected, '<' not found

Post by TrevorH » 2021/10/27 13:43:23

First that appears to be some user's private github content which I am not entirely sure I would want to rely on for security information. Second, the first two chars of what you are receiving are "BZ" followed by a bunch of binary data so I suspect that might perhaps be the correct file you want but bzipped?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

mreillyw
Posts: 7
Joined: 2021/10/25 18:53:24

Re: com.redhat.rhsa-all.xml:1: parser error : Start tag expected, '<' not found

Post by mreillyw » 2021/10/27 14:17:14

thank you. Ill unzip and see what happens. Appreciate your help

mreillyw
Posts: 7
Joined: 2021/10/25 18:53:24

Re: com.redhat.rhsa-all.xml:1: parser error : Start tag expected, '<' not found

Post by mreillyw » 2021/10/27 20:23:34

Problem solved

Red Hat has set up a redirect from the uncompressed OVAL file to a bzip2-compressed version. You used to be able to download the uncompressed file.

Thanks

Post Reply