1
vote
0answers
3 views

Access denied error with svlogd

I've setup a debian wheezy server and I'm using runit to keep my services humming along. I've also configured svlogd, but that's where I'm getting problems. When the services start I run "ps aux" and ...
0
votes
1answer
25 views

Wireless Card Dumping Lots of Log Messages (13GiB+ over a few hours)

My USB wifi adapter (TL-WN822N running on Fedora 20 with the ath9k_htc adapter) seems to be working fine but is dumping similar debugging messages multiple times per second. The messages are so large ...
0
votes
1answer
39 views

logrotate unable to rotate logs, getting “No such file error”

logrotate is unable to rotate my logs. I have checked the file permissions, they are fine. I have even tried by putting "su root root" in the configuration file, still I am facing the same issue. ...
0
votes
1answer
12 views

LogRotate Custom Script Logs Breaks Script?

I have a daemon script I made that always runs in the background. It's setup to pipe stdout and stderr to some log files as such: python27 etl_daemon.py 1>>/var/log/etl/etl_stdout.log ...
0
votes
1answer
26 views

Capture output from quickly rotating log

I am dealing with a misbehaving third-party program, the vendor of which seems happy to help if I can provide them with the debug log. They told me how to turn debug logging on and off, however ...
1
vote
4answers
38 views

Check which string occurs first in a growing file

I'm running a remote executable which produces a logfile. I want to write a script to check whether the executable is run successfully or encounters an error. The way I can do this is by looking at ...
0
votes
1answer
23 views

Limiting messages in Centos log file

I have a Centos 6.4 server. I wish to view httpd and PHP errors in /var/log/messages. The log shows a bunch of kernel messages which I don't want to view. How can I either configure syslog to not ...
0
votes
1answer
21 views

Is a Logging Facility similar to types of Windows Logs?

I'm learning about Linux (Debian/CentOS) for my Jr. System Administrator position. In my current module, it's going over Logging, and Logging facilities to be exact. I'm trying to get a grasp on what ...
1
vote
2answers
73 views

Start Linux process/script via web interface

I have a bunch of Java programs/shellscripts that needs to be manually started every now and then (mostly in the mornings), and stopped every evening (same there). I would like a possibility to start ...
1
vote
1answer
41 views

sFTP process ids explained?

Could someone explain to me the process that sftp makes when creating a connection and transferring data, on a control/data level? I know the basics about the ssh authentication and such, but for ...
0
votes
1answer
208 views

Cant install Half-life 2 on Ubuntu 14.04

Today I tried to install Half-Life 2 on linux but errors occured. This is error log: This system supports the OpenGL extension GL_EXT_framebuffer_object. This system supports the OpenGL extension ...
0
votes
1answer
84 views

Piping tail -f into awk

Greeting, I am trying to pipe tail -f into awk to monitor a logfile in realtime, but according to examples, there should be not problem but I can't get it to work. here is the command I'm running ...
0
votes
3answers
66 views

Grep for block surrounding an error message

