Questions tagged [system-administration]

Use this tag for asking about programs you have written to perform system-administration tasks. Non-programming questions about system administration are off-topic for Stack Overflow and should not be asked here.

983 questions
2
votes
2 answers

Subversion: good practices to administrate users and groups with the repositories

How should I administrate users and groups with the repositories? Until now users can access the server repositories through http. The tag configuration it inside /etc/apache2/mods-available/dav_svn.conf DAV svn SVNPath…
PLS
  • 231
  • 2
  • 6
  • 14
2
votes
2 answers

Release/Deployment/Maintenance process for a web service

I'm doing research on some non-brittle release process techniques in a 24x7x365 web service environment. What are some of your favorite methods for releasing code from a development environment to a critical-production environment. This includes not…
anon
2
votes
2 answers

Check LVM availability

A tool that I am trying to install says: MySQL server data directory needs to reside on an LVM volume How do I check if my data directory is on LVM?
shantanuo
  • 31,689
  • 78
  • 245
  • 403
2
votes
1 answer

MySQL databases mysterious table deletion

I need some advice on how to track down a weird occurence on one of my servers. I'm not a linux expert so please bear with me if I haven't explained properly. We have a test server that is running apache, php5, mysql, postgresql on linux OS. …
Steven Cheng
  • 1,071
  • 3
  • 14
  • 25
2
votes
1 answer

Puppet agent logs on Fedora /var/log/puppet empty

I installed puppet on Fedora 22 using the package provided by the fedora dnf repo. Everything is working great. I get configurations applied from the puppet master just fine. However, I would like to see notices when configurations are applied. I…
Jared Sprague
  • 229
  • 4
  • 12
2
votes
1 answer

Remove Apache

I have multiple installations of apache on my Mac OS X 10.5 and would like to remove them including any dependencies. They are installed in 3 different directories. How can this be achieved?
IEnumerator
  • 2,960
  • 5
  • 31
  • 33
2
votes
1 answer

Terminal emulation for InterSystems Cache in browser

Sometimes I need to run terminal driven system utilities for InterSystems Caché database but have no ssh access. On the other hand I have web access to this server. Are there any solutions of terminal emulation in browser?
2
votes
2 answers

Rails logging error: "Error during failsafe response: Shifting failed." ... is there an elegant solution to this?

I've configured my Rails 2.3.8 logger in the environment.rb to rotate daily: config.logger = Logger.new("#{RAILS_ROOT}/logs/#{RAILS_ENV}.log", 'daily') and every day in the morning I get the usual: Error during failsafe response: Shifting…
Amy
  • 1,318
  • 3
  • 12
  • 24
2
votes
5 answers

How can I change features in Windows Vista programatically?

I'm looking for a way to programatically change features ("Programs and Features" -> "Turn Windows Features on or off") in Windows Vista (and newer Redmond OS, e.g. Server 2008). Ideal solution would be in the form of a Powershell script…
Milan Gardian
  • 11,326
  • 5
  • 38
  • 45
2
votes
1 answer

How to output tcpdump with grep expression to stdout / file?

I am trying to output the following tcpdump grep expression to a file : tcpdump -vvvs 1024 -l -A tcp port 80 | grep -E 'X-Forwarded-For:' --line-buffered | awk '{print $2} I understand it is related to the line-buffered option, that sends the…
Rdang
  • 131
  • 2
  • 3
  • 14
2
votes
3 answers

Leaving your harddrive shared

The leaving your wireless network open question reminded me of this. I typically share the root drive on my machines across my network, and tie login authorization to the machines NT ID, so there is at least some form of protection. My question, how…
FlySwat
  • 172,459
  • 74
  • 246
  • 311
2
votes
1 answer

Iptables string matching to block ips behind Reverse Proxy?

I have nginx server behind reverse proxy (Cloudflare) and want to block ips based on the xforwarded ip sent in the header. I have tried the following iptables string matching rule : iptables -A INPUT -m string --string "1.1.1.1" --algo bm --to 1024…
Rdang
  • 131
  • 2
  • 3
  • 14
2
votes
3 answers

Using rsync to retrieve log files

This question is hard to Google because of the existence of log files generated by rsync, which is not what I'm interested in. What I'd like to do is to use rsync to retrieve log files from a set of servers. Normally when I want a bunch of personal…
zachaysan
  • 1,726
  • 16
  • 32
2
votes
1 answer

Routing around an insane device interface

I've inherited a swath of code that talks to a device developed in-house. Said device has a network interface that is, generously, rather ad-hoc: it always sets its IP address to be 172.16.0.50, and assumes it's connected directly to 172.16.0.250…
cakins
  • 101
  • 4
2
votes
2 answers

Move a Sftp User in a Subdirectory of his Jail

I've a question concerning the Jail explained later: User to be jailed: foo Jail Directory: /mnt/foo-jail Home directory of foo: /mnt/foo-jail/foo-home Everything is ok. Jail is up and the user is connecting correctly. The problem is: "foo" has…
Echoes_86
  • 293
  • 3
  • 8