incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sadhu suresh (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (CLOUDSTACK-81) fail to start cloud-usage service
Date Fri, 21 Sep 2012 14:21:07 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

sadhu suresh reopened CLOUDSTACK-81:
------------------------------------


tested with Rhel6.3 build and Installation successful but fail to start.It says commond not
found

[root@rhel63 hh]# ./install.sh
Setting up the temporary repository...
Cleaning Yum cache...
Loaded plugins: product-id, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Cleaning repos: cloud-temp rhel
2 metadata files removed
Welcome to the Cloud.com CloudStack Installer.  What would you like to do?

    A) Install the Agent
    B) Install BareMetal Agent
    S) Install the Usage Monitor
    U) Upgrade the CloudStack packages installed on this computer
    R) Stop any running CloudStack services and remove the CloudStack packages from this computer
    E) Remove the MySQL server (will not remove the MySQL databases)
    Q) Quit

    > s
Installing the Usage Server...
Loaded plugins: product-id, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
cloud-temp                                                                               
                                            | 1.3 kB     00:00 ...
rhel                                                                                     
                                            | 4.0 kB     00:00 ...
Setting up Install Process
No package cloud-premium available.
Resolving Dependencies
--> Running transaction check
---> Package cloud-usage.x86_64 0:4.0.0-0.22.el6.4.0 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================
 Package                              Arch                            Version            
                         Repository                           Size
=============================================================================================================================================================
Installing:
 cloud-usage                          x86_64                          4.0.0-0.22.el6.4.0 
                         cloud-temp                           83 k

Transaction Summary
=============================================================================================================================================================
Install       1 Package(s)

Total download size: 83 k
Installed size: 93 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing : cloud-usage-4.0.0-0.22.el6.4.0.x86_64                                     
                                                               1/1
Installed products updated.
  Verifying  : cloud-usage-4.0.0-0.22.el6.4.0.x86_64                                     
                                                               1/1

Installed:
  cloud-usage.x86_64 0:4.0.0-0.22.el6.4.0

Complete!
Done
[root@rhel63 hh]#
[root@rhel63 hh]#
[root@rhel63 hh]#
[root@rhel63 hh]#
[root@rhel63 hh]#
[root@rhel63 hh]#
[root@rhel63 hh]#
[root@rhel63 hh]# service cloud-usage start
/etc/init.d/cloud-usage: line 74: log_daemon_msg: command not found
/etc/init.d/cloud-usage: line 97: log_end_msg: command not found
[root@rhel63 hh]#
[root@rhel63 hh]#
[root@rhel63 hh]#
[root@rhel63 hh]#
[root@rhel63 hh]#
[root@rhel63 hh]#
[root@rhel63 hh]# ls
cloud-agent-4.0.0-0.22.el6.4.0.x86_64.rpm            cloud-client-ui-4.0.0-0.22.el6.4.0.x86_64.rpm
 cloud-setup-4.0.0-0.22.el6.4.0.x86_64.rpm
cloud-agent-libs-4.0.0-0.22.el6.4.0.x86_64.rpm       cloud-core-4.0.0-0.22.el6.4.0.x86_64.rpm
      CloudStack-oss-4.0.0-22.tar.bz2
cloud-aws-api-4.0.0-0.22.el6.4.0.x86_64.rpm          cloud-deps-4.0.0-0.22.el6.4.0.x86_64.rpm
      cloud-usage-4.0.0-0.22.el6.4.0.x86_64.rpm
cloud-baremetal-agent-4.0.0-0.22.el6.4.0.x86_64.rpm  cloud-python-4.0.0-0.22.el6.4.0.x86_64.rpm
    cloud-utils-4.0.0-0.22.el6.4.0.x86_64.rpm
cloud-cli-4.0.0-0.22.el6.4.0.x86_64.rpm              cloud-scripts-4.0.0-0.22.el6.4.0.x86_64.rpm
   install.sh
cloud-client-4.0.0-0.22.el6.4.0.x86_64.rpm           cloud-server-4.0.0-0.22.el6.4.0.x86_64.rpm
    repodata
[root@rhel63 hh]#
[root@rhel63 hh]#
[root@rhel63 hh]# service cloud-usage status
/etc/init.d/cloud-usage: line 119: status_of_proc: command not found
[root@rhel63 hh]# service cloud-usage start
/etc/init.d/cloud-usage: line 69: log_daemon_msg: command not found
/etc/init.d/cloud-usage: line 70: log_end_msg: command not found
[root@rhel63 hh]# /etc/init.d/cloud-usage start
/etc/init.d/cloud-usage: line 69: log_daemon_msg: command not found
/etc/init.d/cloud-usage: line 70: log_end_msg: command not foun


