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.
Questions tagged [system-administration]
983 questions
3
votes
2 answers
Apache does not start at boot on OpenSUSE
I want Apache2 to start att boot. This is what I have
ls -l in
/etc/init.d/rc5.d
lists, among a lot of other things, this:
lrwxrwxrwx 1 root root 10 Aug 18 10:35 S12apache2 -> ../apache2
In /etc/init.d/ 'apache2' is indeed located. And ls -l on…

Nicsoft
- 3,644
- 9
- 41
- 70
3
votes
0 answers
Determining correct php-fpm max_children value against available RAM
I'm trying to benchmark and figure out the correct PHP-FPM pm.max_children settings.
I'm using the following formula to work out the average size of a PHP-FPM process:
ps -ylC php-fpm --sort:rss | awk '{sum+=$8; ++n} END {print…

jsjw
- 147
- 10
3
votes
9 answers
"Winning" OO programming job interviews with sysadmin/Perl/Linux background?
I'm a student in software engineering in Montreal. For the last 3 years I've had a few interships (once per year). The first two (in the same company) were mostly sysadmin jobs, but I did get to do a few Perl programs (mostly log file analysing and…

Guillaume Gervais
- 1,035
- 2
- 14
- 26
3
votes
8 answers
Simple free-or-cheap tool for rolling out Windows XP + standardized apps to a small computer lab?
I manage a high-school computer lab with ~40 machines, have old PCs with varying hardware. I need to roll out Windows XP + a standard set of apps and settings for new machines, and to re-format older machines.
What tool is available to help with…

John Lubotsky
- 71
- 1
- 5
3
votes
2 answers
Ansible: Copy file into another users home directory
I am new to Ansible so this may be a silly question. Thank you for your patience.
I have two users on my child node: ubuntu and ansible
I have one user on my control node: ubuntu
I created the ansible user on my child node to test out multiple…

Bix
- 760
- 8
- 22
3
votes
3 answers
Best practice updating a website
currently my work-flow is as follows:
Locally on a machine I maintain a git repo on each website I am working on, when the time comes to publish something I compress the folder and upload this single file to the production server via ssh then I…
Ivan Aleman
3
votes
4 answers
Wazuh - How to change admin password for web interface
I just installed WAZUH from its OVA.
The web interface is admin/admin
When I click reset password from the web interface i get this error
Failed to reset password. {"status":"FORBIDDEN","message":"Resource 'admin' is read-only."}
enter wazug admin…

TXC
- 31
- 1
- 1
- 2
3
votes
1 answer
How can I delete a PROXMOX cluster?
I have created a cluster on Ubuntu proxmox node ("node01")
pvecm create cluster1
This is the output of pvecm status (i changed my ip address to 1.1.1.1 for security purposes)
root@node01:~# pvecm status
Quorum information
------------------
Date: …

nesrine
- 59
- 1
- 1
- 3
3
votes
2 answers
Systemd timer for a bound service restarts the service it is bound to
I have two systemd services a and b, where b is "After" and "BindsTo" a, and b is a short command that is launched every minute with a systemd timer.
Heres my config:
$ cat…

Lev Dubinets
- 788
- 10
- 32
3
votes
3 answers
Missing space when using sed
So I'm using lsof in combination with jq to convert to json. The original output example:
[
"blah",
"1234",
"yoda",
"561u",
"IPv4",
"297229000",
"0t0",
"TCP",
"15.60.74.17:1511",
"(LISTEN)"
]
]
When…

RogerRab2020
- 33
- 2
3
votes
2 answers
What's the bare minimum permission set for Sql Server 2005 services?
Best practices recommend not installing Sql Server to run as SYSTEM. What is the bare minumum you need to give the user account you create for it?

Eric Z Beard
- 37,669
- 27
- 100
- 145
3
votes
2 answers
return array of objects from Get-ChildItem -Path
From powershell, ls -R *.txt will list files recursively by directory, or, even better:
PS> Get-ChildItem -Path C:\Test -Name
logs
anotherfile.txt
Command.txt
CreateTestFile.ps1
ReadOnlyFile.txt
but how do I feed this into an array? I would like…

Thufir
- 8,216
- 28
- 125
- 273
3
votes
2 answers
/usr/bin/ld: cannot find -lffi while installing cffi 1.11.5 package
enter code hereI'm trying to install paramiko module in my linux server. The pip is blocked on the server, So i am manually copying the package zips and installing them from setup.py
when i try installing paramiko i get
error: Could not find…

Rithesh Bhat
- 127
- 1
- 12
3
votes
3 answers
Write a file using AWK on linux
I have a file that has several lines of which one line is
-xxxxxxxx()xxxxxxxx
I want to add the contents of this line to a new file
I did this :
awk ' /^-/ {system("echo" $0 ">" "newline.txt")} '
but this does not work , it returns an error that…

Deeraj Theepshi
- 183
- 3
- 10
3
votes
2 answers
/etc/httpd/conf.d/phpMyAdmin.conf file not found
I have PHP7, Laravel 5.5 and mysql installed on Cent OS7 at linode.com
Now, trying to install phpmyadmin and following this article . I have ran the command which says yum install phpmyadmin
But, after this, it says, Open the file in your text…

Pankaj
- 9,749
- 32
- 139
- 283