Setting up a new NagiosXI box and I downloaded the source files from http://assets.nagios.com/downloads/nagi ... est.tar.gz. also have downloaded xi-5.4.2.tar.gz.
When I run tar xzf xi-latest.tar.gz or tar xzf xi-5.4.2.tar.gz I get
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
This is on a Redhat 6.7 box.
does not look like a tar archive
Re: does not look like a tar archive
Can you try downloading again on the system? It could have possibly been corrupted through transfer. I just tested, and it appears to be working fine.
Code: Select all
127 wget http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz?_ga=1.29217852.1856636566.1485838208
128 tar zxvf xi-latest.tar.gz\?_ga\=1.29217852.1856636566.1485838208
Former Nagios Employee
Re: does not look like a tar archive
When I try an download from that link it says connection refused. If I download the file and copy it over to the box I get the same error.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: does not look like a tar archive
What's the sha1sum? It should be as follows
Code: Select all
sha1sum xi-5.4.2.tar.gz
c9b06b9f48a76157dfab2a4e2ab1b2cbb84fa5dc xi-5.4.2.tar.gz
Re: does not look like a tar archive
ad9e68f6dd169e77646cc942613adadd73f2d5da xi-5.4.2.tar.gz
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: does not look like a tar archive
It could be an encoding issue. How are you transferring? Is it possible to give the XI server temporary access to the Internet?
https://superuser.com/questions/447897/ ... emote-serv might be useful in tracking down the issue.
https://superuser.com/questions/447897/ ... emote-serv might be useful in tracking down the issue.
Re: does not look like a tar archive
I can only download it through my desktop. From the Linux box it says the connection is refused. From my desktop I am using winscp to transfer it over to the /tmp directory.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: does not look like a tar archive
I'm assuming you are using Windows so you might try http://gnuwin32.sourceforge.net/packages/wget.htm rather than a browser download. I couldn't find a non-Windows download for WinSCP and of course the name suggests Windows.
I don't know what protocol you are using in WinSCP, but https://winscp.net/eng/docs/faq_utf8 may be of use in figuring out the encoding issue. Do you know what method you are using? I've never had an issue using SFTP on FileZilla, so perhaps SFTP is a good start if you aren't using that. Filezilla is available on Windows if you want to give that a shot.
I don't know what protocol you are using in WinSCP, but https://winscp.net/eng/docs/faq_utf8 may be of use in figuring out the encoding issue. Do you know what method you are using? I've never had an issue using SFTP on FileZilla, so perhaps SFTP is a good start if you aren't using that. Filezilla is available on Windows if you want to give that a shot.