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
0answers
21 views

NATing multiple Wifi Interfaces with same IP under Ubuntu

Good morning everyone, little warning this might get quite a bit hacky and dirty. I've got a rather strange Network configuration with a laptop (lubuntu) with multiple USB <-> WIFI dongles (...
1
vote
1answer
17 views

how to get disks on a PERC H310 visible again

My setup : small home server with Asrock H67M-ITX, CPU : i3-2120T, PERC H310 RAID with 7 disks all passthrough (I use MDADM for the raid functionality). The system (Ubuntu 20.04) is on a SSD connected ...
0
votes
0answers
21 views

SSH - Permission denied (publicKey, password)

I am trying to ssh to master server. But i keep on getting this message PERMISSION DENIED (publicKey,password). Can anyone help me on this. Why is my permission getting denied?. I have changed the ...
0
votes
0answers
18 views

virt-sandbox error creating an OS container with lxc backend in virt-manager

I am attempting to create an OS container through virt-manager with the lxc backend. virt-sandbox exits without any information on why it fails. Where can I find logs for it? Can I run virt-sandbox ...
0
votes
1answer
36 views

Long TTFB - Cloudflare

I'm running a website on Apache2/Ubuntu 20.04, and for some reason I'm getting a really long TTFB (~15 seconds), this only happens while I'm using Cloudflare's Proxy/CDN. If I'm connecting directly to ...
0
votes
1answer
19 views

Nginx location matches the both subdomain and domain

I'm going to serve a webapp only on my subdomain admininstration.example.com but it is accessible from example.com too. This is my nginx config: http { server { server_name = _; listen 80 ...
0
votes
0answers
13 views

“Attempted to use Snappy compression, but Snappy is not installed” on Ubuntu VPS

I have set up a new VPS via Digital Ocean and have installed MongoDB V4.2.8 on an Ubuntu server 18.04 release as per the official Mongo documentation. I'm using Compass version 1.21.2. I have managed ...
0
votes
1answer
75 views

While SSHing into my VPS, it will keep disconnecting the connection after few minutes of inactivity [closed]

I SSH into my VPS and do other stuffs on my computer side by side. If I don't enter any command in VPS for a few minutes it will disconnect me. Entering password and then reconnecting again and again ...
0
votes
0answers
59 views

My site's load times have become extremely slow or fails to load at all (Cloudflare 522 error), but minimal server load (Nginx + Apache + Wordpress)

I run multiple websites being served on a stand alone Ubuntu machine, all of them use same nginx + apache setup. However one of these sites has begun to act very strangely today. It's the only site on ...
0
votes
0answers
11 views

How to create an ubuntu custom repo for different dists and archs?

We want to make it possible for users of our software to just run sudo apt install <package>. I have seen several pages with instructions of how to do this. Some are outdated, and some only ...
0
votes
0answers
19 views

Using linux to access resources through windows machine [closed]

I have a windows 10 machine already set up to have access to some resources (various domains and subdomains) based on the machines ip (and probably other network stuff). Then, on the same network I ...
0
votes
0answers
7 views

When setting netplan static ip, connection seems to sleep if left for a while

I am trying to set static local ip on ubuntu 20.04 server by disabling cloud-init, then set my 50-cloud-init.yaml network: ethernets: eth0: addresses: [192.168.1.11/24] ...
0
votes
0answers
32 views

nginx connect() failed (111: Connection refused) while connecting to upstream [Mastodon]

I am setting up a Mastodon server on Docker on Ubuntu. The server is up and running but when I try to access the site from a browser I get the error 502 Bad Gateway. I have checked that ufw is ...
0
votes
1answer
37 views

Can SSH, but NOT SFTP - Ubuntu 18

I have a new Ubuntu 18.04.3. I can SSH fine, but I can't SFTP. SSH SFTP This is my SSH configs Port 8200 ...
0
votes
0answers
20 views

Move /home to mirrored root partition

I managed to screw up my partitioning when building a new system. I had configured a hardware mirror on an msi motherboard so when installing I assumed that the OS would see a single drive. Instead ...
4
votes
0answers
103 views

Rebooted Ubuntu, Raid6 degraded, Raid5 ok

