Most Popular
1500 questions
69
votes
7 answers
automate dpkg-reconfigure tzdata
I'm using puppet to admin a cluster of debian servers. I need to change the timezone of each machine on the cluster. The proper debian way to do this is to use dpkg-reconfigure tzdata. But I can only seem to change it if I use the dialog. Is…
razor
69
votes
8 answers
A previous IT worker probably left some backdoors. How can I eliminate them?
I started working for a company that fired a previous IT worker for leaking data.
I can only say the following things:
We use a Firebird DB with an application written by another company, Proxmox, for virtualization of Windows Server 2008 R2, SQL…
user2265690
- 729
69
votes
7 answers
Redis (error) NOAUTH Authentication required
I get the error:
(error) NOAUTH Authentication required.
When in redis-cli and trying to display the KEYS *. I've only set a requirepass not an auth afaiac. I'm in the redis.conf but do not know what to do.
Karl Morrison
- 1,661
69
votes
10 answers
Question marks showing in ls of directory. IO errors too
Has anyone seen this before? I've got a raid 5 mounted on my server and for whatever reason it started showing this:
jason@box2:/mnt/raid1/cra$ ls -alh
ls: cannot access e6eacc985fea729b2d5bc74078632738: Input/output error
ls: cannot access…
jaymoo
69
votes
5 answers
Why can't I cd to a directory with docker run?
I need to run an application from a specific directory.
$ sudo docker run -P ubuntu/decomposer 'cd /local/deploy/decomposer; ./decomposer-4-15-2014'
2014/10/09 21:30:03 exec: "cd /local/deploy/decomposer; ./decomposer-4-15-2014": stat cd…
schmmd
- 793
- 1
- 5
- 5
69
votes
4 answers
How to remove missing systemd units?
I'm having trouble figuring out how to remove systemd units that no longer have files. They still seem to linger in the system somehow.
The old broken units I am trying to remove:
core@ip-172-16-32-83 ~ $ systemctl list-units --all firehose-router*
…
Andy Shinn
- 4,271
- 8
- 40
- 55
69
votes
3 answers
Temporarily disable ssh public key authentication from client
Is there a way to temporarily disable public key authentication when ssh'ing, and use password authentication instead?
I currently want to access remote server, but I'm using another laptop, not mine.
Browsing that link, I found that the command ssh…
Nsukami _
- 801
69
votes
4 answers
How can I get more info on open pipes show in /proc in Linux?
In Linux if you go digging in /proc//fd often you'll see output like:
lrwx------ 1 root root 64 Jul 30 15:14 0 -> /dev/null
lrwx------ 1 root root 64 Jul 30 15:14 1 -> /dev/null
l-wx------ 1 root root 64 Jul 30 15:14 10 ->…
Kamil Kisiel
- 12,304
69
votes
6 answers
What is the difference between a managed and unmanaged switch?
I've seen some documentation discussing the use of an unmanaged switch. What is the difference in functionality/performance/etc. between an unmanaged and managed switch?
Luke
- 2,123
69
votes
4 answers
_default_ VirtualHost overlap on port 443, the first has precedence
I have two ruby on rails 3 applications running on same server, (ubuntu 10.04), both with SSL.
Here is my apache config file:
ServerName example1.com
DocumentRoot…
Mohit Jain
- 953
69
votes
12 answers
Exchange server replacement that runs on Linux
I've worked as a sysadmin for some years and what I keep coming back to is that users like Microsoft Outlook and want to use its Exchange features. I have tried my fair share of commercial alternatives but usually there is either a fundamental…
Andrioid
- 2,700
69
votes
6 answers
Forcing the from address when postfix relays over smtp
I'm trying to get email reports from our AWS EC2 instances. We're using Exchange Online (part of Microsoft Online Services). I've setup a user account specifically for SMTP relaying, and I've setup Postfix to meet all the requirements to relay…
John Whitlock
- 1,167
69
votes
9 answers
How can I check from the command line if a reboot is required on RHEL or CentOS?
I'm using CentOS and Red Hat Enterprise Linux on a few machines without the GUI. How can I check if recently installed updates require a reboot? In Ubuntu, I'm used to checking if /var/run/reboot-required is present.
Jim Hunziker
- 1,862
69
votes
11 answers
How do I check if Log4j is installed on my server?
I have read about security vulnerabilities related to Log4j.
How do I check if Log4j is installed on my server?
My specific servers use Ubuntu 18.04.6 LTS.
I have installed many third-party packages and maybe some of them contain it.
Is there a…
Uri
- 881
69
votes
7 answers
Should websites live in /var/ or /usr/ according to recommended usage?
According to a guide on the Linux directory structure, /usr/ is for application files, and /var/ is for files that change (I assume this means "files that belong to the applications"). Is this correct?
If this is the case then I'm a little torn…
Nick Bolton
- 5,146