Latest Server related questions

Score: 0
Centos 6.10 - How to increase allocated PE size to take up Free P/E size
cn flag

I recently had to shrink a Clonezilla image, but overdid it an now have to recover some unused free space.

Here is the output of vgadisplay:

  --- Volume group ---
  VG Name               vg_centos6svr
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  27
  VG Access             read/write
  VG Status             resizable
  MAX LV                0 ...
Score: 0
Lord Kryx avatar
FreeRADIUS - How to RADIUS Proxy based on source IP?
kr flag

I am currently working on building a RADIUS Proxy solution with RHEL and FreeRADIUS. As I am expecting to integrate the solution with hundreds of RADIUS Clients and RADIUS Servers, the realm proxy function in FreeRADIUS covers a portion of use cases and eventually we will encounter usernames that will not have a UID or realm in it so I was thinking about identifying and proxying RADIUS Clients by their  ...

Score: 2
Edvinas avatar
Network discards on powerful Linux server
aq flag

I got quite powerful Linux server - Dell PowerEdge R6515 it contains x64 cores using AMD Epyc cpu.

Also there're dedicated LAN PCI:

lspci | grep 10G
41:00.0 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02)
41:00.1 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02)

We're using it as VPN server for Strongswan server. The problem is ...

Score: 0
Cristian URECHE avatar
Blog hosted on Google Cloud platform stopped working after changing VM from f1 to e2
az flag

I am using a bitnami-wordpress-5-5-1-1-linux-debian-10-x86-64 image on a Google Cloud VM.

My blog at blog.stri.ml stopped working. I haven't touched the configuration in the last week. The last update that I have done was 10 days ago when I changed the VM from f1 to e2. It worked well until now.

The site is not accessible through external IP neither. Content on Cloud Storage is accessible. It is not ...

Score: 0
Sara June avatar
How to deploy pods in aks when azure policy enabled?
cn flag

With the dev account got from my employer, the azure policy is getting enabled by default.Even if I disable that, after 2 or 3 min, it is getting enabled again.

This is the policy page of kubernetes

policy page

Because of this policy, not able to deploy any containers, the deployment is created but when we describe the replicaset, it is showing error as containers are not getting created due to root access.So we dep ...

Score: 0
Wildcard27 avatar
Using ALB to target PHP-FPM ECS containers
sn flag

I'd love to know if this is actually posible but I'm sure I've seen it demonstrated by one of our old AWS TAMs.

I am serving PHP-FPM containers (port 9000) out of ECS hosting a PHP application. I am looking at replacing the nginx box(es) with just an ALB.

Esentially, requests over port 80 into the ALB should execute the application's entrypoint at port 9000 with the original request data.

I have tried  ...

Score: 0
SSH works for ec2 Ubuntu 20 Instance. No other Outgoing/Incoming traffic is working
ng flag

I have an ec2 instance, a postgres database rds instance that share the same vpc. I recently bumped up the capacity of my ec2 instance to xlarge ec2. I setup the server like you normally would with nginx/phusion passenger. I was able to deploy changes with great succession before then. Now I receive network cannot be reached. I don't know where to look/who to ask. I've been working on this issue for 14  ...

Score: 0
Detect printer in VPN client
kg flag

The problem is based on a simple restriction:

The server which holds the business logic is not connected with the printer in the same network. The printer is located in another network which does not have the possibility to expose a public IP.

The architecture I've designed so far is this can be seen here.

The two LANS are represented in orange and blue, and there's a VPN in red which connects the tw ...

Score: 1
Cockpit -- how to add user options to start VM with QEMU/KVM
cn flag

I used Cockipt (host is the CentOS8) to create a guest VM (CentOS8 also). Now I have a task to configure the VM to use stuff from SPDK's VHOST. According SPDK docs I'm need to add follow lines to QEMU's command line :

**-chardev socket,id=char0,path=/var/tmp/vhost.0
-device vhost-user-scsi-pci,id=scsi0,chardev=char0**

So, the question is : how to add "user" options ? I did not found anything in the Co ...

Score: 0
Adam avatar
DNS PTR lookup deprecated?
ar flag

When I use dmarcanalyzer to check my domain I get the message:

Warning : You shouldn't use PTR lookups as they are deprecated

My record looks like this: v=spf1 ptr:samplemail.com ip4:191.13.174.145 ip4:191.13.174.146 a:samplemail.com ip4:81.211.16.14 ~all

What part exactly is deprecated? I tried Googling but all I get are sites where I can do a PTR record lookup or unclear (to me) examaples.

Score: 0
Maximilian avatar
Kubernetes: Backup to FTP
in flag

I want to backup a Kubernetes cluster using velero. Unfortunately I only have access to FTP backup storage. My idea is to start minio in the cluster and have the FTP location mounted in its data directory.

Has anyone an idea how I could achieve this in a Kubernetes and not too cheaty way? Or is this just a very stupid idea?

Score: 1
Anadi Misra avatar
do I need kube-proxy and vpc-cni addons when running fargate only eks cluster?
tr flag

they both seem like good add-ons when you're running node groups; I'm assuming given Fargate mandates ALB's would register IP only for services, and other similar fargate requirements, do we still need these two add-ons?

Score: 0
Access control list for LDAP OU (Organisational Unit) in OpenLDAP
cn flag

I am new to LDAP (currently using OpenLDAP 2.4) and I am struggling to define a ACL entry using slapd that will manage the various Access Levels for entries that are child entries of an OU.

The structure is as follows:

cn=user1,ou=users,dc=somedomain,dc=com
cn=user2,ou=users,dc=somedomain,dc=com

This is what I currently have, but when implemented, the children of the OU "users" don't have the access leve ...

Score: 0
Sam avatar
Mysqli access denied , using UNIX socket
in flag
Sam

I am trying to learn PHP, and I am setting up the database connection.
On Mysql Workbench, I created a database called php, and created a table. Then I created the account "sam"@"localhost",(I am using Ubuntu desktop, and sam is the output of whoami ) with auth_socket, Granted ALL on . , and when I press ctrl+alt+T and input mysql and press enter , I can successfully login.
Now I followed https://www.php. ...

Score: 0
Martin Gunnarsson avatar
Best practices for setting up Linux "service" user
us flag

I've set up a server running Ubuntu to host a backend based on Node and MongoDB with Nginx as reverse proxy. When I first logged into the machine I was root, and without thinking too much that's the account I used for setting everything up. Beginners mistake I guess. Going into production running everything as root seems like a bad idea, but I can't find any good articles describing how to set up an acc ...

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.