[one-users] one start error

antoni artigues tartigues at iac3.eu
Wed Feb 2 01:54:21 PST 2011


Hi

this is my oned.conf:

#-----------------------------------------------------------------------------------

HOST_MONITORING_INTERVAL = 60

VM_POLLING_INTERVAL      = 60

#VM_DIR=/srv/cloud/one/var

SCRIPTS_REMOTE_DIR=/var/tmp/one

PORT=2633

DB = [ backend = "sqlite" ]

# Sample configuration for MySQL
 #DB = [ backend = "mysql",
   #     server  = "localhost",
        #port    = 0,
   #     user    = "oneadmin",
   #     passwd  = "oneadmin10",
    #    db_name = "opennebula" ]

VNC_BASE_PORT = 5900

DEBUG_LEVEL=3
#*******************************************************************************
# Physical Networks configuration
#*******************************************************************************
#  NETWORK_SIZE: Here you can define the default size for the virtual
networks
#
#  MAC_PREFIX: Default MAC prefix to be used to create the
auto-generated MAC
#  addresses is defined here (this can be overrided by the Virtual
Network
#  template)
#*******************************************************************************

NETWORK_SIZE = 254

MAC_PREFIX   = "02:00"

#*******************************************************************************
# Image Repository Configuration
#*******************************************************************************
#  IMAGE_REPOSITORY_PATH: Define the path to the image repository, by
default
#  is set to $ONE_LOCATION/var
#
#  DEFAULT_IMAGE_TYPE: This can take values
#       OS        Image file holding an operating system
#       CDROM     Image file holding a CDROM
#       DATABLOCK Image file holding a datablock,
#                 always created as an empty block
#  DEFAULT_DEVICE_PREFIX: This can be set to
#       hd        IDE prefix
#       sd        SCSI
#       xvd       XEN Virtual Disk
#       vd        KVM virtual disk
#*******************************************************************************

#IMAGE_REPOSITORY_PATH = /srv/cloud/var/images
DEFAULT_IMAGE_TYPE    = "OS"
DEFAULT_DEVICE_PREFIX = "hd"

#*******************************************************************************
# Transfer Manager Driver Configuration
#*******************************************************************************
# You can add more transfer managers with different configurations but
make
# sure it has different names.
#   name      : name for this transfer driver
#
#   executable: path of the transfer driver executable, can be an
#               absolute path or relative to $ONE_LOCATION/lib/mads (or
#               /usr/lib/one/mads/ if OpenNebula was installed in /)
#
#   arguments : for the driver executable, usually a commands
configuration file
#               , can be an absolute path or relative to
$ONE_LOCATION/etc (or
#               /etc/one/ if OpenNebula was installed in /)
#*******************************************************************************

#-------------------------------------------------------------------------------
# NFS Transfer Manager Driver Configuration
#-------------------------------------------------------------------------------
TM_MAD = [
    name       = "tm_nfs",
    executable = "one_tm",
    arguments  = "tm_nfs/tm_nfs.conf" ]
#-------------------------------------------------------------------------------#*******************************************************************************
# Hook Manager Configuration
#*******************************************************************************
# The Driver (HM_MAD), used to execute the Hooks
#   executable: path of the hook driver executable, can be an
#               absolute path or relative to $ONE_LOCATION/lib/mads (or
#               /usr/lib/one/mads/ if OpenNebula was installed in /)
#
#   arguments : for the driver executable, can be an absolute path or
relative
#               to $ONE_LOCATION/etc (or /etc/one/ if OpenNebula was
installed
#               in /)
#
# Virtual Machine Hooks (VM_HOOK) defined by:
#   name      : for the hook, useful to track the hook (OPTIONAL)
#   on        : when the hook should be executed,
#               - CREATE, when the VM is created (onevm create)
#               - RUNNING, after the VM is successfully booted
#               - SHUTDOWN, after the VM is shutdown
#               - STOP, after the VM is stopped (including VM image
transfers)
#               - DONE, after the VM is deleted or shutdown
#   command   : path can be absolute or relative to
$ONE_LOCATION/share/hooks
#               case of self-contained installation or relative to
#               /usr/share/one/hooks in case of system-wide installation
#   arguments : for the hook. You can access to VM template variables
with $
#               - $ATTR, the value of an attribute e.g. $NAME or $VMID
#               - $ATTR[VAR], the value of a vector e.g. $NIC[MAC]
#               - $ATTR[VAR, COND], same of previous but COND select
between
#                 multiple ATTRs e.g. $NIC[MAC, NETWORK="Public"]
#   remote    : values,
#               - YES, The hook is executed in the host where the VM was
#                 allocated
#               - NO, The hook is executed in the OpenNebula server
(default)
#-------------------------------------------------------------------------------

