Latest Server related questions

Score: 0
On Chrome OS in dev mode: mount with exec permission
ru flag

I'm trying to use a Chromebox as a tiny server. I'm using Linux through Crostini to host the server application. It really seemed like a good idea. Currently, I'm trying not to replace the whole Chrome OS, although it might come to that.

I think I'm almost done, but my server software requires its storage allocation, a fairly large chunk of data that I store on external drives, to run code. Basic ...

Score: 0
No longer have access to server externally - network manager
gy flag

I have just swapped over an ethernet interface on my ubuntu 20 server to be managed by network manager (the others were already managed by it, this was the straggler)

The issue now seems however that access is limited to/from this server

I have these subnets:

  • 10.0.3.x (where my dns server is)
  • 10.0.1.x (where my server is)
  • 10.0.21.x (where my personal pc is)

Everythign internally should have a ...

Score: 3
Best practice for unattended upgrades on immutable servers
us flag

I use packer to build immutable Ubuntu 20.04 servers.

How can it work smoothly with unattended upgrades?

Since the image is not bundled like it was in the past the updates do not apply to new instances. It means that when a server comes up unattended upgrades will need to run full upgrades. This is problematic because some of them requires reboot + it prolongs the server get-up time.

What is the best p ...

Score: 1
Mosquitto ACL default all users read to a topic
cn flag

I am trying to create a default access for all users unless specified in the ACL file.

I have allow_anonymous set to false. However, if a user is in the password file, I want that user to be able to have read access only to a specific topic. If I define a user rule in the ACL file, I want that to be used instead. I want to do this so any new passwords I create will have a default access. That way ...

Score: 1
Configuration Errors With A Clean Installation of Apache Directory Studio
cn flag

I have a fresh install of Apache Directory Studio, with the goal of sanity testing some LDAP stuff without actually touching production.

I followed the basic instructions to spin-up the server and it fails to launch. Diving into the logs I see the following

[11:57:28] INFO [org.apache.directory.server.UberjarMain] - Starting the service.
[11:57:30] WARN [org.apache.directory.api.ldap.model.entry.Defa ...
Score: 0
Rohini avatar
How to get live logs sent from ECS to AWS cloudwatch
gr flag

I run containers in ECS on python docker image which has ssh installed because sometimes I need to login to the container.

Whatever logs are outputted using print in the python script show up in the log group for the container enter image description here

The issue is it's not live log being sent. It is in batches. Container runs for 40 hours and the logs get sent in batches with hours of delay in between

Is there a way to en ...

Score: 2
Access existing contents of a mounted partition
br flag

I am currently trying out a new server setup on a VirtualBox VM. In my scenario I have attached two (virtual) hard drives; I use one as the main system disk and the other one as a local backup drive. The backups are performed with borg/borgmatic to the backup drive. I plan to use the same setup later on the real server (with real disks).

In order to test a scenario where I lose the system disk an ...

Score: 1
YuvGM avatar
NFS stale file handle for regular user but not root
kz flag

I've installed freeipa container on a Ubuntu server and an NFS server on the server itself. When I mount the NFS directory on a client machine or even the server itself, I can view the mounted directory as root. However, as a regular user, I get stale file handle. I am not using SELinux, and it happens with autofs as well.

My /etc/exports:

/home   @netibglabservers(rw,sync,no_subtree_check,sec=krb ...
Score: 0
Razvan Cristian Lung avatar
Google Endpoint Developer Portal for gRPC api reports errors
jp flag

I've created my gRPC endpoints and uploaded my config file. The api works perfectly but the developer portal reports the following error. Not sure what am I supposed to do or how to troubleshoot this.

enter image description here

Score: 0
Vasia Pupkarev avatar
keepalived(or another solutions) between 2 interfaces one server
in flag

community. Could you help me with the next question? I'll have a server Linux with 2 NIC in the same network ens33 192.168.23.2 ens34 192.168.23.3 and plugin in different switches: I want to use Virtual IP (Floating IP) for example 192.168.23.100 i.e. if ens33 down so IP should be migrate on ens34 I'll try to use keepalived and this work but not graceful solutions. i.e. I'll create 2 Instances for 1 Vir ...

Score: 5
Oleksandr avatar
Why doesn't dkim sign the letter?
fr flag

I have configured DKIM:

Dec 27 11:10:03 mailer opendkim[378]: OpenDKIM Filter v2.11.0 starting (args: -x /etc/opendkim.conf)
Dec 27 11:10:10 mailer postfix/postfix-script[551]: warning: symlink leaves directory: /etc/postfix/./makedefs.out
Dec 27 11:10:10 mailer postfix/postfix-script[719]: starting the Postfix mail system
Dec 27 11:10:10 mailer postfix/master[721]: daemon started -- version 3.4.13 ...
Score: 0
What username to use to connect over SSH to a domain joined Windows machine?
cn flag

My Windows 11 Enterprise PC is domain joined and I log in using my work account in the format of europe\myalias@domain.com.

I installed the Open SSH server but no matter what I try, I cannot connect from my Mac:

user@MacBookAir Desktop % ssh myalias@192.168.178.30
myalias@192.168.178.30's password: 
Permission denied, please try again.
  • Using europe\\myalias: Connection reset by 192.168.178.30 por ...
Score: 0
Eduard Unruh avatar
How much does CPU and RAM matter for a files only sever?
br flag

Let's say I want to host 100000 tiny image and video files between 50kb - 2mb

It's obvious that SSD would be better than HDD because of file access speed.

But how much does CPU and RAM matter?

What would handle the read only better/faster:

1 vServer with 300GB SSD, 16GB Ram and 8 CPU cores

or

Load-balancing between 2 vServers with 300GB SSD, 4GB Ram and 2 CPU cores

Another put: Which of those two options ...

Score: 0
vithya m avatar
I m trying to use mysqldump but getting error mysqldump: Got error: 2003: Can't connect to MySQL server on host(110) when trying to connect
uz flag

Here is my sam template for taking database backup trigger:

- none  
  
pool:  
  vmImage: ubuntu-latest  
  
steps:  
- script: echo Hello, world!  
  displayName: 'Run a one-line script'  

- script: |
    sudo apt-get -f install -o Dpkg::Options::="--force-overwrite"
    sudo apt-get update
    sudo apt-get purge mysql\*
    rm -rf /var/lib/mysql
    rm -rf /etc/mysql
    dpkg -l | grep -i mysql ...
Score: 0
How to analyse a core dump from a different machine?
de flag
Eva

I'm new to analysing core dumps. I find myself with the vmcore file from different machines but when trying to run the crash command it complains the system is running a different version of kernel. How to analyse core dumps on a different server? Thanks.

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.