Latest Server related questions

Score: 0
Does it matter to partition something before dd?
jp flag

Normally, to burn an ISO to a disk, let's say an ISO for installing Ubuntu, we dd to the /dev/sda, not to the partition like /dev/sda1, so in this case, where the target file is /dev/sda which is presumably the entire disk, does it make any sense to partition first? Wouldn't the iso contain the partitions?

Score: 0
aidenmitchell avatar
Netcat on MacOS failing with simple commands
us flag

I'n trying to follow a tutorial here.

As an example we can say that we need a friend of ours to help us with something on our work system(Windows). To be able to receive a connection from us first our friend would need to set up a listener. nc -lvnp 4444

On my system, nc -nlvp 4444 fails with nc: missing port with option -l. I'm not sure why this is, as I've seen multiple tutorials with the same comman ...

Score: 1
Calico node remains not ready when a new node with a 192.168.178.x IP joins a K8s cluster
id flag
kube-system   pod/calico-node-9czgm                                  0/1     Running     3          42d
kube-system   pod/calico-node-msfjk                                  0/1     Running     0          5m37s

...is what I get when a let "moon" to join the cluster as outlined below...

NAMESPACE   NAME        STATUS   ROLES                  AGE     VERSION
            node/moon   Ready    <none>    ...
Score: 0
Fahed avatar
OHV VPS ports not modified. Where are those rule set?
cn flag

I have a problem with a VPS ports config (on ovh.com).

  • I set up Debian 10 and updated it.
  • I didn't install any firewall software.
  • OVH infrastructure is protected by a global firewall, but on my panel it's shown as disabled and there are no rules applied.
  • Default ports work fine (HTTP, TCP, UDP, SSH, FTP, DNS and SSL).

EXAMPLE (FTP)

FTP works just fine on port 21:

client

$ ftp XX.XX.XX.XX
Connect ...
Score: 0
When forwarding a DNS zone, how can i transform/alter the forwarded address?
va flag

Lets say I have zone.public.xyz. as a publicly-accessible DNS zone, but I would like to make the private zone.private. zone accessible via a "proxy" DNS nameserver.

The public nameserver has an NS record for zone.public.xyz, I would then like it to forward it to a nameserver which expects it in the form of zone.private., what software + configuration exists that allows me to alter the requested addres ...

Score: 0
Tomas avatar
How to connect VMs on hosts behind a gateway to public IPs?
sl flag

I have a Linux gateway with two NICs and several VM hosts (also running Linux, with two NICs each) behind it.

The gateway is connected directly to WAN on one of it's NICs and receives several public IPs. I would like to assign the public IPs on the WAN to individual VMs so that they can be accessed from the outside network. In addition I would like to establish a private local network to be used  ...

Score: 0
Adam avatar
Iptables forward with running Squid proxy
us flag

My topology include 3 hosts (client, squid proxy and server).

Client: eth1: 192.168.1.3/24
Squid proxy: eth1 192.168.30.3/24,  eth2 192.168.31.3/24
Server: eth1: 192.168.10.3/24

On host (squid proxy) I have set up some rules to block download specific files from host -server (wget).

The traffic (on host-squid proxy) is redirected with iptables:

iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDI ...
Score: 0
Fahed avatar
OHV VPS ports remain "closed" and can't be changed, why?
cn flag

I have a problem with a VPS ports config (on ovh.com). I set up Debian 10 and updated it, but when I try to configure ports I get many errors.

I found that OVH infrastructure is protected by a global firewall, but on my panel it's shown as disabled and there are no rules applied.

EXAMPLE

If I use port 22 for SSH, it's all ok, but if I change the port then I get locked out. Same goes for any port.

 ...

Score: 0
how to send log file using rsyslog
cn flag

I am using Centos 7.6 and have configured rsyslog server and able to send logs(syslog) from client to server, but I need to transfer the file /var/log/wtmp to rsyslog server and I have tried below configuration configuration but not working at all.

[server]

$template RemoteLogs,"/var/log/clients/%HOSTNAME%/%$NOW%.log"
*.* ?RemoteLogs
& ~

I have tried the below configuration but it is not transferring ...

Score: 0
How do I view the connections an OpenVPN client is making via the tunnel?
kz flag

I'm using OpenVPN. I've successfully gotten a client going through the VPN. What I'd like to do now is monitor the connections a client is making.

I was able to follow the instructions here and get a management console going. But this only tells me what clients are connected, and their IP. It doesn't tell me the connections that that client itself is making that are exiting the tunnel.

How can I view ...

Score: 0
sts avatar
How Do I Prevent User Profile Removal @ Sign in Screen : Chrome Enterprise
us flag
sts

Chromebook with Enterprise Upgrade:

On the sign in screen I can select a drop down arrow next to a user name and "remove the account" from the Chromebook EVEN THOUGH I'M NOT SIGNED IN.

Please tell me I'm missing an Admin Panel security setting that can override this totally insane default.

POTENTIAL SCENARIO: Go to Starbucks. Order coffee. Sign out. Go to men's room, and my 8 year old (or some joker) b ...

Score: 0
merlin avatar
How to backup large MySQL database with the help of LVM snapshots?
in flag

I am trying to find a backup/restore procedure for a MySQL 8 DB with 400M+ Rows in InnoDB tables. MySQLdump takes days and therefore I am trying this now:

  • Mount a LVM volume on the DB Folder
  • Create LVM snapshot
  • Restore on other server from Snapshot

The files are all there, but MySQL will not start:

2021-07-04T15:48:14.415660Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2021-07-04T ...
Score: 0
Autoscaling Groups: what happens during scale-in if all ec2 are termination protected?
hk flag

Suppose I create an ec2 autoscaling group where each instance is protect terminated. Suppose a min of 2 and a maximum of 4, I was wondering what happens if, in presence of a step policy:

  1. There is a scale-out of 4 and then a scale-in: will always 4 instances be present? Or only 2 will be in the autoscaling group while the others are "benched" somewhat
  2. There is scale-out again: will the extra 2 instance ...
Score: 0
BKKcanuck avatar
Rule to deal with fake "reply-to" field
cn flag

It would be impossible to be anymore of a newbie than I am dealing with SA and rules etc..etc.. I am having an issue and have searched high and low on the net and I get some info that sort of seems to answer the question, but to this point nothing is working to fix my issue... so... please help, anyone?

One particular problem I have been having with a client site is a spoofed "reply to" input. Ac ...

Score: 1
AWS ECS Fargate, container to container communication
cn flag

I'm having trouble exposing ports on my ECS Fargate containers.

I have applied port mapping on container level for my task definition, like so:

enter image description here

On the containers themselves, it looks like there is no specific mapping enabled, or am I reading this wrong? enter image description here

The containers need to intercommunication with each other (Clustered software)

I fetch the IP from the meta container configuration per container,  ...

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.