Latest Server related questions

Score: 0
Rub avatar
How to enable / disable VRDP access to VirtualBox VM regardless of state
cn flag
Rub

In the documentation https://www.virtualbox.org/manual/ch07.html

they tell you that you can use

$ VBoxManage modifyvm VM-name --vrde on

but that only works if the VM is off.

Can it be done while the VM is on? How?

--

Glossary:

RDP: Remote Desktop Protocol

VM: Virtual Machine

VRDE: VirtualBox Remote Desktop Extension

Score: -2
Yonoss avatar
Is there any cheap way to convert from CX4 to RJ45?
sh flag

I have an HP ProCurve 2900 with 2 x CX4 10Gb ports in the back. And I want to somehow link it with my internet provider 10Gb hub, which only has a 10Gb RJ45 connector.

So far I was only able to find on Google, CX4 to CX4 cables, or 10Gb CX4 network cards, but I am not able to find any cheap converters from CX4 to RJ45.

Any idea where can I find such an adapter, if it exists ?

Thanks

Score: 1
xronin avatar
Unattended-Upgrade sends status e-mail to wrong address
sv flag

I have a strange error that I cannot figure out myself. I want unattended upgrades to send a status e-mail to a certain address. But somehow it always changes the "to" field in that email to something else. No matter what I configure.

/etc/apt/apt.conf.d/50unattended-upgrades:

    Unattended-Upgrade::Allowed-Origins {
      "${distro_id}:${distro_codename}-security";
};

Unattended-Upgrade::Package-Black ...
Score: 1
najarajar avatar
zfs send to NAS with PIGZ compression slowness
am flag

The following command that I use to backup used to take 5 minutes to complete and since last week it is taking around 25 minutes. This is after restarting a switch stack the server is connected to. The NAS 192.6.222.116 is in a different subnet to the server. How should I go about troubleshooting this issue?

zfs send -Rv shares1-pool/homedir@Cron-Snap-OraZ-Mon-030723 | pigz > /NAS/test/archive_s ...
Score: 0
Sbraaa avatar
php-fpm optimization : "seems busy" warnings, CPU peaks and low RAM usage
fm flag

I have ubuntu 18.04 LTS with apache 2.4.29 and php fpm 7.2.24 running on VMware websphere vm with 16 Core (2.4GHz) and 16GB of RAM. Apache is configured with mpm_event:

<IfModule mpm_event_module>
    ServerLimit     1000
    StartServers             4
    MinSpareThreads      25
    MaxSpareThreads      75
    ThreadLimit          64
    ThreadsPerChild      25
    MaxRequestWorkers     1500 ...
Score: 0
void_in avatar
Extract XML Request body variable into an nginx variable
in flag

I have an XML request body where I want to extract a value like:

<?xml version="1.0" ?><Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><Body><myvariable>123</myvariable></Body></Envelope>

I want to extract the value in the tag, assign it to the nginx variable and then if the value is set, use it for rate limiting.

So far as far as my research goes, ...

Score: 0
Where do I make the change to increase the stack size to 2MB?
in flag

I want to modify the stack size in IIS to 2MB as per the following link: https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/advanced?view=aspnetcore-7.0#modify-the-stack-size

<aspNetCore processPath="dotnet"
    arguments=".\MyApp.dll"
    stdoutLogEnabled="false"
    stdoutLogFile="\\?\%home%\LogFiles\stdout"
    hostingModel="inprocess">
  <handlerSettings>
    <handlerSett ...
Score: 0
Andrey Shevchenko avatar
Nomad job issue. "tls verification failed x509 certificate signed by unknown authority"
ck flag

I'm trying to start nomad job with docker driver, it should pull an image from my local docker registry. I've used tls certififcate issued by Nomad tls cert create, docker works fine with it. But when I try to run my job I get the following error "tls verification failed x509 certificate signed by unknown authority".

I've also tried to use certificates issued by Vault, same problem. And tried to  ...

Score: 0
Алексей Емельянов avatar
Pass requests for specified hosts throw VM

I have VPN that restrict all internet except inner resources. I don't like it and i want to install VM, connect it to VPN and redirect all requests for specified hosts to VM and get back answer. Is it possible with nginx or something? I need to use windows as main OS because of work software.

Score: 2
Mhd Ridho Swasta avatar
ERROR! unexpected parameter type in action Ansible Playbook
cr flag

I have my playbook yml script below:

