From: mel <rom...@we...> - 2007-11-03 14:16:02
|
Hello @all, I was trying to run Chromium on my notebook before installing it to our Linux-Cluster. I have some problems getting the demo applications startet. So long, I tried to start like this: -------------------------------------------------------- mel@book:~$ cd cr-1.9/ mel@book:~/cr-1.9$ cd mothership/configs/ mel@book:~/cr-1.9/mothership/configs$ python crdemo.conf atlantis & [1] 6403 mel@book:~/cr-1.9/mothership/configs$ This is Chromium, Version 1.9 Start a crappfaker on book Start a crserver on book -------------------------------------------------------- And now, that's the big question ;) from which directory should crserver and crappfaker get startet? As read in "Beginner's guide to Chromium", I tried to go on with the steps (in the same directory as before): 3: % crserver & 4: % crappfaker ... but that's not working at all: mel@book:~/cr-1.9/mothership/configs$ crserver & [2] 6516 mel@book:~/cr-1.9/mothership/configs$ bash: crserver: command not found I tried to run both commands out of bin/Linux - but that gives the following errors: -------------------------------------------------------- mel@book:~/cr-1.9/bin/Linux$ ./crappfaker ./crappfaker: error while loading shared libraries: libcrmothership.so: cannot open shared object file: No such file or directory mel@book:~/cr-1.9/bin/Linux$ ./crserver ./crserver: error while loading shared libraries: libspuload.so: cannot open shared object file: No such file or directory -------------------------------------------------------- I'm very new to this all and can't figure out what's the problem... I suppose that some environment variables aren't set correctly...? Does anyone have a clue? Thank you very much, best regards, mel |
From: Brian P. <bri...@tu...> - 2007-11-03 14:38:22
|
mel wrote: > Hello @all, > > I was trying to run Chromium on my notebook before installing it to our > Linux-Cluster. > > I have some problems getting the demo applications startet. > > So long, I tried to start like this: > > -------------------------------------------------------- > mel@book:~$ cd cr-1.9/ > mel@book:~/cr-1.9$ cd mothership/configs/ > mel@book:~/cr-1.9/mothership/configs$ python crdemo.conf atlantis & > [1] 6403 > mel@book :~/cr-1.9/mothership/configs$ This is Chromium, Version 1.9 > Start a crappfaker on book > Start a crserver on book > -------------------------------------------------------- > > And now, that's the big question ;) from which directory should crserver > and crappfaker get startet? > As read in "Beginner's guide to Chromium", I tried to go on with the > steps (in the same directory as before): > 3: % crserver & > 4: % crappfaker > ... but that's not working at all: > > mel@book :~/cr-1.9/mothership/configs$ crserver & > [2] 6516 > mel@book:~/cr-1.9/mothership/configs$ bash: crserver: command not found > > I tried to run both commands out of bin/Linux - but that gives the > following errors: > > -------------------------------------------------------- > mel@book:~/cr-1.9/bin/Linux$ ./crappfaker > ./crappfaker: error while loading shared libraries: libcrmothership.so: > cannot open shared object file: No such file or directory > mel@book:~/cr-1.9/bin/Linux$ ./crserver > ./crserver: error while loading shared libraries: libspuload.so: cannot > open shared object file: No such file or directory > -------------------------------------------------------- > > I'm very new to this all and can't figure out what's the problem... I > suppose that some environment variables aren't set correctly...? > > Does anyone have a clue? try adding the bin directory to your path, something like: export PATH=$PATH:~/cr-1.9/bin/Linux -Brian |
From: Brian P. <bri...@tu...> - 2008-01-03 14:37:01
|
RCCOP wrote: > > Aashish Chaudhary wrote: >> Hi, >> >> I was able to get to this point and I was getting the same error. I even >> set >> CRMOTHERSHIP to >> >> 1. localhost >> 2. my machine name >> 3. machine_name + server >> >> >> I even changed my /etc/hosts file so as to resolve ip to my network URL. >> But >> I as soon as I start crappfaker app and server crashes. I was trying to >> run >> atlantis with crdemo.conf file. >> >> ~Aashish >> >> > > > I know it's been a few months, but I also am having the similar problems. > I've followed all the steps exactly, and I've also tried setting > CRMOTHERSHIP to the three that the person I've quoted tried. The errors I > get occur after typing crserver and crappfaker. They are as follows: > > % crserver > CR Error(citadel:10787): Bad Mothership response: Never heard of server host > citadel.*. Expected one of: <this remains blank> > > % crappfaker > CR Error(citadel:10789): Bad Mothership response: Never heard of faker host > citadel.*. Expected one of: <this also remains blank> > > Note: I put an asterisk for privacy reasons. This sort of thing usually comes from hostname misconfiguration. Does running 'hostname' in your shell give you a fully qualified domain name? If you ping the FQDN and 'citadel' do you get the sam address? > Also, every time I type "python crdemo.conf atlantis" I get the following > error, I'm not sure if this is normal or not but I've been ignoring it and > have even gotten (and fixed) some of the errors mentioned previously in this > thread. So I assumed I was on the right track anyway... > > % python crdemo.conf atlantis > This is Chromium, Version 1.9 > Couldn't find/create local TCP port (make sure that another mothership isn't > already running) > > > MOTHERSHIP EXCEPTION! TERRIBLE! > Traceback (most recent call last): > File "../server/mothership.py", line 1068, in Go > Fatal( "Couldn't find/create local TCP port (make sure that another > mothership isn't already running)") > File "../server/mothership.py", line 102, in Fatal > sys.exit(-1) > SystemExit: -1 Does 'ps -elf' report any other python/mothership processes? Maybe you have another service running that's using the default mothership port. You can set the mothership port in the cr config file by passing the port number to the cr.Go() function. You'll have to set CRMOTHERSHIP="hostname:portnumber" then. -Brian |
From: RCCOP <ca...@sr...> - 2008-01-03 15:06:19
|
Brian Paul wrote: > >> % crserver >> CR Error(citadel:10787): Bad Mothership response: Never heard of server >> host >> citadel.*. Expected one of: <this remains blank> >> >> % crappfaker >> CR Error(citadel:10789): Bad Mothership response: Never heard of faker >> host >> citadel.*. Expected one of: <this also remains blank> >> >> Note: I put an asterisk for privacy reasons. > > This sort of thing usually comes from hostname misconfiguration. Does > running 'hostname' in your shell give you a fully qualified domain name? > > If you ping the FQDN and 'citadel' do you get the sam address? > Yes, I got the same address when I did this. I just tried changing /etc/hosts so it now looks like this: 127.0.0.1 localhost.localdomain localhost 192.168.0.1 citadel.xxx.xxx.xxx citadel It previously looked like this: 127.0.0.1 localhost.localdomain localhost ::1 localhost.localdomain localhost I was trying to follow the FAQ in order to solve my problem, but this didn't help me either. The error I got when trying to run with /etc/hosts in this format was, so I'm pretty sure changing the host file was the wrong thing to do (I have since reverted back to the original hosts file): CR Warning(citadel:19927): Couldn't connect to citadel.sr.unh.edu:10000, Connection timed out CR Warning(citadel:19927): Couldn't find any suitable way to connect to citadel.sr.unh.edu CR Error(citadel:19927): Couldn't connect to the mothership, I have no idea what to do! >> % python crdemo.conf atlantis >> This is Chromium, Version 1.9 >> Couldn't find/create local TCP port (make sure that another mothership >> isn't >> already running) >> >> >> MOTHERSHIP EXCEPTION! TERRIBLE! >> Traceback (most recent call last): >> File "../server/mothership.py", line 1068, in Go >> Fatal( "Couldn't find/create local TCP port (make sure that another >> mothership isn't already running)") >> File "../server/mothership.py", line 102, in Fatal >> sys.exit(-1) >> SystemExit: -1 > > > Does 'ps -elf' report any other python/mothership processes? > > Maybe you have another service running that's using the default > mothership port. You can set the mothership port in the cr config file > by passing the port number to the cr.Go() function. You'll have to set > CRMOTHERSHIP="hostname:portnumber" then. > There are no other python/mothership processes running. However, I think it's due to the fact that I've already run the code once and it's not shutting down/closing after the error? Not sure how to shut it off... I tried running it on two different ports and each time the first run through didn't get the error, but the second time did. -- View this message in context: http://www.nabble.com/crserver---crappfaker-won%27t-start-tp13563222p14598491.html Sent from the Chromium - User mailing list archive at Nabble.com. |