HM_MAD = [
    executable = "one_hm" ]
#-------------------------------- Image Hook
-----------------------------------
# This hook is used to handle image saving and overwriting when virtual
machines
# reach the DONE state after being shutdown.

VM_HOOK = [
    name      = "image",
    on        = "DONE",
    command   = "image.rb",
    arguments = "$VMID" ]
#-------------------------------------------------------------------------------
#  VMware Driver Addon Virtualization Driver Manager Configuration
#-------------------------------------------------------------------------------
VM_MAD = [
    name       = "vmm_vmware",
    executable = "one_vmm_sh",
    arguments  = "vmware",
    default    = "vmm_sh/vmm_sh_vmware.conf",
    type       = "vmware" ]
    
        
#-------------------------------------------------------------------------------
#  VMware Driver Addon Information Driver Manager Configuration
#-------------------------------------------------------------------------------
IM_MAD = [
      name       = "im_vmware",
      executable = "one_im_sh",
      arguments  = "vmware" ]
#-------------------------------------------------------------------------------

#-------------------------------------------------------------------------------
# VMware Driver Addon Transfer Manager Driver Configuration
#-------------------------------------------------------------------------------
TM_MAD = [
    name       = "tm_vmware",
    executable = "one_tm",
    arguments  = "tm_vmware/tm_vmware.conf" ]
#------------------------------------------------------------------------------	

Thanks in advance

