Latest Server related questions

Score: 0
Gary Aitken avatar
mysql_upgrade / mysql_check fails with unknown database; where are database names stored (capitalization inconsistency)?
us flag

Just upgraded my server machine from freebsd 11.4 to freebsd 12.4. Then ungraded the installed packages, in particular mysql57-server. The server is started from a particular user account. When I try to run mysql_upgrade, I get this:

Checking if update is needed.
Checking server version.
Running queries to upgrade MySQL server.
Checking system database.
mysql.columns_priv                            ...
Score: 0
Gustavo avatar
Lost of PPP Connection between Debian <--> PDA / HandHeld using SynCE
sz flag

I am currently able to connect a handheld to the PC running Linux with a very old Ubuntu 14.04, adding repository PPA for SynCE to source list. Now, the goal is to update the operating system, I chose Debian Buster where I have successfully installed the DEB packages from the same repository in its version for Ubuntu Xenial.

In Debian, USB serial device is recognized and connects with ttyUSB bus, ...

Score: 0
Install SSH key in an account that has no "usable" shell
cn flag

A remote SSH server has a guest account with a known, non-blank password, that when logged in directly executes a text-based terminal game (not sure if via command, shell, or another method). The connection closes whenever the game exits, so there is no "usable" shell to run commands.

I want to connect to this server using a password-less key, and I've already checked that the SSH server does allow ke ...

Score: 0
Helios avatar
How do I define Suspended Processes in an Autoscaling Group in AWS CloudFormation?
jm flag

We have a cluster of servers that need specific Elastic IPs, so we don't want the Autoscaling Group to automatically replace them when they fail healthchecks. We have accomplished this by disabling the related functionality in the Advanced Configuration of the ASG. But I can't find it in CloudFormation. Is this possible to define in CloudFormation? Image attached to show I mean

ASG Advanced Configu ...

Score: 1
Hackeron avatar
How do I prevent a faulty USB drive from freezing my Ubuntu server?
nz flag

I have an issue where a mounted external USB hard drive fails, this causes the IO Wait of the system to spike (I can see this in Grafana) but shortly after the system becomes completely unresponsive, so I cannot ssh into it to force a umount or to reboot.

I am presently mounting the drive like this:

UUID=UUID_HERE       /data/path/disk1       ext4    user,defaults,nofail,noatime,commit=60,x-systemd.de ...
Score: 0
Zareh Kasparian avatar
Unbound query high response time for some domains
us flag

I'm running unbound version 1.17.0 on FreeBSD 12.2,

For unknow reason I have high query response time for some domains. For example when I run the query for "OKR.com" it takes around 4 Seconds to get the answer back.Knowing that there is no network issue, this happens from some domains.

even from the server it self.

[root@Resolver01 ~]# dig -t A okr.com @127.0.0.1

; <<>> DiG 9.16.26 << ...
Score: 0
hnewbie avatar
Access: (0000/----------) on a file in linux. Do I have a dead file?
pk flag

Preface: I'm not a linux person. I'm a webdev trying to SSH into a Ec2 instance via WSL. I found the .pem file from the previous developer's (dude left the company) machine and moved a copy to my machine. Every time I try to ssh via WSL into the ec2 instance, I get a permission denied.

In Windows, I removed the SYSTEM and the local machine permissions from the file, leaving the linux ownership to ...

Score: 0
eggbert1305 avatar
Using old web application with outdated PHP version behind .htaccess folder protection
ru flag

I probably need a web server with an outdated PHP Version (7.2.34) for an older HTML/PHP/MySQL based web application. Since it's for a manageable closed user group, I exceptionally considered using a mandatory .htaccess folder protection for the application. As a result there would be no public access to the application. Public/direct access to the databaseserver will also not be possible. If the Webser ...

Score: 0
DHCPv6 Prefix Delegation IPv6 address assignment mechanism
ca flag

When we run a DHCPv6 server with prefix delegation only (no range delegation at all). Like this:

subnet6 2a02:5250:aaae:1005::0/64 {
    prefix6 2a02:5250:aaaf:1001:: 2a02:5250:aaaf:f500:: /64;
}

Will the CPE device assign an IPv6 address from the assigned IA_PD Prefix? I am reading the RFC https://www.rfc-editor.org/rfc/rfc3633 But cannot find the mechanism how CPE interface connected to the DHC ...

Score: -1
Hikaru Shindo avatar
OpenVPN on ubuntu keeps asking for a CA file
bg flag

I'm trying to connect to the OpenVPN by using username and password on a Ubuntu 20. The OpenVPN server is working normally because I can connect it on my Macbook.

