This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]


> -----Original Message-----
> From: cygwin-owner On Behalf Of Prakash Khemani
> Sent: 22 September 2004 23:30

> Prakash Khemani wrote:

> > I also have apache2 running in my cygwin environment. When I run
> > as a CGI script it is not able to connect to the the smtp 
> server. The
> > Socket connection is failing (as I noticed after putting some error
> > prints in
> > 
> > The apache server is running as SYSTEM user. In the command 
> line I run
> > it with user Khemani's permissions.
> I've seen this before and IIRC it was due to some kind of account
> restrictions imposed on the SYSTEM account in later versions of
> windows.  Get a command prompt as the SYSTEM account and try 
> running the
> script from it -- if it fails that will rule out the whole Apache side
> of things.  To do this google these archives for "sysbash" or just use
> the "now /interactive" command by hand.

> works fine in the sysbash shell.
> Thanks,
> Prakash

  Prakash, what command line did you use to install the apache service?  In
particular, did you use the -i (or --interactive) option?

  Given that the sysbash worked, isn't it quite likely that the apache
process is running as SYSTEM but lacks the interactive token, and it should
work if you uninstall and reinstall it, giving the -i option to cygrunsrv
this time?

Can't think of a witty .sigline today....

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]