Score: 0
When a VM Template was last used (to create a VM)?
kr flag

I need to know when a VM Template was last used (to create a VM)? As I am working on a project of segregating unused templates in my vSphere environment, I need to know that answer.

I tried Get-Template TemplateName | select * But is not giving me the required information, Any help here is appreciated, Thank you!

Score: 0
HDB avatar
Connect redis-cluster(running in docker) from host machine
fr flag
HDB

I have used docker-compose with static ip to create redis-cluster, everything ran successfully but now I am stuck at how do I connect my host application to redis-cluster running in side docker.

version: '3'
services:  
  hdbrediscluster:
    container_name: hdbrediscluster
    image: redis:6.2.7-alpine
    command: redis-cli --cluster create 172.20.0.10:6380 172.20.0.11:6381 172.20.0.12:6382 172.2 ...
Score: 0
file system error during bootup
at flag

I am getting below errors through console of the linux machine.

Welcome to emergency mode! After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "systemctl default" to try again to boot into default mode.
systemd-fsck[160090]: /dev/sda3: Inodes that were part of a corrupted orphan linked list found.
systemd-fsck[160090]: /dev/sda3: UNEXPECTED INCONSISTENCY; RUN  ...
Score: 0
TvEtoffes avatar
Apache 2.4 : Redirect a subdomain to a new domain except one url the / (index.html)
cn flag

I just changed the domain name, and i would redirect the following links :

  • All old urls from subdomain.example.com/url.html --> subdomain.newdomain.com/url.html

Except one url (the /) (implies index.html) but not specied by user in the browser :

  • The domain itself subdomain.example.com ---> subdomain.newdomain.com/newpage.html

How can i do that please?

