Skip to main content

All Questions

Tagged with
0 votes
2 answers
82 views

Diagnosing a sudden, uncommanded powerdown (Debian)

My desktop had developed a strange habit this morning: shortly after starting up and logging in, it shutdown very suddenly. There was a mechanical noise like a relay opening, the fan spun down, though ...
Harry Braviner's user avatar
0 votes
1 answer
151 views

Debian 10 - OpenSSH-Server How to redirect user login info to a different logins file?

Debian 10 + OPENSSH-SERVER 7.9 I have a remote server that connect to my local server every minutes and in the local server's syslog, every minute I have: Oct 11 18:22:01 localhost systemd[1]: Started ...
PatriceJ's user avatar
0 votes
1 answer
380 views

SFTP backup task got a network issue and cannot reconnect after on debian

I have got a problem with a scheduled task in PHP on my debian server. Every night, I send a backup of data from server S1 to server S2. The two server are dedicated server but not host at the same ...
Vlad Imir's user avatar
2 votes
0 answers
268 views

logcheck ignores one of my ignore patterns

I use logcheck for more than a decade and never had an issue. Now some messages are ignored and I just can't wrap my head around why. My ignore.d.server/_self contains: ^\w{3} [ :0-9]{11} [._[:alnum:...
divB's user avatar
  • 587
1 vote
0 answers
52 views

How to check for screen activation in system logs

I have a Debian 10 (Buster) installed, and I was wondering how to check in the system logs when the screen was activated. The way I configured the OS is that I have turned off in the power manager ...
user421473's user avatar
0 votes
1 answer
211 views

Journald not logging custom fields on debian

I have the following script that I run on both an Arch Linux machine as well as a Debian stretch machine. On the Arch Linux machine I'm able to find the random value that was logged, whereas I can't ...
Varun Madiath's user avatar
2 votes
1 answer
250 views

Can iptables change its rules based on the network you're currently in?

Does iptables have a way to automatically adapt some of its rules or just straight out switch which rule sets it's using based on what your current network is? I have a lot of uses for something like ...
codykochmann's user avatar
0 votes
1 answer
362 views

Configure Logrotate to only rotate partially

I'm using Logrotate to rotate Apache logs. But instead of starting with an empty log file after each rotation, I'd like to keep some lines from the old log. Is there a solution which prevents the ...
Minzkraut's user avatar
  • 103
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 ...
Multisync's user avatar
  • 268
2 votes
1 answer
339 views

memory usage history from command line in Debian

I need to know the memory/CPU usage history from command line. My server is Debian (text mode only). Is it possible?
Ed S's user avatar
  • 113
1 vote
3 answers
3k views

Rsyslogd Log entry about attack created by unknown application

I have a server running for testing purposes which lately caught some strange log entries in /var/log/syslog, /var/log/user.log and /var/log/messages. auth.log does not show anything suspicious. No (...
user608231's user avatar
1 vote
0 answers
53 views

Simple centralized logging for small Debian-based cluster

I have small cluster with 8 servers. Every one has Debian 8.4 installed. I'm only one administrator. What would be the simplest solution for centralized logging with following requirements: Easy to ...
Nikolay Artamonov's user avatar
1 vote
1 answer
2k views

How to run logrotate as a local user?

I'm trying to manage logs which are generated by local scripts. These logs are nothing but stdout and stderr redirected to local files. I don't have root access and trying to run logrotate as a ...
Rnet's user avatar
  • 203
1 vote
2 answers
5k views

Disable Logging on Raspian/Debian

I want to stop my Raspberry Pi to create System-wide Logs in Order to save Memory Space. Is there a Way to disable Logrotate? I Hope You can help me
Nekura Kuroi's user avatar
0 votes
0 answers
22 views

Read history commands on GNOME 2?

Someone (old employee) deleted the history record and I am wondering if there is any way to read the commands executed by Gnome ? Thanks! FYI: Server: Debian 6.0 Gnome: v2
James M's user avatar
1 vote
1 answer
991 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 ...
jwesonga's user avatar
  • 111
2 votes
1 answer
223 views

Colourized command for grep output

Hey forum! I have recently begun working with Debian and do so in a purely command-line environment. I connect from a windows desktop through puTTY using asymmetric encryption rather than passwords. ...
user avatar
2 votes
3 answers
1k 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 ...
user avatar
3 votes
2 answers
4k 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 ...
dfens's user avatar
  • 141
2 votes
0 answers
417 views

Time tracking similar to Paymo Plus on Debian

PaymoPlus is free (closed source but no fees) PaymoPlus sits in my System Tray all day, and records every window/tab I open I would like to know if a similar app exists for Debian. Paymo for Windows/...
Aditya M P's user avatar
1 vote
3 answers
2k views

How to find what is written to filesystem under linux

How can i find out what processes write to a specific disc over time? In my particular case I got a little homeserver running 24/7 and I included a script in the crontab to shutdown all drives that ...
bardiir's user avatar
  • 225
3 votes
2 answers
9k views

Redirecting output from syslog to own log

I'm following this tutorial: Using Fail2ban To Block Wrong ISPConfig Logins, but rsyslog won't redirect the output from a file to another: /etc/rsyslog.d/12-ispconfig.conf: if $programname == '...
w0rldart's user avatar
  • 2,993
1 vote
2 answers
2k views

3G Dongle only connects for a few seconds

How can I see what's causing my 3G dongle to disconnect from the Internet? I'm using a Huawei K3565 USB 3G dongle on my Raspberry Pi. Using wvdial and sakis3g I can connect to my current provider (...
Terence Eden's user avatar
0 votes
1 answer
2k views

e2label: sending ioctl 127c to a partition! in /var/messages

I'm currently trying to setup a debain (2.6.32-5-amd64/Debian 2.6.32-41squeeze2) webserver on a virtual host machine. Taking a look at my log messages I found the following message in /var/messages (4 ...
jus's user avatar
  • 3
3 votes
1 answer
4k views

Logrotate olddir with date

it's possible to configure logrotate to create an olddir per day? I'd like to get the same bash result, like this: user@blade1022m:~$ date "+%y%m%d" 120208 In /etc/logrotate.conf (pseudo-code): /...
Fabio's user avatar
  • 31
103 votes
3 answers
117k views

logrotate configuration file syntax - multiple wildcard entries possible?

Since the man page doesn't answer my question and I don't want to force a rotation cycle, I decided to ask the question here. The man page for logrotate gives the following example: "/var/log/...
0xC0000022L's user avatar
  • 7,213
7 votes
2 answers
66k views

Debugging Apache on Debian, where are the error logs?

I'm using a Debian server that already has Apache, mod_wsgi and a bunch of virtual hosts successfully running on it. I installed my forum app (Django's OSQA) and following the OSQA instructions, I ...
AP257's user avatar
  • 175