Latest Server related questions

Score: 0
route packets from specific hosts to virtual device
ng flag

PIMv2 I think the issue is with multicast.

I want to create a GRE tunnel that supports multicast PIMv2. I am seeing the server sending PIMv2 Hello messages to my gre tunnel but my machine is not responding.

ip tunnel add [g0] mode gre remote [remote ip] local [local ip] ttl 32
ip link set [g0] multicast on
ip link set [g0] up
ip addr add [x.x.x.x/8] dev g0

After creating this gre tunnel, the route is sho ...

Score: 0
rokkotnik avatar
Server alias with WWW not working in firefox
cn flag

I have webserver configuration:

######
##  HTTP site.si
######

<VirtualHost *:80>
ServerName site.si
ServerAlias www.site.si
Redirect / https://site.si/


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



######
##  HTTPS site.si
######

<Virtual ...
Score: 0
Zdenko.S avatar
ubuntu sudo su takes long time
mw flag

I have seen many questions related to sudo taking long time. I solved it by running script as root:

echo myserver > /etc/hostname
echo 127.0.0.1 myserver > /etc/hosts
hostname myserver

After recconecting SSH session, sudo commands execute as usual. Except sudo su.It takes about 7-8 seconds. It is fresh Ubuntu 18 EC2 instance running in VPC in private subnet. When I create instances in other regi ...

Score: 2
xbug avatar
Running zfs trim twice on the same pool still takes forever the second time
uz flag

I have this ZFS pool consisting of two mirrored 1TB Samsung 870 QVO drives, that I've been using for about a year for storing bhyve guest images as ZVOLs. During that time, I've created / messed with / destroyed numerous VM instances; this pool has seen quite a lot of disk activity.

Last night, while looking at disk I/O performance on one of the VMs, I realized that I had never trimmed these SSDs ...

Score: 0
Google cloud sql read replica consistency
il flag

Does Google Cloud SQL read replicas guarantees consistency? And how long does it take to replicate from primary to read replicas typically? I can't find information on the above two questions.

Score: 0
mahen3d avatar
Could not execute: /usr/sbin/sendmail fails to send emails via PHP
cn flag

I have a strange error in my Centos 7.9 Server running with Postfix as the Sendmailer program, It has a Website running in PHP-7.4

I get the below error Once in a while (not everyday but weekly or so)

Could not execute: /usr/sbin/sendmail

To fix the issue all i have to do is to restart the php-fpm service,

 service php-fpm restart

Does anyone has any idea on why this is happening? And any known fixes t ...

Score: 0
Andrew avatar
libvirt bridge incoming traffic not forwarded
vn flag

I have a public ip block 51.x.x.16/28 that I'm trying to use with libvirt/qemu VMs. Inside the VM (ip 51.x.x.18) I'm trying to create an outbound tcp connection (http).

Using tcpdump on the host I can see that SYN and SYN-ACK are sent and received. However inside the VM the SYN-ACK is never received (no trace on tcpdump and connect stuck).

I have connectivity from the VM to the bridge (brtest) and h ...

Score: 0
user3362334 avatar
ERR_CONNECTION_REFUSED when trying to configure Apache Virtual Host
bd flag

I'm trying to configure Phabricator on our server. For this, I followed the docs. When I tried to configure Virtual Host on the Apache2 server I encountered an error. I changed our DNS record for phabricator.<our_comapny_name>.com to target our server where phabricator is hosted.

I also added the file with the same name to our server's /etc/apache2/sites-enabled to define Virtual Host. It loo ...

Score: 0
Low volume workaround for Spam Assassin reporting URIBL_BLOCKED
ca flag

If this is a duplicate, just point me to the answer and I'll remove this.

I have a locally hosted email server using the ISP for the nameserver. In the email headers I get the Spam Assassin message URIBL_BLOCKED. When I google URIBL_BLOCKED the first result is https://help.directadmin.com/item.php?id=666 which says to change your resolve.conf to have nameserver 127.0.0.1, but this assumes you have a dns ...

Score: 0
biwiga avatar
Apache not working and seemingly not servicing any page
th flag
#
# Puppet Generated file do not modify manually
#
# staging
#
<VirtualHost *>
    ServerName staging.pdatwo.com

    
    
    ServerAlias www.staging.pdatwo.com 
    
    

    DocumentRoot /home/staging/version/www.staging.pdatwo.com
    ServerAdmin webmaster@pdatwo.com

    SetEnv environment prod
    SetEnv project staging

    UseCanonicalName Off
    #CustomLog /var/log/httpd/staging.pdatwo.c ...
Score: 0
Hong Ooi avatar
Pros/cons of service account and service principal in AAD
cn flag

The official Microsoft docs strongly discourage the practice of user accounts employed as service accounts. Instead, they recommend using service principals or managed identities.

Leaving aside MI's for the time being, I just had a question about this. Why is there such a strong recommendation against user accounts as service accounts in AAD? Consider the alternative of a service principal:

  • Both requir ...

Score: 0
AWS DNS alias for VPC local resources
mx flag

I'd like to be able to provide a resource SRV that lives in two different VPCs. So I'd give them DNS names srv.vpc1.corp.com and srv.vpc2.corp.com.

What I'm trying to figure out is if I can provision a srv.corp.com which always goes to the in-VPC destination? That is, requests in vpc1 will always go to srv.vpc1.corp.com, and requests in vpc2 will always go to srv.vpc2.corp.com.

Route53 does have lat ...

Score: 0
Junek avatar
PHP mail() returning FALSE but whole rainloop works - Postfix, Dovecot, PHP 7.3
ma flag

I had this problem earlier but somehow managed to repair it. One month after I had to reinstall Dovecot and Postfix and the same error appeared.

In my php.ini which is located at /etc/php/7.3/apache2/ is sendmail_path set to

sendmail_path = /etc/postfix

It writes I have a problem with permissions:

user@occamy:/etc$ sudo tail /var/log/mail.warn
Oct 21 16:27:36 localhost postfix/sendmail[20073]: fatal:  ...
Score: 0
How can I ensure DNS changes take effect within TTL, even when browser reuses HTTP connections?
gr flag

I am helping implement CloudFront CDN for an NGINX HLS video origin. If you're not familiar, HLS in the browser just uses XHR or fetch to constantly request .m3u8 and .ts files via HTTP and display them in a video element. I have replicated the issue I'm describing with simple AJAX calls on an interval, so the problem is not specific to HLS. I would like to be able to switch traffic between the CDN and ...

Score: 0
user12283246 avatar
Stratis filesystem will not mount after a reboot because the disk is full
in flag

It concerns a rhel8 server that has two disks (sda and sdb), and only on the sdb disk a Stratis filesystem has been created. After a restart of the server, no more mount point appears on the sdb disk. When I try to mount it I get the following error.

# mount -a                                                                          
mount: /var/www/html/nextcloud/data: mount(2) system call failed: ...

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.