Git Revision: 2a5e5b2e62a9f35d674f016e02abc1da77b95745
Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.gi


                
> fail to start cloud-usage service
> ---------------------------------
>
>                 Key: CLOUDSTACK-81
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-81
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Usage
>    Affects Versions: pre-4.0.0
>         Environment: build :CloudStack-oss-4.0.59-rhel6.3.tar.gz 
>            Reporter: sadhu suresh
>            Assignee: Wido den Hollander
>            Priority: Blocker
>             Fix For: pre-4.0.0
>
>
> steps:
> 1.Install new build on rhel6.3
> 2.install the usage server
> 3.start the cloud-usage service
> actual result:
> Installation of cloud-usage server was successful but fail to start
> :cloud-usage service fail to start and it shows the following error when we try to start
> root@rhel63 CloudStack-oss-4.0.59-rhel6.3]# service cloud-usage start
> Starting CloudStack Usage Monitor: /bin/bash: /usr/bin/cloud-daemonize: No such file
or directory
>                                                            [FAILED]
> cloud-usage server installation requires additional rpm and installed additional rpm
nd installed 
> fter installing the jsvc package installation usage server was successful:
> [root@rhel63 CloudStack-oss-4.0.59-rhel6.3]# rpm -Uvh http://mirror.centos.org/centos/6/os/x86_64/Packages/jakarta-commons-daemon-jsvc-1.0.1-8.9.el6.x86_64.rpm
> Retrieving http://mirror.centos.org/centos/6/os/x86_64/Packages/jakarta-commons-daemon-jsvc-1.0.1-8.9.el6.x86_64.rpm
> warning: /var/tmp/rpm-tmp.pGKPCJ: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
> Preparing... ########################################### [100%]
>    1:jakarta-commons-daemon-########################################### [100%]
> [root@rhel63 CloudStack-oss-4.0.59-rhel6.3]# ./install.sh
> Setting up the temporary repository...
> Cleaning Yum cache...
> Loaded plugins: product-id, subscription-manager
> Updating certificate-based repositories.
> Unable to read consumer identity
> Cleaning repos: cloud-temp rhel
> 2 metadata files removed
> Welcome to the Cloud.com CloudStack Installer. What would you like to do?
>     A) Install the Agent
>     B) Install BareMetal Agent
>     S) Install the Usage Monitor
>     D) Install the database server
>     U) Upgrade the CloudStack packages installed on this computer
>     R) Stop any running CloudStack services and remove the CloudStack packages from this
computer
>     Q) Quit
>     > s
> Installing the Usage Server...
> Loaded plugins: product-id, subscription-manager
> Updating certificate-based repositories.
> Unable to read consumer identity
> cloud-temp | 2.6 kB 00:00 ...
> rhel | 4.0 kB 00:00 ...
> Setting up Install Process
> No package cloud-premium available.
> Resolving Dependencies
> --> Running transaction check
> ---> Package cloud-usage.x86_64 0:4.0.59-0.59.el6.4.0 will be installed
> --> Finished Dependency Resolution
> Dependencies Resolved
> ========================================================================================================================================================================
>  Package Arch Version Repository Size
> ========================================================================================================================================================================
> Installing:
>  cloud-usage x86_64 4.0.59-0.59.el6.4.0 cloud-temp 81 k
> Transaction Summary
> ========================================================================================================================================================================
> Install 1 Package(s)
> Total download size: 81 k
> Installed size: 87 k
> Is this ok [y/N]: y
> Downloading Packages:
> Running rpm_check_debug
> Running Transaction Test
> Transaction Test Succeeded
> Running Transaction
> Warning: RPMDB altered outside of yum.
>   Installing : cloud-usage-4.0.59-0.59.el6.4.0.x86_64 1/1
> Installed products updated.
>   Verifying : cloud-usage-4.0.59-0.59.el6.4.0.x86_64 1/1
> Installed:
>   cloud-usage.x86_64 0:4.0.59-0.59.el6.4.0
> Complete!
> CloudStack Management Server setup is Done!
> [root@rhel63 CloudStack-oss-4.0.59-rhel6.3]# service cloud-management status
> cloud-management (pid  2984) is running...
> [root@rhel63 CloudStack-oss-4.0.59-rhel6.3]# service cloud-usage start
> Starting CloudStack Usage Monitor: /bin/bash: /usr/bin/cloud-daemonize: No such file
or directory
>                                                            [FAILED]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message