Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [logs]

Logs are lists of events or information generated by a program or system. They are used for diagnosis as they can contain various useful information to pinpoint the cause of a problem.

0
votes
0answers
31 views

Getting full logs of sshd failed connections

When I've queried status of my ssh server which has public ip, it states following: user@mypc:~$ sudo systemctl status ssh ● ssh.service - OpenBSD Secure Shell server Loaded: loaded (/lib/systemd/...
2
votes
2answers
78 views

How to check when a process stopped running? [duplicate]

I'm trying to figure out when a command I entered stopped executing, for example sudo apt-get update I want information like: started execution at : 12:00 finished execution at : 12:15
0
votes
1answer
75 views

How to find mysql log in xampp?

I'm on Ubuntu 16.04, Xampp 7.2 64 bit, how to find MySQL logs? I tried all the answers listed here, none worked, not the error logs, mysql logs so I can connect it to Logstash.
0
votes
0answers
7 views

I need help to log process details for every 5 minutes for each disk or media vise. can some one help?

Basically I need to have a logging enabled for disk wise information of processes which are utilizing that perticular disk at given point in time. and I want that log at single place. can some one ...
0
votes
0answers
27 views

What last line in output `auth.log.1 begins Sat Feb 14 13:13:28 1987` depicts after typing below command on terminal in ubuntu 14.04

After type below command on terminal... last -f /var/log/auth.log.1 I got ring-dae :58 codecody omponent was alr Sat Jul 15 12:06 gone - no logout .service sionManager codecody97-HP-No Thu ...
0
votes
1answer
66 views

How we can monitor the network traffic of logs transferred through the rsyslog

I'm consolidating the client logs to a centralized server in Ubuntu using the rsyslog deamon. While consolidating the logs, how can i see the amount of network traffic or file size transferred from ...
1
vote
0answers
413 views

18.04 - Cronjob Not Working on Reboot

I have recently added the following commands to the crontab : @reboot macchanger -r eth0 @reboot macchanger -r wlan0 This worked perfectly and I used it this way for a couple weeks, then I added a ...
0
votes
1answer
134 views

Ubuntu 18.04 freezing randomly with home-built computer

I have a home-built desktop: AMD Ryzen 7 1700x 16Gb (2x8) Corsair Vengeance RAM NVidia GeForce GT 1030 Kernel: 4.15.0-38-generic Nvidia Proprietary Driver 410.73 I have been having this problem ...
1
vote
0answers
25 views

Get video played details using mplayer

I am working on a project which gets a video URL from the server and then plays it. Once the video is completed it asks for another link from the server and plays it after receiving the URL. I am ...
0
votes
1answer
76 views

are my reboot-logs incorrect?

I´ve recently taken a look at my reboot-logs with last -x | grep reboot : reboot system boot 4.4.0-134-generi Mon Aug 27 12:36 still running reboot system boot 4.4.0-134-generi Sun Aug 26 12:...
0
votes
1answer
22 views

Ubuntu logs something and it becomes impossible to open os again [closed]

I had ubuntu 16.04 LTS in my laptop with 50 gb root 20 gb swap and 160 gb home directories. After I started the computer it started to log something and gave me the warning root part is full I checked ...
1
vote
2answers
44 views

How can I tell when a machine tries to get a new DHCP address?

I’m having an issue where one of my servers is losing connectivity. I suspect this is due to it trying to renew it’s DHCP lease. Does an Ubuntu server keep logs about when it tries to get a new ...
0
votes
1answer
293 views

Can't redirect stdout and stderr in background

I want to launch a task in background and redirect all outputs to a file. For this, I do ./main.py > /tmp/logsFile 2>&1 & but i doesn't work I think the problem comes from the background ...
1
vote
0answers
1k views

Forward logs in linux to remote syslog server

I need to forward logs from the below OS to a remote syslog server. I am trying to browser google to find some info. Will you please help me change the configuration so that even if the system reboot ...
1
vote
1answer
22 views

What's the name of log error viewer from U.Budgie?

Recently have moved on Mate, and I would like to have that tool that informs me with various types of errors from log files with priority 3. On Budgie, I could launch it by typing "Logs" name in menu. ...
0
votes
1answer
96 views

Reading daemon logs for wlan0

