Most Popular
1500 questions
69
votes
7 answers
What's the easiest way to make my old init script work in systemd?
I don't want to do the right thing by creating a new systemd script, I just want my old init script to work again now that I've upgraded my system to an OS that's using systemd.
I've briefly researched how to convert init scripts and how to write…
mlissner
- 1,060
- 3
- 10
- 18
69
votes
9 answers
How can I automatically restart a Windows service if it crashes?
I have a Windows service that exits unexpectedly every few days. Is there a simple way to monitor it to make sure it gets restarted quickly if it crashes?
Liam
- 1,401
- 3
- 19
- 28
69
votes
2 answers
How to combine various certificates into single .pem
I've just finished reading over this great thread explaining the different SSL formats.
Now I'm essentially looking for the opposite of How to split a PEM file
There's 4 files I want to consolidate, originally created for Apache, I'm looking at…
quickshiftin
- 2,125
- 5
- 27
- 41
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,103
- 7
- 27
- 30
69
votes
3 answers
How to test a LDAP connection from a client
How to check the LDAP connection from a client to server. I'm working on the LDAP authentication and this client desktop needs to authenticate via a LDAP server. I can SSH to the LDAP server using LDAP user but When in desktop login prompt, I can't…
FELDAP
- 939
- 2
- 10
- 22
69
votes
7 answers
How to correct Postfix' 'Relay Access Denied'?
This morning, in order to correct a problem with a name mismatch in the security certificate, I followed the recommended steps from How to fix mail server SSL?, but now, when attempting to send an email from a client (in this case the client is…
Noah Goodrich
- 19,427
- 6
- 25
- 16
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
- 2
- 10
- 15
69
votes
9 answers
Unknown/unsupported storage engine: InnoDB | MySQL Ubuntu
I recently upgraded from the previous LTS Ubuntu to Precise and now mysql refuses to start. It complains of the following when I attempt to start it:
╰$ sudo service mysql restart
stop: Unknown instance:
start: Job failed to start
And this shows in…
Garrett
- 823
- 1
- 7
- 8
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,680
- 2
- 20
- 21
69
votes
6 answers
How can I query my system via command line to see if a KB patch is installed?
I'm looking to find out if a KB is installed via command line.
MathewC
- 6,957
- 9
- 39
- 53
69
votes
7 answers
DNS A vs NS record
I'm trying to understand DNS a bit better, but I still don't get A and NS records completely.
As far as I understood, the A record tells which IP-address belongs to a (sub) domain, so far it was still clear to me. But as I understood, the NS record…
Tiddo
- 1,019
- 1
- 9
- 16
69
votes
6 answers
How to capture ack or syn packets by Tcpdump?
I want to use a filter rule to capture only ack or syn packets. How do I do this?
larry
- 4,037
- 9
- 36
- 42
69
votes
6 answers
How do I delete a route from Linux routing table
This turns out to be harder than I thought. The routes I want to delete are the "!" rejected routes, but I can't seem to formulate the right "route del" command to pull it off.
Here is the routing table...
Destination Gateway Genmask …
user54259
69
votes
3 answers
Better logging for cronjobs? Send cron output to syslog?
I am looking for a better way to log cronjobs. Most cronjobs tend to spam email or the console, get ignored, or create yet another logfile.
In this case, I have a Nagios NSCA script which sends data to a central Nagios sever. This send_nsca script…
Stefan Lasiewski
- 23,667
- 41
- 132
- 186
69
votes
6 answers
Newline-separated xargs
Is it possible to make xargs use only newline as separator? (in bash on Linux and OS X if that matters)
I know -0 can be used, but it's PITA as not every command supports NUL-delimited output.
Kornel
- 1,105
- 1
- 11
- 16