Latest Server related questions

Score: 0
Georgio avatar
Access from client to server disabled
jp flag

I have a problem with disk access to one of my servers. If I go to security, the Administrator account has a red circle with a cross inside. I think, the account access is disabled via client.

access rights from client

If I do the same via RPD, administrator account looks OK.

What could be the problem?

Score: 0
Sudipta Roy avatar
Setting up Asterisk + webrtc
cn flag

This question has already been asked here. However based on a comment there, I am posting it here.

I am trying to set up Asterisk to work with webrtc.. On the client side I am using sipML5. This is new to me so I am having some difficulties. Below are my config file

extensions.conf

[default]
exten=>bob,1,Dial(PJSIP/${EXTEN})
exten=>lucy,1,Dial(PJSIP/${EXTEN})

http.conf

[general]
enabled=yes
bindadd ...
Score: 0
kmalarski avatar
CentOS 7: is it possible to change keyboard layout for a single, non-sudo user only?
kp flag

I have come across the approaches to change system keyboard layout for all users. Is it also possible to only change it for a single user, who is not a sudoer?

I could see on the machine that e.g.

loadkeys pl

won't work without sudo due to the lack of access to /dev/console.

In other words, is it possible to have the default keyboard layouts granularity "per-user" and not only for the whole system?

Score: 0
Théo Champion avatar
Compute engine: getting "Connection refused" on all my instances
in flag

I just checked up on one of my servers to discover it stopped responding to any requests

around 2021-08-31 22:00:16.575 CEST giving:

Failed to connect to search.myapp.com port 443: Connection refused

Upon checking on my server it appears that the VM instance was restarted a day ago (docker show my main container up for only 24h).

This error screams firewall, so I double checked and I have both allow-h ...

Score: 1
Marsplay avatar
Ubuntu 20.04 routing for just one IP (in the same subnet) ends in "dev lo" instead "dev eth0", kubernetes worker node can't connect to master node
fr flag

I bumped to (as it now seem to me) routing issue. I can no longer access one of my worker nodes (server) from my master node (server). AFAIK, it has nothing to do with Kubernetes, it leads to pure Linux networking issue. As the issue is with only one IP, I was troubleshooting iptables, enabled TRACE and realised that packet actualy comes accross master (eth0), gets to iptables (passes: raw > mangle & ...

Score: 0
Should t4g instances be available for an Elastic Beanstalk environment in ap-southeast-2?
cz flag

Can't find any reference to them not being available, but they're not in the list in my config options. Anyone know one way or another?

Score: 3
BitGen01100000 avatar
Showing [Installed Version] when upgrading with dnf in CentOS/Redhat/Fedora/Rocky Linux
vn flag

When running dnf upgrade it only shows the new version of a package about to be upgraded. But I would like to see what the currently installed version of the package is too. Without having to go look up the installed packages etc. Basically I would like to add a column to the upgrade/update list that gets shown when I get asked if it should continue or not.

Currently it looks like

Package         A ...
Score: 2
kunz avatar
change permission of mounted folder in linux
cn flag

i mounted a folder from windows to Linux's like so

in windows end the permission is set to everyone enter image description here

and on my linux end i did this

# mount -t cifs -o username=sprite//173.11.111.99/win-share /mnt
Password for sprite@//173.11.111.99/win-share:  ************
# ls -ld
drwxr-xr-x. 2 root root 0 Sep  2 15:27 .
#

i have another user named coke which i want to have read/write/execute permission to how can  ...

Score: 1
supi007 avatar
How should I configure properly my LAN to use IPv6 for communication on LAN and WAN?
cc flag

I would like to use IPv6 on my LAN and would like to be able to go out to the WAN as well. My network is a classic IPv4 environment. It works well.

My ISP provides Global Unicast IPv6 address on the WAN interface of my router (pfsense 2.5.2). I can ping google's IPv6 address from my router:

PING6(56=40+8+8 bytes) <my-global-unicast-iv6-address> --> 2a00:1450:400d:806::200e
16 bytes from 2a00:1 ...
Score: 1
AWS auto destroy EC2 instances older than X days
in flag

We create automatically EC2 instances as ReviewApps. The reviewer are supposed to destroy the ec2 instances but this doens't happen always.

So i would like to script (Lambda, Terraform, etc?) that EC2 instances for this specific AWS user are get automatically destroyed after X days. Is there are known execution?

Score: 1
A.Mohammadi avatar
Removing the default DNS servers from ubuntu server 20.04
id flag

I have an ubuntu 20.04 server and I want to change its DNS settings. The server is using netplan and cloud-init.

I disabled cloud-init network configuraion by creating /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg file with the following content:

network: {config: disabled}

There is an automatically generated /etc/netplan/50-cloud-init.yaml with the following content (I've added the nameservers

Score: 0
Is 'Max Cpu' at 100% normal?
tc flag

Below are two images from our Azure 'App Service Plan', which hosts our application. We recently tried scaling up, but it did not solve the issue seen below.

Our 'Max CPU' peaks throughout the day, everyday..but this is the MAX aggregation. These are transient spikes. Meanwhile, our AVG aggregation of cpu percentage is normal (second photo).

Is it expected to have max cpu transient spikes, like seen ...

Score: 0
iptables TCP Rules
ru flag
iptables -t raw -F
iptables -t raw -I PREROUTING -j DROP -p tcp -m string --string "Mozil" --algo kmp --to 65535 -m tcp --dport 1000   # You can change the port here
iptables -t raw -I PREROUTING -j DROP -p tcp -m string --string "Saf" --algo kmp --to 65535 -m tcp --dport 1000
iptables -t raw -I PREROUTING -j DROP -p tcp -m string --string "Edge" --algo kmp --to 65535 -m tcp --dport 1000
iptables -t raw - ...
Score: -3
Marcellin Khoury avatar
Google Cloud billed me 1000$
tr flag

I was testing a cloud function and deployed it. I ran it but it seems like there were some excessive requests (not from my code's logic) that sent around more than a million requests back to the function I was testing. Then they billed me 1000$. What should I do? i am not living in the US so I cannot reach them by phone and there is no live chat support available.

Score: -1
user13232774 avatar
Duplicated local account SIDs after Windows 10 upgrade
co flag

I have a Windows 10 VM recently upgraded to 20H2. Prior to upgrade I had cloned and sysprepped it to create a test system, and mimicked the upgrade process on there first. After a successful upgrade process on the test system, I carried out the same procedure on the production system.

While the overall OS upgrade was successful, something happened to the local administrator and guest account on t ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.