tar: Exiting with failure status due to previous errors - RedWoodHQ installation issue

1,270 views
Skip to first unread message

mor...@gmail.com

unread,
Dec 5, 2016, 3:29:23 AM12/5/16
to PrimaTest Automation
Hi,
There might be a slight issue with the tar.gz file of RedWoodHQ's installation?

I had tried downloading it servel times, changed permissions, untared it with root, but still the same issue.

Can someone verify it?

I guess it might lead to another issues that I have while trying to work with linux system as a server.

Thanks,
Mor

dmi...@primatest.net

unread,
Dec 12, 2016, 11:57:05 AM12/12/16
to PrimaTest Automation, mor...@gmail.com

Can you share your terminal output with the exact error?

Thanks!

Dmitri

tk...@redskytech.com

unread,
Dec 15, 2016, 12:16:41 PM12/15/16
to PrimaTest Automation, mor...@gmail.com

I'm trying to install the linux version on CentOS 7 and running into the same issue ... the tar extraction seems to be doing fine until it stops with the the following output...

...
RedwoodHQ/vendor/ant/manual/api/org/apache/tools/ant/taskdefs/optional/sound/SoundTask.html
RedwoodHQ/node_modules/nodeunit/node_modules/tap/node_modules/nyc/node_modules/foreground-child/LICENSE
RedwoodHQ/node_modules/mongodb/node_modules/readable-stream/node_modules/core-util-is/
tar: Exiting with failure status due to previous errors

I attempted to start the server anyway and it fails with this in the nohup.out file...

[root@localhost RedwoodHQ]# tailf nohup.out
vendor/MongoDB/bin/mongod: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
js-bson: Failed to load c++ bson extension, using pure JS version

denisn...@gmail.com

unread,
Dec 16, 2016, 1:37:48 AM12/16/16
to PrimaTest Automation, mor...@gmail.com, tk...@redskytech.com

So we have only official build for Ubuntu version of Linux, but I believe it should still be able to get untared properly. Try to redownload it and untar it again (maybe on another OS). Otherwise, if you want to run on CentOS then you would need to replace packages like Java, Git, etc. to be CentOS versions.

fixco....@pji-solutions.com

unread,
Jan 26, 2017, 12:15:34 AM1/26/17
to PrimaTest Automation, mor...@gmail.com

hai i have same problem with us, i can't untar in my server. how i can solved this issue? someone please help me.

dmio...@gmail.com

unread,
Sep 13, 2017, 8:34:07 AM9/13/17
to PrimaTest Automation
Hi,

Looks that I have the same error with the latest release 2.5.5 of RedwoodHQ.
Just downloaded it and unpacked on an Ubuntu box - I have the as below:

root@webrtc:~# tar -xvzf RedwoodHQLinuxUbuntu_250.tar.gz -C /opt/ > /dev/null
tar: RedwoodHQ/public/automationscripts/Sample/admin/PythonWorkDir/include/python2.7: Cannot open: File exists
tar: RedwoodHQ/public/automationscripts/Sample/admin/PythonWorkDir/lib/python2.7/lib-dynload: Cannot open: File exists
tar: RedwoodHQ/public/automationscripts/Sample/admin/PythonWorkDir/lib/python2.7/encodings: Cannot open: File exists


tar: Exiting with failure status due to previous errors

root@webrtc:~# md5sum RedwoodHQLinuxUbuntu_250.tar.gz
2c460aeb73dfbdd0ffadac2be9320794 RedwoodHQLinuxUbuntu_250.tar.gz


My OS version:
Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-61-generic x86_64)

Is there a problem with the archive or is it something else?

Thanks,

Dominik

tamird...@gmail.com

unread,
Jan 11, 2018, 4:57:24 AM1/11/18
to PrimaTest Automation

I got the same issue, seems there're some weird symlinks in the tar that have the same name as a directory in the same path. So tar is failing because it's trying to create the folder twice.

I extracted the archive on windows using WinRar with "Run as Administrator", and then recreated the archive with tar on git bash using "tar czf RedwoodHQ.tar.gz RedwoodHQ". This seems to fix the problem. Possibly, the 'rar' command on linux might be able to extract it on the spot, but I'm running on a container.

Reply all
Reply to author
Forward
0 new messages