Latest Server related questions

Score: 0
Tinfo avatar
Liferay 7.4 doesn't start as windows service
ag flag

i already asked in Liferay forum but i didn't get an answer, i was trying to configure a clean Liferay 7.4 portal to start as a service on Windows Server 2022, i followed the same steps used to configure Liferay 6.2.5 and generic Tomcat servers as a service, and while the latters start without problems, Liferay 7.4 won't start showing the following error:

2023-01-18 13:46:05 Apache Commons Daemon p ...
Score: 0
ph3ro avatar
Alternate Ubuntu Packages for Oracle Linux/RHEL
ro flag

Can someone help me with the below packages

libconfig-dev libhiredis-dev libelf-dev libevent-dev

What will be alternate packages for these in RHEL or Oracle LINUX

Score: 0
How to export on a text file the content of all mails in queue?
cn flag

I'm noticing an anomalous activity for postfix and I want to check the outgoing mails

mailq shows a bunch of mails in queue with their id without any info on their specific body content to give me a clear idea of what is generating these outgoing mails

also

postcat -q id

it's useless because the suspicious mails and related ids are continuously processed and removed from queue, so when I perform the chec ...

Score: 0
crammer avatar
I to host a static website with nginx on Plesk server which is running Apache
dz flag

I migrated my WordPress websites from shared hosting to a single VPS. I am hosting the websites with a Plesk server. The Plesk is configured to serve the request with an Apache web server and Nginx as a reverse proxy server.

Now, I want to host a static website with Nginx at /var/www/bloggrammer.com. I have added the nginx config for the static website at /etc/nginx/sites-available and enabled it at ...

Score: 0
user174174 avatar
Why I see all Vhost domain names in SSL certificate, what did I do wrong?
br flag

I have a VPS that hosts 2 websites, and I have 2 domains, domain1.com and domain2.com

Server Nginx running on Ubuntu 20.04

I installed certbot and nginx according to their instructions and CA is Letsencrypt.

The problem is that when I visit https://domainX.com and click on the lock icon to view the cert (in Firefox) and select 'More information' I can see the other website's domain names either,  ...

Score: 0
Chris Douglas avatar
Supplying variables to an Ansible script for upgrading Payara
be flag

I'm attempting to write an Ansible script to upgrade a Payara instance to a newer one, by taking a backup of the domains on the current installation, nuking it, installing the new version of Payara and then restoring the backup that was just made to it. This appears to be the recommended way to upgrade Payara.

I've made considerable progress laboring on this, partially from code I've already writ ...

Score: -2
Jon Glazer avatar
My IP is being blocked in windows server 2012 R2
de flag

My IP from my home is being blocked by my server (Windows Server 2012 R2). Where can I find and turn off this block? I believe it happened while working on a custom IP protocol for a program I was working on.

I have confirmed this with tracert as it traces right up to the router the server is connected to.

I browsed windows firewall settings and cannot seem to find it. I am very convinced this is ...

Score: 0
nginx (+ php-fpm) sometimes returns http code = 499
br flag
Vv.

I have a script.php that is called via curl and runs for about 40 minutes.

Sometimes the script just stops in the middle.

In nginx access.log script call completes with strange http code 499. There are no errors in php-fpm logs.

In php config max_execution_time = 9000

I implied that the problem may be in the timeout and set in the configuration nginx with a large margin fastcgi_read_timeout = 2h;

Score: 0
How to improve sender score for personal mail server
ph flag

Background:
I have an own domain and an own mail server that sends out the mail for this domain. The users are only my family so there are less than 10 users with probably 20 mails sent per day.

Please don't question why I have my own server: It is my job as a consultant to work with the server software and I use this server to test new settings / new versions before I use them in my customers' environmen ...

Score: 0
mysanj avatar
Custom script extension for drive letter override in Azure VM creation
ch flag

I am able to run the below script within the VM without any error

gwmi win32_pagefilesetting
$pf=gwmi win32_pagefilesetting
$pf.Delete()
Restart-Computer –Force
Get-Partition -DriveLetter "D" | Set-Partition -NewDriveLetter "T"
$TempDriveLetter = "T"
$TempDriveLetter = $TempDriveLetter + ":"
$drive = Get-WmiObject -Class win32_volume -Filter “DriveLetter = '$TempDriveLetter'”
#re-enable page  ...
Score: 1
Stody avatar
Security Key Hybrid Azure AD
bl flag

