Questions tagged [unix]
Unix is a multitasking, multi-user computer operating system originally developed in 1969 by a group of AT&T employees at Bell Labs.
1,963
questions
0
votes
1
answer
18
views
How to delete non root-owned files from Unix /tmp folder
We have some Ubuntu v22 servers that get a lot of files dumped into the /tmp directory, in spite of our best code efforts to clean up after the processes are done. What we would like to do is run a ...
-1
votes
0
answers
40
views
Postfix virtual mailboxes with only one single domain
I have read the Postfix documentation for virtual mailboxes but I can't find methods for my use case, with is shared domains, both UNIX and non-UNIX accounts, because I only have one domain. But ...
1
vote
1
answer
121
views
How to Dynamically Adjust Rate Limits Based on Concurrent Connections in Nginx?
I am currently facing a challenge with dynamically adjusting rate limits in my Nginx configuration based on the number of concurrent connections to my web server.
Problem Statement:
I have set up a ...
0
votes
1
answer
74
views
Is my dedicated server HD dying?
I have a dedicated server with 2 3TB SATA HDs. I use the server to create and share torrents. Recently I got the following error message when trying to create a torrent based on files on that server.
...
0
votes
0
answers
24
views
what should unix dev_weight value be set to?
This past week, I was looking for a way to boost server performance despite it having multiple CPUs at 3.3Ghz each.
So I thought, let's increase dev_weight to 512 because documentation states the ...
0
votes
0
answers
62
views
Linux ACL of a shared folder for specific group
I need to make a shared folder: I have separated my work between several users on the same computer and need them to access the same folder without restriction. They all belong to a "work" ...
0
votes
0
answers
526
views
Kubernetes- execution phase preflight: couldn't validate the identity of the API Server
I am trying to create a bare metal Kubernetes cluster of one master node and three worker nodes. The nodes are Ubuntu VMs running in a VMWare Workstation lab environment. The master node is ...
1
vote
1
answer
121
views
FreeBSD user has no permission on .ssh directory
I have a problem on FreeBSD 14.0 - the ~/.ssh/ directory is owned by me, but I can not access it as myself:
$ ls -al .ssh
ls: .: Permission denied
ls: ..: Permission denied
ls: authorized_keys: ...
0
votes
1
answer
50
views
argument to pgrep from cmdline returns 2 PID's and argument from global variable value returns 1 PID
1.first case(processName as argument from cmd i.e java)
command from cmd with arguments : ./a.sh getProcessId contains java
code:
getProcessId(){
matchType=$1
#defaulting matchArg to x i.e exact ...
0
votes
1
answer
243
views
pgrep -f from shell script is returning 2 pid instead of 1
code :
function main {
[ -z "$@" ] && { getProcessId "$@" } || "$@"
}
getProcessId(){
matchType=$1
#defaulting matchArg to x i.e exact match
matchArg=x
...
0
votes
2
answers
231
views
change shell to /usr/bin/false in IBM aix os
I would define the program run for the user at session initiation into /usr/bin/false in /etc/passwd. The default value parameter is /usr/bin/ksh.
When I try to modify it with commands:
bash-5.1# ...
0
votes
1
answer
493
views
kubectl get nodes --kubeconfig admin.kubeconfig returns "No resources found"
I am a newbie in Kubernetes. I am not even very familiar with basic kubernetes commands, but the installation is a starting point for my learning journey. I wanted to avoid installing something like ...
0
votes
0
answers
89
views
not able to send mail with attachment from linux ubuntu : 20.04 by using email mailutils (sendmail keyword)
code :
subject="Service resilience service status"
body="Service is down"
from="[email protected]"
to="[email protected]"
attachment="/home/ubuntu/...
-2
votes
1
answer
62
views
Is it bad that I don't update the server? [closed]
I am running an application on my server with the help of Nodejs, and it has many dependencies such as Chrome.
I have not updated my server for two years. I am afraid that if I do, my code will fail ...
0
votes
0
answers
29
views
Need help in logrotation
I have custom logrotation as below..
cat /etc/logrotate.d/apache
#
#
/var/log/apache/apache.log
{
daily
rotate 30
size 1G
compress
missingok
...