Latest Server related questions

Score: 0
kittygirl avatar
How to get the permission of `/run/user/1000/gvfs` when system is newly installed?
us flag

System is newly installed debian 10.
I cannot get the permission of /run/user/1000/gvfs properly,changed from d????????? ? ? ? ? ? to dr-x------ when cd /run/user/1000.

me@pc:~$ sudo ls -al /run/user/1000
[sudo] password for me: 
ls: cannot access '/run/user/1000/gvfs': Permission denied
total 0
drwx------ 11 me me 280 Jul 22 14:53 .
drwxr-xr-x  3 root  root   60 Jul 22 02:07 ..
s ...
Score: 0
SJWales avatar
Attempting to mount Webdav drive to Windows gives "The folder you entered does not appear to be valid. Please choose another"
kw flag

I have a Linux based httpd server setup with AD authentication that's working just fine for downloads. Users go to the website and are challenged for credentials. If you belong to a certain group you see all of it. If you're not in a specific group you see some of it.

A new requirement has been added where they want the users to be able to mount the website as a mounted drive via WebDav.

I trie ...

Score: 0
jstnewb avatar
keepalived failover time inconsistency over http
pk flag

I have keepalived running on 2 (centos7) vms and am able to see that the failover is working successfully in simplest form by issuing ping -t 192.168.1.11 and pulling vm1 from the network after which I see typically only one of the pings time out before vm2 picks it up and starts responding.

After successful failover, the system resets after vm1 is brought back online and it seems that I typically do no ...

Score: 0
ruby.lee avatar
Disable SNI on Apache
za flag

I've a Windows Server 2016 installed with Apache 2.4.37

In the Apache server, I've setup multiple virtual host like:

  • abc.host.com
  • def.host.com
  • ghi.host.com

All this virtual host share the same IP address and certificate in wildcard *.host.com

We're enchance the website to link to a 3rd party service for online transaction now. But we face an error when handshake with the 3rd party service. We sus ...

Score: 0
Elmano Francisco Gonga avatar
Retrieve and install pending certificate by PowerShell
ru flag

I am requesting a certificate that must be approved by the CA administrator.

When I make the request, it appears in the CA pending request folder and I right click to issue the certificate. In client machine I want doing by PowerShell what I do in certmg.msc(Automatically Enroll and Retrieve Certificates):

Select top node (Certificates), right-click -> All Tasks -> Automatically Enroll and Ret ...

Score: 1
GP and RDP not working after Domain Rename
gr flag

I recently carried out a domain rename on our domain controller. We switched from a .local to our domain name as we are planning to implement 365 very soon. Mostly everything went well with the switchover. I followed instructions to use rendom/netdom/gpfixup. What didn't work was gpfixup. When I ran these commands, they completed without errors and outputted "successful", however, it did not make any ch ...

Score: 0
FreeIPA Recover Admin PW as root user, "security library: bad database"
my flag

I am trying to recover the admin user password from my company's legacy FreeIPA server, per the instructions here: https://computingforgeeks.com/reset-freeipa-admin-password-as-root-user-on-linux/. At this point I am able to query the LDAP server successfully:

# ldapsearch -x -D "cn=directory manager" -w "NEW_PASSWORD" -s base -b "dc=example,dc=com" "objectclass=*" -h example.com
# extended LDIF
#
#  ...
Score: 0
jamacoe avatar
DNSSEC in Spain
kr flag

I tried to set up DNSSEC for a .es domain. The nameservers are on Cloudflare and GoDaddy is the registrar. I wasn't able and then a 'GoDaddy Guide' (chat support) told me that DNSSEC would generally not be available for .es domains, see https://www.godaddy.com/help/about-es-domains-5533. But the map from the ISOC shows Spain as fully operational (https://www.internetsociety.org/wp-content/uploads/20 ...

Score: 0
OttoEisen avatar
Debian 11 template on Hyper-V
br flag

I used to run Debian 10 on a Hyper-V (Windows 2019) Server and I could set up a "template" VHD and copy it every time I needed a new Debian server, thus getting around the installation.

Now I'm looking into Debian 11 (currently "Testing" or "Bullseye") and the old procedure does no longer seem to work, neither with automatic partitioning nor with manual partitioning. Hyper-V says "SCSI Disk (0,0) ...

Score: 0
Saeed Neamati avatar
Why my nginx conf file redirects subdomains to main domain?
cn flag

I have removed all files from /etc/nginx/sites-enabled/ directory.

I have also removed all files from /etc/nginx/sites-available/ directory.

I only have one file in /etc/nginx/conf.d/ called my-domain-name.com.conf and it contains:

server {
    listen 80;
    server_name my-domain-name.com www.my-domain-name.com;
    return 301 https://$server_name$request_uri;
}

server {
    listen 443 ssl;
    serve ...
Score: 0
rai avatar
AWS EC2 instances - best suitable ec2 for a Laravel Project with cron jobs
us flag
rai

I am currently developing an app that has cron jobs running in specified scheduled time(daily) and most of them are pulling data from amazon api, so I expecting a high cpu usage when this cron job runs. Also this instance host the server that are consumed by a frontend hosted in different ec2 instance. For now its under in development, so there is only one user testing the frontend.

I am using T3 ...

Score: 1
pugazhendhi avatar
Usage of with nested to cat multiple files
ar flag

I need to create users inputting from 2 list files as below:

cat user.yml
user1
user2
user3

cat group.yml
group1
group2
group3

cat playbook.yml
- name: Add the user
  user:
    name: "{{ item[0] }}"
    group: "{{ item[1] }}"
  with_nested:
    - cat user.yml
    - cat group.yml

The two files will get inputs dynamically from other tasks, so I will not be able to mention the list in ['user1', 'user2' ...

Score: 0
Shardj avatar
Concurrent apache requests cause net::ERR_CONTENT_LENGTH_MISMATCH
ve flag

The issue is easily reproduced with the following command: $ ab -n100 -c100 http://localhost/js/app.js

I typically see 1 successful request and 99 failures due to net::ERR_CONTENT_LENGTH_MISMATCH.

The js file in question isn't the only one effected, the error is also seen on our main .css file. The files in question are 1.29MB for the js file and 696KB for the css and we see the error the most ag ...

Score: 0
Hussain Nagri avatar
How do I configure uwsgi as a production WSGI server?
tr flag

I have a flask app that I want to run using uwsgi. I am also managing the uwsgi with supervisor. here is the my supervisor.conf file

[program:myapp]
command=/opt/python_envs/apps/bin/uwsgi --ini /opt/apps/myapp_wsgi.ini
stdout_logfile=/var/log/supervisor/program_myapp.log
stderr_logfile=/var/log/supervisor/program_myapp.error
numprocs=1
autostart=true
autorestart=true
startretries=5
user=root
enviro ...
Score: 0
Yoka R avatar
PuTTY Option: Remote command = is sending a "preset" command that makes connexions to fail
it flag

Every time I open PuTTY it has the preset

Remote command 
env DISPLAY=`echo $SSH_CLIENT | awk '{print $1":0"}'` $SHELL

forcing me to every time I openPuTTY, go to Remote command and delete the entry.

How can I delete that command?

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.