Tail and remote log files

I would like to be able to make a tail -f error.log of my remote httpd server. I said I would like because it doesn't work, it tails, but the tail is not refreshed.
I did the following:
- I went on Server Admin and change the Apache log directory to /Groups/Logs/httpd
- I Shared this dir
- I went on my remote machine, log onto the share dir and try from the console to tail -f /Volumes/...../error.log
- The same tail command is refreshed locally on the server itself but never on the remote machine even if I CTRL C the command and retype it.
Any ideas arround?
Thierry

one way to do this is to tail the log via ssh. if you don't want to ssh in, then tail the log, you can do it in one step:
ssh [email protected] 'tail -f /var/log/httpd/access_log'
i don't recommend sharing the logs directory via AFP to do this, especially if you just have the AFP ports open to the whole world.
alternatively, you could configure a syslog server somewhere and direct apache to log to it. i'm not that familiar with doing this, so you'll have to do some homework first.
also, be sure when you say the "tail is not refreshed" that you're not just experiencing the log rollover that happens every day.

Similar Messages

  • Best RAID configuration for storing Datafiles and Redo log files

    Database version:10gR2
    OS version: Solaris
    Whis is the best RAID level for storing Datafiles and Redo log files?

    Oracle recommends SAME - Stripe And Mirror Everything.
    In the RAC Starter Kit documentation, they specifically recommend not using RAID5 for things like voting disk and so on.
    SAN vendors otoh claims that their RAID5 implementations are as fast as RAID10. They do have these massive memory caches...
    But I would rather err on the safer side. I usually insist on RAID10 - and for those databases that I do not have a vested interest in (other than as a DBA), and owners, developers and management accept RAID5, I put the lead pipe away and do not insist on having it my way. :-)

  • Ttcwerrors.log and ttcwmesg.log file locations

    Is there an option we can set in the ttcrsagent.options file to change the location of the ttcwerrors.log and ttcwmesg.log files?
    We can change the location of the daemon user and error log files by setting the -supportlog and -userlog options in ttendaemon.options, so we were hoping we could do the same in ttcrsagent.options.
    Thanks,
    -Jules

    Unfortunately, no. The ttcw log file location is not configurable
    Simon

  • Managing and configuring log files for Oracle 9ias

    Hi all,
    I'm wondering where I can find documentation on managing and configuring log files like:
    ORACLE_HOME/admin/ sid/*dump/* ORACLE_HOME/assistants/opca/install.log ORACLE_HOME/webcache/logs/*
    ORACLE_HOME/dcm/logs/*
    ORACLE_HOME/ldap/log/*
    ORACLE_HOME/opmn/logs/*
    ORACLE_HOME/sysman/log/*
    ORACLE_HOME/j2ee/ OC4J_instance/log/*/* ORACLE_HOME/config/schemaload.log ORACLE_HOME/config/useinfratool.log
    because I didn't find anything in document like:
    Oracle9 i Application Server
    Administrator�s Guide
    Release 2 (9.0.2)
    May 2002
    Part No. A92171-02
    So, if anyone has any idea...
    Thanks in advance

    Does anyone know how or if it is possible to send the stdout and/or stderr to the log4j type of logging? I already capture the stdout and stderr to the flat file. But I would like to timestamp every line to compare and diagnose problems with each application that encounters problems. Each web app is using log4j to their own application log4j log file. When they encounter errors or resource draining problems, I would like to see the container logs and see what was occuring inside the container at around that same time.
    Any ideas?

  • Where can I find Installer and uninstaller log files in JSE 6?

    Where can I find Installer and uninstaller log files in JSE 6?

    For the installer log file, search for Sun_Java_Studio_Enterprise_6_2004Q1_install, or some portion of that.
    To find Java ES component product log files, search on Sun_ONE.
    You can also search for the timestamp that is part of each log file name. It is of the format MMddhhmm (Month/day/hour/minute)
    Refer also to the Troubleshooting chapter of the Installation Guide for additional details on reports and log files used by Java SE

  • Changing names of datafiles, tempfiles and redo log files

    DB version:10g Release 2
    Can i use
    ALTER DATABASE RENAME FILE ...command to rename datafiles, tempfiles and redo log files?

    ScottsTiger wrote:
    DB version:10g Release 2
    Can i use
    ALTER DATABASE RENAME FILE ...command to rename datafiles, tempfiles and redo log files?Why not check the Fine Manual found at tahiti.oracle.com?
    Please note that when you use this command, you are doing nothing to the actual files on the OS. You are simply changing the db's knowledge of them, as stored in the control file.

  • Tailing a remote growing file with WebNFS?

    I'm trying to monitor an actively growing log file via NFS using WebNFS 1_2 using readline() on a BufferedReader, wrapped round an InputStreamReader, wrapped round a XFileInputStream. Essentially I'm trying to implement a "remote tail -f" in Java. The JDK is 1.5.0_03.
    All works well... until I get close to EOF. Then I get the following stacktrace:-
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 2059
         at com.sun.nfs.Nfs.read(Nfs.java:280)
         at com.sun.nfs.XFileAccessor.read(XFileAccessor.java:319)
         at com.sun.xfile.XFileInputStream.XFAread(XFileInputStream.java:92)
         at com.sun.xfile.XFileInputStream.read(XFileInputStream.java:146)
         at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:411)
         at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453)
         at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183)
         at java.io.InputStreamReader.read(InputStreamReader.java:167)
         at java.io.BufferedReader.fill(BufferedReader.java:136)
         at java.io.BufferedReader.readLine(BufferedReader.java:299)
         at java.io.BufferedReader.readLine(BufferedReader.java:362)
         at NfsFile.main(NfsFile.java:131)It doesn't seem to make any difference if I set the buffer size in the BufferedReader or not. It doesn't seem to make any difference if I explicitly set the character encoding in the InputStreamReader or not. The number after the ArrayIndexOutOfBoundsException changes each run.
    The client system is Windows XP Pro, the NFS service is on Solaris 5.8.
    Has anyone else encountered something like this?
    Doesn't this sound like a (Sun, Java) bug?

    How about the following?
         import java.io.InputStream;
         import java.net.URL;
         import javax.xml.parsers.DocumentBuilder;
         import javax.xml.parsers.DocumentBuilderFactory;
         import org.w3c.dom.Document;
         public static void main(String[] args) throws Exception {
              DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
              DocumentBuilder db = dbf.newDocumentBuilder();
              URL url = new URL("http://foo.com/file.xml");
              InputStream inputStream = url.openStream();
              Document document = db.parse(inputStream);
              inputStream.close();
         }-Blaise

  • CFMX7 cfserver.log and exception.log files on Linux

    Is there any way to make these log files CF Admin viewer
    friendly in Linux? The CF Admin log viewer doesn't have any sorting
    or filtering capabilities for these files and they start at the
    beginning of the log file. So it'll show me for example, 1 - 40 of
    54376 and I have to hit next, next, next, next, etc... to see the
    most recent activity. There's no last page button, which makes it
    impossible to use. I know I can cat the dang thing to the screen or
    use another linux utility but shouldn't this work in the CF Admin?
    Anyone have a tweak that does this? I'm sure there's an xml
    file somewhere I can change < log-usability
    logfile="exception.log" value="unusable" /> to <
    log-usability logfile="exception.log" value="admin-friendly" />.
    Thanks in advance.

    Is there any way to make these log files CF Admin viewer
    friendly in Linux? The CF Admin log viewer doesn't have any sorting
    or filtering capabilities for these files and they start at the
    beginning of the log file. So it'll show me for example, 1 - 40 of
    54376 and I have to hit next, next, next, next, etc... to see the
    most recent activity. There's no last page button, which makes it
    impossible to use. I know I can cat the dang thing to the screen or
    use another linux utility but shouldn't this work in the CF Admin?
    Anyone have a tweak that does this? I'm sure there's an xml
    file somewhere I can change < log-usability
    logfile="exception.log" value="unusable" /> to <
    log-usability logfile="exception.log" value="admin-friendly" />.
    Thanks in advance.

  • Getting script to write output to console and a log file

    Hello everyone. I'm working on a script that will search through a bunch of folders, pull anything larger than 50Kb out and then write a log file of what it moved. What I have so far is what I've pieced together through my research. It works, but it doesn't
    write anything to the console which I believe is why my log isn't showing any info.
    Here's the code:
    get-ChildItem -path $path -recurse -ErrorAction "SilentlyContinue" -include $Extension | ? {$_.GetType().Name -eq "FileInfo" } | where-Object {$_.Length -gt $size} | Copy-Item -Destination c:\test|results_big | Out=File c:\test\log.txt
    What I've been trying to do is add a | write-host in there somewhere, but all I get is countless red text with a variety of messages reminding me of my ignorance :). Thoughts?

    Hi Scotty,
    here's an edit:
    Get-ChildItem -path $path -recurse -ErrorAction "SilentlyContinue" -include $Extension | Where-Object { (-not $_.PSIsContainer) -and ($_.Length -gt $size)} | Copy-Item -Destination "c:\test_results_big" -PassThru | Out-File "c:\test\log.txt"
    Soo, what did I change?
    - Replaced checking for item type I checked the PSIsContainer property (which is true for folders)
    - Combined the two Where-Object calls into a single one
    - Fixed the path for copy-item destination
    - Added the -PassThru parameter - otherwise Copy-Item won't give output causing you to export nothing to file.
    - Fixed a typo - Out=File --> Out-File
    Cheers,
    Fred
    There's no place like 127.0.0.1

  • Incosistencies between Analyzer Server Console and stout.log file

    Hi,<BR><BR>In stout.log file of application server file there is a record:<BR>"Setting Current User Count To: 2 Users. Maximum Concurrent Licensed User Count Is: 10 Users." So 2 licences are ured, but checking "Analyer Server Console" there is only one user connected.<BR><BR>After restarting computer "Analyzer Server Console" and stout.log number of users are sinhronized. But I don't know what happens, but after some time this two parameters are not sinhronized anymore.<BR><BR>My problem: I have to show the number of user licences used and I am reading info rom stout.log. But something is not correct - it looks like stout.log doesn't show correct values?<BR><BR>Do I need to specify some setting or is there a bug in code?<BR><BR><BR>My system:<BR>Hyperion Analytic Server version 7.1.0<BR>Hyperion Analyzer Server version 7.0.1.8.01830<BR>IBM DB2 Workgroup Edition version 8 fixpack 9<BR>Tomcat version 4<BR>Windows 2003 Server

    Hi grofaty.<BR><BR>We use 7.0.0.0.01472 and I had experienced the same behaviour, <BR>Analyzer Server Console shows one more session than stdout.log.<BR><BR>If this difference 1 is a static value than you can assume it as an systematic bug...and do your license counting on it...<BR><BR>But again the Analyzer Server Console is not good as it should be for productive usage because all the information is only logged online til the next application restart. E.g. it is not helpful in using it for user tracking purposes. Do you use the stdout.log in such a way or have an idea how to grep measures for session logging analysis:<BR> - Session ID <BR> - User ID<BR> - Client ID <BR> - Total Number of Requests <BR> - Average Response (sec) <BR> - Login Time<BR> - Number of concurrent sessions<BR><BR>?

  • How open and see Log File in Active Directory

    Hello Friends..   ^-^
    how i can open log files active directory and see this data files ?
    Can export this logs ?
    thanks for help.

    And adds a definition of edbxxxxx.log for completeness:
    These are auxiliary transaction logs used to store changes if the main Edb.log file
    gets full before it can be flushed toNtds.dit.
    The xxxxx stands for a sequential number in hex. When the Edb.log file
    fills up, an Edbtemp.log file
    is opened. The original Edb.log file
    is renamed to Edb00001.log, and Edbtemp.log is
    renamed to Edb.log file,
    and the process starts over again. Excess log files are deleted after they have been committed. You may see more than one Edbxxxxx.log file
    if a busy domain controller has many updates pending.
    Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable. This helps the community, keeps the forums tidy, and recognises useful contributions. Thank you!

  • Database in log archive mode and redo log file in mode not archive

    Hello,
    I have a dabatabase running in archive log mode, recently changed, I have 5 redo log groups and one of them (the current one) shows in the v$log view, that ARC: NO, I mean, no archiving. All redo logs except it shows ARC:Yes
    What does it mean?
    Am I going to have problems with this redo log file?
    Thanks

    If you do describe on v$log, you'll find that the full column name is Archived (meaning is it archived yet?).
    You could try alter system switch logfile and then check v$log again a few times after.
    Use the docu for finding out more about v$ views and so on
    http://www.oracle.com/pls/db102/print_hit_summary?search_string=v%24log

  • LION screen sharing and remote log in issues

    Hi,
    In Snow Leopard I could access my iMac screen from my macbook and have the iMac restart and allow me to log in and continue to use the iMac.
    In Lion I cannot access the log in screen remotely after a restart.
    I need to go to the iMac and actually log into it with the keyboard before it will show up again on the network.
    I tried to adjust the sharing preferences but nothing is allowing me to manage the iMac and restart it from a different machine.
    Once I am logged in the screen sharing works fine. It's the log in issue that is not working for me.
    thanks for any help in advance,
    christos

    i have not been able to get screen sharing to work at all, which has never been a problem for me. i'm registered as an authorized user on both computers, the passwords are correct, but it keeps telling me that the username/passwords don't work. and this is after the computers have already been "connected" using the exact same passwords and user name.

  • RAID for control and red log files

    I'm considering one of these two configurations
    Option 1:
    2 disks kept as separate disks (not using RAID), storing control01.ctl, redo log group 1 on first disk, and storing control02.ctl, and redo log group 2 on second disk.
    Option 2:
    2 disks configured as a RAID 1+0 volume (mirroring and striping) holding control01.ctl and a redo log group.
    (Data files and third control file are elsewhere on the disk array.)
    With option 1, I have the option of dropping a control file and dropping a redo log group if a disk fails and then continuing processing. But with option 2, if the RAID array fails, I'm sunk.
    I'm thinking option 1 is better. What do others think? And why?
    Thanks in advance,
    Chris Curzon

    Your Raid option has the following advantage: since it mirrors things, a person can [accidently or maliciously] simultaneously remove all control files and redo logs with a single remove command, effectively crashing the database into near unrecoverability.
    Option 1 would have the disadvantage - for the person identified above - in that they would need two separate commands to ruin the system.
    But, with simple mirroring, between the first and second command, the system would have halted and hopefully alerted someone that a weird but recoverable thing is happening. And the DBA would be able to get going simply by copying the mirrored file to the other, removed, location.
    Message was edited by: Hans Forbrich
    To make it clear - the advantage is NOT on the DBA's side ...

  • Filestream to append remote log file

    Hi. I'm new to using Air and I need help.
    What I am wanting to do is create a simple app that has a button on it, clicking that button appends a file and adds a value of one to it. Very simple. I am able to do this locally, but what I  ultimately want to do is have the button (on an android device) append to a remote text file (on a private server). As far as I'm aware this opens up a whole can of worms with what can and can't be done in terms of writing or appending to files. I think it's possible to do this using filestream. However I've not manage to find any example to help me do this. Can anyone shed some light on this. Thank you.

    No. The file system APIs can only write to a local file.

Maybe you are looking for

  • Image should work as hyper link in smartform

    Hi, I am able to convert smartform with images in to HTML format and able to send as e-mail using the program similar to SF_XSF_DEMO_MAIL. As soon as the user receives e-mail, he should able to click on images and should redirect to other webpage. (I

  • Artwork Button Grayed-Out

    I have some MP3s of an unknown sample rate and different bit depths. I would like to add artwork to these files, but iTunes has the artwork button grayed-out. I can convert the MP3s to AAC, but the quality will suffer, and I don't have the original u

  • Audio Editing

    How can you edit an audio tracks volume within xpress? I see the edit line however I can't seem to find were to mark the line to drag it down for a fade out, the line will only move in its entirety. I can perform this function in Garage Band but it s

  • Icloud for windows vista. i need to download it after a reinstallation. Where find it ?

    i need to reinstall icloud control panel on my windows vista pc. Where to find the correct download link ???? thanks.

  • How to know the Cluster name for Hyperion Planning Application

    Hi, We have 2 Hyperion planning clusters in our Planning environment. As per new requirement, we need to make the copy the existing planning application. We are not able to get the defined cluster information for existing planning application. Please