Displaying 20 results from an estimated 1100 matches similar to: "Some Rails-Lighttpd questions"
2013 Feb 12
1
[SC] EnumQueryServicesStatus:OpenService FAILED 123
*Hi guys!*
*
*
*I''m trying to perform a service creation using SC and if this service is
already created, using an "unless" we can avoid it. *
*Sound very simple, but for any reason, when instructions are called by
puppet they are not working instead you call directly, same instructions,
using DOS, where works sweet.*
*
*
*Here is part of the code:*
$cmd =
2006 Jan 23
8
OT: Problem rotating logs with lighttpd
Hi everybody,
this is a little OT. We are using Lighttpd as a webserver for Rails.
Our problem is that when we rotate the logs everyday at the end of the
process, lighttpd stops writing the logs. To solve this we have to
restart the server manually each time.
We use a common Debian, lighttpd-1.4.7, Rails 1.0 and fcgi-2.4.0.
I have tracked the lighttpd bugs, and I haven''t found
2005 May 06
7
Rails hosting per user
I''m trying to set up shared rails websites, so every user has its own
public_html for rails scripts.
I''m not really satisfied with the fastcgi approach (cgi scripts can
sometimes be nasty security problems) so I''d like to try the another
approach. (If someone knows a good tutorial on installing rails on FreeBSD
including the fastcgi configuration that would be nice).
2006 May 01
5
Why Does Ruby on Debian Blow? (Was: Mongrel 3.15,
I had no problems.
It pretty much boils down to three steps:
1) Install Ruby via deb.
2) Install ruby gems using the instructions for installing ruby gems.
3) Install rails and everything else via gems.
browse the following write-up:
http://brainspl.at/rails_stack.html
Follow the instructions for installing the Ruby deb, and a few others.
(You can do it all in one line)
Then follow the
2005 Mar 04
24
Rails speed?
Hi --
(First time posting to the list...)
I''m trying out Rails on my Mac (OS X Panther, 1.6 G5). It seems...
kinda slow? I''ve even run it with FastCGI and the response time is
still painfully slow.
Is this just me? Is mod_ruby any better than FastCGI? Or is it rails?
Thanks in advance!
-- joshua
2007 Mar 30
2
Replacing slot of S4 class in method of S4 class?
Dear all,
Assume that I have an S4 class "MyClass" with a slot "myname", which
is initialized to: myname="" in method("initialize"):
myclass <- new("MyClass", myname="")
Assume that class "MyClass" has a method "mymethod":
"mymethod.MyClass" <-
function(object, myname=character(0), ...) {
2012 Mar 10
3
function input as variable name (deparse/quote/paste) ??
Hi all
Say I have a function:
myname=function(dat,x=5,y=6){
res<<-x+y-dat
}
for various input such as
myname(dat1)
myname(dat2)
myname(dat3)
myname(dat4)
myname(dat5)
how should I modify the 'res' line, to have new informative variable name
correspondingly, such as
dat1.res
dat2.res
dat3.res
dat4.res
dat5.res
stored in the workspace.
This is only an example of a complex
2015 Jul 18
2
How to ssh to a server via an intermediate server with X11 forwarding?
On Sun, Jul 5, 2015 at 3:26 AM, Damien Miller <djm at mindrot.org> wrote:
> On Sat, 4 Jul 2015, Peng Yu wrote:
>
>> I tried the following command.
>>
>> ssh -Y -t intermediate -- ssh -Y dest
>>
>> But it shows the following error message. Does anybody know how to fix
>> the problem? Thanks.
>
> ssh -oProxyCommand="ssh -W %h:%p
2004 Apr 21
2
help with smbmount and permissions
ok, on my windows machine, i see:
myname on 'computer01\home' (H:)
so i went to my linux box and did:
smbclient -L //computer01 -U myname
and i see Home listed as a sharename (why does windows show it as "home" but its really "Home" as reported by smbclient?).
well everything works fine if i mount it like this:
smbmount //computer01/Home /mnt/computer01/Home -o
2004 Sep 08
3
sendmail&hostname
Good day all
I'm just wondering for interest sake
I have a box,hostname=myname.co.za,running sendmail
If I send mail to someuser@myname.co.za it try to deliver to the box,witch
does not have the mail box.How do I tell sendmail that it should send mail to
myname.co.za's mailserver.
I know how easy it is to change the name but there's a lot of reasons why we
can.It is not in the
2007 Nov 28
3
using names with functions..
Dear all,
I have the following (rather) strange problem..
For some reasons, I finally work with a variable whose name includes an
R function, "a.log(z)", say. And that is a problem when I call it in a
formula, for instance:
> myname<-"a.log(z)"
> dd<-data.frame("a.log(z)"=1:10,y=rnorm(10))
> o<-lm(y~1,data=dd)
>
2003 Oct 23
3
List of lm objects
Hi R-Helpers:
I?m trying to fit the same linear model to a bunch of variables in a data
frame, so I was trying to adapt the codes John Fox, Spencer Graves and Peter
Dalgaard proposed and discused yesterday on this e-mail list:
for (y in df[, 3:5]) {
mod = lm(y ~ Trt*Dose, data = x, contrasts = list(Trt =
contr.sum, Dose = contr.sum))
Anova(mod, type = "III")
} ## by John Fox
or
for
2002 Jan 18
1
scp between two remote hosts
Hi All,
I am running openssh (OpenSSH_2.9p1, SSH protocols 1.5/2.0). The scenario
is that I have got three machines (A, B and C). The sshd on host A is
listensing on port 1234, and the sshd on host B is listensing on port 5678.
How can I set up a scp from a third host C so as to copy a file from host A
to host B?
scp -P 1234 myname at A:/var/tmp/file1 -P 5678 myname at B:/var/tmp/file1
does
2020 Oct 13
2
Are those file and folder ACLs to be expected?
Hello.
I've got a working SAMBA AD server. I'm able to join both Linux (winbind)
and Windows clients. I have also joined an NAS that hosts some
shares/folders to be used by multiple machines (Linux and Windows 10). On
my Linux host I'm accessing the NAS via NFS mount, while on my Windows
machine obviously I'm using SMB.
I'm using the ad ID mapping backend with uId and gId that
2005 Apr 15
3
IBM BladeCenter HS20 blades
Greetings,
We have purchased an IBM BladeCenter and I am in the process of testing
Linux installation on these things (boot off SAN i.e. qla2300 driver,
not using internal drives). My distro of choice is Debian, however,
since I'm really not interested in trying to hand compile all the
drivers, I decided to try CentOS (which I'm so far very impressed with).
On boot, as with the
2014 Dec 17
4
IDMAP_NSS on member server
I have two Samba 3.6.24 domain controllers (Solaris 10.) On all
machines unix accounts and groups are in the LDAP as well as idmap
entries for trusted domains. Samba accounts on domain controllers are
in LDAP so there is problem with consistency unix/windows id and group
mapping on the domain controllers. The domain controllers are the
main file servers as well.
I am configuring a
2007 Mar 04
1
Problem using callNextMethod() in S4
Dear all,
Maybe, I am doing something wrong, but using R-2.5.0 on my Intel-Mac, I
have problems
using function callNextMethod() in method initialize.
I am loading the following code as file "testS4.R":
setClass("baseClass",
representation(myname = "character",
mydir = "character",
"VIRTUAL"),
2010 Mar 12
1
problem with parse(text=quote(name))
Calling parse(text=quote(name)) or text=as.name("name")
makes parse() prompt for input from the command line
and then it returns a parse of the initial characters
of 'name' (depending on how many characters were typed
at the prompt). E.g.,
> parse(text=quote(myName))
?1/3
expression(myN)
attr(,"srcfile")
<text>
>
2010 Dec 02
1
Have inbox at the same place
Hello again,
I have an installation with dovecot and I am accessing it through
linux mint and thunderbird v3.0.10
As thunderbird "subscribes" to dovecot, it does the following :
Inbox
Trash
MyName at Mydomain.gr
Local Folders
Local Folders
MyName at Mydomain.gr
subfolder A
Subfolder B
Subfolder C
Subfolder D
Subfolder E
Local Folders
Outbox
OK, I have to admit a have
2012 Apr 30
2
Calendar Integration Problem
Hiii all,
I am using asterisk 1.8.9.2 and compile all modules related to calendar.
neon version is 0.29.6. OS is ubuntu 11.10.
I configured ical for zimbra, caldav for google mail and ews for exchange
2010 calendar.
ical and caldav setup working fine and i am getting my calendar events
perfectly. But for exchange 2010 calendar i am getting following error.
"Unable to communicate with