I want to grep for the block of logs around a particular error message. Say I know my log looks like this: [----] I, [2014-04-10T19:12:36.294512 #1910:e93004] INFO -- : Started GET "/ems_infra/new" ...
-1
votes
2answers
49 views

How to read a 51gb log file?

Well, it seems something went horrible wrong and now I do have a log file with a size larger than 51gb. Are there any (linux) tools that can read/open files of that size? I want to read the log file. ...
0
votes
1answer
148 views

Setting up an IRC server with persistent chat history and timestamps on Raspbian?

I have bought a Raspberry Pi which I intend to use as a 24/7 IRC server, probably using IRCD-Hybrid. Ideally, this server would have a persistent chat history (where new people joining the channel(s?) ...
1
vote
0answers
21 views

Linux SNMP logger software

I have an application running on an old version of Linux using snmpwalk to read data from an instrument. I am experiencing some problems with this instrument. Every once in a while I seem to get a ...
0
votes
1answer
20 views

Logcheck: Any Shortcuts to Squelching The Spew?

I have logcheck running on my server, and it constantly e-mails me reams of warnings. I go through and manually add the regular expressions, but it's getting tiresome quickly, and worse: I'm starting ...
0
votes
0answers
43 views

rsyslog.conf only partly honored

I followed this description on how to enable audit for Samba (entry of Aug 10, 2009) and wanted to get all additionally enabled logging in a special log file (/var/log/samba/log.audit). The mentioned ...
1
vote
0answers
62 views

Is there a tool like `cronolog` or `rotatelogs`, but also with compression and removal like in `logrotate`?

I want simple piped logging without config files or system-wide rules for periodic command execution. Are there any projects that allows to do that? Expecting something like this: ...
2
votes
1answer
108 views

How can I log all my command-line activity?

I just had a Heisenbug that completely disappeared on me. I'm convinced that something funny must have happened when I compiled my program several days or a week ago. But sadly, my Windows (MINGW) ...
3
votes
2answers
155 views

Why will dmesg have message from user space?

you can use dmesg -u to see log from userspace. In my case, I have log from systemd and lvm. Why is this happening, why userspace program can print to kernel buffer ring?
0
votes
2answers
184 views

Logrotate says “log needs rotating” and then does nothing

I have the following logrotate configuration, and a 2 GB /var/log/messages: /var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron /var/log/network { ...
0
votes
0answers
75 views

What is the function of the cimserver daemon?

I noticed in /var/log/messsages a process 'cimserver' was logging some interesting messages: Nov 27 15:33:37 lb-web-standby cimserver[2250]: Failed to deliver an indication: Cannot connect to ...
0
votes
1answer
178 views

How to make logkeys work over SSH?

i'd like to use logkeys to log keystrokes on an SSH'able Linux box. Logkeys intercepts a Device, can this be used for SSH access? Does an SSH session use a Device? or does SSH bypass this level of ...
0
votes
0answers
121 views

How can I log shutdown messages?

I'm trying to log the shutdown messages in my linux, I see "Asking all remaining processes to terminate..." and then there is a big delay, and then there is some other chatter and log messages which ...
1
vote
2answers
96 views

Temperature log with acpi -t

I had system freezes with my HP Pavilion when using Linux (at the moment I use Debian, Ubuntu showed the same behavior). HP support forum suggests that the error is related to temperature control. So ...
0
votes
1answer
35 views

File is taking up a lot of space on server

I have this file on my Ubuntu server, and it is 12GB in file size. I don't know what that file is, and would like to know, would be safe to to delete or truncate the file? Here is the file ...
2
votes
3answers
508 views

Logging lock-screen events

Problem See the exact date & time a user locks and unlocks his work station - running Fedora 18. Question Is there any way to log an event of a user entering and exiting "lock-screen" on fedora ...
0
votes
1answer
428 views

Where are logs of MySQL ? Fedora

Hello I just installed MySQL on my Fedora from Source, with cmake,make,make install etc. It's working, but where can I find logs of the server? I have looked into /var/log, but there is nothing with ...
0
votes
0answers
51 views

Can't Parsing Log Linux File Today

I'd like to monitor my linux logs and pull information from the logs to process the files that activities of the workers I do, in my company. #!/bin/bash #if [[ -z "$1" ]]; then # echo ...
1
vote
0answers
112 views

Plotting timedata in gnuplot

I have a log file (auth.log) where non-relevant lines has been removed. I wish to aggregate lines per hour/day into the plot, meaning that each line that is within the same hour or day is aggregated ...
0
votes
1answer
190 views

Logrotate append to existing file and truncate original

Is it possible with logrotate to take the content of a log and add it to an existing file? Like so: 1. Put the content of /var/log/vnc.log after the content of /archive/logs/vnc.log 2. Truncate ...
1
vote
0answers
23 views

Old gdb cannot find out how to do logging

I'm running an obsolete Red Hat OS and debugging with the built-in gdb but I cannot figure out how to do logging. I've tried: set logging on But get: No symbol "logging" in current context It ...
1
vote
1answer
252 views

ubuntu upstart permission error when writing to log on a non admin user

I have a simple upstart script: start on started network-services respawn respawn limit 100 5 setuid www-data exec node /var/testapp/app.js >> /var/log/testapp.log 2>&1 post-start ...
3
votes
2answers
3k views

Rsyslog outputting to custom log file

Can anyone tell me what I did wrong here? Here is the ultimate question: Why when I use the logger command can I not get it to output to a custom log file in /var/log? In my script: logger -i -t ...
1
vote
3answers
96 views

Is there log which record the operation of files in linux [duplicate]

Is there log which record the operation of files in linux. Just like, if some users rename or delete or add some files, can root user see the records of the operations. Do these logs exists in linux. ...
0
votes
1answer
442 views

Logging incoming IP addresses on a specific port

I've tried tcpflow and iptables but I'm unable to do so. I believe someone is attempting to DDOS my open port which is a server, so that my clients are unable to connect. From tcpflow I'm able to get ...
0
votes
2answers
370 views

log execution of certain commands on linux

I have to maintain a system (debian) on which several users are allowed to install programs - so I would like to log, for example, if anyone executes "apt-get install" or "apt-get purge", so I can ...
0
votes
1answer
776 views

Find log files of Linux Mint after system turned frozen

My system freezes regularly, more than once a day, sometimes right after the start of X. I have not been able to reproduce the error deterministicly. After rebooting, where do I find the old files? ...
1
vote
1answer
78 views

Is there a way to automatically get track of installed packages and dependencies?

There are packages I installed using 'apt-get install', that installed also all its dependencies. If I want to remove it after some time, I would remove its dependencies as well. Now I do not trust ...
0
votes
1answer
96 views

Linux network audit

I have a server with Linux Red-hat Enterprise Edition 5.4 installed. and a client/server application that permits connection at the port 6000, but it doesn't offer connections log. I want to know ...
0
votes
0answers
241 views

How do I configure rsyslog to write to /var/log/{hostname of sender} when receiving remote logs?

My ADSL modem supports remote logging via syslog. I have set up my server, running rsyslog, to accept the log messages from the modem and they are being show in /var/log/syslog along with the messages ...
0
votes
1answer
921 views

How sync files with s3cmd to Amazon S3, check if sent and remove locally?

I'm trying to use Amazon S3 service to store logs from my applications. Given /user/bin/s3cmd --help tells me what I need to know how send the files: s3cmd --help usage: s3cmd [options] COMMAND ...
0
votes
0answers
179 views

How do I setup syslog.conf configuration to log into a custom log file?

I am using syslog in my application, I have created a rule in syslog.conf file to log data from my application in to specific file. This is working correctly, but it is also writing to the standard ...
1
vote
2answers
36 views

Difference in Logs

Is there a utility that will show you a difference in a directory of log files at one point of time and at the current moment? Current a method in debugging applications is to remove all of the logs ...
0
votes
1answer
39 views

Create a logging program

I want to create a program that logs all the processes started by the user and confirms after they are started. I don't want to log all the syscalls and other daemon processes. I have initially ...
2
votes
2answers
959 views

How to make `script` command loaded automatically on terminal login

script command allows to log gently everything that was put to console during session (like history but also displays results of commands). Everything is logged to file typescript.xxx Now I want to ...
0
votes
1answer
84 views

3rd party tool for log rotation in Linux?

I want an auto archive all of my log files for an application on my Linux distro. Also after the log files have been archived, the actual log files should be deleted (not the archived ones). I know ...
1
vote
3answers
3k views

How to grep logfile via SSH on multiple servers?

Sometime, I need to find out specific log content(such as api call) from log files, those log files exists in several Linux servers. I have to use SSH to login every server and use grep searching the ...
2
votes
2answers
90 views

Efficient environment for viewing logs [closed]

Currently I am using tail -f for viewing logs. Is there any more efficient/readable/better way of viewing logs?