我试图为centos6.5 32位安装OpenMeetings,但是每次我试图解压缩或解压缩最新的二进制版本时,都会出现以下错误:
tar -xzvf apache-openmeetings-3.0.0.tar.gz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now然后这个带有zip版本
unzip apache-openmeetings-3.0.0.zip
Archive: apache-openmeetings-3.0.0.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.发布于 2014-03-17 01:07:57
运行apache-openmeetings-3.0.0.tar.gz查看文件实际包含的数据类型。如果显示“gzip压缩数据”,请运行zcat foo.tar.gz | file -查看压缩数据是什么。
偶尔,服务器/代理/浏览器的错误组合会导致一个名为.gz但已被解压的文件。如果是这样的话,file将显示类似于“tar存档”的内容,您可以用
tar -xvf apache-openmeetings-3.0.0.tar.gz您甚至可以在this tar存档中使用此命令: GNU自动检测几种压缩方法。
如果该文件实际上是文本或HTML文件,则它包含错误或重定向页,该页面被错误地检测到。读一读看看发生了什么。
如果文件为空,则下载已中止或不完整。等待它完成或重新启动它。
服务器上的文件也有可能被损坏。
发布于 2014-03-16 08:55:35
我不知道这是否是一个正确的答案,但现在一切都正常了。出于某种原因,apache的最新版本的链接对我来说并不适用于解压缩或解压缩,所以我转到了http://fossies.org/linux/www/apache-openmeetings-3.0.0.tar.gz/webapps/openmeetings/docs/BuildInstructions.html,而链接的文件确实打开了tar .我不知道为什么下载的tar文件应该解压缩,而另一个不应该。
OpenMeetings现在已经启动并运行了,这要归功于http://blog.iandreev.com/?p=1255这一优秀的指导。
https://unix.stackexchange.com/questions/119922
复制相似问题