---
- name: Download files from FTP
  hosts: localhost
  gather_facts: false

  vars_prompt:
    - name: target_host
      prompt: "Target Host IP: "
    - name: auth_method
      prompt: "Authentication method (password/key): "

  tasks:
    - name: Gather target host credentials
      when: auth_method == 'password'
      vars_prompt:
        - name: ssh_user
 ...
Score: -1
user15566016 avatar
How to get the overall size of S3 bucket
bt flag

How to get the overall size of s3 bucket. When I check in the S3 metrics I can see the Storage size is segregated based on storage type. Is there any way to get a complete size of s3 bucket.

enter image description here

Score: 0
Chen Li Yong avatar
Why when using the same FTP username and password to login into FTP server, I can upload files and my client can't?
cn flag

I created FTP server using vsftpd package on Ubuntu server on AWS EC2. I gave the user local_umask=022. I login using the FTP username password, I'm able to upload and delete files. I have tried using FileZilla for Windows and for Mac. Meanwhile, my client is using the same username password on FileZilla on Windows, they can login, they can list the files, but they cannot upload to the same folder ...

Score: 0
How to setup 410 permanently deleted on nginx
jp flag

How do I setup 410 permanently deleted on nginx for a specific URL for e.g.

https://www.example.com/product/somepage.html

Or better yet how can I do it for a specific prefix for e.g.

https://www.example.com/product/

Here I want to 410 all URLs that are /product/ for e.g. /product/page1.html, /product/page2.html etc.

Here's my current conf setup.

