This is a problem with the start scripts, not with Cassandra itself (or any of 
its configuration)
The shell you are using cannot start the cassandra shell script.

Try 
#bash bin/cassandra -f

As far as I know, it should work fine. Actually it should work with sh as 
well...


-----Ursprüngliche Nachricht-----
Von: Xiaobo Gu [mailto:guxiaobo1...@gmail.com] 
Gesendet: Freitag, 11. Februar 2011 16:12
An: user@cassandra.apache.org
Betreff: Re: cassandra solaris x64 support

On Fri, Feb 11, 2011 at 10:51 PM, Jonathan Ellis <jbel...@gmail.com> wrote:
> The vast majority run on Linux, but there are a few people running
> Cassandra on Solaris, FreeBSD, and Windows.
But I failed to start the one node test cluster,
# sh bin/cassandra -f
bin/cassandra: syntax error at line 22: `MAX_HEAP_SIZE=$' unexpected

My environemnt is as follwoing:
# more /etc/release
                       Solaris 10 10/09 s10x_u8wos_08a X86
           Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                           Assembled 16 September 2009

# java -fullversion
java full version "1.6.0_23-b05"
# java -version
java version "1.6.0_23"
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Java HotSpot(TM) Client VM (build 19.0-b09, mixed mode, sharing)

I changed initial_token:0


> On Fri, Feb 11, 2011 at 4:40 AM, Xiaobo Gu <guxiaobo1...@gmail.com> wrote:
>> Hi,
>> Because I can't access the archives of the mailing list, so my
>> apologies if someone have asked this before.
>>
>> Does any have successfully run Cassandra on Solaris 10 X64 clusters?
>>
>> Regards,
>>
>> Xiaobo Gu
>>
>
>
>
> --
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of DataStax, the source for professional Cassandra support
> http://www.datastax.com
>


Reply via email to