[one-users] occi-server fails to start

Gian Uberto Lauri saint at eng.it
Wed Mar 16 09:13:13 PDT 2011


>>>>> "ZAS" == Zeeshan Ali Shah <zashah at pdc.kth.se> writes:

ZAS> Hi Saint, tell us on list if the solve the issue for archive
ZAS> Zeeshan
ZAS> On 03/16/2011 04:42 PM, Daniel Molina wrote:
>> Hi,
>> 
>> There is a compatibility problem with last versions of sinatra and
>> rack using ruby 1.8.7.
>> 
>> You can fix this issue in two ways:
>> 1. Upgrading ruby to 1.9
>> 2. Downgrading rack version to 1.2.0:
>> # gem uninstall rack
>> Select gem to uninstall:
>> 1. rack-1.0.0
>> 2. rack-1.0.1
>> 3. rack-1.2.1
>> 4. All versions
>>> 4
>> # gem install rack --version '1.2.0'
>> Successfully installed rack-1.2.0
>> 1 gem installed
>> 
>> Hope this helps

It solves the problem. Now there's another. I tried to feed this

[oneadmin at church ~]$ cat rete.xml 
    <NETWORK>
	<NAME>MyPaperone</NAME>
	<ADDRESS>192.168.1.1</ADDRESS>
	<SIZE>200</SIZE>
    </NETWORK>

to occi-network and it creates the network and then exits with an
error as in the example below.

[oneadmin at church ~]$ if occi-network --url http://localhost:4567 --username oneadmin --password oneadmin create rete.xml
> then
> si
> else
> no
> fi
/usr/bin/occi-network:201: uninitialized constant REXML::Formatters (NameError)
-bash: no: command not found

The "-bash: no: command not found"  was an _expected_ error, the above
example was a quick test meant to  test the return code of the program
(that is clearly non 0), while

/usr/bin/occi-network:201: uninitialized constant REXML::Formatters
(NameError)

was not :).

--
ing. Gian Uberto Lauri
Ricercatore / Reasearcher
Laboratorio Ricerca e Sviluppo / Research & Development Lab.
Area Calcolo Distribuito / Distributed Computation Area

GianUberto.Lauri at eng.it

Engineering Ingegneria Informatica spa
Corso Stati Uniti 23/C, 35127 Padova (PD) 

Tel. +39-049.8283.571         | main(){printf(&unix["\021%six\012\0"], 
Fax  +39-049.8283.569		  |    (unix)["have"]+"fun"-0x60);}   
Skype: gian.uberto.lauri	  |          David Korn, AT&T Bell Labs             
http://www.eng.it 			  |          ioccc best One Liner, 1987             





More information about the Users mailing list