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

World: r3wp

[!Cheyenne] Discussions about the Cheyenne Web Server

Maxim
31-May-2010
[8278x2]
you can use the remote, if the server isn't running ;-)
can = can't
Will
31-May-2010
[8280]
humm... true.. 8-)
Maxim
31-May-2010
[8281]
the usual problem is that when you do a remote login, whenever you 
logout, any application you launched gets killed with the session 
when it quits.
Kaj
1-Jun-2010
[8282]
Cheyenne should just be started by the system's init scripts (or 
whatever equivalent on Windows)
Oldes
1-Jun-2010
[8283]
If you don't want to kill your running apps on session end, use  
"disown" command.
Janko
1-Jun-2010
[8284]
Would it be possible to encap cheyenne with webapp files into single 
exe?
Graham
1-Jun-2010
[8285x2]
daemontools are for keeping things going if stopped, as well as starting 
them.
webapp.exe is on Doc's todo liset
Terry
2-Jun-2010
[8287]
Hey Doc.. I can access a websocket page from the interweb, but the 
socket communcations isn't working at all? However, it works fine 
accessing on the local network? Any ideas?
Oldes
3-Jun-2010
[8288]
Maybe it's some FW issue.
Dockimbel
3-Jun-2010
[8289x5]
Is there a core version of cheyenne for windows that can run as a 
service without issues?

 AFAIK, encaping Cheyenne with enpro should work ok with Windows XP 
 (not sure for Vista/7).
Has anyone created any multi-tenanted applications?
 Could you be more specific?
Has anyone run pmwiki or any of the other php wiki's with Cheyenne?

 Yes, Cheyenne docs wiki is running on pmwiki : http://cheyenne-server.org/wiki
anyone used Bernstein's daemontools to control Cheyenne?

 I think some french reboler did in the past, but not sure it was 
 with Cheyenne, try searching through the french rebol forum.
I can access a websocket page from the interweb, but the socket communcations 
isn't working at all? However, it works fine accessing on the local 
network? Any ideas?

 Is there any HTTP proxy in between? Does it require SSL? Cheyenne 
 current websocket implementation doesn't support HTTPS yet.
Graham
3-Jun-2010
[8294x2]
good to see pmwiki working .... I hadn't realized before when on 
your site that it was a php wiki!
BTW, it looks like your "print" link menu item doesn't do anything.
Terry
3-Jun-2010
[8296x2]
 Is there any HTTP proxy in between? Does it require SSL?
 - No proxy, no ssl.
Seems like a port / FW issue, but not sure why that would be?
Janko
7-Jun-2010
[8298]
can I somehow automatically execute run one file or a pack of code 
before each page load If I am not in webapp? I added do %... to each 
html file now but it's not very elegant.
Graham
8-Jun-2010
[8299x3]
I'm having this issue with the cheyenne binary.
I start it up with sudo under linux and the very first time it works.
I reboot, and then try again, and it just quits ... everytime.

I then use rebol/core and when I do %cheyenne.r it complains it can't 
write the cache efs file.  

I allow it, and then restart the cheyenne binary and then it runs 
okay.
So my question is, does the cheyenne binary need to write the cache 
efs file each time?

What do I need to do to allow Cheyenne to start reliably each time 
...?
Kaj
8-Jun-2010
[8302]
When it doesn't work, are you still starting it under sudo?
Graham
8-Jun-2010
[8303x3]
yes, always so it should have write privs
this is the problem I have after restarting ubuntu
http://screencast.com/t/NDgyYzBlM
going to copy the .cache.efs file to cache.efs and then copy it back 
each time with a shell script to see if that fixes it
Kaj
8-Jun-2010
[8306]
That's odd; with regular Unix file permissions, the only way you 
could not have access as super user is if the file is read-only, 
but cache and log files would be unlikely to be that
Graham
8-Jun-2010
[8307]
I can write the .cache.efs file as sudo in rebol, but no sudo in 
cheyenne.  Bizarre huh?
Kaj
8-Jun-2010
[8308x2]
Are you switching the user account in the Cheyenne config file?
Also, in the screencast you're starting Cheyenne when it is already 
running, so it may be a legitimate fille locking error
Graham
8-Jun-2010
[8310x3]
No and I'm not.
After the first pwd you see that I get a message to say that my process 
was stopped.
I then do a ps aux | grep cheyenne to confirm that it is no longer 
running
Kaj
8-Jun-2010
[8313]
Any harsh protection subsystems running on that Ubuntu besides the 
traditional Unix file security?
Graham
8-Jun-2010
[8314x2]
Nope. This is a new ubuntu default installation.  I am *presuming* 
cheyenne quits because it can't write the .cache.efs file  but don't 
know for sure
running cheyenne in verbose mode doesn't help because it never gets 
to start logging the error
Kaj
8-Jun-2010
[8316]
Ubuntu has had extra security subsystems for several years, though. 
Probably SE-Linux - I'm not very familiar with it
Graham
8-Jun-2010
[8317]
Well, I don't know what is going on but hopefully my saving a copy 
of the .cache.efs file and copying it anew each time the user restarts 
cheyenne will bypass this issue
Henrik
9-Jun-2010
[8318x3]
After rebooting OSX, I'm now getting this error, when trying to start 
cheyenne.r:

make object! [
    code: 303
    type: 'script
    id: 'expect-arg
    arg1: 'context
    arg2: 'blk
    arg3: [block!]
    near: [extension-class: context list]
    where: func [/local list][
        list: extract phases 2 
        forall list [change list to-set-word list/1] 
        repend list [to-set-word 'service none] 
        extension-class: context list
    ]
]
It's an older cheyenne 0.9.17.
found the bug. it seems that cheyenne 0.9.17 cannot run with rebol/core 
2.7.7 due to it's inability to make a context from a hash!.
Kaj
9-Jun-2010
[8321]
I'm running Cheyenne on 2.7.7 now, so I can confirm that new Cheyenne 
versions run there
Henrik
9-Jun-2010
[8322]
this is in fact a bit odd... I've been running cheyenne on this machine 
for about 18 months without modifications and suddenly it would not 
run unless I changed the 'phases hash to a block in httpd.r.
Kaj
9-Jun-2010
[8323x2]
I think HASH has been changed by the R3 Forward contributions
Or doesn't that make sense? It would be MAP, of course
BrianH
10-Jun-2010
[8325]
No R2/Forward changes wold cause that.
Graham
24-Jun-2010
[8326x2]
I found this on multi-tenanting http://msdn.microsoft.com/en-us/library/aa479086.aspx
I adopted the isolated approach with separate DBs for each user, 
and separate webapps for each user .. but I think it's just not efficient.