Questions tagged [ubuntu-server]

An edition of Ubuntu which provides server applications and a text-mode environment in place of a GUI. You may want to consider asking on http://askubuntu.com/.

Filter by
Sorted by
Tagged with
5 votes
4 answers
881 views

Port-forward from and to WAN?

Is it possible to port-forward packets FROM the internet to another address ON the internet? All of the port-forwarding tutorials I've found focus on NAT port-forwarding but I just want to redirect a ...
  • 265
0 votes
0 answers
21 views

User ids became numbers and I can't ssh to remote machine anymore

I am working with a remote Ubuntu server using ssh, and today, while the machine was under a good load of work, I got hit by this weird error. Checking processes with top/htop, I could no longer see ...
  • 1
0 votes
1 answer
50 views

How to make a no-gui virtual machine on a server?

I've got this Ubuntu server I'm running, and it's really handy to take the load off of my laptop, but I'd like to know how to set up a virtual machine on it that I can ssh into. Obviously, this ...
  • 31
0 votes
0 answers
43 views

Ubuntu server RAID 1 with efi

After installation of Ubuntu server 20.04 with RAID 1, /boot/efi is created only on one disk, if this disk fails system is unbootable. The solution I found is to remove disk from RAID, clone partition ...
0 votes
0 answers
87 views

What went wrong? All files gone (BTRFS)

I am running an Ubuntu server 20.xx.x LTS since 2019 with some drives mounted as a BTRFS raid drive. I have never had any issues. Earlier this summer I went to another country and didn't need the ...
  • 101
1 vote
1 answer
51 views

What to do when *nothing* will stop a mv command that did not finish

See screenshot. As you can see, I've tried all the things that I've read about to use. Nothing can kill this dang mv command. The last line with "mv: failed" has been there for 12+ hours, ...
0 votes
0 answers
17 views

SMB capped at 2 megabits on one device - same file transfer over SCP is 120 megabits

I have an Ubuntu server running a vairety of services, including samba. Recently, one of my Stable channel Windows 11 PCs has effectively lost all useful throughput (consistently 2mbit). Any other ...
0 votes
0 answers
225 views

Setup wireguard client on Ubuntu server

