Latest Server related questions

Score: 1
yossi avatar
Laravel route (voyager and others) shows 404
co flag

I Use Apache 2.4.41, on WSL2/Ubuntu.
There I have a laravel project, with Voyager installed.
I also use a virtualhost(vh) for it.

Accessing the App url http://myapp works. However - The Voyager app at http://myapp/admin fails with 404 error.

My VirtualHost file is:

<VirtualHost *:80>
    ServerName myapp

    DocumentRoot /var/www/myapp/public


    <Directory "/var/www/myapp/public">
 ...
Score: 1
What GUI file explorers exist (Mac or Windows) to browse folders with wildcards?
cn flag

I use a synology NAS, and have snapshots enabled. This creates a bunch of timestamped copies of folders in a #snapshots directory for each share. For instance, if I have the folder homes/alex/my/folder/structure/ (where "homes" is a default share in DSM), I also have the folders homes/#snapshots/<timestamp1, timestamp2, timestamp3, etc>/alex/my/folder/structure/ containing snapshots of the

Score: 2
eccomassimo avatar
How to mount existing Intel RAID ISM (RAID 0) device on Linux?
in flag

I have two 1TB drives from 2011 that I need to get the data off of ASAP.

Both of these drives are working and were configured as RAID 0 under a Windows Vista machine. Both drives are plugged into my Fedora machine, and I need to mount them as a RAID device so I can pull data off.

The first drive is shown as /dev/sda and the second drive is /dev/sdb. The machine I was using configured some part of th ...

Score: 1
Youn avatar
Can't connect Wordpress and MariaDB on LAMP stack with docker-compose
se flag

I'm new here and that's my 1st question so tell me if anything is wrong in the way I put it.

So here's the problem: I'm building a LAMP stack with 3 separate containers for nginx, maiadb and wordpress.

The whole nginx and php-fpm seems to work well, as I can access the site's index and process php pages. Mdb builds the wordpress db and creates a "wordpress@wordpress-php" user with all privileges on  ...

Score: 0
mnihyc avatar
Allow OpenVPN clients to manually set their IP addresses in tun interface
cn flag

I need to frequently change the client's IP address manually so modifying the server's configuration every time just seems troublesome.
Is there anything similar to AllowedIPs in WireGuard allowing clients to set their own IP addresses inside specific ranges in OpenVPN?
I've tried to just ignore the pushed IP and manually set another one but failed, for that OpenVPN seems to block the traffic whose sou ...

Score: 2
Gediminas avatar
How to stop unstoppable mysql-server package on Ubuntu 20.04
ua flag

So I purged and then tried to install mysql-server package on Ubuntu 20.04, it doesn't let for some configure problem. I found out that it doesn't even stopped and it seems that it automatically runs itself up again, I can't stop it no matter what

gediminas@ubuntu-g:~$ sudo ps aux | grep mysql
systemd+    9177  5.5  2.2 2123136 364052 ?      Ssl  21:21   0:00 mysqld
gedimin+    9354  0.0  0.0  2020 ...
Score: 0
kbu avatar
OpenSUSE: PHP - Unable to execute sudo /usr/sbin/chpasswd
ng flag
kbu

Could somebody give a tip, where can be a problem. I have a Server with OpenSUSE, PHP7 and roundcube. Plugin "Password" in roundcube fire an error:

PHP Error: Password plugin: Unable to execute sudo /usr/sbin/chpasswd in /srv/www/htdocs/roundcubemail/plugins/password/drivers/chpasswd.php

sudoers file is changed with manual:

nginx ALL=(ALL) NOPASSWD: /usr/sbin/chpasswd
Defaults:nginx !requiretty
Score: 1
Top Stars avatar
Postfix / Dovecot can't send or receive e-mails in Ubuntu 20
de flag

I've generated ssl files using letsencrypt and everything is installed and configed but my IMAP and SMTP are not working. What I can find from the /var/log/mail.log file is this error:

dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>,TLS handshaking: SSL_accept() failed: error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate: SSL al ...

Score: 2
RHEL8: Does NFS I/O count as part of "%iowait" calculations?
in flag

Customer telling us that they see high %iowait in top and iostat output on a busy RHEL8 NFS client.

iostat man page clearly says that iowait is related to % of time kernel is waiting on "disk" I/O

Question - does NFS I/O count as "disk" I/O in %iowait calculations?

Score: 1
Server isn't responding to pings routed via vpn
in flag

I've server and virtual machine on it. I'm hosting OpenVPN on this server. The virtual machine has two interfaces: ens18 - for public IP, ens19 - for an internal network. I'm trying to ping 10.2.0.3 (virtual machine ip on ens19) via VPN, but it's not responding. When I run tcpdump -i ens19 icmp on the virtual machine, its returning this:

tcpdump: verbose output suppressed, use -v or -vv for full protocol  ...
Score: 0
Michal avatar
VSFTPD: 500 OOPS: unrecognised variable in config file: local_root
id flag

I have a problem with vsftpd configuration. My vsftpd version is 3.0.3 When I'm trying add local_root variable to serwer configuration vsftpd stops working. How to fix this problem? My vsftpd config:


listen=NO


local_root = /DataDrive/camrecords/podworko



listen_ipv6=YES

anonymous_enable=NO

local_enable=YES

write_enable=YES

dirmessage_enable=YES

use_localtime=YES

xferlog_enable=YES

conn ...
Score: 1
sachu avatar
ntpdate -t does not timeout with the timeout value
fi flag

I am using ntpdate to update the time. If there is no internet connection or the NTP server is down, ntpdate fails, but ntpdate takes a long time to exit (approximately 20 to 23 seconds). I read the manual of ntpdate and I see -t timeout option.

-t timeout Specify the maximum time waiting for a server response as the value timeout, in seconds and fraction. The value is rounded to a multiple of 0.2 se ...

Score: 1
Application works locally, but fails with 502 in cloud run - "upstream connect error or disconnect/reset before headers. reset reason: protocol error"
cn flag

I have an application built as a Docker image that works correctly locally, but fails in Google Cloud Run with "upstream connect error or disconnect/reset before headers. reset reason: protocol error"

The application is listening on 0.0.0.0:8080 and does not require authentication. I'm running it in Docker locally with

docker run --rm --name myapp -p 8080:8080 myapp:1.0

With curl locally, I get a success ...

Score: 0
kittygirl avatar
`bad-setting (Reason: Unit nftables.service has a bad unit file...` when add `/etc/systemd/system` conf to nftables
us flag

System is debian 10 with nftables.
I plan to make nftalbes auto restart when failed,script as below:

cat << EOF >> /etc/systemd/system/nftables.service.d/override.conf
[Service]
Restart=on-failure
RestartSec=1s
EOF

systemctl daemon-reload

Output shows bad-setting:

systemctl status nftables.service

nftables.service - nftables
   Loaded: bad-setting (Reason: Unit nftables.service has  ...
Score: 3
htaccess rewrite /dir/*.jpg to /dir/webp/*.webp only when webp file exists
cn flag

I'm trying to rewrite all website files (*.jpg|*.gif|*.png) to *.webp in a subdir, but only when the *.webp file exists. Previous and new files have the same name, only changing the extension and *.webp files are all under subdir of the original one.

I'm struggling with htaccess to do the job. Basic rules are:

  1. Only matches PNG/JPG/GIF file
  2. Original images dir pattern is: /site/views/00_projects/[ ...

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.