Antoni Artigues
El mié, 02-02-2011 a las 10:38 +0100, Ruben S. Montero escribió:
> Hi,
> 
> 
> Could you post your oned.conf file please?
> 
> 
> Cheers
> 
> 
> Ruben
> 
> On Tue, Feb 1, 2011 at 12:34 PM, antoni artigues <tartigues at iac3.eu>
> wrote:
>         Hello
>         
>         I'm still with the error:
>         
>         ----------------------------
>         [oneadmin at maeko lib]$ one start
>         /srv/cloud/one/bin/one: line 76: 20588 Violación de segmento
>          $ONED -f
>         2>&1
>         Error executing /srv/cloud/one/bin/oned.
>         [oneadmin at maeko lib]$
>         ----------------------------
>         
>         
>         I use RHEL4, I installed all the required libraries, I
>         compiled opennebula without any problem. Here is the dynamic
>         library reference from oned:
>         
>         --------------------------
>         
>          ldd /srv/cloud/one/bin/oned
>                libxmlrpc_client++.so.3 => /usr/lib/libxmlrpc_client
>         ++.so.3 (0x0000002a95557000)
>                libxmlrpc_client.so.3 => /usr/lib/libxmlrpc_client.so.3
>         (0x0000002a95676000)
>                libcurl.so.4 => /usr/lib/libcurl.so.4
>         (0x0000002a9577e000)
>                libidn.so.11 => /usr/lib64/libidn.so.11
>         (0x0000003cd1800000)
>                libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2
>         (0x0000003cd5800000)
>                libkrb5.so.3 => /usr/lib64/libkrb5.so.3
>         (0x0000003cd5600000)
>                libcom_err.so.2 => /lib64/libcom_err.so.2
>         (0x0000003cd5200000)
>                libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3
>         (0x0000003cd5400000)
>                libresolv.so.2 => /lib64/libresolv.so.2
>         (0x0000003cd2e00000)
>                libdl.so.2 => /lib64/libdl.so.2 (0x0000003cd0a00000)
>                libcrypt.so.1 => /lib64/libcrypt.so.1
>         (0x0000003cd6700000)
>                libnsl.so.1 => /lib64/libnsl.so.1 (0x0000003cd4b00000)
>                libssl.so.4 => /lib64/libssl.so.4 (0x0000003cd5c00000)
>                libxml2.so.2 => /usr/lib64/libxml2.so.2
>         (0x0000003cd5e00000)
>                libz.so.1 => /usr/lib64/libz.so.1 (0x0000003cd1000000)
>                libcrypto.so.4 => /lib64/libcrypto.so.4
>         (0x0000003cd4d00000)
>                libsqlite3.so.0 => /usr/lib/libsqlite3.so.0
>         (0x0000002a958fa000)
>                libmysql.so.16 => /usr/lib/libmysql.so.16
>         (0x0000002a95a8a000)
>                libxmlrpc_server_abyss++.so.3
>         => /usr/lib/libxmlrpc_server_abyss++.so.3 (0x0000002a95dce000)
>                libxmlrpc_server++.so.3 => /usr/lib/libxmlrpc_server
>         ++.so.3 (0x0000002a95ed4000)
>                libxmlrpc_server_abyss.so.3
>         => /usr/lib/libxmlrpc_server_abyss.so.3 (0x0000002a95fde000)
>                libxmlrpc_server.so.3 => /usr/lib/libxmlrpc_server.so.3
>         (0x0000002a960e3000)
>                libxmlrpc_abyss.so.3 => /usr/lib/libxmlrpc_abyss.so.3
>         (0x0000002a961e7000)
>                libpthread.so.0 => /lib64/tls/libpthread.so.0
>         (0x0000003cd1200000)
>                libxmlrpc++.so.3 => /usr/lib/libxmlrpc++.so.3
>         (0x0000002a962f9000)
>                libxmlrpc.so.3 => /usr/lib/libxmlrpc.so.3
>         (0x0000002a96418000)
>                libxmlrpc_util.so.3 => /usr/lib/libxmlrpc_util.so.3
>         (0x0000002a96527000)
>                libxmlrpc_xmlparse.so.3
>         => /usr/lib/libxmlrpc_xmlparse.so.3 (0x0000002a9662a000)
>                libxmlrpc_xmltok.so.3 => /usr/lib/libxmlrpc_xmltok.so.3
>         (0x0000002a96736000)
>                libstdc++.so.6 => /usr/lib64/libstdc++.so.6
>         (0x0000003cd4900000)
>                libm.so.6 => /lib64/tls/libm.so.6 (0x0000003cd0800000)
>                libgcc_s.so.1 => /lib64/libgcc_s.so.1
>         (0x0000003cd4700000)
>                libc.so.6 => /usr/lib/libc.so.6 (0x0000002a96851000)
>                libldap-2.2.so.7 => /usr/lib64/libldap-2.2.so.7
>         (0x0000003cd0e00000)
>                librt.so.1 => /lib64/tls/librt.so.1
>         (0x0000003cd6100000)
>                /lib64/ld-linux-x86-64.so.2 (0x0000003cd0300000)
>                liblber-2.2.so.7 => /usr/lib64/liblber-2.2.so.7
>         (0x0000003cd1400000)
>                libsasl2.so.2 => /usr/lib64/libsasl2.so.2
>         (0x0000003cd0c00000)
>         
>         ---------------------------
>         
>         I think everything it's okey.
>         
>         Thanks in advance
>         
>         Antoni Artigues
>         
>         
>         El mar, 01-02-2011 a las 10:40 +0100, antoni artigues
>         escribió:
>         
>         > Hello
>         >
>         > I'm trying to start a new installed opennebula 2.0 but I
>         obtain this
>         > error:
>         > ----------------------------
>         > [oneadmin at maeko lib]$ one start
>         > /srv/cloud/one/bin/one: line 76: 20588 Violación de
>         segmento  $ONED -f
>         > 2>&1
>         > Error executing /srv/cloud/one/bin/oned.
>         > [oneadmin at maeko lib]$
>         > ----------------------------
>         >
>         > there aren't any log file.
>         >
>         > Where could be the error?
>         >
>         > Thanks in advance
>         >
>         > Antoni Artigues
>         >
>         >
>         > _______________________________________________
>         > Users mailing list
>         > Users at lists.opennebula.org
>         >
>         http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>         
>         
>         _______________________________________________
>         Users mailing list
>         Users at lists.opennebula.org
>         http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>         
> 
> 
> 
> -- 
> Dr. Ruben Santiago Montero
> Associate Professor (Profesor Titular), Complutense University of
> Madrid
> 
> URL: http://dsa-research.org/doku.php?id=people:ruben
> Weblog: http://blog.dsa-research.org/?author=7
> 





More information about the Users mailing list