I've got an Ubuntu server running on my workstation. When I installed wireguard and tried to connect to an wireguard server I've got over the seas via wg-quick I got: $ wg-quick up peer_wsu [#] ip ...
0 votes
0 answers
244 views

Installing a new NIC into my Ubuntu server

I currently have a physical machine, running Unbutu Server 22, and connected to my router via an RJ45 port that is on the motherboard. (let's call it "the old port") I just bought a PCIe ...
  • 11
1 vote
0 answers
228 views

Virtualbox using VPN from host PC

Basically I have a VPN running on my pc and my virtualbox vm is using the vpn but I want it to use the local network. How do I do this?
  • 11
0 votes
0 answers
148 views

How do I choose which monitor displays the console of a ubuntu server?

I have a ubuntu-server 20.04.4 LTS machine with a CPU with integrated graphics, and two monitors connected via mainboard HDMI and DVI. When I start the server, the console will always appear on the ...
  • 201
0 votes
0 answers
164 views

Ubuntu server stops working after a while

I am running a Plex Media Server in my home, and my system specifications are AMD Ryzen 3 1200, 16GB Ram, GTX 1050ti for transcoding, 500GB SSD as boot, and Rclone-cache, and a 2TB Harddrive for other ...
1 vote
2 answers
2k views

Getting "Error skipping startup message" when connecting with "sudo su" shell in WinSCP

My WinSCP config: File protocol: SCP user name: namjoo port: 22 settings > SCP/Shell > Shell: sudo su - When I try to connect I get this error: Error skipping startup message. Your shell is ...
  • 113
1 vote
1 answer
396 views

Auto reboot of a Luks Container

I have tried autobooting a luks container on Ubuntu Server (20.04) with a keyfile and a keyscript. My '/etc/crypttab' entry for both options are as follows. Keyfile: dm_crypt-0 /dev/sda3 /root/...
0 votes
0 answers
2k views

Upgrading OpenVPN 2.4.7 to 2.5.6 results in frequent disconnects

When using OpenVPN 2.4.7 on my server (Ubuntu Server 20.04) and connecting from a 2.5.6 client (also Ubuntu 20.04), I can connect with no issue. However, when I try to use OpenVPN 2.5.6 on the server, ...
  • 11
0 votes
0 answers
98 views

IP leakage after installing a VPN service

I have questions about how I can prevent IP leakage after installing a VPN service. For example, if I installed Shadowsocks, what should I do to prevent IP leakage? Thank you for your help.
1 vote
1 answer
586 views

how to configure network bridge for multiple ubuntu vms

I am very new to virtualization and and I have very basic understanding on networking. I have a dell server with good hardware configurations. I want to install few vms and I am using Ubuntu 20.04 on ...
1 vote
0 answers
155 views

Ubuntu Server refusing to install without PAE/NX on in a VM

When I tried to start up a VM with the LiveServer ISO, it gave an error for a bug where it said that the CPU was "stuck". The error was fixed when I enabled the option for PAE/NX. Why would ...
0 votes
1 answer
453 views

Linux Server (Ubuntu Server 20.04) Loses Network Connectivity After One Day

I'm running Ubuntu Server 20.04. It loses internet connectivity periodically, seemingly every day, and requires me to manually intervene and run dhclient -r dhclient to restore connectivity. Honestly,...
  • 161
0 votes
1 answer
199 views

Serve multiple websites with apache including https redirects

I admit I am quite rusty with these apache server setups. I am in a position where I need to set up 1 html, 1 django, and 1 php server. Individually I have tested all 3 and all 3 work fine on their ...
  • 159
0 votes
1 answer
2k views

Hardware RAID not showing in Ubuntu Server 20.04

I've recently repurposed an older machine I had as a NAS. I just added 4 HDDs to it intending to set them up as RAID 1+0. This is an HP Proliant Microserver Gen8. I set the drives up in the raid ...
  • 159
0 votes
1 answer
164 views

How to understand the LogFormat directive in the apache2.conf configuration file?

In the comments before the LogFormat directive is used the following is written: # The following directives define some format nicknames for use with # a CustomLog directive. # # These deviate from ...
1 vote
1 answer
156 views

Where should I place all the configurations for my web site on Apache?

I have a web site on the Apache HTTP Server that's installed on the Ubuntu Server. I create my own config file in the /etc/apache2/sites-enabled/mywiki.conf where I added the <VirtualHost>...<...
0 votes
1 answer
136 views

Why do we need the <Directory> section in the following virtual host's config file?

Here is the article explaining how to install MediaWiki on Ubuntu Server. And here's how they tell us to configure the virtual host: <VirtualHost *:80> ServerAdmin admin@your-domain.com ...
0 votes
1 answer
151 views

Where Apache base modules are located?

When I type apache2ctl - l I get the following list of modules currently compiled into the server: core.c mod_so.c mod_watchdog.c http_core.c mod_log_config.c mod_logio.c mod_version.c mod_unixd.c ...
0 votes
0 answers
356 views

VirtualBox and linux without gui - how to change screen resolution?

VirtualBox conf: Host: Windows 10 Guest: Ubuntu Server (no gui) When I run machine output is in very low resolution and line length is limited. I tried: change scale => result: just bigger ...
  • 101
0 votes
1 answer
147 views

EFI Ubuntu not booting or shown in bios

After having installed Ubuntu Server 20.04.2 LTS, when starting my laptop it throws an error stating "No bootable device". When I enter the boot options menu by spamming F12 on startup, I ...
  • 111
1 vote
0 answers
151 views

WOL on macbook running ubuntu server

I am using an old macbook pro (2010) as server in my home lab. It is running ubuntu server. I would like to use wake on lan on it, so I used: sudo ethtool -s INTERFACE wol g (with the name of my ...
  • 31
0 votes
0 answers
40 views

LInux disk has directory permissions and attributes d????????? ??

I have an external enclosure of four 4Tb hard drives on an Ubuntu 18.04 server, just configured as a JBOD, one of the drives being just archives that have another backup offline (thank God). I tried ...
  • 1
0 votes
1 answer
871 views

ubuntu server image blue screened

Would anyone have a tip for running a virtual box ubuntu server image? Setting up the virtual box image seemed to go just fine, updated ok, and I did a few reboots. What I wanted to get to work was ...
  • 179
0 votes
0 answers
148 views

Mistake - sudo chown -Rh not-root-user /

Well that. Made a terrible mistake on ubuntu server 18.04 (production server) and ran chown -Rh some-not-root-user / Now sudo is not working. Is there any way to reverse this?
  • 101
1 vote
0 answers
31 views

SFTP with 2fa activated on Ubuntu Server 20.04 not working

I just enabled 2fa for ssh on my Ubuntu 20.04 server. I followed this tutorial https://ubuntu.com/tutorials/configure-ssh-2fa#3-configuring-authentication With this being clarified I am using libpam-...
  • 11
1 vote
0 answers
310 views

Screen as a service on systemd wont start

I'm trying to run screen on a systemd service as startup, so i can check on it later if needed, on an interactive shell, but the session wont stay up, and apparently it doesn't even start. This is my ...
  • 11
0 votes
2 answers
51 views

missing the first character of each line on Ubuntu 20.04 LTS server terminal

I see the first character of each line missing on the on Ubuntu 20.04 LTS server terminal. As shown in the image How to fix it? thanks
0 votes
0 answers
2k views

How to activate network card from the CLI in Ubuntu 20.04 server?

I have an old Toshiba Satellite PSCP6U-01401E and I am trying to install Ubuntu 20.04 and Nextcloud to use it as a local file storage. During installation Ubuntu can't seem to recognize my Wi-Fi card ...
0 votes
0 answers
3k views

/dev/mapper/ubuntu--vg-ubuntu--lv does not exist. [Ubuntu Server 20.04]

Today I deleted LAMP stack from my Ubuntu 20.04 server using tasksel and, when I rebooted the server, instead of booting as usual it gave me that error: Gave up waiting for root file system device. ...
0 votes
2 answers
292 views

How to create 100 unique Ubuntu VM's with virtualbox the fast way?

I want to create 100 Ubuntu VM's with virtualbox via commandline. Each Ubuntu VM should have its own unique /etc/machine-id value and unique mac address of the network adapter. There is a file with ...
0 votes
0 answers
582 views

Ubuntu user uid confusion for nobody user 65534

Hello Linux/Ubuntu community, I have a strange issue on a new Ubuntu 20.04 linux server. In my server I have modified the user nobody to be uid 99 without a problem, ensured there was no process held ...
  • 1
1 vote
1 answer
273 views

Local machine causing connectivity problems to IPv4 websites

I set up a local machine participating in a blockchain p2p network using Ubuntu Server 20.04. The computer is connected to my (low-end) home router via Ethernet cable (and/or Wi-Fi). If the machine is ...
  • 128
0 votes
2 answers
686 views

Connect to linux outside network without port forwarding

Currently I am running Lubuntu 19.04. Right now I am using samba to share my files on my local network ( anyone connected to my network can access the files ) Is there a way to access my files from ...
  • 1
4 votes
1 answer
4k views

Ubuntu Server 20.04 Autoinstall

I'm trying to do an hands-free autoinstallation with the brand new Ubuntu Server 20.04. Apparently, they changed their method from preseeding to the new cloud-init-based autoinstall method. I followed ...
  • 211
0 votes
1 answer
120 views

Why does the IP assignment in my router fail (only for my server, it works fine for everything else)

I just bought an old IBM X3650 M2 and installed Ubuntu Server 20.04 LTS. My router (Netgear R7000) is not obeying the IP rules I set in the router setup (and so far, I've only noticed this for this "...
  • 69
0 votes
0 answers
91 views

Ubuntu server installation failing

I'm trying to install Ubuntu Server on a Dell XPS 8910 (i7 6700, 32gb ddr4). When installing, it gets to the point called: configuring pollinate user-agent on target. Then it says An error has ...
  • 101
0 votes
1 answer
3k views

Can I run a headless Ubuntu server with a Ryzen 5 2600 with no GPU?

I built a headless Ubuntu server with a Ryzen 5 2600, and configured it graphically with a graphics card inserted. When I take it out and try to boot, it does not let me SSH. Do I need to have a ...
  • 195
0 votes
0 answers
30 views

Server won't connect to network

First of all, sorry for not being better with informations, bu I have literally no idea what is wrong here, and thus no idea what data to post. I have had a server running for some time now without ...
  • 145
2 votes
1 answer
943 views

No disk or partitions mounted when installing ubuntu server 18.04.3

I am trying to install ubuntu server using a bootable USB on a DELL EMC PowerEdge R640 Server with (1TB HDD and 800GB SSD), in step 7 / 13, when I have to choose the installation disk, there is no ...
0 votes
1 answer
88 views

How to see on which port apachi2 server is running

first i install apache2 using following commandsudo apt install apache2. I tried sudo systemctl start apache2 to run server. now i want to see on which port my server is running
0 votes
0 answers
40 views

Trouble while Updating Ubuntu 18.04

Situation: I have a Zentyal Server with 3 VM (Qemu) managed with KVM Manager. All of them running on Ubuntu 18.04.03 LTS Host: Zentyal 6.0.1 VM1: Ubuntu Server VM2: Zentyal 6.0.1 VM3: Ubuntu Server ...
0 votes
2 answers
453 views

(Ubuntu server) Can't choose a disk - what to do?

I was configuring my Ubuntu server system and couldn't go on, as I wasn't able to choose a disk.
0 votes
1 answer
71 views

Ubuntuserver as router

As the title says I need some help in setting up my home network as I am not (yet) good at "networking". So... what do I want to do? I just moved into a college dorm . I got a pretty good connection ...

1
2 3 4 5
7