Questions tagged [server]
Ubuntu Server is a flavor of Ubuntu that comes with with no desktop environment by default, with command-line SSH login as the default way of remote access. This tag should be used for questions related to Ubuntu Server (as opposed to Ubuntu Desktop variants), as well as any questions related to installing services and programs on Ubuntu Server.
16,522
questions
1
vote
1
answer
2k
views
How to get Minecraft Server to boot with system?
I'm trying to figure out how to get my Minecraft server to start with my system. I'm currently on Ubuntu 21.04, kernel 5.11 and my DE is Gnome 3. I was following this post over on the Ubuntu ...
5
votes
1
answer
496
views
Logging off users with a countdown message
I want to do some maintenance on a server but in order to do that I need all users to be logged off. But I want to send I message (like shutdown do when you want to shutdown the system) to all the ...
3
votes
1
answer
2k
views
18.04 Server with CAN bus and netplan configuration
In Ubuntu server 18.04, what is the best way to use netplan to configure ethernet interfaces, AND configure and use CAN interfaces?
I can successfully use netplan to configure my ethernet interfaces, ...
0
votes
1
answer
528
views
Ubuntu 20.04 Server 64-bit - Raspberry Pi 4 - The network icon shows me disconnected while in reality I am properly connected to the internet
I have installed lightdm + cinnamon on Ubuntu 20.04 Server 64-bit for Raspberry Pi 4.
The systray network icon shows me disconnected from the internet while in reality I am connected.
None of the ...
1
vote
1
answer
981
views
systemd-resolved: ResolveUnicastSingleLabel= missing in 20.04?
I am trying to get systemd-resolved to resolve single-label querries/hostnames.
As far as I understand systemd-resolved, it just drops request like dig randomhostname because no fqdn is provided.
if I ...
0
votes
0
answers
59
views
Root used directly doesn't work via ssh
I have a Linux system in which root is disabled by default.
I managed to enable it (passwd root and enabled login into root via ssh).
However, once I login into root via SSH there is nothing I can do. ...
1
vote
0
answers
35
views
MAAS - Deploying workstations right away
I'm using MAAS to deploy workstations.
Because workstations don't have management tools like IPMI, I have to PXE boot the workstation for MAAS to catch it, then do it again for it to commission, and ...
0
votes
1
answer
227
views
something weird happened to sshd. can only access through local network
VERY IMPORTANT EDIT
Just because I can't understand the problem, I asked a friend to try to connect to it, and it works.
So I asked another friend to try, and it works.
Apparently I'm the only one who ...
1
vote
1
answer
6k
views
Enabling autologin in ubuntu 20.04.02 LTS server on raspi?
I don't want theinitial screen that asks for username/password in beginning of Ubuntu Server 20.04 since I am using this OS on raspberry device which runs a code in background on startup. How do skip ...
2
votes
1
answer
6k
views
How do I make a Bash script that opens tmux, runs multiple lines of commands, then detaches from tmux?
I’m trying to make a Bash script that opens tmux and runs a few lines of commands and then detach it so I end up in my terminal after it’s done. How do I solve it? Tried everything.
≈#!/bin/bash
cd ~/...
27
votes
2
answers
37k
views
no route to host when mounting CIFS share
We have two ubuntu machines running docker + kubernetes and they need to access a windows share.
The first one is setup in /etc/fstab :
//dfs/Archive01 /mnt/dfs cifs rw,cred=/etc/cifspasswd,forceuid,...
10
votes
1
answer
12k
views
Just 200 GB of my 1TB Disk can be found on Ubuntu Server 20.04
Recently; I did my first steps concerning Ubuntu and Ubuntu Server. For other Problems, there were good ways of trobleshooting but in this case I found nothing.
I installed Ubuntu Server on an old PC ...
1
vote
2
answers
2k
views
I can't set up a samba share
I've been trying to set up a samba share on my local network for 3 days now and I keep running in to the same problem. I'm sure it's something simple but I can't figure it out.
When I try to access it ...
0
votes
1
answer
439
views
multiple sites in apache2 aren't working
Hello everyone I need help, I am trying to create two local sites in my docker container with Ubuntu bom.com and bom2.com with article << https://www.liquidweb.com/kb/configure-apache-virtual-...
3
votes
2
answers
5k
views
SSH. Too many logins for Username. Why if i have logged only 2nd time and have tmux ssh in other servers tmux?
Logging just once in shh, after i lost wifi connection, that has 10 login limit i got
Too many logins for 'username'.
Last login: Thu May 6 17:06:43 2021 from 62.85.107.197
Connection to servername....
0
votes
0
answers
36
views
No internet, but local network works
For some reason every time I set up a new ubuntu server (for our build agents) I mange to mess it up and have some problem with network.
Note that this machine was set up 1 hour ago (then I tried to ...
0
votes
1
answer
2k
views
Ubuntu 20 server htop shows 100% CPU usage, why?
The title says it all, and I also asked the same question here: https://stackoverflow.com/questions/67464225/digitalocean-server-cpu-100-without-app-running
Not sure which is the right place to ask ...
2
votes
0
answers
282
views
ubuntu--vg-ubuntu--lv partition full for no apparent reason?
I am using ubuntu server on a few machines but it seems 2 of them are afflicted with this issue while the others are totally normal. Both machines are very barebones, outside of the ubuntu server OS ...
2
votes
1
answer
610
views
Ubuntu 18.04 Server installation crashes when choosing partition
The partition table on my machine is MBR and it looks like this:
sda4 (extended)
-sda5 - 1000MB /boot for Ubuntu Desktop 18.04 - ext4
-sda6 - 1000MB not used - ext4
-sda7 - 1000MB not used - ...
0
votes
2
answers
2k
views
Samba Share on Pi – Windows & Linux can write but not applications (Sublime, Codeblocks)
Context (irrelevant):
I was looking around the net and stack for this particular issue but couldn't find an answer. Some answers even suggested enabling guest_ok which is in my honest opinion a ...
1
vote
1
answer
393
views
Cannot interact with my Raspberry Pi running 20.10 from Ubuntu computer but I can do it with a Mac
I recently distro-hopped from Raspbian to Ubuntu MATE 20.10 and I enabled the SSH service. I can connect it from a Mac (not with Ubuntu), but it doesn't even allow interactions from my computer. ...
0
votes
0
answers
97
views
Will 18.04 upgrade to a newer version of PHP?
I understand that that php packages will receive security updates for the life of 18.04, but will the main repository ever include a newer version than 7.2?
0
votes
0
answers
2k
views
Wireguard no internet on ubuntu but works fine for the very same config on my android phone and on windows 10
I'm using ubuntu 20.04 for both the server and the client and have used an EC2 AWS instance for the server. I've also used this installer for installing wireguard on AWS:
https://github.com/pprometey/...
0
votes
0
answers
176
views
no public authentication method ubuntu server raspberry pi 4
I have made a file named ssh in the sd card so it enables ssh without me plugging it into a monitor.
I am able to connect to the raspberry using putty, but when I try to log in it says "no ...
0
votes
1
answer
426
views
How to use custom Origin values in for internal repositories in Ubuntu 20.04 autoinstall?
OK, just working my way through integrating with autoinstall / cloud-init and finding all the incorrect ways that don't work. :-) Looking at the following documents:
https://ubuntu.com/server/docs/...
0
votes
1
answer
696
views
Speeding 21.04 server boot by specifying network config
I recently installed server 21.04 on some new hardware. I'm using it at home, mostly for some dev experiments.
I don't understand everything that happens when the system is booted, but it takes much ...
0
votes
0
answers
585
views
Can't connect via SSH / : UNREACHABLE! =>
I am trying to deploy a Leihs instance but facing issue while connecting to the server via ssh.
My local machine is a MacOS 10.15.7 and the remote server an Ubuntu 18.04.. I created a key on my local ...
0
votes
1
answer
820
views
Where to make configuration changes to MySQL in Ubuntu 20.04?
I have a couple of Ubuntu 20.04 servers running on AWS, using MySQL 5.7 rather than 8.0.
When I set up the server I did some modifications to /etc/mysql/mysql.conf.d/mysqld.cnf and everything worked ...
1
vote
1
answer
4k
views
SystemD service for running deamon in chroot
I have set up my raspberry pi running ubuntu 20.04 server so it can run teamspeak with box86.
To do that I set up a chroot in ls /srv/chroot/focal-armhf/ with debootstrap. In that directory I compiled ...
-1
votes
2
answers
5k
views
(EAI 2)Name or service not known: AH00549: Failed to resolve server name for xxx.xxx.xxx.xxx (check DNS)
I am trying to install Localhost web-server on my Ubuntu 18.04 by this instruction.
How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu 18.04
But by testing the apach2 i get this error:
r$ ...
0
votes
0
answers
121
views
Passwordless scp from Ubuntu Server to Windows PC
I'm running Windows10 for my Pc and Ubuntu Server 18.04. I'm able to copy files from Ubuntu server to my Windows using SCP. However, I would like to be passwordless. These are what I have done:
...
1
vote
1
answer
3k
views
20.04 Server Hangs on Reboot
I'm running into an issue when trying to reboot or shutdown my primary storage server at home. The shutdown process unmounts and stops most of the system until it hits systemd-udevd, then it hangs.
...
1
vote
2
answers
1k
views
20.10 Server WiFi drops connection frequently
We have setup an Ubuntu 20.10 Server having an Intel Wireless Card, the WiFi extremely shaky with frequent disconnections, almost once every minute. The details are as follows:
Ubuntu Version:
...
1
vote
2
answers
1k
views
Import Windows DHCP leases into a Linux DHCP Server
I'm replacing a Windows DHCP server with an Ubuntu server.
I need to migrate leases in the new DHCP. What would be the easiest solution?
Create reservation in my dhcp.conf? (I would prefer have only ...
1
vote
1
answer
346
views
How to set up RealVNC with a professional subscription on Ubuntu?
Their documentation says that I need to install and log in to license it, but after installing it there's no place to log in and it just gives the error "VNC Server in User Mode requires an ...
2
votes
0
answers
1k
views
Stuck on login screen: Ubuntu 20.04 xrdp <> Windows 10 Remote Desktop
I have xrdp installed on Ubuntu 20.04 LTS headless server and I'm using Remote Desktop in Windows 10.
I can login using xrdp as I have it set to run on startup, but I can't click enter while Remote ...
0
votes
0
answers
305
views
A GUI on my almost-fresh Ubuntu Server 21.04 install?
I installed & set up my Ubuntu Server 21.04 yesterday. Spent the whole day installing packages, configuring everything, and getting everything looking just right.
All of a sudden, my SSH lost ...
0
votes
1
answer
1k
views
Installing previous version of program: chromium-browser
I have an old computer that doesn't support the newest versions of Chromium, since the CPU lacks the support of SSE3 instructions (I saw that in a forum).
Recently, I have updated Chromium and version ...
0
votes
0
answers
30
views
Accesing home network over Internet using my domain name with Dynamic DNS
I have a Raspberry PI with a Samba, FTP, DLNA and Webserver.
I wish to access it trough ssh and web with my domain like: ssh [email protected] and like: home.my-domain.hu the problem is I do not ...
6
votes
4
answers
17k
views
Upgraded to ubuntu 18.04.5 LTS "Enable UA Infra" notification
I recently upgraded my server to Ubuntu 18.04.5 LTS from 16.04.7 LTS and in Ispconfig I see notification:
Enable UA Infra: ESM to receive additional future security updates.
See https://ubuntu.com/...
0
votes
1
answer
189
views
How do I covert my 2 backup mage1.img and image0.img fils into 1 .iso file to reinstall
I have backed up Linux however my VM backup results in 2 image files. image1.img and image0.img. I am stumped and would Like to have some suggestions on how I can use the image files to recreate a ...
0
votes
1
answer
886
views
cannot install mysql server
Shows this error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an ...
2
votes
1
answer
1k
views
How to set the SSH key of the root user during an automated 20.04 server install?
I'm trying to write an SSH key to /root/.ssh/authorized_keys during an automated 20.04 server install, but it fails, probably because of permission problems.
The 1st command is successful, the 2nd ...
3
votes
0
answers
921
views
Ubuntu server 20.04.1 LTS freezes after 20 minutes of use
I am using Ubuntu 20.04.1 LTS server and facing an unusual issue. Everything worked until recently. After routine reboot the server now works fine for only ~20 minutes and afterwards freezes. I am ...
0
votes
1
answer
61
views
FileZilla slowly creeping up or down transfer rate, plus other weird behaviour
I am not sure the issue is related with my current Ubuntu, it might.
I am connecting with FileZilla the present laptop, with Ubuntu 20.04, as a client, to another desktop Win 10 PC (with a USB WiFi ...
0
votes
0
answers
71
views
Has anyone successfully upgraded their headless Ubuntu running on a Dell PowerEdge T710 using a Keyboard, Video, Mouse console?
Just as the title says.
I have headless Ubuntu server running on a Dell PowerEdge T710, and it says I need to do a release upgrade to 20.04.2 LTS from 18.04.5 LTS which I can perform using the Dell's ...
0
votes
1
answer
859
views
OpenSSH on Ubuntu 20.04 LTS not working asking for password and publickey
So I’ve got a new PowerEdge R810 everything working fine just when I try to SSH into the machine using my login details that work on the machine it says Permission Denied (password, publickey) in the ...
1
vote
1
answer
3k
views
How to switch user (su) to the odoo account? (This account is currently not available error.)
How do I su to the odoo account?
nicholas@mordor:~$
nicholas@mordor:~$ sudo su odoo -
This account is currently not available.
nicholas@mordor:~$
nicholas@mordor:~$ awk -F: '{ print $1 }' /etc/...
1
vote
1
answer
2k
views
Odoo start error: psycopg2.OperationalError: FATAL: role "foo" does not exist
After installing odoo from apt I cannot seem to get to a welcome page:
Starting odoo:
nicholas@mordor:~$
nicholas@mordor:~$ odoo --xmlrpc-port=8000
2021-05-01 04:32:16,518 81810 INFO ? odoo: Odoo ...
1
vote
0
answers
375
views
Is it possible to allow users that are not real user in a Ubuntu distro that runs the SAMBA server to access its shared-folders?
According to Samba/SambaServerGuide-->File Sharing (Basics):
NOTE: the username used here should be a real user setup on your
PC/Server.
What if I don't have these user names created on the ...