Try running it in bash? $ /bin/bash $ source start-freenet.sh ...
? On Thu, Feb 17, 2005 at 07:57:45PM -0500, Robert Webber wrote: > Hello: > > I am trying to run freenet on Solaris 10 (3/05) for Sparc. > > I have downloaded the archive and validated that it is intact. When I > run freenet for the first time, the installer builds the freenet.conf > file, but the application fails with the following error: > > start-freenet.sh: test: unknown operator == > > The start-freenet.sh script produced a few informational messages that > might be important, might be not. Here is the output of the session: > > (BTW I used the default options) > > $ sh start-freenet.sh > Detected freenet-ext.jar > Detected freenet.jar > It appears that this is your first time running Freenet. You > should read the README file as it contains important instructions > and advice. > > First we must generate a freenet.conf file. I will now run > Freenet in configure mode, and it will ask you a number of > questions. If you don't understand the question, hitting enter > without typing anything will go with the default which is likely > to be the right thing. > > no random in shell, enter a FNP port number + <ENTER> > > Freenet Configuration > Running in simple mode. Some preferences will be skipped. > You can choose the default preferences by just hitting <ENTER> > > Setting: listenPort > The port to listen for incoming FNP (Freenet Node Protocol) connections on. > INFO: Native CPUID library jcpuid not loaded, reason: 'Dont know > jcpuid library name for os type 'SunOS'' - will not be able to read > CPU information using CPUIDINFO: Native BigInteger library jbigi not > loaded, reason: 'Dont know jbigi library name for os type 'SunOS'' - > using pure java > Config error: listenPort= - Value could not be parsed - format error > perhaps? - expected Integer (whole number, up to 2,147,483,648, kKmMgG > accepted - example 2.1m = 2,100,000) - detail: > java.lang.NumberFormatException: empty String > java.lang.NumberFormatException: empty String > at > sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:994) > at java.lang.Double.parseDouble(Double.java:482) > at freenet.config.Params.parseInt(Params.java:413) > at freenet.config.Params.getInt(Params.java:383) > at freenet.config.Setup.setParam(Setup.java:463) > at freenet.config.Setup.dumpConfig(Setup.java:210) > at freenet.node.Main.main(Main.java:420) > listenPort [64490] > > > Setting: seedFile > A file containing one or more node references which will be incorporated > into the node's routing table on startup. A reference is only added if > there is no previously existing reference to that node. When this node > announces, it will announce to the nodes listed in this file. > seedFile [seednodes.ref] > > > Setting: storeSize > The byte size of the data store directory. > The maximum sized file that will be cached is 1/100th of > this value. We recommend the default 256MB, to cache the largest common > file size on freenet, 1MB plus some headers, with plenty of elbowroom, but > any size about 101MB should be adequate (a 1MB chunk is not exactly 1MB...). > Note that if you increase settings such as maximumThreads, you may need to > use a larger store. > storeSize [268435456] > > > Setting: inputBandwidthLimit > If nonzero, specifies an independent limit for incoming data only, in bytes > per second. A 512kbps broadband (DSL or cable) connection is 64kB/sec, but > you may want to use other things than Freenet on it. However, Freenet's > background usage should be close to the output limit most of the time. > You may want to set this and then set doLowLevelInputLimiting=false, in > order to have more accurate pending-transfers load. You SHOULD do this if > your connection has more outbound than inbound bandwidth. > inputBandwidthLimit [0] > > > Setting: outputBandwidthLimit > If nonzero, specifies an independent limit for outgoing data only, in bytes > per second. Not entirely accurate. If you need exact limiting, do it at the > OS level. A typical broadband connection has either a 128kbps or a 256kbps > uplink, this equates to 16kB/sec and 32kB/sec respectively. You will need to > keep some bandwidth back for other apps and for downloads (yes, downloading > uses a small amount of upload bandwidth). We suggest therefore limits of > 12000 for a 128kbps upload connection, or 24000 for a 256kbps upload > connection. Most broadband connections have far more download bandwidth than > upload bandwidth... just because you have 1Mbps download, does not mean you > have 1Mbps upload; if you do not know what your connection's upload speed is, > use one of the above options. > outputBandwidthLimit [12288] > > > Setting: averageInputBandwidthLimit > If nonzero, specifies an independent limit for incoming data only (averaged > over a week). (overrides averageBandwidthLimit if nonzero) > averageInputBandwidthLimit [0] > > > Setting: averageOutputBandwidthLimit > If nonzero, specifies an independent limit for outgoing data only (averaged > over a week). (overrides bandwidthLimit if nonzero) > averageOutputBandwidthLimit [0] > > > Setting: logLevel > The error reporting threshold, one of: > Error: Errors only > Normal: Report significant events, and errors > Minor: Report minor events, significant events, and errors > Debug: Report everything that can be reported > logLevel [normal] > > > Setting: mainport.params.servlet.7.params.sfDefaultSaveDir > Default folder to save large downloaded files to. Defaults to a folder > called "freenet-downloads" in your home directory. > mainport.params.servlet.7.params.sfDefaultSaveDir > [/export/home/bob/freenet-downloads] > > > Sun java detected. > Sun Java 1.4.2 detected. > start-freenet.sh: test: unknown operator == > $ ^D > Script done, file is typescript > $ ls > README freenet.conf.orig seednodes.ref stop-freenet.sh > freenet-ext.jar freenet.jar seednodes.ref.bz2 typescript > freenet.conf preconfig.sh start-freenet.sh update.sh > $ cat typescript > Script started on Thu Feb 17 20:03:37 2005 > $ sh start-freenet.sh > Detected freenet-ext.jar > Detected freenet.jar > It appears that this is your first time running Freenet. You > should read the README file as it contains important instructions > and advice. > > First we must generate a freenet.conf file. I will now run > Freenet in configure mode, and it will ask you a number of > questions. If you don't understand the question, hitting enter > without typing anything will go with the default which is likely > to be the right thing. > > no random in shell, enter a FNP port number + <ENTER> > > Freenet Configuration > Running in simple mode. Some preferences will be skipped. > You can choose the default preferences by just hitting <ENTER> > > Setting: listenPort > The port to listen for incoming FNP (Freenet Node Protocol) connections on. > INFO: Native CPUID library jcpuid not loaded, reason: 'Dont know > jcpuid library name for os type 'SunOS'' - will not be able to read > CPU information using CPUIDINFO: Native BigInteger library jbigi not > loaded, reason: 'Dont know jbigi library name for os type 'SunOS'' - > using pure java > Config error: listenPort= - Value could not be parsed - format error > perhaps? - expected Integer (whole number, up to 2,147,483,648, kKmMgG > accepted - example 2.1m = 2,100,000) - detail: > java.lang.NumberFormatException: empty String > java.lang.NumberFormatException: empty String > at > sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:994) > at java.lang.Double.parseDouble(Double.java:482) > at freenet.config.Params.parseInt(Params.java:413) > at freenet.config.Params.getInt(Params.java:383) > at freenet.config.Setup.setParam(Setup.java:463) > at freenet.config.Setup.dumpConfig(Setup.java:210) > at freenet.node.Main.main(Main.java:420) > listenPort [64490] > > > Setting: seedFile > A file containing one or more node references which will be incorporated > into the node's routing table on startup. A reference is only added if > there is no previously existing reference to that node. When this node > announces, it will announce to the nodes listed in this file. > seedFile [seednodes.ref] > > > Setting: storeSize > The byte size of the data store directory. > The maximum sized file that will be cached is 1/100th of > this value. We recommend the default 256MB, to cache the largest common > file size on freenet, 1MB plus some headers, with plenty of elbowroom, but > any size about 101MB should be adequate (a 1MB chunk is not exactly 1MB...). > Note that if you increase settings such as maximumThreads, you may need to > use a larger store. > storeSize [268435456] > > > Setting: inputBandwidthLimit > If nonzero, specifies an independent limit for incoming data only, in bytes > per second. A 512kbps broadband (DSL or cable) connection is 64kB/sec, but > you may want to use other things than Freenet on it. However, Freenet's > background usage should be close to the output limit most of the time. > You may want to set this and then set doLowLevelInputLimiting=false, in > order to have more accurate pending-transfers load. You SHOULD do this if > your connection has more outbound than inbound bandwidth. > inputBandwidthLimit [0] > > > Setting: outputBandwidthLimit > If nonzero, specifies an independent limit for outgoing data only, in bytes > per second. Not entirely accurate. If you need exact limiting, do it at the > OS level. A typical broadband connection has either a 128kbps or a 256kbps > uplink, this equates to 16kB/sec and 32kB/sec respectively. You will need to > keep some bandwidth back for other apps and for downloads (yes, downloading > uses a small amount of upload bandwidth). We suggest therefore limits of > 12000 for a 128kbps upload connection, or 24000 for a 256kbps upload > connection. Most broadband connections have far more download bandwidth than > upload bandwidth... just because you have 1Mbps download, does not mean you > have 1Mbps upload; if you do not know what your connection's upload speed is, > use one of the above options. > outputBandwidthLimit [12288] > > > Setting: averageInputBandwidthLimit > If nonzero, specifies an independent limit for incoming data only (averaged > over a week). (overrides averageBandwidthLimit if nonzero) > averageInputBandwidthLimit [0] > > > Setting: averageOutputBandwidthLimit > If nonzero, specifies an independent limit for outgoing data only (averaged > over a week). (overrides bandwidthLimit if nonzero) > averageOutputBandwidthLimit [0] > > > Setting: logLevel > The error reporting threshold, one of: > Error: Errors only > Normal: Report significant events, and errors > Minor: Report minor events, significant events, and errors > Debug: Report everything that can be reported > logLevel [normal] > > > Setting: mainport.params.servlet.7.params.sfDefaultSaveDir > Default folder to save large downloaded files to. Defaults to a folder > called "freenet-downloads" in your home directory. > mainport.params.servlet.7.params.sfDefaultSaveDir > [/export/home/bob/freenet-downloads] > > > Sun java detected. > Sun Java 1.4.2 detected. > start-freenet.sh: test: unknown operator == > $ > > Any idea what is going wrong? > _______________________________________________ > Support mailing list > Support@freenetproject.org > http://news.gmane.org/gmane.network.freenet.support > Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support > Or mailto:[EMAIL PROTECTED] -- Matthew J Toseland - [EMAIL PROTECTED] Freenet Project Official Codemonkey - http://freenetproject.org/ ICTHUS - Nothing is impossible. Our Boss says so.
signature.asc
Description: Digital signature
_______________________________________________ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:[EMAIL PROTECTED]