[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] [XCP] Host Disabled, License expired, Can'trenable



Errol

Stop xapi in all of the members of the pool (/etc/init.d/xapi stop)
Execute the script
Start xapi (/etc/init.d/xapi start)

Cheers


>
> Kyle  wrote:
>>                 Hi Errol
> <SNIP>
>> If you have a pool, you have to replace the expiry date in all of the
>> members of the pool.. so you have to add a "g" at the end of sed comand
>> to
>> replace all the occurrences.
>>
>> sed -i "s/<regular expresion>/<regular expresion>/g" file
>>
>> Hope it helps
>>
>> Kyle
>>
>> > On Fri, Nov 25, 2011 at 9:29 PM, Errol Neal <eneal@xxxxxxxxxxxxxxxxx>
>> > wrote:
>> >> Errol Neal  wrote:
>> >>>                 Errol Neal  wrote:
>> >>> >                 First of all, Happy Thanksgiving to all who
>> >>> celebrate. Giving thanks for powerful open source virtualization!
>> >>> >
>> >>> <SNIP>
>> >>> > I tried the expiry.sh trick, but it didn't work.
>> >>> >
>> >>>
>> >>> Just to cover my basis, I also tried it manually. I stopped xapi and
>> >>> manually modified state.db and changed two instances of expiry. When
>> i
>> >>> started back up xapi and ran xe host-enable I still received the
>> error
>> >>> and checking the state.db, the date had reverted.
>> >>>
>> >>> This host is one of two in a pool.
>> >>>
>> >>
>> >> Any takers on this? i've googled and searched old threads and they
>> >> always seem to end with someone having to reinstall which is not
>> >> possible for me at the moment.
>> >>
>> >> I don't even know how I got into this state. I always thought XCP was
>> >> free so I ignored the license warnings from XenCenter not thinking
>> that
>> >> my hosts would actually be disabled.
>> >> There isn't any point in reinstalling if I'm just going to encounter
>> the
>> >> same problem again :/ Was it because i was using XenCenter? If
>> XenCenter
>> >> wasn't in the picture, would my host have been disabled?
>> >
>> > Well back in the early days this was an issue 0.5 and earlier, it was
>> > supposed to be fixed in 1.1 though.... quite odd, get a license file
>> > from the citrix site to re-enable in the meantime
>> >
>> >>
>
> Hi. Thanks for the insight. I've made the changes several times. When I
> start back up xapi, the DB reverts the expiry to its previous values..
>



--------------------------------------------------------------------------------------------
Busca, compara... pero busca en Qué!
Descúbrelo en http://buscar.que.es/
--------------------------------------------------------------------------------------------
Correo enviado desde http://www.ozu.es

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.