Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: fmuquartet
  • Content: Threads
  • Order by date
  1. fmuquartet

    Process Archived Files

    Greetings! I have a new requirement for a small shell scrip that I want to convert over to perl as follows: 1)unzip files in the format 'file-`date +%Y%m%d`.zip' into Spool DIR 2)parse each file with a perl script and append prefix ADD on them e.g ADD_file-`date +%Y%m%d`.zip 3) package...
  2. fmuquartet

    SFTP Script

    Greetings! I have revised a simple script for connecting to a remote server and zipping files and then pulling them to a local server, I now need help implement some logic to send notification if files on the remove machine aren't present. ***INFO*** ERROR when there are no files: Archiving...
  3. fmuquartet

    LWP

    Please observer the script below that monitors my remote Apaches. I am having a problem modifying the script for two new authentication mechanism that were put in place. 1) I need to script to specify a proxy server (no userid or passwd required). 2) When prompt for authentication dialog box...
  4. fmuquartet

    Strip Logs

    Greetings: Can someone help me with a little script that will strip LINES from my access logs that have a hyphen '-' in the 3rd position? Example data: 192.168.15.101 - - [02/Jul/2008:10:28:26 -0500] "GET In this case, I want to remove all LINES in my access log that has '-' in the 3rd...
  5. fmuquartet

    Mod_SetEnvIf

    I am having trouble with mod_setenvif removing entries from my access logs, where remote_user is has an hyphen '-'. The idea is to filter out any requests that has '-' where remote_user is stored. Not working: SetEnvIf Remote_User "-" dontlog example of log entry: 192.168.15.101 - -...
  6. fmuquartet

    Log parsing

    Greetings, I am wanting to parse my Apache access logs for and empty string that appears in the same position and remove them from my access logs as they are just noise. example: 192.168.15.101 - - [02/Jul/2008:10:28:26 -0500] "GET In short I am wanting to remove all hyphen in the 3rd position...
  7. fmuquartet

    Recursively Recover Files

    Can someone give me some directions for recursively recovering files and directories within Networker? Our admins familiar with doing this from the GUI and I know there has to be a way. He selects the directories from the GUI for being restored but, not all files and sub-directories are being...
  8. fmuquartet

    ProxyPass

    I have a situation where I have an application that has its own web server that runs on like port 5555. What I am wanting to do is FORCE any one trying to access this service on port 5555 get direct to port 80, where I have ProxyPass in place for proxying the using to application. The problem I...
  9. fmuquartet

    NET::FTP

    I am wanting to retrieve a remote file and store it locally using NET::FTP, but I am getting the error "Cannot open Local file /tmp/file.zip: No such file or directory." Have I missed something? Script: my $ftp_server = 'somehost.com'; my $ftp_userid = 'user'; my $ftp_passwd = 'pass'...
  10. fmuquartet

    Matching Positions in strings

    Can someone help in understanding if it is possible to match a certain position in a string? Meaning, if there is a position in a string as shown below where you want to match what ever the value is for in that field...
  11. fmuquartet

    Regex Match

    Can some help the poor laid with a regex for extracting a number from a certain position in an html file? string to extract:6768743 HTML: <div align="center"><center><table border="1" cellspacing="1" width="70%"><tr> <td width="50%" align="center" valign="middle"><strong>OS X</strong> </td>...
  12. fmuquartet

    Java Exception

    Can someone help me understand what might be happening here? I have a program that is supposed observer thread dumps as taken from a file and generate a report on its findings, the problem is that it is blowing up with the error below: DumpScan: Scan VM output for Full Thread Dumps and Analyze...
  13. fmuquartet

    Apache cronolog

    Has anyone any ideas on how I might be able to revise a perl script to mimic apache cronolog daemon? The current version of cronolog has a bug that is consuming memory resources on our production web farm and need a work around process; that will take the access.log for a 24 hour period and...
  14. fmuquartet

    Apache WIN32

    We have recently upgraded our apaches to 2.2.x and are experiencing a weired problem with cronolog, where it spawns multiple child process and consumes memory on apache server. After a visit to cronolog page, it appears this is a bug and there is not work around in place at the moment and these...
  15. fmuquartet

    Reverse Scripting

    Can some help modify a script that initially initiated on the client as shown below? The idea now, is that I need to run this script on the server for connecting out to the servers, because of new security policies. Script: #!/usr/bin/sh /usr/local/bin/rsync -e ssh -avz --delete...
  16. fmuquartet

    Korne Shell Programming

    Greetings, Is there anyone who is a really good korne programmer that can help modify a korne shell to prompt the user if he/she are sure they want to run a menu selection? Any help is kindly appreciated.
  17. fmuquartet

    Internal Server Error

    I am running apache 2.0.58 on wintel as a Proxy server and have recently observed "Internal Server Error." After reviewing apache error logs I am noticing this error and have no idea what it means: [Fri Mar 09 08:24:51 2007] [error] (OS 80)The file exists. : proxy: creation of temporary file...
  18. fmuquartet

    Rsync Option

    Greetings, At the moment I am wanting to **only** send recent changed files from client machines via 'find /dir*/log -mtime -1-print' which works, but now I am wanting to pipe this output to '/usr/local/bin/rync.' I found something that should work for this, but when running it in a borne shell...

Part and Inventory Search

Back
Top