But When I try to connect it from the Ubuntu, It asks for a CA file but I only have a username and password to connect.

Here is my client.conf,

client
dev tun
remote https://xvpn.myserver.io
auth-user-pass auth.txt

My auth.txt,

myusername ...
Score: 0
21kondav avatar
Is there a way to script addons for Java Dev Eclipse on Linux (specifically C++ pluggins)?
ml flag

I am trying to write a deployment script via USB for computer science linux labs in academia. To deploy we are having an admin user run the script locally on each machine, each user that needs to access is grouped by OneIdentity. One of the requested software is Eclipse for Java Development IDE. The professors wants C++ plug ins as well and the IT administration wants it to be automated. I tried the p2  ...

Score: 0
WilliamK avatar
Openstack: Increase Hypervisor resources
al flag

Is there any way to increase resources of the hypervisor on OpenStack, e.g: VCPU, memory or Number of the volumes?

I can use the following command to see them:

openstack hypervisor stats show

But I can't find the configuration file. I am not sure if it is possible to change them.

Thanks in advance

Score: 0
Anas4795 avatar
how to use SOCKS proxy username,password generated by Private Internet Access in Mikrotik routerboard
jp flag

I have subscription at Private Internet Access application. I need the way to use SOCKS username and password in mikrotik u951 to make all traffics through this SOCKS proxy. thanks a lot.

Score: 0
Hosting application on Windows Server running IIS and want to redirect website to application using a port
pk flag

I am running Uptime Kuma on our server and it's using a port 1234 for instance. I can access the application by going to https://myserver.com:1234 but the certificate is invalid. I'd like to access the application directly on https://myserver.com without the port.

We are running Windows 2022 with IIS 10 on a dedicated cloud server. For SSL certificates I'm using Lets Encrypt.

Two questions:

  1. Can I setu ...
Score: 0
John Brown avatar
Assign domain name to kubernetes pod
cn flag

I have a service that running nginx and some web app. k8s deploy manifest looks like:

kind: Service
...
...  
- port: 443
  targetPort: 30443
  protocol: TCP
  name: https
...
---

kind: Deployment
...
...
- containerPort: 443
  hostIP: my ip
  hostPort: 30443
  protocol: TCP

It works fine when I access it by https://ip:port or https://server_domain_name:port, but how can I set up nginx-ingress to get ...

Score: 0
Ilya Shmadchenko avatar
Dovecot: Disconnected, connection closed, auth failed
lu flag

I’ve installed Postfix+Dovecot on my Ubuntu Server 22.04 (VMware Workstation 16 virtual machine). Then I’ve deployed the Ubuntu 22.04 Desktop and started to create a new mailbox in Geary. But it said “Account not created: check your sending server details”. And I can see some interesting entries in /var/log/mail.log.

Jan 19 16:40:17 mailserver dovecot: imap-login: Disconnected: Connection ...
Score: 1
Lukas avatar
Scaling Postfix/Dovecot-Server
zw flag