I have a Raspberry Pi device which runs on Raspbain Linux. The device performs well on wlan0 but from the last few days, it became offline (disconnected from the network). I thought of looking into ...
1
vote
1answer
103 views

Notifications about important log records

Some intro: I'm new in ubuntu and last one-two months have installed-reinstalled-configured system/apps. And in the end hoping that my environment is finally set i found out that in my important log ...
2
votes
1answer
2k views

How to save the output of picocom to a file

I'm using ( sudo picocom -b 115200 /dev/ttyUSB0 ) to connect to a real-time embedded system based on ThreadX system. Once I'm connected to this device, I use some ThreadX commands to display some ...
0
votes
0answers
163 views

Why awslogs not working for custom logs?

I have tried to configure awslogs for tomcat and created configuration as follows [/opt/tomcat/logs/catalina.out] datetime_format = %b %d %H:%M:%S file = /opt/tomcat/logs/catalina.out ...
0
votes
1answer
70 views

Logs of files added as startup application

I wrote a python script and added it to the list of startup applications in Ubuntu. After restarting the device I can find that the script has not run and I don't know where to find the logs. What is ...
2
votes
5answers
1k views

who is trying to brute-force my password?

I was looking into my log files on my server and I found the following lines in: /var/log/.auth.log.1: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruse r= rhost=...
2
votes
1answer
327 views

Can I use “system logs” in knowing and fixing any errors?

As you might guess I'm still brand new around linux and I've started my journey 10 days ago with Ubuntu 16.04 and have upgraded till I reached Ubuntu 17.10. I'm very nervous because I'm afraid that ...
1
vote
1answer
47 views

send logs to nowhere [duplicate]

I run jupyter notebook (Python editor) on background in order to keep one terminal for keep working without needs to run a second terminal. so I have done this: #jupyter notebook & but the ...
1
vote
0answers
54 views

Why my SSD keeps getting full of logs?

I have an Ubuntu Gnome installation on my 128GB SSD, with the /home mounted on another harddisk. I keep getting alerts that my disk is full. When I open the Disk Usage utility, I see this: When I try ...
0
votes
2answers
443 views

How do I rotate my logs despite having running processes?

I'm running Ubuntu 14.04. I have this Rails project and my logs are exploding out of control size-wise ... myuser@myapp:~$ ls -al /home/rails/myapp/log/ total 3118220 drwxr-xr-x 2 rails rails ...
2
votes
1answer
168 views

apache2 : How to search a string from apache2 error logs in specific time range?

