Latest Server related questions

Score: 0
Alex Kuchin avatar
Transition of a large bucket to S3 Glacier
es flag

I want to move a 72 TB size bucket from S3 Standard to S3 Glacier.
I'm going to create a Lifecycle rule and set "Transition current versions of objects between storage classes" to 1 day.
I guess it won't be in one day because I'm not sure that AWS will handle this load and make the transition of 72 TB of data in one day.
Is any way to predict the timeline?

Score: 0
GoogleVM - Remote Desktop Connection Error
us flag

Can't connect to Google Server using Remote Desktop Connection in Windows 10. The error is "An internal error has occurred".

Score: 0
diseased avatar
Is the slow down due to traffic every day near 12 pm
in flag

I checked the slow logs and I got only 4 queries in 2 hours and all of them were similar to this:

"SELECT HEX(uhash) AS uhash, vehid, IF(deleted = 0 AND follow_price_drop = 1, 1, 0) AS follow_price_drop, email, deleted 
       FROM wp_ product_favorite_count AS cfc 
       INNER JOIN wp_ product_favorite_user AS cfu ON cfc. product_favorite_user_uhash = cfu.uhash
       WHERE cfc.updated > '2021 ...
Score: 1
Alex Kong avatar
Is it possible to only allow HTTPS and block HTTP on a arbitrary port
in flag

We are using RHEL and we have to open one non-privileged and arbitrary port, say, port 12345, to an ordinary user. This ordinary user needs to run an HTTP service listening on this port and every computer within the LAN network can access the service. Given the nature of the service the user needs to run, reverse proxy is unlikely to work and the user's service has to directly listen on the port and ser ...

Score: 0
inding avatar
How to compiling packages from source?
ng flag

I need to install DRBD in a server without internet. (redhat 7.x)

It's a sad place where you can't use yum.....

You have to compile using the source.

So, I have the following questions:

  1. Is it possible to install all the currently uploaded sources?
  2. Do I need to install all 3 of DRBD 9.x Linux Kernel Driver / DRBD 9.0.x Linux Kernel Driver / DRBD Utilities ? If not, which one should I install?
  3. What  ...
Score: 0
user3450564 avatar
Dovecot shared mailbox - access all folders at the root - doveadm
cn flag

On a dovecot IMAP setup,we need to share the root of the other user's mailbox; i.e. Inbox bu also Sent, Trash, etc.

Here we could only share 'INBOX' as doveadm does not accept / nor * when giving the right acl and register in the dict.

Any clue on how to share entire mailbox and populate `shared/user/{Inbox, Sent, Trash,...} ?

Setup

On a postfix+dovecot setup with system users, mailbox sharing has been  ...

Score: 0
Lunartist avatar
Is it possible to configure logrotation with Kubernetes manifest file?
cz flag

I have a Kubernetes cluster on AWS(EKS).

Each pod has a container that runs my application which drops huge log files.

The containers have NFS mounted, so I want to use logrotate to preserve the logfiles.

Can I configure kustomization.yaml file to create custom rules inside /etc/logrotate.d of the pods?

Score: 0
Pamelaxyz avatar
Host Header Injection in test lab
de flag

Trying to see if a server (in test lab) is vulnerable to host header injection or not. In second scenario where I insert host header as "www.cow.com", still get 302 Found. Does this mean this is vulnerable to host injection ? If it were not, would I see 404 not found?

Scenario 1:

kali01:~$ curl -v http://10.10.10.10/login.html

* Trying 10.10.10.10:80...

* TCP_NODELAY set

* Connected to 10.10.10.10  ...
Score: -1
How can I disable IP forwarding from IPv6 toIPv4
us flag

I have IPv4 and ipv6 addresses on my network card, when I send a request with curl I want only the respective IPv4 or IPv6 to be used and no fallback e.g. When IPv6 to IPv4 takes place.

curl --interface XXXX: c020: XXXX: e601: XXXX: 596c: XXXX: db97 http://ip4only.me/api/

curl: (45) bind failed with error 22: Invalid argument

curl -x http: // [2603: XXXX: 8003: e601: XXXX: 596c: XXXX: db97]: 8080 ...
Score: 0
alancc avatar
Easy way to update EC2 Instance
cn flag

I am launching an EC2 instance and it seems the most popular WordPress AMI in the marketplace is the one provided by Bitnami. However, there is a big issue with the software/system update.

I ask Bitnami and they said if I want to update LAMP on the server, then I need to launch another EC2 instance, then migrate the data from the current instance to the new one. That is really a headache. As I ne ...

Score: 0
DraugTheWhopper avatar
Can we prevent Windows from marking NVMe drives as removable?
mx flag

I've noticed recently that when adding NVMe drives to Windows, it has a tendency to mark them as removable. I think this is more likely on "enterprise" NVMe SSDs, at least in my experience. For my own PC or less critical stuff, I'm not too bothered when it shows up in the system tray offering to safely eject it, since otherwise there's no other ill effects. Note that in almost all cases I'm using the Mi ...

Score: 1
jhericks avatar
Why does `ps -x | grep foo` include the grep command?
cn flag

I know that it does (often) include the grep process and I know adding | grep -v grep or grepping on [f]oo instead will prevent it, but my question is more about order of operations I guess.

For example, in this contrived example, I see several grep processes:

% ps -x | grep login | grep login | grep login | grep login
 2475 ??         0:00.03 /usr/libexec/loginitemregisterd
 2115 ttys004    0:0 ...
Score: 1
How to set SELinux to allow CGI script to create a file
ng flag

I'm writing a CGI for httpd on CentOS 7, which create and write files on a directory under home. When I enable SELinux, it causes Internal Server Error. How can I setup SELinux?

The command sudo ausearch -m AVC,USER_AVC -ts recent shows an error below.

time->Fri Sep 24 09:03:23 2021
type=PROCTITLE msg=audit(1632441803.684:10739412): proctitle=2F7573722F62696E2F707974686F6E330075706C6F61642E63676 ...
Score: 0
How to run xen hypervisor on a computer that only supports UEFI?
in flag

I have tried updating the bios, disabling hyperthreading, adding xen.efi to its proper location within Ubuntu, building xen from source, etc. Yet I cannot get past the following error

a Xen panic stating "IO-APIC + timer doesn't work!"

Does anyone know how to get past this error? My computer cannot run in legacy mode so I cannot boot xen by default.

Score: 0
JMC avatar
How do veth interfaces connect to each other on a linux box?
in flag
JMC

I have been playing with Google Kubernetes Engine cluster recently. I have a question regarding their CNI. I have read from GCP documents and other articles that there is a bridge which all veth interfaces connect to. Basically, for each container, a veth pair is created. One end of it is in container and the other end of it is connected to a bridge device. When containers on the same node communicate ...

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.