Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Dec 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Stop CGI script from running

    Hello, I have recently encountered a problem while working on something for my web development class.

    We had to make a web page that would allow the user to send emails. We are using CGI scripts in perl in order to handle the HTML forms and send the email.

    However, while I was playing around, I accidentally put the command to send the email inside an infinite loop. Now, I am infinitely receiving emails from myself. My class works off of an Apache server running UNIX. I found the ID for the process running the CGI script, but I do not have permissions to kill it.

    It has been running for an hour now and still not terminated. I have actually deleted the .cgi file I was using from the server, but it continues to run. Can anyone help me?

  • #2
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by quillie View Post
    Hello, I have recently encountered a problem while working on something for my web development class.

    We had to make a web page that would allow the user to send emails. We are using CGI scripts in perl in order to handle the HTML forms and send the email.

    However, while I was playing around, I accidentally put the command to send the email inside an infinite loop. Now, I am infinitely receiving emails from myself. My class works off of an Apache server running UNIX. I found the ID for the process running the CGI script, but I do not have permissions to kill it.

    It has been running for an hour now and still not terminated. I have actually deleted the .cgi file I was using from the server, but it continues to run. Can anyone help me?
    restart apache if you removed the script.

    I guess infinite is not so long as you think,

    best regards


  •  

    Posting Permissions

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