Re: [users@httpd] Starting Apache2 on Win2k as another user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



filemon showed that apache.exe was for some reason trying to access "E:\", I gave the user permission to read that drive and it works now. It already had read and execute for the entire apache root directory, and write in addition for the logs... I'm going to try and take away as much permissions as I can without breaking it again, because that is the way I am.

I wonder if apache assumes that any random user can read whatever drive it is installed on (that could make sense, on Windows anyone in the "Users" group can read the hard drives as long as the administrator doesn't start screwing with pre-defined permissions)?

Anyway, thanks for the tip.



ed elliott wrote:
I would get filemon from sysinternals site and use to see which "Access Denied" error messages you get for that user and then give them rights to access them.

*/Boyle Owen <Owen.Boyle@xxxxxxx>/* wrote:

     > -----Original Message-----
     > From: Stephen Cook [mailto:sclists@xxxxxxxxx]
     > Sent: Donnerstag, 14. Juli 2005 12:56
     > To: apache list
     > Subject: [users@httpd] Starting Apache2 on Win2k as another user
     >
     >
     > I am trying to get Apache2 (v2.0.54) to run as a service on
     > Windows 2000
     > as a specific user ("apacheuser", original name huh?), which only
    has
     > rights to read and execute on Apache2 root directory, and
     > full access to
     > the logs directory.
     >
     > When I start the service as local user (when I am logged in
     > as admin) it
     > works fine, but when I change the service to log on as
     > "apacheuser" it
     > doesn't start. There is a message in the Event Viewer that says "The
     > Apache2 service terminated with service-specific error 1."
     > and anothe r
     > message that says "The Apache service named reported the following
     > error: Apache.exe: could not open document config file
     > bin/conf/httpd.conf . "

    Are you sure that's a windows path name? Doesn't win32 usually use
    paths like C:\Program Files\Apache and so on?

    Alternatively, it could be that the bit of the path you don't see is
    user-defined and it works as admin because admin has a
    bin/conf/httpd.conf but apacheuser doesn't..

    However, I'm no windows guru...

    Rgds,
    Owen Boyle
    Disclaimer: Any disclaimer attached to this message may be ignored.

     >
     > This is from the standard Windows Installer install for
     > version 2.0.54,
     > I have no idea why it would look for the configuration file in
     > "bin/conf/" instead of just "conf/" (and copying the conf
     > directory into
     > bin doesn't help at all, so I wonder if that is the real problem).
     >
     > Doesn anyone have any id ea what could be wrong? Is there some other
     > information you'd need?
     >
     > Thanks in advance for any advice.
     >
     > -- Stephen
     >
     > ---------------------------------------------------------------------
     > The official User-To-User support forum of the Apache HTTP
     > Server Project.
     > See for more info.
     > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
     > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
     > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
     >
     >
    Diese E-mail ist eine private und persönliche Kommunikation. Sie hat
    keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe.
    This e-mail is of a private and personal nature. It is not related
    to the exchange or business activities of the SWX Group. Le présent
    e-mail est un message privé et personnel, sans rapport avec
    l'activité boursière du Groupe SWX.


    This message is for the named person's use only. It may contain
    confidential, proprietary or legally privileged information. No
    confidentiality or privilege is waived or lost by any
    mistransmission. If you receive this message in error, please notify
    the sender urgently and then immediately delete the message and any
    copies of it from your system. Please also immediately destroy any
    hardcopies of the message. You must not, directly or indirectly,
    use, disclose, distribute, print, or copy any part of this message
    if you are not the intended recipient. The sender's company reserves
    the right to monitor all e-mail communications through their
    networks. Any views expressed in this message are those of the
    individual sender, except where the message states otherwise and the
    sender is authorised to state them to be the views of the sender's
    company.

    ---------------------------------------------------------------------
    The official User-To-User support for um of the Apache HTTP Server
    Project.
    See for more info.
    To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
    " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
    For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

------------------------------------------------------------------------
How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos. *Get Yahoo! Photos* <http://us.rd.yahoo.com/mail/uk/taglines/default/photos/*http://uk.photos.yahoo.com/>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux