Latest Server related questions

Score: 0
김남진 avatar
AWS Elastic Loadbalancer Traffic Calculation
in flag

Currently, in my environment, there is no other way to check the amount of traffic processed by ELB, so I was able to get the average number of bytes processed per hour by linking Cloudwatch metric data to grafana. (EstimatedProcessedBytes_Average)

But this is literally average traffic per hour, and you need to know the average daily or total monthly traffic(bandwidth)

How to calculate bandwidth for ...

Score: 1
TinoB avatar
Postfix "postmaster" and double-bounce emails are causing a TON backscatter
cn flag

.. and got the IP on a couple BLs..

This postfix server is set up to relay mail to and from an Exchange server.

I am seeing a lot of postmaster or root @mail.mydomain.com going out from postfix and NOT the proper mailing address @mydomain.com

The server is running SpamAssassin, Amavis, PostScreen, and OpenDMARC. I have triple checked that no configuration file states mail.mydomain.com except for extern ...

Score: 1
carlitobrigante avatar
Permission denied for gitweb.cgi on CentOS
cn flag

I've set up gitweb on my web server. I have created projects on the server. I can add commits to them and also clone them remotely.

The gitweb "homepage" does display and the static files like css, logo, favicon are loaded when I visit my git.website.

Issue is I only see the message: No such projects found found.. Every time I refresh the webpage I see the following in my /var/log/httpd/error_log

Score: 0
phpldapadmin not respecting min uidnumber
in flag

The first hit on this question as a suggestion is:

phpldapadmin uidNumber stopped auto-updating on new user creation

I looked at that and while my error is smilar, it seems it is a rather old question and the version of phpldapadmin I am running is different.

When I create a new user it uses 1001 as the uid everytime. I want to start in the 2000s, so I changed the config.php to use that:

$servers-&g ...
Score: 0
Workhorse avatar
Permission denied (publickey). ERROR: exited with return code [255]
cn flag

I have been trying to figure out this problem for some time now. I have been connecting to my VM to access RStudio (an IDE). Furthermore, I run the following command:

gcloud beta compute --project "project-name" ssh "my-rstudio" --ssh-flag="-X"

and get the following error:

Permission denied (publickey).
ERROR: (gcloud.beta.compute.ssh) [/usr/bin/ssh] exited with return code [255].

Tried to figure out w ...

Score: 0
Domain name does not work
cn flag

I created an app with azure, a such link https://viva.azurewebsites.net I got in the end. After that I bought a domain name. The domain provider created a A-Record and CNAME-record, everything is well done. A couple of hours later I saw that the webisite does not work. It only shows the start page. When I log in the brower shows a blank page the following message: https://viva.azurewebsites.net refu ...

Score: 0
Convert thin logical volume to thick
ru flag

I have a volume group that has a thin pool with logical volumes. I don't want these to be thin -- I want them to be regular logical volumes.

How can I move them out and convert them to thick allocation?

$ sudo vgdisplay -v centos
  --- Volume group ---
  VG Name               centos
  System ID             
  Format                lvm2
  Metadata Areas        3
  Metadata Sequence No  34
  VG Access  ...
Score: 0
Christopher Martinez avatar
Change bin-address on mysql ubuntu 18.04
sk flag

I'm trying to change the bin-address of my localhost database instance on a ubuntu 18.04 computer

i went to /etc/mysql/mysql.conf.d and then modified the file mysqld.cnf to assign the ip address i want 192.168.0.100.

From bind-address = 127.0.0.1 to bind-address = 192.168.0.100

When i try telnet 192.168.1.100 3306 after a while is see this message

telnet: Unable to connect to remote host: Connection re ...
Score: 0
Setting tcp option to packet header
my flag

I'm trying to debug some networking issues and I'd like to add the "router alert" flag to some SYN packets that are being sent from my server. Is there a way to do that using iptables?

I'm looking at the mangle table but I couldn't find anything on adding arbitrary tcp header options to the packets. I imagine it would be something like iptables -t mangle -I OUTPUT -p tcp --dport 22 --tcp-flags SYN SY ...

Score: 0
thran avatar
Nginx puts browser into a redirect loop when using multiple server blocks
cn flag

I'm using Nginx to host a number of virtual hosts (or server blocks in Nginx nomenclature). These hosts all share the same domain with each assigned its own subdomain. One subdomain enters an endless redirect loop, obviously undesirable behavior.

NB: I've redacted my domain name and replaced it with <mysite>.

The root domain - www.<mysite>.com receives requests as expected. It also red ...

Score: 0
Johannes Linkels avatar
Find which GPO matches a Folder ID in administrative templates
us flag

I am trying to trace back where a certain policy value was set. So I can change it. For example, when I run in the user session

 GPResult /v /r 

I get this output:

Administrative Templates
-------------------------
<snip>
 GPO: MyCompany - RDS User Policy
Folder Id: Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDrives
            Value:       1, 0, 0, 0
            State:    ...
Score: 0
PShaikh avatar
Unable to install K3s on Proxmox VM
cn flag

I'm trying to create an HA k3s cluster using Proxmox and a small fleet of Raspberriy PIs 4B.

For the PIs everything works fine, but when trying to install a master on a Proxmox VM it will not start.

My Setup:

  • Host: Proxmox 7.0.7 (I tried with 6.4.4 as well)
  • Guest: Ubuntu 20.04.2
  • K3S: v1.21.3+k3s1 (I tried with v1.19.13+k3s1 as well)
  • MariaDB: 10.3

I'm running these commands in order to install th ...

Score: 1
wally40 avatar
Resizing Virtual Ubuntu Server
cn flag

I have a virtual instance of Ubuntu Server running. Increased the virtual disk from 37GB to 50GB, but now stuck on getting the additional space to the LVM.

I have tried lvextend and resize2fs with the following results;

sudo lvextend -L +14G /dev/ubuntu-vg/ubuntu-lv
Insufficient free space: 3584 extents needed, but only 0 available

sudo resize2fs -p /dev/ubuntu-vg/ubuntu-lv 
The filesystem is already ...
Score: 0
PJSIP Call file
zw flag

I use call files to send calls on asterisk. with the change to PJSIP the old script no longer works, can anyone help with a functional call file that works with PJSIP?

my call file

channel: PJSIP/Michrosys-VOX/sip:001110323480972074XX
application: Playback
data: Demo-congrats

error:
- Attempting call on PJSIP/Michrosys-VOX/sip:001110323480972074XX for application Playback(Demo-congrats) (Retry 1)
    ...
Score: 0
malocho avatar
no libslurmfull.so error after a newstart for all slurm commands
us flag

after having installed/configured slurm/nodes (in my case it is the same server) I can run jobs but when I restart the server I get:

squeue: error while loading shared libraries: libslurmfull.so: cannot open shared object file: No such file or directory

for all slurm commands (sinfo, squeue, sbatch ...)

Looking for an advice on how to manage it

Score: 0
Automatically updating the CRL for pfSense
ar flag

I want to be able to automatically update the certificate revocation list on a virtual pfSense server running OpenVPN. I don't want the certificate authority to be on the same vpn server, but if pfSense is not running the CA I am not sure how I could update the CRL in an automated way. Has anyone attempted this before?

Score: 0
freddie_ventura avatar
Using a BlockOutbound default policy in Win10 to fully Tunnel all WAN traffic through the TUN/TAP interface
th flag

So I got a little "advanced firewall usage" question in Win10.

I have a VPN running in a VPS with openvpn , running like a charm , and I wanted to filter all the networking of my endhost (in this case Win10) What I mean by filtering is to apply an strict policy of "BlockInbound,BlockOutbound" , so I can just add rules to allow the communication with my VPS to establish the VPN Tunnel , (so it will creat ...

Score: 0
Sara June avatar
How to link a node from restricted environment to GitHub actions?
cn flag

We have three servers in a restricted environment of aws. We connect to a jumpbox server and from there we will access three windows server machines.

In these windows servers we installed jenkins on one machine and and other two machines are connected as nodes as they are in the same private network.

As the outbound traffic is open, it can download the code from github using jenkins poll scm and do  ...

Score: 0
Deleted Group in FreeIPA Still Comes Up
pl flag

I'm having an issue deleting a group in FreeIPA. A group was previously created called "developer" for which I want to delete.

I go into "User Groups" in FreeIPA GUI and delete the offending group name. All sounds good, but then if I go to my clients and do

getent group developer

I get

developer:*:[gid]:(members list)

In other words, the still comes up. I go into the individual group members and the gr ...

Score: 3
Do I need Active Directory Certificate Services
us flag

I have an AD setup that apparently has a vulnerability related to the Certificate Services feature. Thinking back through the MS Server courses I've sat, I don't remember anything on it, so I dug about online and I'm leaning towards "no".

I do not generate certs in-house for anything - workstations are allowed to Self-Sign, and my parent org has steps to follow for generating cert requests local ...

Score: 0
Need to trigger downstream mutlibranch pipeline job with all parameters from upstream job
in flag

Have a multibranch pipeline that needs to trigger the build of a downstream job and give the downstream job all of the parameters that the original multibranch pipeline job ran with on the same branch as each other.

With the normal build step I can pass however many parameters I need however it is not dynamic so I have to change the parameters in the build step whenever I change them for the main ...

Score: 1
Mike Ashelby avatar
How can I search across CloudWatch log groups on AWS?
za flag

I have a number of lambda functions which run my serverless backend. Something somewhere is misbehaving, and I need to bring up/search all the logs from a particular time — from all log groups, not just a single one, or a single stream.

Is there a good way to search across all log groups and all streams?

I have tried the console, but this insists on driving down from log groups (for lambda, these eq ...

Score: 0
udovdh avatar
IPv6 DHCP PD reply going to FORWARD rule in iptables firewall?
th flag

On my Fedora 34 Linux firewall/router box I noticed

  • that IPV6 DHCP PD requests are sent out fine.
  • that IPV6 DHCP PD replies do arrive on the wire
  • that the firewall kernel for some reason sends the DHCP PD reply in the FORWARD rule even though dhclient is local
  • that addresses in the packets were correct, match with DHCP-server and local firewall.

Details can be found at redhat.

We have a ppp inte ...

Score: 1
Gompu avatar
Can't ping internal network namespace
ky flag

I have created two network namespaces, i.e., red and blue on centos machine as follows:

[root@ip-xxx-xxx-xxx-xxx ~]# ip netns add red
[root@ip-xxx-xxx-xxx-xxx ~]# ip netns add blue

[root@ip-xxx-xxx-xxx-xxx ~]# ip netns
blue
red

I have created the virtual cable 'veth-red' and 'veth-blue' and then connected them using the following command:

[root@ip-xxx-xxx-xxx-xxx ~]# ip link add veth-red type ve ...
Score: 0
J.Do avatar
scp from Windows Server to Unix server works but not the other way around
cn flag

I installed OpenSSH on my Windows Server machine to use SSH. To test this out, I ran this command from my windows server.

scp test.txt user@unixserver.company.com:/path

Which worked, I can see the file on unix via putty. However, if I run this command on the unix server:

scp index.txt user@windowserver.company.com:/path

It doesn't work. It hangs for a long time and eventually I get:

ssh: connec ...
Score: 0
Sara June avatar
How to connect oracle database docker image
cn flag

I have registered with the docker image of oracle database and got below link to pull the image.

docker pull store/oracle/database-enterprise:12.2.0.1

No other tags available to see on the page. But some how I got information about 12.1.0.2

With 12.2.0.1, I am able to run a database and connect to it. But with 12.1.0.2, the database is not connecting.

docker service create --with-registry-auth --net ...
Score: 0
AtomiX84 avatar
kernel: nfs: nfsserver server not responding, timed out
pk flag

We have a NFS client which print in to messages this error:

kernel: nfs: server nfsserver not responding, timed out

it is printed about every minute. Normally I will think there had a communication issue or firewalled ports.

But here what is fun, the mounted NFS share works has expected, we cane R/W from it with the expected bandwidth!

Both server and client are RHEL7 the client mount it with the  ...

Score: 0
Sonu Jaiswal avatar
PfSense Fedora L2TP VPN stop traffic flow on HTTP hit
pl flag

I have configured L2TP VPN on PfSense 21.05-RELEASE (amd64) and fedora 33 as client, once VPN is connected I can ping remote host but as soon as I tied to hit HTTP site (google.com) traffic flow of VPN stops In TCP dump can see outgoing traffic but no incoming traffic coming back after HTTP request also checked PfSense firewall no drops there and moving traffic back to client but client somehow drooping ...

Score: 9
AhmedWas avatar
How can I know if the current running SSH server is OpenSSH or Dropbear?
in flag

If I go inside the file /etc/ssh/ssh_config, I can see "$OpenBSD" at the top of file. However, if I change the default port to a different value, it doesn't seem to work. A colleague informed me that's because Dropbear is the software server here, not OpenSSH.

Is there a way to be sure? I can't find an answer googling that.

Score: 0
sebastien dontneedtoknowthat avatar
How to prevent netfilter to automatically change the source ports
jp flag

I observed that netfilter changes the source port when a connection is established in the conntrack module. I need to prevent this behavior.

Here is what I have done to reproduce my problem:

  1. I create a netfilter rule that will perform DNAT from port 2002 to 2003

sudo iptables -w -t nat -A OUTPUT -s 192.168.30.3 -d 192.168.30.1 -p udp --sport 2001 --dport 2002 -j DNAT --to-destination :2003

  1. I 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.