Latest Server related questions

Score: 0
Andrew avatar
How can I hide the Query result in the Panel of grafana 8.2?
mx flag

Now the panel in grafana 8.2 is picture 1 : enter image description here

Admin Login, User Login, Login Fail are the values calculated from ID 4648, ID 4625, ID 4624 respectively. enter image description here

I don't want to show the 3 Query: ID 4648, ID 4625, ID 4624 in panel . I only show Admin Login, User Login, Login Fail in panel.

What settings do I have to do on grafana to achieve my goal ?

Score: 0
Ajay Banstola avatar
After= option not working in systemd service file
in flag

I have two shell scripts name first.sh and second.sh. The contents of first.sh and second.sh are given below:

    >>first.sh
    #!/bin/bash
    while true
    do 
        echo The current time is $(date)
        sleep(1)
    done



    >>second.sh
    #!/bin/bash
    while true
    do 
        echo The current time from second script is $(date)
        sleep(1)
    done

Similarly, the co ...

Score: 0
Soheil avatar
501 Not Implemented error when making request to localhost
fr flag

I'm using apache mpm event and php-fpm on my CentOS 8 server. I need to be able to make http requests from my server to a php api on my server, so the url of the api would be something like: http://127.0.0.1/~<account_name>/api.php. there is no problem with the url and the php file gets found on the server, but it generates a 501 Not Implemented error.

what is causing this error when I try to make  ...

Score: 1
user5525652 avatar
Get transceiver informations through SNMP on Dell switch
ga flag

From Dell PowerSwitch N4000 Series, I want to get information about transceiver through SNMP, like Wavelength, Receive Power

Example:

# show interfaces tengigabitethernet 1/0/5 transceiver detail

Type.............................. SFP+
Media............................. 10GBASE-LR
Serial Number..................... F0123456789
Dell EMC Qualified................ Yes
Data Rate.........................  ...
Score: 0
Mate Meerai avatar
Move /usr to new partition on running Oracle Linux 7/8 server?
ng flag

I need to move the /usr directory to a new partition on a running server and delete the old /usr directory without "crashing" the system and no live CD is allowed. The new ssd is already build in and partitioned with fdisk and a filesystem is written on it with mkfs. I created a new directory /ousr for the original /usr directory and mounted sdb1 to /mnt. I copied the /usr files with all dependencies,  ...

Score: 0
Josema Gutiérrez avatar
Deploying symfony 5 application to shared hosting with just FTP access
ru flag

I'm trying to deploy a Symfony web application on a server that only gives ftp access, without ssh possibilities, and I could only put files on two root folders: /data and /html folder. I'm trying to put the Symfony files inside de html folder but the htaccess that apache webpack creates doesn't work, only works on local and I'm getting a 500 error on screen. The log doesn't helps either, only generic 4 ...

Score: 1
Pass password in ssh config
mp flag

Is there any way to pass a password using .ssh/config? I'm trying to set up a way to login to a server under a specific user and then switch automatically to root when I connect (need to input password).

For now, I have:

Host server
 HostName hostname.server.com
 User not-root
 Port 1234
 RemoteCommand su
  • I have to use these steps (user -> su)
  • I have to use this key (with passphrase)

Thanks!

Score: 0
Pakuss avatar
Remote deployment of a script on linux
cn flag

We are creating a lab and wanted to setup like 10-15 hosts with ldap. We need to install on each computer some packages that are necessary to run ldap, so my question is - can I somehow run 1 bash script on multiple computers simultaneously? So basically i have the script on one of my servers and want to run it on 10 machines. Would it be possible?

Score: 1
Daigo avatar
How can I modify CoreDNS configmap before I bootstrap the cluster using kubeadm?
ao flag

I need to build my on-prem Kubernetes cluster using kubeadm.

Since my environment has no DNS, I have to modify a configmap of CoreDNS so that it doesn't contain a forwarding section.

After deploying the cluster, I can edit the configmap using kubectl edit cm coredns -n kube-system, but it takes a bit of time for CoreDNS to work properly after the modification that might be a problem for my produc ...

Score: 0
JackFrost avatar
PCI NVMe mdadm RAID1 performance too slow
ru flag

I know this has been discussed multiple times but I have not found any solution so far that worked so posting here hoping there is some solutions in Dec 2021…

I have a Dell R640 server with dual Xeon Gold processors and 384gb ram. The chassis is only sata/sas drive (does not support u.2) and don’t have budget for new server that supports u.2.

Note - my use case is to provide storage for VM to ta ...

Score: 0
killmasta93 avatar
issue on reading XML extended-events MSSQL
cn flag

Currently I was wondering if someone could shed some light on the issue I'm having.

I'm currently trying to use this tutorial to find Blocked Processes and Deadlocks https://www.brentozar.com/archive/2014/03/extended-events-doesnt-hard/#comment-3481472 I ran the steps as it says in the tutorial so not sure what I did wrong.

After collecting the events I run this query:

WITH events_cte AS (
  SELECT
   ...
Score: 1
Apache: restrict serving images to authenticated users
cn flag
Bob

I'm trying to figure out a way to restrict access to a media folder in my apache config. The folder takes uploads from from a Django site and image/pdf uploads are displayed in the site to authenticated users. The problem is, that any unauthenticated schmo can navigate to mysite.com/media/images/pic1.jpg. This shouldn't be possible; I've tried a few things to restrict this behavior, but I think I nee ...

Score: 0
Abe avatar
Installing Magento in a subfolder i.e., example.com/magento
de flag
Abe

Prerequisites were successfully installed. I installed Elastic Stack on Ubuntu 20.04 LTS. I followed all steps on this link (up to #2. Install and Configure Kibana on Ubuntu which I did not need). No problem whatsoever.

After installation is complete, I visited: example.com/magento and I got 403 Forbidden. I understand this is a permission issue, but before I installed Magento, I followed this guide and ...

Score: 0
Web application not serving with Route53 under wifi?
hu flag

I have a node application running in an Ec2 container on port 443. I've added an Elastic IP to the container. When I reference the Elastic IP or IPv4 DNS in the browser, I can see my application. I added a Loadbalancer and attach it with the IP address. When I reference the load balancer in the browser, it also displays my web app as expected. This is where it gets interesting.

When I add a cname ...

Score: 0
Cisco Catalyst 2960 Allow Management from Single IP Address
cn flag

Our organization was recently required to use MFA for logging into our networking hardware. We're accomplishing this by using Royal Server and Royal TS, and limiting the source IP for SSH and web GUIs to just the IP address of the Royal Server. HP makes this easy using something called "IP Authorization". However, on our Cisco Catalyst 2960s, I can't find the option to do this.

The closest articl ...

Score: 0
internal DNS for externally managed Route 53 on Windows Server 2016
cn flag
Jay

I'm trying to add a CNAME to a subdomain where the DNS for the domain is split. I'm using a CNAME because that's what the company hosting the site gave me. I've configured my external DNS with the 4 AWS name server records and it works fine. For my internal network, it's not resolving since it's a split DNS.

So I have an internal DNS zone domain.com with the following records.

www.domain.com A 192.168 ...

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.