Environment: Windows 11, Server 2016, Azure AD Free.
Problem: Your credentials could not be verified. (0xc000005f)
I am trying to activate fido2 security key in my domain.
The key which I am using is a Yubikey Bio Fido Edition.
First: I activated fido2 in Azure AD for an test group with a test user.
Than: I activated the security key for the pc on the Domain Controller via Group policy.
Last: ...

Score: 0
Dean Van Greunen avatar
GCP Compute Instance cannot be accessed
cn flag

I have a compute instance which hosts our database.

This has been working fine for the past few months.

suddenly now i cannot connect to the server via ssh (through gcp cloud shell) nor can i access the database which hosted on this instance, running ubuntu 20.04 LTS

Score: 0
Tom Cannaerts avatar
mod_security skips processing phase 2 rules looking for SecMarker
cn flag

I'm trying to debug a mod_security2 issue where it at some point appears to stop processing phase:2 rules. I've installed libapache2-mod-security2 and modsecurity-crs from the default apt repositories and have enabled the engine.

SecDebugLogLevel 9 gives following:

...
[/tomc4][4] Recipe: Invoking rule 7f3a5e3c8778; [file "/usr/share/modsecurity-crs/rules/REQUEST-903.9001-DRUPAL-EXCLUSION-RULES.conf"] [li ...
Score: 4
reza avatar
shutting down gcloud service in case of DDos attacks
tl flag

my company has a small and nice product on google could (using public webapp, functions and storage).

it's been hours I'm searching for a solution like a kill switch for services in case of any threat or attack on any of services. I've found that we can define max instances for each cloud function which is somehow cool and prevents too many threats.

but the main problem is the cloud storage. files o ...

Score: 1
heeeresjohnny avatar
Snaphot sizes in ZFS and syncoid backups of them
ee flag

I got a question about ZFS snapshotting:

So, as far as I understand, when I take a snaphot of a ZFS dataset, the snapshot will be initially 0 bytes in size, because at the moment of creation, there is no difference in files between the dataset itself and the snapshot, right?

When I now delete a 1GB file in the live dataset, the live dataset becomes 1GB smaller and the snapshot becomes 1GB bigger bec ...

Score: 0
hamid avatar
Adding users to Unix groups only if said groups exist (puppet)
dz flag

I tried using the 'group' attribute of the 'user' resource like so :

user {
"user":
    group  => ["docker", "www-data"]
}

If the groups 'docker' and 'www-data' exist on the client, the user will be added to the groups without issue. However, if one of the groups doesn't exist, puppet client will error out and won't add the user to any of the groups in the array.

How do I make sure puppet ignores a g ...

Score: -2
Aniket avatar
How to write Ansible playbook to commit and push my new updates on gitlab repository
bw flag

How to write Ansible playbook to commit and push a gitlab repository?

I have Ansible tower template to launch my playbook, then playbook must do commit and push on different git repo. This git repo on successful push will trigger jenkins pipeline.

Score: 0
AmazonAppflow Persistent avatar
Unable to perform Streaming Inserts for Google BigQuery API
cc flag

For Streaming Inserts we found in the quotas section of the existing account that a default limit is already present but we are not able to access it in the free tier. As per documentation it is mentioned that "Streaming Inserts" would be accessible after enabling billing. Although, we have enabled the billing but API is still throwing the same error when we try inserting data for a table through POST r ...

Score: 0
Breakfast Serial avatar
Dynamically move mails into matching mailboxes with sieve fileinto regex
gr flag

I'm trying to create a sieve script, which files mails into mailboxes (or sub-directories of the inbox) matching a certain subject identifier.

For example if the subject includes 123 (three digits, 0-9), the server should check if a mailbox matching the same identifier exists, such as Foobar 123 and if so, file the mail into that mailbox, otherwise have it stay in the inbox.

Checking the identifier in t ...

Score: 0
TechHuB avatar
fsck last check for vfat and other filesystem (other than ext)
cl flag

Is it possible to find the last check for vfat or other filesystem. since tune2fs can only be used for ext file system. Can someone address me with this? Advanced Thanks..

Score: 0
Dan avatar
Reset MFA for user in B2C tenant
us flag
Dan

I have an account that is linked with multiple Azure tenants - one normal one, and a few B2C tenants. All of which have MFA registered. I know how to update my main tenant MFA - but I can't see any way to do the same with the other tenants. They're the same login (email/password) - but have different MFA registrations. I'm changing authenticator app - so would like to re-do those MFA registrations.

 ...
Score: 4
Brendan Gooden avatar
Add "File Server for General Use" on top of Storage Spaces Direct (S2D) Cluster
jm flag

We have a S2D Storage Spaces Direct cluster that we are wanting to add a General Purpose File Server to.

Is it possible to use the S2D Cluster Shared Volume for the File Server role ?

When i try and create the File Server role it gives me this error.

enter image description here

However when I try and add a disk under 'Disks' it gives me this error

enter image description here

Score: 0
A. Trevelyan avatar
GTP-U configuration in OVS
id flag

I'm trying to configure a virtual GTP-U interface in OVS, however when I try the below command (from https://docs.openvswitch.org/en/latest/faq/configuration/):

Q: Does Open vSwitch support GTP-U?

A: Yes. Starting with version 2.13, the Open vSwitch userspace datapath supports GTP-U (GPRS Tunnelling Protocol User Plane (GTPv1-U)). TEID is set by using tunnel key field.

$ ovs-vsctl add-br br0
$ ovs-v ...

Score: 0
mikem avatar
AWS VPC Subnetting
cn flag

I have a VPC created with a CIDR block of 10.10.0.0/16. I am trying to subnet that block into some /24's -- ie. 10.10.1.0/24

It wont let me. The error I get is: CIDR Address overlaps with existing Subnet CIDR: 10.10.0.0/16.

My understanding is that I should be able to create subnets within the VPC CIDR block as long as they are smaller than the block. I would expect /24 to fall within a /16.

Every s ...

Score: 0
mmgyyc avatar
My images are getting the upstream name as path
kp flag

I have an ASP.NET application running in a docker container that's being server by an NGINX reverse-proxy also in a docker container.

I'm not experienced at all with NGINX or hosting, so please apologize my ignorance. It took me a while to make it work, but everything is working fine besides the images.

I checked the <img> tags inspecting the browser and the src attribute is being filled wi ...

Score: 1
Tom Cannaerts avatar
Cross-signed (Let's Encrypt) SSL chain validation
cn flag

Note: I spent like 30 minutes writing/formulating this question, and it turned out into a rubber ducking session. Realised what I was doing wrong, but posting this anyway as it might by useful for other people as well.

For context, I work with SSL certificates on a daily base and considder myself having a rather good understanding of how they work (or at least I though so :p ). I'm currently writing ...

Score: 0
jmhal avatar
Installing OpenStack with Ansible fails during Keystone playbook on TASK openstack.osa.db_setup
fj flag

I am trying to create a two machine deployment following Openstack Ansible Deployment Guide. The two machines are named targethost01 and targethost02, and I am running Ansible from deploymenthost. Every machine has 4-Core CPUs, 8 GB of RAM, and 240 GB SSD. I am using Ubuntu 22.04.1 LTS.

The machine targethost01 has the following network configuration:

network:
  version: 2
  ethernets:
    enp5s0:
      d ...
Score: 0
ahelton avatar
How to prevent the Chrome Default Browser Prompt and Welcome Screen Using Master Preferences file?
aq flag

I am attempting to deploy Chrome and have followed Jay Michaud's guide found HERE.

I have created my JSON file corresponding to Chrome's most recent provided information on doing so found in the links provided in Jay's guide. I minify/compact my JSON and run it through JSLint and everything checks out as fine. I then proceed with the Windows Installer Transform operation and, after doing this, att ...

Score: 0
Arthur Luiz avatar
How can I create an ecs service for my deploy
US flag

I’m learning CI/CD pipelines and I’ve come up with a question.

I have a CloudFormation file that creates some static resources for my app (ECR repository, ECS Cluster and some roles)

When creating my deployment pipeline in GitHub Actions I’ve set up my task-definition.json to run my ECS Task.

But when do I create my ECS Service? Should it be already created or I need to create in the deployment s ...

Score: 0
campos avatar
How to properly configure vlans on an interface in Linux?
ro flag

I want to configure some vlans on an interface of a Linux VM.

The Vlan is already configured on the hypervisor and the port is marked on the switch.

I installed the "vlan" package on Linux Debian 11 and configured the /etc/network/interfaces file:

auto eth0.20
iface eth0.20 inet static
        address 192.168.2.10/24
        gateway 192.168.2.1
        vlan-raw-device eth0

However, after configuration, i ...

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.