server {
        listen 80;
        listen [::]:80;
  ...
Score: 0
Dachuan Huang avatar
How do I track page cache miss in an amazon cloud instance?
ir flag

Hi I have been using AWS instance to do perf experiment. Now I am interested to know the linux OS page cache miss rate for a given time window.

Online resources told me to try "cachestat" https://github.com/brendangregg/perf-tools/blob/master/fs/cachestat. However, if you read the link's comments, you can see that it have a strict assumption about the kernel version, because it checks some function nam ...

Score: -2
eastwater avatar
Sudo user running app: can it be elevated to be root by app?
ec flag

Sudo user running app: can it be elevated to be root by app?

e.g.,

user "user_xyz" is a regular user in sudo group.

 sudo command

Does not require password.

If the user run an app, can the app elevate the user to be a root user causing security issue?

Score: 0
updevs avatar
Remote MySQL server returning: MySQL server has gone away / Error while sending QUERY packet
ec flag

I have 2 servers (both running Ubuntu 12.04)

APP server

  • running apache2, PHP7.2 and a CakePHP 2.0 APP

DATABASE server

  • running mysql 5.7

When I'am trying to insert into the database a big blob (starting > 40MB) the mysql server returns the following errors to the APP:

Error while sending QUERY packet

General error: 2006 MySQL server has gone away

Also in /var/log/mysql/error.log - i found the follo ...

Score: 0
Jarko avatar
Apache returns 408 when prepending www
tc flag

I have a server running debian 8.11 and apache 2.4.10 configured to serve 2 websites. One is a website built with wordpress (example.com), the other is a forum built with NodeBB (forum.example.com, which has no problems at all).

The website should be available as example.com, as www.example.com, or even inputting the IP address. All http requests should be redirected to https. The first and the la ...

Score: 0
Sina Nouri avatar
Reverse Proxy Issue: WordPress Admin Redirects and Incorrect Static Content Serving
uz flag

I have a configuration issue with my website setup involving a reverse proxy and WordPress. Currently, I have two domains: example.com hosted on server A and example.net hosted on server B. To display the content of example.net on example.com/blog, I set up a reverse proxy on server A.

I also changed the site URL in the admin area of example.net to example.com/blog, so all links to posts and page ...

Score: 0
Bob5421 avatar
Active Directory Trusts
hm flag

I have 2 domains on my active directory environnement.

There is a trust between this 2 domains: ([System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain()).GetAllTrustRelationships()

SourceName     TargetName           TrustType    TrustDirection
----------     ----------           ---------    --------------
mydomain.com   test.mydomain.com    ParentChild  Bidirectional

I am actually  ...

Score: 0
SACHIN HD avatar
Redirect Error website on VPS Ubuntu "www version" redirecting to "apache default page"
me flag

Hi I am a web designer and have recently starting maintaining a VPS server
I am using a Lamp VPS server running ubuntu 18 with multiple PHP websites
have edited virtual host and htaccess multiple times.

Problem :

1.in all websites: all "www version of websites" redirecting to apache homepage
2.non-https version not redirecting to https version

Should I reissue ssl cert for www version seperately ?

Score: 0
Bob5421 avatar
Machine account or local user account
hm flag

I am working on an active directory environnement.

I am connected to a workstation as a local administrator. I have launched a powershell console and I have typed:

$Env:UserName

I have multiple workstations. Sometimes I can see the local administrator name and sometime I see the AD machine account.

This is strange because I can run powerview and query Active Directory as local administrator. How c ...

Score: 0
Bob5421 avatar
How can I enable BUILTIN\Administrators for my user
hm flag

I am working in an Windows active directory environment.

I am connected to a windows workstation with a domain user.

Here is what I see when I type:

whoami /groups

BUILTIN\Administrators      Alias     S-XXXXX              Group used for deny only  
         

I have a local administrator account too and a domain administrator account. I have tried to add my user to this group. I have also tried to re ...

Score: 3
Prof Von Lemongargle avatar
Windows Server Reaches out to WindowsUpdate during TLS negotation
mx flag

We deploy hardened Windows Server 2022 servers in AWS. These servers reach out to RDS servers using a TLS encrypted channel. During the TLS negotiation, the Windows server is reaching out to Windows Update, presumably to get a current list of trusted root authorities (we found this by watching network traffic with Wireshark - it was very repeatable). These servers do not have any access to the public  ...

Score: 0
gorillanerve avatar
How do I create a Service Hook Web Hook in Azure DevOps using a client certificate?
pe flag

the service I want to connect my webhook to requires a client certificate when communicating via SSL/TLS. I already downloaded the certificate files, how can I add my certificate to the service hook / web hook of my azure devops project settings.

I created a Service -> WebHook but cannot find a field on how to set my client cert?

Score: 0
eastwater avatar
Is this AWS EC2 hardware (cpu, memory) too old?
ec flag

Is this EC2 hardware too old? Is there a way to select newer hardware(e.g., faster CUP, Memory DDR5) when launching a new EC2 instance?

*-cpu
          description: CPU
          product: Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
          vendor: Intel Corp.
          bus info: cpu@0
          version: Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
          slot: CPU 0
          size: 2500MH ...
Score: 0
Managing ougoing RDP sessions (MSTSC)
ws flag

I am trying to automate a process where a user can establish an ssh tunnel in WSL then use that tunnel for an RDP connection using MSTSC. The same script might launch multiple instances of MSTSC using tunnels (i.e. in all cases the host would be localhost but using different port numbers). There is no scope for creating the tunnel natively on MS-Windows / there may be scope for running an RDP client in W ...

Score: 0
gstlouis avatar
linux fail2ban not catching auth a specific fail with postfix
bo flag

I had journalctl open and noticed an offender repeatedly hitting me with auth fails in postfix. I have a standard postfix-sasl filter on by default that, to my knowledge, is working well.

It wasn't catching this one offender, of course my curiosity kicked it as to why. So I compared a legit postfix ban with this particular entry and notice only that LOGIN was not in upper case.

legit ban = Jul 03 11:4 ...

Score: 0
Archit Gupta avatar
wget/FTP downloading issue
vi flag

I am using the command

wget -r ftp://xyz/../

to download a directory on my wsl. It is a huge directory, so it takes hours to finish. My internet got disabled for a little bit, and the process terminated. I want to continue my download or restart downloading, skipping the files already downloaded. How can I proceed with that?

Score: 3
Eric Logsdon avatar
SC DPM detailed backup reporting
ar flag

We are currently using DPM 2019 to backup our servers on prem. Our weekly full backups go to tape and our daily incremental backups go to the disc pool. We are discussing doing online backups to Azure. We are trying to get a handle on the daily and weekly data volumes so we can size our storage vault (for pricing purposes) and evaluate our WAN connection. I have been unable to find any reports or tool t ...

Score: 0
PHP Error waiting on socket
in flag

I'm getting problems with ssh2 and fread php function that started on a few days.

On the apache error log show:

ssh2_connect(): Error starting up SSH connection(-9): Error waiting on socket 

fread(): Failure 'Error waiting on socket' (-9)

I'm searching for it on internet but have no success.

The server have much connections, maybe can be this?

# netstat -anp | wc -l
102407

# netstat -anp | grep TIME_ ...

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.