I looked at a larger installation of my local university of a Mailserver with Postfix/Dovecot. I am trying to archieve the same and looking forward to get any input or search query about how this could be built by myself.

  1. There is a mx Record on a mi (mail-in), researching, there are two mail-in-Servers that use dovecot (mx1/mx2). They are both working parallel. (Here I do not know how the best serve ...
Score: 0
Tony Johnson avatar
Ouath2 Consent screen fails in gcloud without providing verification option at the command prompt
gl flag

I am a newbe & trying to run the Python quickstart sample script from gcloud CLI. The script is here https://developers.google.com/classroom/quickstart/python.

I have the scope set and Oauth2 creds are also set to include the scope. I am unable to authorise/allow the app. When running the program, the terminal returns an appropriate string for authorisation, which when visited in the browser displa ...

Score: 1
PoC avatar
Recreation of mdadm RAID backing store for drbd yields *The peer's disk size is too small!*
in flag
PoC

Some years ago, I've set up a storage cluster with stock Debian Linux using mdadm RAID as backing store by using the Debian provided drbd 0.8. Currently there are two RAID6 volumes, comprised of some 2, and 14 TB disks.

Meanwhile, disks have been added to both nodes to provide more space, defective disks have been replaced, and upgrades to newer Debian releases have been applied.

Some background stor ...

Score: -1
Samuel du Plessis avatar
How to get an IP address for MS SQL Cluster network configuration?
vi flag

I just started a new internship and have been tasked to set up a SQL failover cluster. They gave me 3 virtual machines to use and when I started I knew nothing. I've been doing a lot of research the last few days and finally set up the iSCSI, got all the nodes together etc. After I went to start the new SQL Server failover cluster installation through the SQL server installation center, I get to the clu ...

Score: 1
Janus Engstrøm avatar
Folders untouchable: owner unknown and cannot be changed
ke flag

I have a parent folder, let's call it 'P', and in P resides 5 child folders. I am administrator of this non-domain joined server, but I cannot delete these child folder or in any other way alter them. I think my problem arose when I fooled around with folder permissions and probably have disabled inheritance, but I have no privileges on these 5 child folder, hence I cannot alter the permissions.

 ...

Score: 1
Dave Breeze avatar
Configuring Tomcat for customized protocol handler
kr flag

This is on Tomcat 9.0.71.

I need to use a protocol handler of com.ibm.crypto.provider. I set JAVA_OPTS with -Djava.protocol.handler.pkgs=com.ibm.crypto.provider but this is not sufficient. The problem is that catalina.sh contains the line:

JAVA_OPTS="$JAVA_OPTS -Djava.protocol.handler.pkgs=org.apache.catalina.webresources"

This overrides my setting of java.protocol.handler.pkgs.

I can update catalina. ...

Score: 0
ajfriesen avatar
Can you configure PostgreSQL to distinguish between client and server logs?
nz flag

Scenario: You are hosting PostgreSQL for others and want to offer a good service.

As someone who hosts the database, I want to see when Postgres crashes and other more admin-related information. However, the "ERROR" and "FATAL" markers both contain errors generated by client behavior.

  • "ERROR" is particularly polluted and cannot be taken into account for alerts.
  • "FATAL" is less polluted and contains impor ...
Score: 0
peter avatar
Can anybody explain the output of "mysql -V"?
sa flag

For example,

# mysql -V
mysql  Ver 15.1 Distrib 10.3.37-MariaDB, for Linux (x86_64) using readline 5.1

I think "Ver 15.1" means the version of the mysql client. But why does the client print "Distrib 10.3.37-MariaDB" which I think is the version of mysql server? Considering a client can connect to different versions of server, why does it show a particular version?

Score: 1
Aditya Chandel avatar
Client Listening on 0.0.0.0 when custom network interface doesn't exist?
id flag

I'm facing an issue in our environment where I'm starting a ServerSocket (Java), and configuring it to listen on 0.0.0.0.

Then I'm creating a network interface, and my client is attempting to connect to that Socket using the newly created interface IP. But it is unable to connect. I have to restart the server socket in order for my client to be able to use the new IP to connect to the socket.

As  ...

Score: 0
DanRan avatar
How to modify fail2ban filter for openvpn to fit the DD-WRT logs in /tmp/var/log/messages?
mx flag

I just installed Entware, on a DD-WRT router running openvpn server. I am trying to install a proper openvpn /opt/etc/fail2ban/filter.d/openvpn.conf filter for fail2ban, but am having problems modifying the regex filter posted at: https://www.fail2ban.org/wiki/index.php/HOWTO_fail2ban_with_OpenVPN so that it's tailored towards the ddwrt version of system logs.

In the fail2ban wiki, they say a debian ...

Score: 0
sebastian avatar
how to restrict access to limited IP ranges in openvpn
cn flag

I am deploying OPENVPN community version.

After my client connects they can potentially route to services on my network, where the OPENVPN server has routes to and can access itself.

How can i tell openvpn to only be able to access a portion of my network?

For example if my openvpn can access these networks: 192.168.1.0/24 192.168.2.0/24 192.168.3.0/24

But I'd only like users on the VPN to access services ...

Score: 0
Whip avatar
Postfix can not open file in home directory
cn flag

I am trying to setup email piping. I've created an alias that pipes the email to a php script where I can do my processing but I keep getting error Could not open input file: /home/domain/public_html/vault/email-reciever.php. I've tried countless permutations of permissions on the file and directories that contain it but none of them made a difference.

If I move my file to /usr/local/bin/ it starts w ...

Score: 0
Amos Shapira avatar
List of global AWS resource types
br flag

We are working on aggregating the AWS GuardDuty security findings across all our regions and organization accounts into one spot.

The Best Practices guide suggests to suppress findings related to "Global Resources" in all regions except the aggregation region, to reduce noise.

The only example I could find in the documentation and anywhere else on the web is "IAM Resource", it doesn't even provide th ...

Score: 1
Rebound4750 avatar
Domain Time Skew
tg flag

A few months ago I attempted to get time straightened out in our environment but I never really got it working correctly. We have 4 domain controllers and the time difference always seems to be anywhere from 30 seconds off up to 300 seconds off. It randomly seems to correct itself then start to drift again. Time on workstations always seems to be 1 to 2 minutes off.

I used this guide. https://communi ...

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.