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
4
votes
1 answer

Docker-machine how to chose IP with virtualbox driver

I need to create a machine with specific Ip. I tried somethig like this : docker-machine create test --url tcp://192.168.59.103:2376 -d "virtualbox" Is there any way to do that ? Thanks
kleww
  • 101
  • 3
  • 8
4
votes
0 answers

Connection closed without response in heroku

I pushed a django website to heroku and getting this error: Connection closed without response here are the logs: 2015-09-08 heroku[router]: at=error code=H13 desc="Connection closed without response" method=GET path="/favicon.ico" …
Jahongir Rahmonov
  • 13,083
  • 10
  • 47
  • 91
4
votes
1 answer

How to install system packages into oracle?

I am creating a copy of our testing Oracle DB (10g both) and run into a problem in that our testing database has UTL_SMTP and UTL_FILE system packages installed and my local OracleXE version does not. Our system administrator has gone home for the…
George Mauer
  • 117,483
  • 131
  • 382
  • 612
4
votes
2 answers

Host Primary Domain from a subfolder

I am having a problem making a sub directory act as the public_html for my main domain, and getting a solution that works with that domains sub directories too. Background My hosting allows me to host multiple sites, which are all working great. I…
Adam Harte
  • 10,369
  • 7
  • 52
  • 85
4
votes
1 answer

Securing SSL Keys (for production web application) with Puppet and Hiera

I'd like to know what is the best way to secure SSL keys and certificates for web applications. I am using the roles/profiles pattern. Here is the scenario: I have a web application. There is a Puppet module that sets up the application. This…
4
votes
3 answers

Can't save old netsh http urlacl reservation

I was experimenting with the settings on a server, and it gave this information from netsh http show urlacl: Reserved URL : http://+:47001/wsman/ User: NT SERVICE\WinRM Listen: Yes Delegate: No User: NT…
Cody Konior
  • 727
  • 1
  • 7
  • 19
4
votes
3 answers

Server virtualization: how to avoid, locate and fix bottlenecks?

Server virtualization is a big thing these days, so I'm tasked at work to install some of our software on a virtualized server and see what happens. Long story short: a rsync transfer promptly brings the virtualized server to its knees. The…
4
votes
2 answers

Cannot connect to PgSQL via Laravel SQLSTATE[08006] [7] FATAL

I'm trying to connect to pgsql via laravel and finally got everything setup (pgsql server running, pdo installed, all libs installed). I'm running on a VPS (CentOS) managed via CPanel/WHM. Here's what I'm doing: I'm trying to create a user database…
antjanus
  • 987
  • 3
  • 15
  • 30
4
votes
2 answers

Is storing a password in a Windows user environment variable bad practice?

I recently read the the following SO question. What's the best way to store a password or private key on a web host? It mentions encrypted connection strings (for use in an ASP.NET app) or using the Data Protection API (DPAPI) at the time of this…
4
votes
2 answers

Heroku Scheduler - why enqueue long-running jobs

The Heroku Scheduler documentation says: Scheduled jobs are meant to execute short running tasks or enqueue longer running tasks into a background job queue. Anything that takes longer than a couple of minutes to complete should use a worker…
alan
  • 4,247
  • 7
  • 37
  • 49
3
votes
1 answer

DNS checking using perl and Net::DNS

So, in the otter book, there is a small script(see page 173) whose purpose is to iteratively check DNS servers to see if they are returning the same address for a given hostname. However, the solution given in the book works only when the host has…
dcalacci
  • 64
  • 1
  • 6
3
votes
4 answers

What programming things should every SysAdmin know?

This is a mirror-image of this question here: https://serverfault.com/questions/4176/what-sysadmin-things-should-every-programmer-know The original was posted by Nathan DeWitt. Credit should go to him. If you have a serverfault account, please…
Avery Payne
  • 1,738
  • 2
  • 17
  • 31
3
votes
4 answers

Proper way to run a script using cron?

When running a script with cron, any executable called inside must have the full path. I discovered this trying to run wondershaper, when many errors showed when it tried to call tc. So my question is, what's the proper way to overcome this…
Doppelganger
  • 20,114
  • 8
  • 31
  • 29
3
votes
1 answer

Directoy.Delete(path, true) -> IOException : the directory is not empty -> Different owners on Win7

On uninstalling, I get a IOException when trying to delete a directory. 'The directory is not empty'. I tried different methods, listed below, but nothing works. The files that are left behind (and cannot be deleted) have a different owner. Files…
Run CMD
  • 2,937
  • 3
  • 36
  • 61
3
votes
2 answers

Adding init.d service (chkconfig / autocomplete in shell)

I've made a startup script, (i.e. myserviced) and put it in /etc/init.d/ I ran chkconfig --add myserviced I can start/stop/restart the service just find using: service myserviced start etc. However, I notice that when I type "service" and then do…
Switch
  • 5,126
  • 12
  • 34
  • 40