SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Acces denied

  1. #1
    SitePoint Member
    Join Date
    Apr 2005
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Acces denied

    Hi all

    I've got a problem with my apache web server
    I've allready got it up and running but...
    I'm using my apache webserver in combination with MRTG
    so i've got this perl based cgi file
    I checked the paths that i entered and their all correct
    for what i can see

    I got this error in my apache error log file
    [Tue Apr 05 12:59:56 2005] [error] [client 192.168.3.145] (OS 5)Access is denied. : couldn't create child process: 720005: 14all.cgi
    [Tue Apr 05 12:59:56 2005] [error] [client 192.168.3.145] (OS 5)Access is denied. : couldn't spawn child process: D:/Apache2/cgi-bin/14all.cgi

    what does this mean
    how can i possibly solve this

    Is this a server problem or a cgi file problem

    plzzz need help
    thanks in advantage

  2. #2
    SitePoint Columnist
    Join Date
    Nov 2003
    Location
    Ohio
    Posts
    411
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This sometimes occurs if the shebang at the top of your Perl file is wrong (i.e on Unix it is usually #!/usr/bin/perl but on Windows might be:

    #!D:/Program Files/ActiveState/activeperl/bin/perl

    I am not sure how this works on Windows - but on OS X and Unix I test the Perl script on the command line to insure it is working properly. If so it is usually something wrong in Apache - i.e. Perl not configured properly perhaps...Or a restart of Apache if you fixed Perl but did not yet bounce Apache.
    Freelance System Administrator, Researcher, Writer
    Practical Applications
    Open Sourcery "SitePoint's Open Source Blog"


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •