求助received http 302 while baiduyun.downloadingg

From Zenoss Wiki
Please post any new discussion in our DISQUS-powered commenting system, so things will be easier to follow:
New: Don't forget to add yourself to the !
Please enable JavaScript to view the
Existing free-from discussion follows:
Auto-deploy requires exec permissions on the /tmp mount point to install JRE
Installing JRE
./core-autodeploy.sh: line 60: ./jre-6u31-linux-x64-rpm.bin: Permission denied
Command failure: ./jre-6u31-linux-x64-rpm.bin
The fix is to remount /tmp with exec permissions
#mount -o remount,rw,exec,nosuid,nodev /tmp
If you did a manual install of Centos 6.3, the firewall will be enabled by default, and you will not be able to connect to the Zenoss web page on port 8080 until you disable it:
service iptables save
service iptables stop
chkconfig iptables off
I have tweaked the auto-deploy script to provide firewall info after it completes successfully. See
I have try to install Zenoss with the auto-script, but I have this issue:
Starting MySQL SUCCESS!
Zenoss not initialized.
Performing first-boot initialization...
Fresh install pre steps
Please confirm that the JRE in the PATH is Oracle's version.
Command failure: /sbin/service zenoss start
Thank you for your help.
Edit: I am on a Centos 6.3
This should now be fixed - you probably had java-openjdk installed. The updated version of the script should now remove it first so that it will find the Oracle JRE. -DR
From my perspective as a FAASTeam Program Manager in NJ
.your site is great. I want you to know that Avi Weiss and I are builidng on-line courses for FAASafety.gov and Jim Leavitt (FPM Albany,NY) and I are pushing the Helicopter CFI modules for the FAASTeam CFI project. All this specifically for helo pilots.
Good Job on your site!
I am still getting :
[root] /sbin/service zenoss start
Zenoss not initialized.
Performing first-boot initialization...
Fresh install pre steps
Please confirm that the JRE in the PATH is Oracle's version.
[root] # java -version
java version "1.5.0"
[root]# rpm -qa | grep java
lpg-java-compat-1.1.0-4.1.el6.noarch
java_cup-0.10k-5.el6.x86_64
glassfish-javamail-1.4.0-3.jpp5.noarch
java-1.5.0-gcj-1.5.0.0-29.1.el6.x86_64
tzdata-java-2012c-3.el6.noarch
axis2-java2wsdl-1.4.1-1.jpp5.noarch
ws-commons-java5-1.0.1-2.jpp5.noarch
libguestfs-java-1.16.19-1.el6.x86_64
[root ]# echo $PATH
/usr/java/default:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
Remove ALL your Java RPMs. The auto-deploy will install its own Java downloaded from Oracle. The auto-deploy will go best if you start with a minimal CentOS/RHEL install.
-- () 16:37, 7 November 2012 (UTC)
I can't remove everything. It is a development machine too.
Zenoss is an entire application stack and it essentially requires a dedicated system, or its own container (OpenVZ/LXC/Xen). There will be more flexibility in the future but at this point, treat it like a dedicated system.
-- () 17:14, 7 November 2012 (UTC)
[root@zenoss-master ~]# ./core-autodeploy-4.2.sh
Ensuring This server is in a clean state before we start
Ensuring Zenoss RPMs are not already present
Disabling SELinux...
Downloading zenoss-4.2.0.el6.x86_64.rpm...
-- 14:42:24--
Resolving downloads.sourceforge.net... 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
14:42:24 ERROR 404: Not Found.
Command failure: wget -N
Try again - I have confirmed the URL is correct and this path exists. This may have been due to a sourceforge quirk at the time. - DR
on 64 bit centos 6.3 I had to modify installation script so it started mysqld service, because mysql service didn't exist.
I also noticed a bunch of notifications for setting env variables trying to access /usr/local/zenoss, while installation was put in /opt/zenoss.
But it works anyway.
I did a base install of Centos 6.3 using the netinstall image and choosing minimal. I did not install any other packges except wget. When I ran the Auto Deploy script it said it couldn't continue because I had an older version of the mysql-libs library installed. I used yum to remove them which also removed postfix. After doing this the Auto Deploy script ran fine, however now I don't have postfix installed, if I try to do a yum to install it again it wants to install mysql-libs, and I"m not sure if this will break the Zenoss install.
-- I found that if I do a yum remove mysql-libs it removes many packages, however, if I followed it up with a "yum install sysstat" (one of the packages it removed) it added them all back, except mysql-libs
-- I replace postfix with sendmail, thus # yum remove mysql-libs
Then only mysql-libs and postfix removed, not cron packages as well.
I have created the following bug to track this issue:
It appears this bug is not public viewable -- () 01:25, 31 August 2012 (UTC)
Running the core-autodeploy-4.2.sh script gives the following error on a
fresh install of CentOS release 6.2:
Installed:
zenoss.x86_64 0:4.2.0-1586.el6
Configuring and Starting some Base Services
Starting memcached:
Starting snmpd:
Zenoss not initialized.
Performing first-boot initialization...
Fresh install pre steps
Checking RRDtool version &= 1.4.7: [ OK ] 1.4.7
ERROR 1548 (HY000) at line 6 in file: '/opt/zenoss/Products/ZenUtils/relstorage/mysql/001.sql': Cannot load from mysql.proc. The table is probably corrupted
Dropping database: zodb_session
Creating database: zodb_session
Applying schema version: 1
Failed to create ZODB session database
Command failure: /sbin/service zenoss start
[root@localhost zenoss]#
The fix for this is to run mysql_upgrade from the command prompt (as root)
mysql_upgrade
Centos 6.3
rabbit-mq issue
[root@Muon-Z ~]#
chkconfig iptables off
[root@Muon-Z ~]# service rabbitmq-server start
Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_{log, _err}
rabbitmq-server.
/var/log/rabbitmq/ startup_log
Activating RabbitMQ plugins ...
0 plugins activated:
ERROR: epmd error for host "Muon-Z": address (unable to establish tcp connection)
How is this corrected?
The solution is by adding the server name in the hosts file
Attempting a fresh install using the automated script. Minimal server CentOS installation with only wget added to allow download of the script. Script installs everything until the zenoss start portion:
Configuring and Starting some Base Services
Starting memcached:
Starting snmpd:
Zenoss not initialized.
Performing first-boot initialization...
Fresh install pre steps
Checking RRDtool version &= 1.4.7: [ OK ] 1.4.7
grep: Unmatched [ or [^
Adding RabbitMQ user:
grep: Unmatched [ or [^
Adding RabbitMQ vhost:
Setting RabbitMQ permissions for user:
Usage: zeneventserver-create-db [options]
zeneventserver-create-db: error: option --dbport: invalid integer value: '\x1b[H\x1b[2J3306'
Failed to create ZODB session database
Command failure: /sbin/service zenoss start
It appears to be a problem with the zenoss pre install script, but I am unsure.
I ran into some of the problems listed, such as the mysql-libs, and a couple other dependancy issues, but got through them all, but this one doesn't give me much to work with and since I'm not real experianced with linux i'm not sure how to work around it.
Installing Zenoss
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
epel/metalink
* epel: mirrors.servercentral.net
* extras: centos.mirrors.tds.net
* updates:
Setting up Local Package Process
Cannot open: zenoss-4.2.0.el6.x86_64.rpm. Skipping.
Nothing to do
Configuring and Starting some Base Services
error reading information on service memcached: No such file or directory
Command failure: /sbin/chkconfig memcached on
P.s. I also don't know how to use a wiki.
This sounds a lot like . The problem this user has was their local proxy was blocking access to the download. I've submitted a
to help address this situation. Since we can't obviously fix the proxy, the update really does nothing more than try and detect the condition and provide more meaningful out. -- () 03:33, 25 August 2012 (UTC)
I ran into a situation tonight, where the epel-release RPM was already installed on base image, however the conf.d files had been removed. This was causing the script to bail. I've submitted a
which handles this situation better -- () 04:18, 25 August 2012 (UTC)
Rerun of the script fixed it for me
I have installed a fresh Minimal install of Centos 6.3 and did a yum install of wget.
Ran the scripts listed with the final command of ./core-autodeploy-4.2.sh
It downloaded a bunch of stuff and saved to zenoss-4.2.0.el6.x86_64.rpm
It looks like it fails when attempting to download the zenpacks "zenoss-core-zenpacks-4.2.0.el6.x86_64.rpm"
The first error occurs is:
"Connecting to superb.sea2.dl.sourceforge.net|209.160.57.180|:80... connected.
HTTP request sent, awaiting response... 403: Forbidden.
14:06:01 Error 403: Forbidden."
Then I get a "Command failure: wget -N "
And it stops....
Any help would be appreciated.
This looks like you either have a local proxy that is blocking access to the file download, or sourceforge is having issues. Can you manually download the file from that box? -- () 19:59, 31 August 2012 (UTC)
When running core-autoploy for install Zenoss Core 4.2 on a fully updated Centos 6.3 (Minimal install) I get problems when starting MySQL since the MySQL install isn't initialized.
Added the command mysql_install_db followed by changing owner on the files in /var/lib/mysql/mysql and then it ran perfectly.
The change I did was like this:
echo "Configuring MySQL"
'# Two new lines
mysql_install_db
chown mysql:mysql /var/lib/mysql/mysql/*
'# Now over to the original script
enable_service mysql
/usr/bin/mysqladmin -u root password
/usr/bin/mysqladmin -u root -h localhost password
The script works fine until it gets to this message:
100%[================================================================&] 18,620,065
15:45:21 (322 KB/s) - ?zenoss-core-zenpacks-4.2.0.el6.x86_64.rpm?
Auto-detecting most recent MySQL Community release
After about a minute it will just go back to the command prompt. I have tried a few times and get stuck here every time. Any one have any suggestions?
This is on a fresh Centos 6.3 minimal install
I am also facing same issue on Linux - Is there any way to resolve this. In script it tries to get mysql, but somehow its failing
try rm -f .listing
try wget --no-remove-listing $mysql_ftp_mirror &/dev/null 2&&1
Had the same problem, turns out FTP was failing.
Make sure you can run that FTP command and it connects successfully and creates the .listing file.
I'm not particularly proficient in Linux and would really like to use a Debian installer to upgrade my Zenoss installation.
Is one available?
Debian installer is not available, as the current supported platforms are RHEL/CentOS only. We will be starting an effort via the Open Source project to support other distributions.
Ensuring Zenoss RPMs are not already present
Disabling SELinux...
Attempting to remove existing OpenJDK...
Downloading zenoss-4.2.0.el17...
-- 15:41:06--
Resolving downloads.sourceforge.net... 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
15:41:06 ERROR 404: Not Found.
Command failure: wget -N
Are you installing on Fedora Core 17? You need to use RHEL or CentOS 5/6.
-- () 16:02, 11 October 2012 (UTC)
The command failed at below:
Importing Zenoss GPG Key
error: : import read failed(-1).
Command failure: rpm --import
I think there is one bug when import GPG key: try rpm --import $zenoss_gpg_key. It should change to:
try wget $zenoss_gpg_key
try rpm --import RPM-GPG-KEY-zenoss
MySQL-client-5.5.28-1 is no longer available on
You have to say "yum install wget" before starting the script.
Was trying to install Zenoss Core using the autodeploy script, but I kept getting an error Importing Zenoss GPG Key
error: : import read failed(2).
Command failure: rpm --import
Changed same part of script following post in forums to use
rpm --import RPM-GPG-KEY-zenoss
The script simply exists after downloading the rpm:
22:46:41 (2.59 MB/s) - `zenoss_core-4.2.4.el5.x86_64.rpm' saved [0497089]
[root@server33 zenoss-core-autodeploy-b30c2e4]#
I tried running the rpm manually but it returned lots of dependencies. What am I doing wrong?
rpm -Uvh /tmp/tmp.bazRm12563/zenoss_core-4.2.4.el5.x86_64.rpm
error: Failed dependencies:
jre &= 1.6.0 is needed by zenoss-4.2.4-1859.el5.x86_64
liberation-fonts is needed by zenoss-4.2.4-1859.el5.x86_64
libgcj is needed by zenoss-4.2.4-1859.el5.x86_64
libmysqlclient.so.18()(64bit) is needed by zenoss-4.2.4-1859.el5.x86_64
librrd.so.4()(64bit) is needed by zenoss-4.2.4-1859.el5.x86_64
memcached &= 1.4.5 is needed by zenoss-4.2.4-1859.el5.x86_64
nagios-plugins &= 1.4.15 is needed by zenoss-4.2.4-1859.el5.x86_64
nagios-plugins-dig &= 1.4.15 is needed by zenoss-4.2.4-1859.el5.x86_64
nagios-plugins-dns &= 1.4.15 is needed by zenoss-4.2.4-1859.el5.x86_64
nagios-plugins-http &= 1.4.15 is needed by zenoss-4.2.4-1859.el5.x86_64
nagios-plugins-ircd &= 1.4.15 is needed by zenoss-4.2.4-1859.el5.x86_64
nagios-plugins-ldap &= 1.4.15 is needed by zenoss-4.2.4-1859.el5.x86_64
nagios-plugins-ntp &= 1.4.15 is needed by zenoss-4.2.4-1859.el5.x86_64
nagios-plugins-perl &= 1.4.15 is needed by zenoss-4.2.4-1859.el5.x86_64
nagios-plugins-ping &= 1.4.15 is needed by zenoss-4.2.4-1859.el5.x86_64
nagios-plugins-rpc &= 1.4.15 is needed by zenoss-4.2.4-1859.el5.x86_64
nagios-plugins-tcp &= 1.4.15 is needed by zenoss-4.2.4-1859.el5.x86_64
rabbitmq-server &= 2.8.6 is needed by zenoss-4.2.4-1859.el5.x86_64
redis is needed by zenoss-4.2.4-1859.el5.x86_64
rrdtool &= 1.4.7 is needed by zenoss-4.2.4-1859.el5.x86_64
It's not you, it's me... I don't love you anymore.
Auto deployment script got stuck.
Env details
[root@centos6 zenoss-core-autodeploy-b30c2e4]# java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
[root@centos6 zenoss-core-autodeploy-b30c2e4]# cat /etc/centos-release
CentOS release 6.2 (Final)
For details refer logs below
Installed:
zenoss.x86_64 0:4.2.4-1859.el6
Securing Zenoss
Restricting permissions on /opt/zenoss/etc/*.conf*
Assigning secure password for hubpassword:admin
MySQL is configured with a blank root password.
Configure a secure MySQL root password? [Yn]: n
Configuring and Starting some Base Services and Zenoss...
Starting memcached:
Starting snmpd:
Zenoss not initialized.
Performing first-boot initialization...
Fresh install pre steps
Checking RRDtool version &= 1.4.7: [ OK ] 1.4.7
Dropping database: zodb_session
Creating database: zodb_session
Applying schema version: 1
Applying schema version: 2
Dropping database: zodb
Creating database: zodb
Applying schema version: 1
Applying schema version: 2
Creating database: zenoss_zep
make zope instance.
Loading initial Zenoss objects into the Zeo database
(this can take a few minutes)
Zenoss initialization complete.
Daemon: zeneventserver starting...
Waiting for zeneventserver to start...........
19:05:55,424 INFO zen.ZPLoader: Loading /opt/zenoss/ZenPacks/ZenPacks.zenoss.ApacheMonitor-2.1.3-py2.7.egg/ZenPacks/zenoss/ApacheMonitor/objects/objects.xml
19:05:55,682 INFO zen.AddToPack: End loading objects
19:05:55,683 INFO zen.AddToPack: Processing links
Session terminated, killing shell... ...killed.
Fresh install post step
-- 21:08:21--
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:8080... failed: Connection refused.
Connecting to localhost|127.0.0.1|:8080... failed: Connection refused.
Zenoss installation completed.
^CCommand failure: /sbin/service zenoss start
Saving to: `zenoss_core-4.2.4-1897.el5.x86_64.rpm'100%[==================================================&] 130,493,197 24.9M/s
in 5.0s 12:14:53 (24.8 MB/s) - `zenoss_core-4.2.4-1897.el5.x86_64.rpm' saved [0493197]
I have The same Problem on Hyper-V Guests.
On KVM Guests the core-autodeplay.sh works great.
Site Error
An error was encountered while publishing this resource.
Sorry, a site error occurred.
Traceback (innermost last):
Module ZPublisher.Publish, line 237, in publish_module_standard
Module ZPublisher.Publish, line 165, in publish
Module Zope2.App.startup, line 230, in __call__
Module Products.ZenUI3.browser, line 103, in __call__
Module Products.ZenWidgets.FileGzipper, line 82, in __call__
Module Products.Five.browser.pagetemplatefile, line 59, in __call__
Module zope.pagetemplate.pagetemplate, line 132, in pt_render
Module zope.pagetemplate.pagetemplate, line 240, in __call__
Module zope.tal.talinterpreter, line 266, in __call__
Module zope.tal.talinterpreter, line 338, in interpret
Module zope.tal.talinterpreter, line 853, in do_defineMacro
Module zope.tal.talinterpreter, line 338, in interpret
Module zope.tal.talinterpreter, line 528, in do_optTag_tal
Module zope.tal.talinterpreter, line 513, in do_optTag
Module zope.tal.talinterpreter, line 508, in no_tag
Module zope.tal.talinterpreter, line 338, in interpret
Module zope.tal.talinterpreter, line 737, in do_insertStructure_tal
Module Products.PageTemplates.Expressions, line 218, in evaluateStructure
Module zope.tales.tales, line 696, in evaluate
URL: /opt/zenoss/Products/ZenUI3/browser/error_message.pt
Line 14, Column 8
Expression: &PathExpr standard:u'view/headExtra'&
{'args': (),
'container': gaierror(-3, 'Temporary failure in name resolution'),
'context': gaierror(-3, 'Temporary failure in name resolution'),
'default': &object object at 0x2b126bc4eae0&,
'here': gaierror(-3, 'Temporary failure in name resolution'),
'loop': {},
'nothing': None,
'options': {},
'repeat': &Products.PageTemplates.Expressions.SafeMapping object at 0x1f9b8788&,
'request': &HTTPRequest, URL=&,
'root': None,
'template': &Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x1f9fa2d0&,
'traverse_subpath': [],
'user': &PropertiedUser 'dhaval'&,
'view': &Products.Five.metaclass.ErrorMessage object at 0x1f9fac50&,
'views': &Products.Five.browser.pagetemplatefile.ViewMapper object at 0x1f9fa910&}
Module zope.tales.expressions, line 217, in __call__
Module Products.PageTemplates.Expressions, line 147, in _eval
Module zope.tales.expressions, line 124, in _eval
Module Products.PageTemplates.Expressions, line 97, in trustedBoboAwareZopeTraverse
Module zope.traversing.adapters, line 136, in traversePathElement
__traceback_info__: (&Products.Five.metaclass.ErrorMessage object at 0x1f9fac50&, 'headExtra')
Module zope.traversing.adapters, line 42, in traverse
__traceback_info__: (&Products.Five.metaclass.ErrorMessage object at 0x1f9fac50&, 'headExtra', [])
Module Products.ZenUI3.browser, line 65, in headExtra
Module Products.ZenUI3.browser, line 61, in _get_viewlets
Module zope.viewlet.manager, line 126, in render
Module Products.ZenCallHome.transport.methods.browserjs, line 64, in render
Module Products.ZenCallHome.transport, line 86, in get_payload
Module Products.ZenCallHome.transport.crypt, line 33, in encrypt
Module subprocess, line 679, in __init__
Module subprocess, line 1130, in _execute_child
OSError: [Errno 12] Cannot allocate memory
Troubleshooting Suggestions
The URL may be incorrect.
The parameters passed to this resource may be incorrect.
A resource that this resource relies on may be encountering an error.
For more detailed information about the error, please refer to the error log.
If the error persists please contact the site maintainer. Thank you for your patience.
Finally got Zenoss to installed on our VM (Centos 6.5).
My Ip: 10.1.1.181
Trying to connect to 10.1.1.181:8080 and not getting any response.
Message from
Fresh install post step
--:12:31--
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:8080... failed: Connection refuse.
Connecting to Localhost|127.0.0.1|:8080...connected
HTTP request sent, awaiting response... 200 OK
Length:unspecified [text/html]
Saving to: “/dev/null”
0K .......... 277 =38s
10:22:34 (277 B/s) - “/dev/null” saved [10565]
Zenoss installation completed.
I'm very new at this..What am I doing wrong?}

我要回帖

更多关于 三星downloading 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信