Boot Drive is a WD 1TB SSD running Ubuntu 18.04 LTS... I have 2 arrays running off 1 LSI Card... 16 x 8tb IronWolf inside a RaidMachine (Raid 6) [my main data] 11 x 10tb Exos inside a SuperMicro (Raid ...
1
vote
1answer
63 views

ZFS configuration for Ubuntu 20.04

TL;DR I have three 2 TB drives and one 500 GB drive in a machine running Ubuntu 20.04 with a default ZFS install on the small drive. My plan is to partition the larger drives into two partitions each, ...
0
votes
0answers
60 views

How to block any out-side(docker-host) port say 80 in ubuntu linux VM

How to block any out-side(docker-host) port say 80 in ubuntu linux VM. Hi there, I have two Ubuntu VMs on Hertzner Cloud provider in docker-swarm cluster mode running two stacks serving same content (...
0
votes
0answers
8 views

openvpn and apache2 - allow websites only over vpn

Using ubuntu and openvpn with apache2 server installed, I need to restrict the access to a specific website to clients connected through vpn If I visit https://www.myip.com/ via browser while ...
0
votes
0answers
29 views

I can't access to my remote server using Windows but i can using linux [closed]

I have a remote desktop in DigitalOcean, and I installed a Windows server on it. The problem is I can't access to this remote desktop using Windows 7 RDP client, I used even mRemoteNG software, but ...
-1
votes
0answers
28 views

Dealing with an ATA error

my Xubuntu 16.04. produces a non-stop ATA error message. Here is the output of dmesg [ 4547.943159] ata7: hard resetting link [ 4548.657810] ata7: SATA link down (SStatus 0 SControl 300) [ 4548.657824]...
0
votes
1answer
129 views
+50

Diagnosing apache cpu / memory / process spike

I have a server running Ubuntu 18.04 which has been experiencing huge CPU spike that nearly brings Apache to a halt once or twice a day. The server runs a couple of websites - all php & mysql ...
0
votes
0answers
27 views

Install MySQLDump for MySQL 8.0 on Ubuntu 18.04

I am trying to install mysqldump on a Azure hosted Ubuntu VM. During the build process I attempt the following command: sudo apt-get update sudo apt-get install -y --no-install-recommends mysql-client-...
-3
votes
0answers
22 views

How to run many sites on aws? [closed]

I want to create 50-100 simple sites according to the template on AWS as automated as possible every day. Sites are the same, but must have a different domain and ip. How is it best to implement, what ...
0
votes
1answer
39 views

Install Ubuntu 20.04 desktop over ssh (Ansible)?

The computers in our classroom currently run a master system (Ubuntu 18.04 desktop) on one partition and a backup system (Ubuntu 16.04 desktop) on another partition. How can I remotely (ssh or Ansible)...
0
votes
1answer
54 views

openvpn - Authenticate/Decrypt packet error: packet HMAC authentication failed

I have this client ovpn file like this client proto udp explicit-exit-notify remote PUBLIC_IP 1194 dev tun resolv-retry infinite nobind persist-key persist-tun remote-cert-tls server verify-x509-name ...
0
votes
1answer
17 views

Do I have to restart my server after changing settings.py?

I have a django app hosted on digitalocean with gunicorn and nginx. I have just changed something in settings.py. I have taken my SECRET_KEY and now I stored it in etc/secret_key.txt settings.py with ...
0
votes
1answer
19 views

How do I set enviromental varialbes for my ubuntu server?

I have a ubuntu server deployed at digitalocean with gunicorn and nginx to host my django project. Now I want to save my secret key in an env. var. . I searched in the internet and I found that I have ...
0
votes
1answer
36 views

How can I force a nameserver resolution using the second nameserver on an ubuntu server [closed]

I try to download something from nvidia on a remote server via ssh. Iran is banned by the nvidia website. When I check the server dns, that is: IP4.DNS[1]: 192.168.20.14 ...
1
vote
0answers
31 views

Do I need to replace my NVME SSD?

I have a simple server setup: 2 NVME SSD disks (both SAMSUNG MZVLB1T0HALR-00000 for 1TB) united into RAID0. OS Ubuntu 19.04 Today my system stopped responding. Reboot didn't help. I connected via KVM ...
0
votes
0answers
13 views

puppet master configurartion with automatically capture vm IP in puppet configuration

i am trying to install puppet master with automation on vm, I am using shell scripting for this but i am entering IP address of puppet master vm in puppet configuration. but i need to update the IP ...
0
votes
1answer
26 views

ubuntu - sssd - unable to login when system partition is full

we have many ubuntu servers that are joined to active directory using sssd. However, domain users are unable to login when the root partition reaches full capacity. After some research I found the ...
0
votes
0answers
28 views

How do I ensure that only my e-mail server is sending e-mail through my network?

This is a follow-up to Our IP was listed by Spamhaus - how can we prevent this from happening again? - unfortunately, it is happening yet again. I was thinking that people could have malware on their ...
0
votes
1answer
23 views

How can I monitor cli commands on one machine and execute them on another in real time?

I'm trying to make a highly available topology, by executing all of the cli commands that have been executed from one machine to another - Doing this will syncronize their configurations. Therefore, ...
1
vote
1answer
28 views

Ubuntu is setting up MySQL when installing Fpart

I'm trying to install fpart, but having mysql error: # apt install fpart Reading package lists... Done Building dependency tree Reading state information... Done The following packages were ...
0
votes
0answers
8 views

redis-stable server stopped working

I was earlier using redis server 3.x and it worked fine. But as I had to switch to newer version, I removed it using the answer here and installed the new and stable version, following instructions ...
1
vote
0answers
36 views

nginx won't use 100% cpu

i'm just benchmarking a default install of nginx trying to get it to serve as many requests per second as possible. i expected it to use 100% cpu under load like other webservers do, but i can't get ...
0
votes
1answer
62 views

No route to host on port 80 but port is open

I am trying to make my nginx "status" page from machine A (Ubuntu 16.04) available from machine B (Ubuntu 20.04), but I am getting error port 80: No route to host when trying to access the ...
0
votes
0answers
30 views

Exim4 not signing my Email, even after setting up the split config

I already try anything that I could. I use exim on ubuntu/debian based, and using split config, and this's the config DKIM_CANON = relaxed DKIM_SELECTOR = mail # Get the domain from the outgoing mail....
0
votes
1answer
58 views

How can I interact with a new Postgres installation if I can't sudo -u postgres?

I have installed Postgres on an Ubuntu 16.04 server, but I'm working in a corporate environment and am not able to sudo -u postgres (I have sudo rights, but can't impersonate another user). Is there ...
0
votes
2answers
256 views

Ubuntu add repo app-key fails

On Ubuntu 20.04 LTS, I'm trying to install packages like MongoDB, Sublime Text 3 etc. but before adding them their repo url must be added. I'm trying this command: wget -qO - https://download....
1
vote
2answers
37 views

Accidentally Uninstalled Mysql Database But I have Database Folders How do I restore the database [closed]

I confused our production server as staging server and accidentally uninstalled MySql. I still have the /var/lib/mysql folder intact. My server is in ubuntu 16 This is the uninstallation process that ...
0
votes
0answers
15 views

StrongSwan left/right Settings

I am trying to setup StrongSwan on Ubuntu 20.04 for a site-to-site VPN. In ipsec.conf, how can we configure left, leftsubnet, leftsourceip, right, rightsubnet, rightsourceip if Local VPN server's ...
0
votes
0answers
29 views

sssd got killed due to segfault in ubuntu 16.04

The sssd got killed for second time with segfault, the above log is the latest sssd shutdown. SSSD.LOG -------------- (Sun Jun 14 20:23:53 2020) [sssd] [mt_svc_sigkill] (0x0010): [pam][13305] is not ...
0
votes
1answer
29 views

the same ssh rsa key does not work in Ubuntu(WSL) while from RHEL7 it works

I'm trying connect from Ubuntu(WLS) to RHEL7 server using ssh RSA key. And it does not work, while the same key when used from another RHEL7 host works. I checked all file permissions There is no &...
0
votes
0answers
17 views

Wildcard subdomain and a specific subdomain configuration in same server Nginx

I had set up a wildcard subdomain server for my PHP app1 domain like *.domain.com in Nginx default configuration. My app1 was serving if someone type x.domain.com or y.domain.com everything was fine. ...
1
vote
1answer
22 views

VLAN AND PHP VIRTUALBOX

I have an ubuntu server with 2 network cards and I'm currently using only one network card. In that server I have php-virtualbox installed. The server is connected to a switch port tagged for ALL ...
2
votes
3answers
142 views

High MySQL CPU usage after a DDOS attack

My server has just been severely ddossed for the past 5 hours and I've managed to ward them off using Cloudflare's firewall. The only problem is that the CPU usage is still running at high CPU amounts ...
0
votes
0answers
17 views

Trouble with IP addresses and VLAN in Windows Server 2019 with Hyper-V VM

I am having a hard time to find this out myself and I really hope some of you can help me out on this, have worked multiple nights in a row now and I am out of idea's So I have an HP server which i ...
0
votes
1answer
17 views

Getting Monit Web Interface and CLI to work on Ubuntu server

I have a hard time getting monit to work on my Ubuntu 18.04.4. I've installed monit via sudo apt install monit, then I've enabled httpd like this: set httpd port 2812 and use address localhost ...

1
2 3 4 5
289