All Questions
235
questions
6
votes
2
answers
10k
views
How to get a clue why my Linux computer is freezing
tl;dr
My laptop computer running Linux is freezing randomly. What system tools can help to figure out what the problem is?
DISCLAIMER: I hope my question is not considered as a duplicate since ...
5
votes
4
answers
17k
views
How to print Linux command output to a file?
I am creating a script to sync my important documents between two system. I want my script to generate a log file for the last action. can you suggest me a way to achieve this.
Question: If I execute ...
5
votes
3
answers
11k
views
How can I get log messages from the LAMP server on Ubuntu 10.04?
How can I get log messages from the LAMP server on Ubuntu 10.04?
Should I install some good program on Ubuntu for that purpose?
5
votes
2
answers
4k
views
What does logger -f filename do?
The man page is ambiguously worded:
-f file Log the specified file.
There's one example in the man page with no further explanation:
logger -p local0.notice -t HOSTIDM -f /dev/idmc
POSIX is no ...
5
votes
1
answer
31k
views
Where can I find logged mount errors?
Where's the log where I can read mounting errors?
5
votes
0
answers
6k
views
How do I get reasonable server-side NFS log output?
I was experiencing some problems with nfs-kernel-server on Debian stretch which I could solve by luck. Still, I learned that the log output was not of much help of me. I would like to change that to ...
4
votes
1
answer
10k
views
logrotate configuration and execution
I'm trying to configure logrotate to rotate and delete log files every day at midnight, but have never used it before. So: (a) I want to confirm that my configuration is correct, and (b) I need help ...
4
votes
5
answers
3k
views
Linux application to tail multiple log files (like OS X Console.app)
I'm constantly tailing log files. At any given time I've got half a dozen terminal windows open that are simply running tail -f .
In OS X, the Console app is brilliant. All the usual log files are ...
4
votes
3
answers
1k
views
Pipe kernel messages to another process as they occur
I have an OLED screen on my laptop that I have configured to show status information. The current driver I have installed in Linux for it is able to display messages by sending them to a script as an ...
4
votes
1
answer
1k
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 ...
4
votes
1
answer
4k
views
Where to see the recent changes/actions on a computer?
I log on to a lot of different servers at work to do some tasks and install new software. However, sometimes I find myself wanting to know what has been done to the computer recently. This usually ...
4
votes
1
answer
2k
views
How to send log entries to a remote server running journald (systemd)
I have an iot module running a firmware that has the capability of sending the logs to a remote syslog host. I've already configured it to send the entries to an Ubuntu Server running rsyslog.
I'd ...
4
votes
0
answers
24k
views
Linux log files - why did my server go down?
When I got home, my server was hung in the BIOS boot process - the system had restarted for some reason.
The last log entry in /var/log/messages relates a DHCP renewal request - there's nothing ...
3
votes
2
answers
14k
views
Name of log file where boot process is logged
I'm using CentOS 5.3. After booting up, where can I find the log file that contains if all services where successfully loaded or not?
For example when computer boots you get a list of start services ...
3
votes
2
answers
5k
views
Is it safe to remove “.journal” files in CentOS?
First of all I’m a Linux noob, I just know the basics.
I have a VPS running a TeamSpeak 3 server, but I’m slowly running out of space as you can see here:
The TeamSpeak 3 server itself doesn’t make ...