r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Linux] group for linux REBOL users

Graham
12-Oct-2008
[2394x3]
yast
wow .. it has a text gui :)s
yast can't find it ...
kcollins
12-Oct-2008
[2397]
you could build it from source...it's documented on that page I linked
Graham
12-Oct-2008
[2398]
found a rpm, and it's working.  Thanks!
Robert
12-Oct-2008
[2399x2]
I have a problem with a CRON job. Running it by hand works, but it 
looks like it's not working if run via CRON.
How can I write some message to the system logfile from inside a 
shell script? Is there a command for this?
Henrik
12-Oct-2008
[2401]
http://www.cyberciti.biz/tips/howto-linux-unix-write-to-syslog.html
Dockimbel
12-Oct-2008
[2402]
Graham: I have no problem launching Cheyenne from ssh. I'm always 
using the binary version : ./cheyenne &
Graham
12-Oct-2008
[2403]
Your binary doesn't work on OpenSuse.  I get encapsulation errors.
Dockimbel
12-Oct-2008
[2404x2]
That's strange. Can you show me what : ldd cheyenne returns ?
Btw, did you tried with : rebol -qws cheyenne.r & ?
Graham
12-Oct-2008
[2406x3]
hang on ... I have to login via putty
hmm.  didn't give me any message via ssh
here's ldd 
http://screencast.com/t/MnsrSebIz
ie. I ran ./cheyenne and just got nothing ....
Dockimbel
12-Oct-2008
[2409x2]
If you're on Windows, you can use the SSH Secure Shell client for 
Windows (nice GUI) : http://charlotte.at.northwestern.edu/bef/SSH/SSHSecureShellClient-3.2.9.exe
Are you using sudo to launch cheyenne with root privileges ?
Graham
12-Oct-2008
[2411]
yes.
Dockimbel
12-Oct-2008
[2412]
http://www.rebol.net/cgi-bin/rambo.r?id=4306&
Graham
12-Oct-2008
[2413x5]
I'm listening on port 8001
I got some error about being unable to write some .configuration 
file
I downloaded it twice in case it was corrupted.
And it works on Ubuntu JeOS
I won't be physically near that box now for a couple of days.  I'll 
test it again when I'm able.
Dockimbel
12-Oct-2008
[2418]
Ok, when Cheyenne is started, it searches for a %httpd.cfg file in 
the same directory. If it doesn't find it, it writes down a default 
one. So if your cheyenne binary doesn't have the rights to write 
in its directory, that would the cause of the error.
Graham
12-Oct-2008
[2419x3]
oh no, it's quite a different file name ....
and httpd.cfg is present.
the file was of the form .xxxx.xxxx
Dockimbel
12-Oct-2008
[2422]
Did you checked the rights needed to be able to write that configuration 
file ?
Graham
12-Oct-2008
[2423]
I was sudo ./cheyenne
Dockimbel
12-Oct-2008
[2424]
So that's where you get encapsulation errors ?
Graham
12-Oct-2008
[2425x2]
yes, I think so.
It was 2 days ago and so I switched to using cheyenne.r instead
Dockimbel
12-Oct-2008
[2427]
You can use Gab's workaround for that : write a small shell script 
that run cheyenne and run the script with sudo.
Graham
12-Oct-2008
[2428x2]
I will try ...
Gab says it causes the same problem on all unixes, but on ubuntu 
jeos, i don't get the encapsulation error.
Dockimbel
12-Oct-2008
[2430]
maybe because you're logging as root ?
Gabriele
13-Oct-2008
[2431]
graham, you can also use "screen" if you want to be able to connect 
back and see the output. though, what you really need is just redirecting 
the input and output. rebol your-script.r >/dev/null </dev/null 2>/dev/null 
&
Graham
13-Oct-2008
[2432x3]
Tried again ...

./cheyenne - netstat says port 8001 is being listened, but I don't 
get any output using wget
sudo ./cheyenne - get the encapsulation error as you reported it
sudo rebol 
and then do %cheyenne.r works.
and wrapping it like ch.sh

#!/bin/sh 
./cheyenne &

sudo ./ch.sh

also works
not seeing this request to write a cofiguration file at present
Graham
14-Oct-2008
[2435]
I was installing ubuntu Jeos, and it seems to find the NICs, and 
gets the UTC time etc.  But when it starts up, ifconfig -a only shows 
the local loop adaptor.
And if I try and startup eth0, it says it doesn't exist.
Ideas?
Anton
14-Oct-2008
[2436]
Since Gutsy, the first couple of lines of /etc/iftab


# This file is no longer used and has been automatically replaced.

# See /etc/udev/rules.d/70-persistent-net.rules for more information.


The system for naming / managing eth0 eth1 has changed.  I had to 
mess a file in the path above to get my eth0 back.
Graham
14-Oct-2008
[2437]
oh gawd ...
Robert
14-Oct-2008
[2438x2]
Has anyone some experience with Truecrypt? I would like to fully 
encrypt my Linux system.
But  I don't want to get locked out ;-).
Sunanda
14-Oct-2008
[2440]
My experience of Truecrypt is that the code is excellent quality, 
and it has many well-engineered safeguards to prevent data loss.....But 
I've never used the Linux version, so I cannot vouch for that. Good 
luck!
Kaj
14-Oct-2008
[2441]
Graham, why do you say JeOS finds your NICs? ifconfig not showing 
them would seem to indicate it doesn't
Graham
14-Oct-2008
[2442x2]
well, it says fetching time etc and doesn't say it can't find them
Also if I have two nics, it asks which one I want to use as the primary 
adaptor.