Latest Server related questions

Score: 1
Josh Loecker avatar
Debian server showing "read only file system" repeatedly
in flag

I am having issues with being unable to SSH into my server, running Debian 11. If I try to make a folder or file, I get an error that says mkdir: cannot create directory ‘/tmp/test’: Read-only file system.

As suggested by this link, and a large swath of others, I can fix this by entering safe mode and running fsck.ext4 /dev/sda, but it only helps for 24-48 hours.

I got a new SSD about two weeks ago (s ...

Score: 1
How CPUQuote works in systemd
in flag

I'm setting up a .slice file for systemd. I want to restrict the slice to a certain amount of CPU time. But it's not clear to me from the systemd docs whether the percentage given to the CPUQuota is interpreted as a number of cores or a fraction of the whole system.

To get specific: My computer has 36 cores. If I want to restrict the slice to 9 of them (1/4 of the system's capacity), do I want CPUQu ...

Score: 0
Brandon K avatar
JavaScript and CSS looking for another IP address and will not load. Mixed Content error. Apache 2.4.6 Centos 7
cn flag
Listen 80

<VirtualHost *:80>
    DocumentRoot "/var/www/html"
    ServerName "www.mydomain.com"
    ServerAlias "www.mydomain.com"

RewriteEngine on
RewriteCond %{SERVER_NAME} =www.mydomain.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>

Inspect element on website

JS and CSS are not loading on my website due to it looking for another public IP. ...

Score: 0
naps1saps avatar
How do I seed an Azure File Share from an Azure Blob (classic)?
ne flag

We want to use Azure File Shares and File Sync as a backup system for our file server. We already have 1:1 file backups a week old sitting in a blob in Azure. Is there any way to copy that data including modify and creation date to the file share? I have Azure Storage Explorer installed but it doesn't give me a paste option when I navigate to the file share. If I use download it will strip all creat ...

Score: 0
Apache, Docker, Proxy - change adress in browser to 127.0.0.1
tr flag

I have Apache server with few sites.

I would like to run on this server docker container with Mercure and share it on the Internet.

I found information on the Internet that I need to use ProxyPass and ProxyPassReverse in the vhost configuration.

My vhost configuration:

<VirtualHost *:80>
    ServerName tomaszf.pl
    ServerAlias www.tomaszf.pl

    DocumentRoot /var/www/html/mercurytest/publ ...
Score: 0
compilebunny avatar
Keep thread synchronized across multiple devices (ejabberd/conversations)
mx flag

I want to use two different client devices with the same jabber ID, and I want the message thread to appear the same to both of them, even if one of the clients is offline for a period of time. Both clients run Conversations and the server is ejabberd 21.12.

The both mod_carboncopy (XEP-0208) and mod_mam are activated in ejabberd.yml.

mod_mam is activated as follows:

mod_mam:
    db_type: sql
    access_ ...
Score: 1
CloudSysPro avatar
SQL Database restore to different edition?
cn flag

I have SQL server 2008 R2 standard in house server and want to move my database to SQL 2019 Web edition in VM in AWS cloud. Can I just backup database and restore it there? would that work? or standard edition can only be restored to standard not web edition? Database is not that big, under 30GB.

Your help would be highly appreciated.

Thanks

Score: 0
Can Squid perform whitelisting on URL paths?
bm flag

I have Squid configured with SSL bumping and a whitelist. Users have submitted domains to add to the whitelist including a couple with paths to a specific service, e.g. gstatic.com/recaptcha.

A comment on another post (Allow a certain URL path with Squid) says that using regexes is not possible when using SSL bumping. I'm wondering, though, if this can be accomplished using a specific directive.

In  ...

Score: 0
YeppThat'sMe avatar
NGINX: try_files with proxy_pass in docker container
cn flag

I use nginx as a reverse proxy for my Node.js application(s) which is running on localhost:3000. Both nginx itself and my application are two separate docker containers. (Separate because later I plan to add more apps to it.)

In my app container I have some .webp alternative images. E.g.

$ ls
 
/app/assets/img/image.jpeg
/app/assets/img/image.jpeg.webp
/app/assets/img/other.jpeg

I've tried using

Score: 0
PokemonGo avatar
Trying to convert a Dell T420 Single Drive to Redundant. Looking for validating my steps
fr flag

I have a Dell T420 and read different ways to upgrade it to redundant PSU's.

Details

  1. I saw on Dell's website a thread where a user asked how to upgrade to a redundant PSU versus the single 550psu. They received a response that explained the parts to upgrade to redundant PSUs.
  2. However, the Power Distribution Board, does not have a power plug for 4 SATA Drives.
  3. It does have a backplane power cable, w ...
Score: 1
user3973227 avatar
Blocks with when and include_tasks
ru flag

I have come across a bit of a strange behavior that i don't fully understand and i have so far not been able to find something useful in the documentation.

When you have a "block:" with a "when" condition, this condition on the block itself seems to make its way into included tasks, why?

Example:

#playbook.yml
- hosts: localhost
  tasks:
    - block:
      - name: Include stuff
        include_tasks: "set ...
Score: 0
Creating a GCloud VM where resources are available
in flag

I'm trying to create a GCloud VM with a GPU. Every way I try I encounter the error "the zone doesn't have enough resources available to fulfill the request".

I pick a zone. I try to create a VM with an N1 type so that it will support a GPU. Sometimes the VM fails to create saying resources are not available. Sometime the VM is created but when I go to start it it fails to start saying resources a ...

Score: 0
mlazzarotto91 avatar
Nginx Proxy Manager proxy_pass not working
cn flag

On Nginx Proxy Manager I have this configuration (names redacted)

# ---------------------------------------------
# www.lab.myself.it
# ---------------------------------------------


server {
  set $forward_scheme http;
  set $server         "127.0.0.1";
  set $port           81;

  listen 80;
listen [::]:80;

  server_name www.lab.myself.it;

  access_log /data/logs/proxy-host-2_access.log proxy; ...
Score: 0
VRA avatar
Create new user in Azure AD (custom domain), if the email address and an associated Azure Account both exist
ng flag
VRA

I have mapped my custom domain (mycompany.com) with my Azure Active Directory. My domain and email account is managed by Google Workspace. My co-founder has an existing email address e.g. (founder2@mycompany.com), and an existing (but unused) Azure account (with an example password, mycurrentpassword) associated with that email address. I want to add her to the mycompany.com active directory, so that she ...

Score: 3
Julian K avatar
Force Windows 10 to load group policy from registry
za flag

I would like to apply several group policies (for data protection purposes) on various Windows 10 machines from time to time. The target machines are running with various Windows 10 version (Home, EDU, Pro, ...). Therefore, I have a registry export file (.reg) containing the registry keys for the corresponding GPO settings. I distribute this file to the target machines and import them there. Until some  ...

Score: 0
Marcelo Barros avatar
Using quotes in variables of a crontab job
us flag

I'm trying to get a past date inside a cron job using something like this. But the DATE variable is always empty.

DATE=date -d "$date -1 days -1 months" +%Y-%m
* * * * * /bin/echo "Date: $($DATE) Test" >> /tmp/crontab.log 2>&1

I know how tricky crontab is thanks to this question with good answers, but the problem here doesn't seem to be the % sign, because the code above works fine:

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.