Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [ubuntu]

Ubuntu Linux is a Debian derivative that aims to bring Linux mainstream. Questions on this site should generally refer to Ubuntu Server. Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.

Filter by
Sorted by
Tagged with
0 votes
0 answers
2 views

Nginx try_files fails on first parameter and returns 404

Bear with me, this is a long one. In the beginning I created a Nginx server to server static files for my company, and it worked great with the following config snippet for serving the files: server { ...
user avatar
0 votes
0 answers
7 views

How to open website in ubuntu placed in www folder

I have uploaded my website folder to www/html/ named as web.zip. but when i open ip address it is not displaying any content of page. am I missing something? apache2 is active and running
user avatar
0 votes
1 answer
17 views

Why does `apt-get -y install php8.0-dev` installs PHP 8.1

On my ubuntu 22.04, I used the PPA from LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php I ran apt-get -y install php8.0-dev, which required php8.1-phpdbg and it went ahead and installed PHP 8.1 ...
user avatar
  • 21
0 votes
0 answers
5 views

How to increase 1st partition size via terminal only when there are second and third adjacent partitions for NVME

This is on an AWS EC2 M5a with EBS (Ubuntu 16.04) NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:1 0 50G 0 disk ├─nvme0n1p1 259:2 0 20G 0 ...
user avatar
0 votes
1 answer
13 views

Can I use an UNC path on remote MSSQL server in a store procedure to access remote file?

I have a store procedure on a remote MSSQL server. It has bulk insert from a file.That file is on another server. The file is shared on Ubuntu via Samba. Can that store procedure access my file? What ...
user avatar
  • 101
1 vote
0 answers
14 views

How can I use Ubuntu 22.04 with OpenSSL 3 and PHP sites? Getting errors due to a conflict

I have an Ubuntu 22.04 install and it is using OpenSSL 3. When I put my site on the server, I get this error: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:...
user avatar
0 votes
0 answers
7 views

I have Two Ubuntu 22 Servers which One is the Master and the other is backup. I want to install a Mail Server with IAT. Which one is the best

I have Two Ubuntu 22 Servers which One is the Master and the other is backup. I want to install a Mail Server with IAT. Which one is the best
user avatar
  • 1
1 vote
1 answer
31 views

postfix removing body of bounced messages

I've noticed for messages that fail to deliver with postfix, the body of the message is removed. Here's an example (real emails replaced with temps): --5F54EFCA0A.1653443634/MYDOMAIN.COM Content-...
user avatar
  • 111
0 votes
0 answers
15 views

Fix 502 Bad Gateway

I have Nginx running on Ubuntu server (digital ocean), I've setup LEMP stack for hosting the Wordpress website. I'm getting 501 Bad Gateway when I try to reach website using the IP address. I see this ...
user avatar
  • 101
0 votes
0 answers
26 views

Redirect port 443 to 8080?

(note: I intentionally wrote "httpz" instead of "https" because I got an error message when trying to post the question) I have a web server (docker container) running on 8080. I ...
user avatar
  • 111
-3 votes
0 answers
19 views

Minecraft server [closed]

I was asked to run a minecraft server and this seemed fairly straight forward with the Bedrock Dedicated Server. It was up and running in minutes. But this is a very simple one level server, just like ...
user avatar
0 votes
0 answers
6 views

Tunneling a LEMP server through an oracle instance with wireguard. Cannot get Nginx Certbot certificates on LEMP server. How to debug?

I have a LEMP server at home running Ubuntu 22.02 and an Oracle cloud instance running Ubuntu 20.04. The Oracle cloud instance is acting as a Wireguard server. The LEMP server at home is acting as the ...
user avatar
  • 103
0 votes
0 answers
17 views

Why is iptables blocking return traffic?

OS: Ubuntu 18.04.6 Firewall type: IPtables. UFW is Disabled. I have Kubernetes cluster with 3 nodes that provide the controlplane and etcd services, named cp01, cp02 and cp03. I see that etcd traffic ...
user avatar
0 votes
0 answers
12 views

How to properly cache content in NGINX like in Plus version?

I saw official NGINX tutorial regarding content caching and tried to modify it according to my needs. I use CDN (Cloudfront), but the performance doesn't convince me. If my server was more faster it'd ...
user avatar
  • 105
1 vote
1 answer
17 views

Disable Ubuntu 22.04's scaning processes / candidates after package upgrades

Ubuntu 22.04 scans running processes (for use of old libraries) after doing apt. It will say 'Scanning processes' and 'Scanning candidates': We have servers that (unfortunately) need to run tens of ...
user avatar
  • 7,781
0 votes
0 answers
12 views

Creating an OpenLdap specific administrator group on LDAP

I'am trying to create a simple specific administrator group on my OpenLdap server that is running slapd. There is currently no slapd file, and I have been working with the cn=config format. I want to ...
user avatar
0 votes
1 answer
29 views

Not able to backup of postgres DB from DBeaver

Hope you are doing great. We have postgres install on centos server and accessing it through DBeaver from Ubuntu machine. Whenever we try to take backup of Database it is giving error as "Native ...
user avatar
0 votes
0 answers
16 views

How to preserve file access time when using `chmod`

I would like to know how can I preserve file access time ("atime") when using "chmod". Sometimes I need to use the code below: chmod -R 777 /directory It works fine, however all ...
user avatar
0 votes
0 answers
45 views

I can't get my WIreguard tunnel to complete a handshake

I'm trying to setup a point-to-site wireguard tunnel between two different points on two seperate networks, but have setup similar tunnels setup in similar situations so I don't believe it has ...
user avatar
1 vote
1 answer
14 views

nginx one site redirects to another

I have couple domains on my server. There is wordpress multisite and vanilla php site. All WP sites are working correctly but if vanilla php site redirects to main WP site. Here is config of main WP ...
user avatar
  • 13
0 votes
1 answer
15 views

How to block internet access for OpenVPN clients and restrict traffic to VPN network? (Installed with openvpn-install)

I setup an OpenVPN server using openvpn-install. I would like clients to be able to connect to the VPN server, but any traffic aimed towards the internet instead of the VPNs local network should be ...
user avatar
0 votes
1 answer
21 views

Ubuntu 18.04 - SMTP ERROR: Failed to connect to server: Connection refused (111)

I have this new error since 2 weeks on my server. I haven't touched the code or anything. I usually send mail trough PHPMailer, but I noticed Thunderbird won't work anymore also. I'm on Ubuntu 18.04 ...
user avatar
-2 votes
0 answers
21 views

Connect domain name with Linux VPS server ip using nginx

I have a VPS Linux (Ubuntu) server and I would like to connect a domain name with my server IP through nginx. I have checked the following: $ sudo systemctl reload nginx nginx.service is not active, ...
user avatar
0 votes
1 answer
44 views

Debian: how to install a package without a specific dependency (git without Perl)

I am trying to install an apt package without one of its dependencies (specifically, git without Perl to reduce Docker image size by >50MB). I can think of two options: installing the package ...
user avatar
0 votes
0 answers
3 views

Does springBoot Jar and React build from ubuntu server will work on CentOs server?

We have our jenkins on ubuntu server, we have 2 jobs, one is to create springboot jar's and another one to build react project. After successful completion of job we have to copy it on UAT server ...
user avatar
0 votes
1 answer
22 views

Extending File-system after EBS volume increase on M5 type EC2 with Ubuntu 16.04

Production AWS Instance: We have an m5 ec2 nitro instance that is in need of query optimization. However, we are in a time crunch and have decided to temporarily throw memory and storage at this until ...
user avatar
0 votes
1 answer
50 views

Running docker app on my own domain

I have a VPS Linux (Ubuntu) server with specific IP and I would like to run my app on my own domain http://my_domain.com. I have built a docker container and it works well on localhost 0.0.0.0:80. ...
user avatar
0 votes
1 answer
37 views

Mysql constantly writing to binlog, rapidly using up disk space

My Ubuntu server started running a high amount of IO operations. The server has a few WordPress websites on it, but they get at most a few dozen views per day. In a couple of days 30GB of disk space ...
user avatar
  • 103
0 votes
0 answers
24 views

How to enable TUN in Ubuntu running in a docker container

So basically I'm running an Ubuntu container in docker, with the host system running Ubuntu Server 20.4 LTS, and the container running 22.4 LTS. My intended goal is to have a container to download ...
user avatar
0 votes
0 answers
21 views

Netplan doesn't delete bond interface when removed from config

I have a working bond config, set via Netplan Example, netplan config: network: bonds: bond0: addresses: [10.10.10.135/26] gateway4: 10.10.10.128 interfaces: [ens1f0, ens1f1] ...
user avatar
  • 180
0 votes
0 answers
11 views

Public Cloud Virtual Machine - Restrict Uninstalling Packages

During the evaluation on public cloud(VMs) security product, Below question came into my mind. I would like to request your kind consultancy to fix this challenge Requirement: Install a security agent ...
user avatar
  • 101
0 votes
0 answers
15 views

Script to reassign floating IP address to my other machine running Ubuntu

I have a floating IP(X.X.X.191) assigned to the machine (Y.Y.Y.106) currently running ubuntu. Now I want the same floating IP to be assigned to my other droplet(Z.Z.Z.252). On digital ocean I can do ...
user avatar
0 votes
1 answer
30 views

DHCP , DNS , FTP , what is the best way to run ? dockerize or just simple install on ubuntu? [closed]

I'm going to install DNS and DHCP and simple FTP service on my company network. My network has about 200 clients, what is the best way to install those services? on a docker environment or just simple ...
user avatar
  • 5
0 votes
0 answers
17 views

Default timeout for server commands - NFS mount

Noticed the following: if a NFS mount becomes unavailable for whatever reason, most linux commands will wait endlessly. Doing an ls -lahF on the mount path just waits... forever. And never returns. I ...
user avatar
  • 183
0 votes
0 answers
31 views

setting up ntop with ubuntu 22.04 with system-ctl

I've installed ntop using the official docs but used the ubuntu 20.04 version of the package as there's no package for the latest version of ubuntu(22.04). After installation it doesn't generate the ...
user avatar
0 votes
1 answer
147 views

WSL-Docker: curl: (60) unable to get local issuer certificate

After a PC reconfiguration I am unable to use Docker properly, since some curl commands are rejected due to SSL/TLS issues. In just one example curl -vfsSL https://apt.releases.hashicorp.com/gpg ...
user avatar
0 votes
2 answers
71 views

Ubuntu 22.04 - Intel X550 - Run a pre-up command to set ethtool network interface parameters at startup

Following the question at: https://askubuntu.com/questions/1406445/ubuntu-22-04-server-intel-x550-advertised-speed-not-correct I need to run a command at startup so that the necessary changes are ...
user avatar
  • 5
0 votes
0 answers
36 views

Ubuntu server 20.04 stuck in login

I have an Ubuntu VPS that I installed lxdm as a default display manager and the xfce as the desktop environment, also I enabled auto login. I was using Anydesk for remote control. Everything was ...
user avatar
0 votes
0 answers
13 views

libusb and gutenprint in Ubuntu Jammy

I have freshly installed Ubuntu Jammy with CUPS and printer-driver-gutenprint and am having problems with my USB printer. My printer is not recognised in CUPS. When I uninstall the printer-driver-...
user avatar
  • 101
0 votes
0 answers
18 views

Unable to access Samba, Apache2 on Ubuntu Server

I've got a PC running Ubuntu 20.04 that I used as my home server with a VM, Samba, webserver, DDNS, SSH etc but randomly it just stopped showing up on my local network for half the services. I can no ...
user avatar
0 votes
0 answers
13 views

How to set up a server to allow the root user to track down historical outgoing requests?

I woke up this morning and found an unexpected outgoing spike in traffic from my virtual server. What commands/settings should I have been using to allow myself to track down the who/what initiated ...
user avatar
  • 101
0 votes
1 answer
26 views

Ideas: How to continuously monitor and kill the restricted process in Ubuntu20

I have a bastion host where users run specific software like (nodejs) instead of using the bastion as a jump host. I cannot restrict internet access, and this software's installed in users' home ...
user avatar
  • 3
0 votes
0 answers
55 views

Why do my iptable rules keep growing longer and longer

I added port 80 and port 3306 to my iptables rules on a VM.Standard.E2.1.Micro running Ubuntu on Oracle by doing: sudo iptables -I INPUT -p tcp -m tcp --dport 80 -j ACCEPT sudo netfilter-persistent ...
user avatar
  • 73
0 votes
0 answers
12 views

Can’t connect with SSH through two different ip range in Ubuntu

I have two range of ip , 192.168.33.xx and 192.168.63.xx , I try to connect from 33 to 63 with ssh and also the other way around , but it never works … the error message is errormessage And the debug ...
user avatar
0 votes
0 answers
14 views

How would you troubleshoot / fix samba ad dc dns errors

I set up 2 samba ad dcs on Ubuntu Server 21.10 in a heterogeneous environment and came across some errors trying to remote backup DB of DC01 to DC02 via Samba-Tool. I hit up the mailing list and ended ...
user avatar
0 votes
0 answers
18 views

Investigating incoming IP connection issues on Ubuntu VPS

I'm investigation some issues with Stripe webhooks not reaching our test server. According to their docs they submit requests from the following IPs: https://stripe.com/docs/ips#webhook-notifications ...
user avatar
0 votes
1 answer
22 views

default login for ubuntu 18.04.2 on SmartOS

Does anyone know how to either login, run vmadm console with an ssh key or reset the password for a fresh Ubuntu KVM-VM installation on SmartOS? I created the KVM-VM of Ubuntu 18.04.2 from a SmartOS ...
user avatar
0 votes
0 answers
24 views

How to pass multiple arguments through ssh and use those arguments in the ssh script?

I have written one script on lets say server1 and from that script I want to execute script Start_UI_AdminApp.sh on server2 through ssh. I also need to pass the arguments while executing this ssh ...
user avatar
0 votes
0 answers
51 views

Setup L2TP Ubuntu Server without IPSec (yes I know thats very odd)

Im trying to tunnell my traffic from a bunch of low end mikrotik routers through a L2PT tunnel, and these routers are not powerful enough to run encryption. I have Ubuntu 20.04 VPS, and have ...
user avatar
0 votes
0 answers
22 views

Ubuntu 20.04 LTS MTR _gateway reporting nearly 100% packetloss, clients experience stutters and lag

I've recently come into some hassle with my dedicated server. I've done as much debugging as I can myself, from running tracerts and pings with a script. Watching the throughput of the server, its ...
user avatar

1
2 3 4 5
315