I have logs like this , I want to search the string Form1Debugging from date [Sun Oct 01 04:26:29.593869 2017] to [Tue Oct 03 04:26:29.593869 2017] [Tue Oct 03 04:26:29.593869 2017] [:error] [pid ...
1
vote
0answers
68 views

live view of terminal input and output from another terminal and machine?

I work maintaining Linux, Windows, Mac machines at a business. When something goes wrong we check logs and sometimes these logs need more context like what command was typed what was the output of ...
0
votes
2answers
61 views

Installing packages and saving the output from apt in a log file

Whenever we need to install any packages in Ubuntu we install it using the command: sudo apt-get install <package-name> Using redirection as below will save all the logs in a file: sudo apt-...
0
votes
0answers
243 views

Ubuntu 17.04 Shutdown Logs

My Computer (Old Dell Inspiron 5315) keeps shutting itself off randomly and I want to find the Logs as to why this is happening. I have searched here and it has said {/var/log/messages} but no file or ...
1
vote
1answer
858 views

Error_log file size from Var/Log/Cups/ is increasing so much (70GB+) [duplicate]

Error_log file size from Var/Log/Cups/ is increasing so much (70GB+) and wont stop until i get the error saying i don't have enough space left. ***Error_log*** W [08/Jun/2017:18:59:48 +0530] ...
1
vote
1answer
824 views

For how long Linux system logs are stored?

So that is my question. I googled it but nothing came. I see that the logs I have only covers 24 hours (if the time is not wrong, because it resets on every boot)
0
votes
0answers
418 views

How do I use logrotate to remove old log tarballs?

I'm using Ubuntu 14.04. I want to rotate log files daily, including deleting old tarballs. I edited my logrotate.conf file, /etc/logrotate.conf, like so /home/rails/myproject/log { daily ...
3
votes
1answer
1k views

How can I stop hv_utils from logging a message in kern.log + syslog 2000+ times a second? Kern.log 32G in size and syslog is 11G

I recently received a warning message from my Ubuntu 16.04.2 VM on Hyper-V that 99% of my disk is full. Upon further inspection I noticed that my /var/ directory was using over 108G of space and that ...
2
votes
1answer
1k views

How do I find out why a Ubuntu server rebooted?

I got an alert from my VPS host that my VPS rebooted. In /var/logs/auth.log, I see the following entry: Mar 17 19:09:34 master sshd[3558]: Server listening on 0.0.0.0 port 9922. Mar 17 19:09:34 ...
0
votes
1answer
69 views

Remote asterisk live call logs detail

I want to make own GUI for handling live call of asterisk. i.e. It can show the followings for live calls : codec used for call call start time call end time one field for suggesting whether call ...
0
votes
1answer
143 views

Send Logs Buffer to remote pc

How can I simply read all the different buffers(system logs, user logs, applications logs etc.) of Ubuntu 16.04 and forward them to an external server (which could be any OS) in runtime? Do any ...
0
votes
0answers
42 views

How can I get the time consumed by processes when the system is shutting down?

When shutting down there's a process/daemon/something that freezes and slow down the shutdown process. Before the problem appeared the shutdown took about 15 sec., now it takes like 10 minutes! I ...
0
votes
1answer
67 views

String in syslog when livepatch does something

I've subscribed to Canonical livepatch and I'm curious to know if it's ever actually done anything. By perusing syslogs I see the many times it checks for an update each day, always with the result ...
1
vote
1answer
39 views

Unable to view logs of a running application

I have a 64 bit Ubuntu 16.10. I am running an application like Kazam. I would like to see the the log files of Kazam when it runs. There is no Log file viewer. I also saw the kern.log, syslog, and ...
1
vote
0answers
711 views

My var/log folder is taking too much space

My log folder details are as follows: Which files can i delete to free up my space??
1
vote
1answer
78 views

How can I capture messages that occur at shutdown?

When I shut down Ubuntu 14.04, messages appear on a black screen but go away before I can read them. How can I capture these messages, or what log file can I check to find them?
1
vote
0answers
19 views

Will Landscape tool help pull in user logs from the client

I would like to know if Landscape can monitor the user login logs and report. Whenever a user is switching as root, he becomes privileged user so I need to keep a track of the user. Hence will ...
0
votes
5answers
648 views

39 GB Log files !! What's going on.?

I have log files located under /var/logs those sizes are around 40 GB. Space is running out . How to delete the log files without affecting the normal operation? Those files are locked. What is the ...
0
votes
0answers
28 views

Saving logs in file that will be used for analysis

How do I copy realtime logs into a .txt file? That is, I have one server and real time logs going on. Is it possible to save the logs over some time period in a .txt file?
0
votes
1answer
711 views

apache2 is not starting

Starting web server apache2 (99)Cannot assign requested address: AH00072: make_sock: could not bind to address 10.0.1.43:8069 no listening sockets available, shutting down AH00015: Unable to open logs ...
0
votes
2answers
71 views

Where are the wifi error messages?

I am using a standard Ubuntu 14.04 installation. When I try to connect to a certain router from the menu of routers in range, connection fails, and there is no error message. Where do I find the ...
1
vote
0answers
225 views

/var/log/cups/error_logs eats most of the memory [duplicate]

I have tried most of the suggestion given by google but I am disappointed. Still my error_log file keep increasing by unbelievable size. I have done following exercise: sudo systemctl disable cups-...
3
votes
1answer
3k views

Ubuntu 16.04 - discover what services failed on startup

I upgraded my server from 14.04 LTS to 16.04 LTS this past weekend. It did not go as smooth as hoped. And having to learn how to use systemctl and journalctl the hard way did not help. Anyway: I ...
2
votes
0answers
43 views

some logfiles are user and group ? and not readable by root

?????????? ? ? ? ? ? syslog -rw-r----- 1 syslog adm 15K Sep 1 2014 syslog.1 ?????????? ? ? ? ? ? syslog.2.gz -rw-r----- 1 ...
1
vote
0answers
144 views

Ubuntu shutdown is very slow

During my daily work with Ubuntu it sometimes happens that shutdown process is very slow. It takes about 10 minutes. But this happens only after about 3-4 hours of continuous work. (If I shutdown ...