this is what i tried (without succe ...

Score: 0
ubuntu 20.04 - ChrootDirectory in sshd_config wont work with tokens %h or %u
in flag

I am trying to lock users into their home directory using a dedicated group in the sshd_config. The section of my group looks as follows

Match Group sftponly
ChrootDirectory %h
X11Forwarding no
AllowTcpForwarding no
ForceCommand internal-sftp

Using %h or even /home/%u wont work when I try to connect with any user. I checked all permissions on their home directories and everything looks ok.

Interestingly, ...

Score: 0
Routing between 2 networks on Linux
az flag

My system topology:

On an ubuntu machine with 2 ethernet ports (eth0, eth1) i have connected another ubuntu machine as client and an OCRCamera (also client).

the requirement is that the main ubuntu machine will be DHCP server and router, so that the ubuntu-client and the camera will both get IP address from the main ubuntu machine. The ubuntu-client and the camera need to be able to ping/ssh one ano ...

Score: 0
mavavilj avatar
How to access PostgreSQL database with psql after it has been created via initdb and pg_ctl?
in flag

How to access PostgreSQL database with psql after it has been created via initdb and pg_ctl?

Particularly, in my project folder, I see:

> pg_ctl status -D db
pg_ctl: server is running (PID: 17159)
/usr/lib/postgresql14/bin/postgres "-D" "db"

But how can I connect to this with psql?

Score: 0
trash2 avatar
How to change mail.log save configurations to make gzips for one month?
my flag

I want to change the postfix or system configuration to have all the information of each month saved in mail.log, mail.err, and mail.info.

The system or postfix make new empty files after reaching some kb or maybe it has another form when the gz files are created.

How and where can I change that in system or postfix cfgs?

os is debian + standard postfix/dovecot cfgs.

Score: 1
Flo avatar
dns cifs share entry in fstab not re-mounted on IP change, while used by smbd
ph flag
Flo

I set up a CIFS share on my ubuntu

Distributor ID: Ubuntu
Description:    Ubuntu 20.04 LTS
Release:        20.04

using an fstab entry:

//mystr.myserver.com/backup /mnt/mystr       cifs    iocharset=utf8,rw,_netdev,credentials=/etc/smb/mystr-credentials,uid=someuser,gid=0,file_mode=0660,dir_mode=0770 0       0

which works as expected.

now i do have smbd running to provide this share to users on my LA ...

Score: 0
Citizen avatar
How many simultaneous users can a dockerized shiny app support?
in flag

I have developed a shiny app and I have dockerized it. This app is static and there is an authentication page to access only to the content of one tab of the app. I run this app on my own domain and it works fine. I have 100 tabs opened at once in my browser and I can see my app running in all of them. I would like to know what would be the maximum number of simultaneous users that the app supports and  ...

Score: 0
run task in the background
in flag

i have powershell script that check if the service is up and of not it starts it up,

$ServiceName = 'mapguideserver3.1'
$arrService = Get-Service -Name $ServiceName

while ($arrService.Status -ne 'Running')
{

    Start-Service $ServiceName
    write-host $arrService.status
    write-host 'Service starting'
    Start-Sleep -seconds 60
    $arrService.Refresh()
    if ($arrService.Status -eq 'Runnin ...
Score: 0
Aghori avatar
How to use remote proxy server on Linux cli for all protocols (non-http traffic too)
mr flag

Is there any Linux environment variables similar to http_proxy, https_proxy in order to forward any spefic port traffic exp: port 5000 or port 3233 via a proxy server which is running on x.x.x.x:3128

Score: 0
Black avatar
403 after pointing A-Record of subdomain to IP of other server
id flag

I have two servers X and Y.


Server X:

I have a VHOST for the subdomain test.api.konfigurator.company.de pointing to a directory which simply has a index.html containing the word "it works!".

First I tested it locally, by editing my hosts file in windows. That worked, the text "it works!" is showing if I call test.api.konfigurator.company.de from the browser.

So this made sure that the VHOST works. ...

Score: 0
Available Disk Space
us flag

I have an ubuntu server with 2x 4Tb hard drives. This was set up with Hetzner's install image using software RAID 1.

I'm confused by the output of df -h. It lists 1.9T available for / and 1.6T for /home.

What confuses me is that /home is a sub-directory of /, so does this mean that the total available space here is 1.9T, or does it mean that the total space available is 3.5T of which 1.6T is allocat ...

Score: 0
user27772 avatar
Is it possible to access a modified query string in a RewriteCond *after* applying a RewriteRule?
cn flag

Is it possible to access a modified query string in a RewriteCond after applying a RewriteRule?

What I'm trying is to apply ...

RewriteCond %{QUERY_STRING} ^(.*)&?id=([^&]+)&?(.*)$ [NC]
RewriteRule ^/app\.jsp$ /app/%2?%1%3 [R=302]

... to rewrite following urls into "nice" ones. That already works, but for (2) and (3) there are still unneccessary trailing "?" and "%" chars that I'd like  ...

Score: 0
Piyumi Perera avatar
Google Workspace Gmail add-on Store Listing Rejected
mz flag

I am trying to publish a google workspace gmail addon to google workspace market place. I followed following steps to it. https://developers.google.com/workspace/marketplace/how-to-publish

First three steps have completed and I am stuck on Store Listing since it was rejected.

I did not received any feedback email from Google. Some one help to ged rid of this?

Score: 0
novapack avatar
How to I setup default php-fpm service if I have two versions of php
sd flag

I am having two versions of PHP on an ubuntu server that is 8.1 and 7.4 I installed both PHP-fpm extensions and I have this in /var/run/php

php7.4-fpm.pid php7.4-fpm.sock php8.1-fpm.pid php8.1-fpm.sock php-fpm.sock

I expected that running systemctl status php-fpm without the PHP version number would be running the default version PHP. but the service is not even there. I get this message Unit php-fpm. ...

Score: 0
MightyMouse avatar
Multiple nested HTML include directives with a nginx server
us flag

I have index.html:

<!--#include virtual="/includes/Framework.inc"-->

Inside Framework.inc I have:

<!--#include file="/includes/HTML.inc"-->

However, when I open the page for index.html, after viewing the source code, I see the nested include did not happen and see the full include directive:

<!--#include file="/includes/HTML.inc"-->

How can we make sure nginx supports multiple le ...

Score: 0
taipei avatar
Apache SSL renewal keeps using old certificate
ru flag

I have a website using Apache that runs on a GCP VM instance with a Google load balancer. In total, I have 3 servers

I have changed the SSL certificate in the Google load balance configuration.

What I have done so far to check are

  1. using gcloud command gcloud compute target-https-proxies list to check if the latest SSL was installed or not
  2. Running gcloud command gcloud compute target-https-proxies u ...
Score: 0
user3099225 avatar
Add SRI hash to existing CDN links
cn flag

I have a Drupal site where there are few CDN links. Iwas thinking of adding SRI hashes to those links.

How can I do that?

Every solution I tried requires to add a custom module, but I don't know how these things work.

Somehow, I managed to create a custom module which creates a Hello page. I just followed a tutorial. Can I add hashes in it?

sri.info.yml

name: SRI Hash
type: module
description: 'SRI  ...
Score: 0
Mamta avatar
Log running processes average by users on server
cn flag

I want to log resource usage cpu & memory wise on server by user. I used atop to get the usage, but is there any option I can use with atop to show entire day average of resource usage by user. I am using centos and ubuntu.

Thanks in advance.

Score: 0
Core Dreams Innovations avatar
cannot connect to ssh to ec2 via mac terminal
us flag

I cannot connect to ssh via terminal it asks for the password every time

It always gets connected with ssh -i /Users/XXX/Downloads/XX.pem username@ec2-54-197-189-206.compute-1.amazonaws.com but since yesterday it ask for the password

I have tried to edit the user data for instance and followed the AWS manual in vain

It asks me the password every time when I tried to connect to ssh

Score: 0
Leland Barton avatar
Nginx Keep Alive: Simultaneous SSL Handshakes Taking 25s
tr flag

Thanks for reading :)

This is a super difficult issue and would like to receive any ideas or suggestions to figure out this issue.

Problem: The application on a user logging in initiates ~20 api requests in parallel. The first request will do the SSL handshake and then around the 10th to 13th request, I see two requests initiate the SSL handshake at the same time with each handshake getting stuck and t ...

Score: 1
OzBob avatar
How do I set a public static IP address to a storage account?
ph flag

I have an Azure storage account with a blob endpoint of: 'mystorageaccountname.blob.core.windows.net', (and queues etc.). I want to choose a static IP Address, because some of my more zealous customers want to only allocate a known set of IP addresses through their firewall. I have already provided them with the list of Azure IP ranges for my Azure region, but they don't want to allocate such b ...

Score: 0
Signing a hash of file vs signing a file
uz flag

If person A generated a hash (e.g sha256) of a file and then signed the hash using a private key.

Given person B only has the public key, file, signature and the hash, would verifying the signature using the public key be sufficient to prove person A signed the actual file?

What hashes and algorithms are best suited to this?

Score: 0
Facundo Fleitas avatar
How to reduce Diffie Hellman problem to ElGamal?
ru flag

enter image description here

I'm trying to answer without success questions (ii - iv)

Any hint will be appreciated :)

Score: -1
Adding large amount of storage (500TB) to 1 VM
cn flag

What is the best way to add a large amount of storage to a single Windows host in VMware vSphere 7? Say 500TB? In the past I've made a bunch of VMFS datastores and split it up per drive in Windows, one 50TB VMFS and one 50TB Windows drive times 10. However a new application would work better if that was all combined into one drive...I know I can combine them in Windows, but that seems like an inefficien ...

Score: 1
WaitoPiggu avatar
How to handle requests to non-existent subdomains with Nginx
in flag

Here's my Nginx configuration for my domain example.com which serves a trivial static website.

server {
    root /var/www/example.com;

    index index.html index.htm index.nginx-debian.html;

    server_name example.com www.example.com;

    location / {
        try_files $uri $uri/ =404;
    }

    listen [::]:443 ssl ipv6only=on; # managed by Certbot
    listen 443 ssl; # managed by Certbot

    ssl_ce ...
Score: 0
David Rogers avatar
Missing "Proceed without enrollment policy" When Generating Certificate Enrollment Policy
au flag

I am trying to follow the instructions listed here. But when I get to the step:

  1. Select the option to Proceed without enrollment policy > Click Next.

I see:

enter image description here

No "Proceed without enrollment policy" is visible. Why? When I google around for this I don't see any references to this?

Score: 0
Nginx - Reverse proxy serving ScreenConnect does not prepend subdirectory
cn flag

I am running an unsecured ScreenConnect web interface on a machine on my local network. I would like to serve it through port 443 using nginx's reverse proxy, and access it via:
https://<WAN.IP.ADDRESS>/screenconnect

My nginx.conf location block:

            location / {
            root /www/var/nginx/html
            }

            location /screenconnect/ {
            proxy_pass                 ...

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.