Latest Server related questions

Score: 1
Riwaj Chalise avatar
Not able to install PECL for php 7.3 in ubuntu 20.04 LTS
cn flag

I have a laravel project that uses firebase and I am not able to install PECL for php7.3. I tried this https://cloud.google.com/php/grpc. When I tried the following command

sudo apt-get install autoconf zlib1g-dev php-dev php-pear

it doesn't install Packages for 7.3 but for 8.0 which is not my requirement. I also tried.

sudo apt-get install autoconf zlib1g-dev php7.3-dev php7.3-pear

But it says it ...

Score: 0
RekaB avatar
Running Enterprise Search as a service
bv flag

Elastic's Enterprise Search Installation Guide goes as far as starting the process locally - which is obviously not very stable.

When installed from a .deb or .rpm, a service is actually set up and ready to use but unfortunately, it doesn't seem to be working!?

When I start the service, all I can see is:

$ systemctl status enterprise-search

● enterprise-search.service - Elastic Enterprise Search
   ...
Score: 0
vmayorow avatar
Installing Ansible 2.9 on Ubuntu 21.04
cn flag

Is it possible to install Ansible 2.9 on Ubuntu 21.04 via apt?

Apt on Ubuntu 21.04 installs Ansible 2.10 by default, and playbooks written for Ansible 2.9 do not always work well on Ansible 2.10.

The command

apt install -y ansible=2.9.*

doesn't work on Ubuntu 21.04, even if I add the ppa:ansible/ansible repository as recommended by the Ansible docs.

Score: 0
What protects the access to the Twitter API?
in flag

I get a consumer key and secret and a token with a token secret to send with my request to the API.

Why is this secure? Couldn't someone intercept the keys and than use them themselves?

Score: 1
I stumbled upon a strange issue where a Exchange Shared mailbox continued moving emails from Inbox to Recoverable Items folder
us flag

we have shared mailbox with full access for many people and someone deleted all items in this shared.

I run the command

Search-MailboxAuditLog -identity BelovedCustomersMailbox -LogonTypes Delegate,Owner -ShowDetails

That gives me no result related to the Soft Delete. No error.

It's Exchange Server 2013. On shared mailbox Audit logging has been enabled.

I checked everywhere including:

  • mailbox se ...
Score: 2
Jordan Baron avatar
Too many redirected error with Nginx on PHP
in flag

I have 2 node apps running on different ports and a PHP app. When I visit the node apps I get no errors but if I try to go to the PHP app (on /sourcebans) I get This site redirected you too many times How can I fix this?

My config

server {
  server_name 108.61.142.108;
  return 301 https://hwgaming.tf$request_uri;
}

#server {
#  server_name www.hwgaming.tf;
#  return 301 https://hwgaming.tf$reques ...
Score: 1
Bil5 avatar
Debian automated install preseed auto partitioning seemingly ignored
tr flag

I'm playing with Debian preseed files trying to auto-partitioning a single disk. The final disk state I'm trying to reach is the following :

boot              Primary Partition 1   ext3    [256MB]   primary   /boot (/dev/sda1)
rootfs            Primary Partition 2   f2fs    [16GB]    primary   / (/dev/sda2)
swap              swap                  swap    [4GB]     swap      (/dev/sda3)
extended     ...
Score: 0
mahen3d avatar
Centos 7 pecl install mysqlnd_azure failed to install
cn flag

In Centos 7.9 with PHP - 7.4 enr,

I want to install below Pear Extension

https://pecl.php.net/package/mysqlnd_azure/1.1.1

However When i run below to install it gives me that package is not found.

Any reason why it doesn't recognise the package?

[root@a-1 ~]# pecl install mysqlnd_azure

No releases available for package "pecl.php.net/mysqlnd_azure"
install failed
Score: 0
adbdkb avatar
Ansible - become: true - not becoming root on server
us flag

I am not sure if this is the right stackexchange site. Please let m know, if I should ask it on other forum and which one?

I need root access to perform an action, so I tried to use become: true

- name: Modify server.properties
  hosts: kafka_broker
  become: true

  vars:
    ansible_ssh_extra_args: "-o StrictHostKeyChecking=no"
    ansible_host_key_checking: false

  tasks:

    - name: I am confus ...
Score: 2
The Tech Guy avatar
Migrate web server to new datacenter and new IP
in flag

I have a web server that hosts 200+ domains but it needs to be moved to another data center and get a new IP address. But since all DNS settings have to be updated manually, I thought about whether you could set up some kind of transparent proxy at the old IP address that forwards all http/https traffic to the new IP. So visitors do not discover the move to the DNS is being corrected.

My first th ...

Score: 0
MisutoWolf avatar
How should I configure my hostname/FQDN for a multi-purpose VPS?
cn flag

I recently got a VPS and have a fresh Ubuntu install, but I'm a bit confused as to how I should be setting up the hostname and /etc/hosts file if I'm wanting to set up an email server (Dovecot/Postfix) as well as use it for a NodeJS dev platform (and later hosting production stuff).

I read that you're supposed to set your FQDN (and hostname) to mail.domain.com to avoid issues with Postfix, but that seem ...

Score: 0
John Heyer avatar
AWS ALB Shows Target Group unhealthy, even though port 80 is open to Internet
ng flag

I've built an AWS ALB & Target group via Terraform and everything looks correct but the Target Group is reporting unhealthy for HTTP, HTTPS, and TCP. The instance is a t3.nano in us-east-2 and has Nginx installed and running.

I've verified the following:

  • Nginx is configured and running on ports 80 & 443
  • Security groups allow HTTP & HTTPS from 0.0.0.0/0
  • Instance is on a public subne ...
Score: 0
Increasing general AWS console timeout
cn flag

The AWS console appears to kick you out after 24-hours, and I'd like to increase it slightly. This has nothing to do with SSO. Is this a fundamental requirement or can it be tweaked somewhere?

Score: 0
Ankit Dwivedi avatar
Connect Google app engine service with outside database server
eg flag

We are deploying the python flex application on the google app engine. And from the application, we are trying to connect a database server where IP whitelisting is important but as we find out GAE does not support Static IP and without static IP service IP change with every deployment. Please suggest what approach we can use in this case to connect with a database server.

Score: 0
transfer file at iperf bandwidth/throughput
us flag

I need to transfer a file between 2 servers, the output of iperf is:

TCP window size: 85.0 KByte (default)
---------------------------------------------
[  3] local X.X.X.X port 58986 connected with Y.Y.Y.Y port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  4.00 MBytes  3.35 Mbits/sec

I am using netcat with something like this from the origin:

pv 100GB.file | lz4c | nc Y.Y.Y.Y ...

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.