Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
0answers
10 views

Format new parition of drive with xfs version 4 in Linux

I am working on an arcade machine and it cannot be updated unfortunately. A drive has corrupted data on it and in order to delete it I need to re-partition that drive. (I know it's the data and not ...
0
votes
1answer
29 views

How would you reply to the argument “RHEL is more secure than Ubuntu”?

Important: I'm not trying to ask here if indeed RHEL is more secure than Ubuntu. This is not an "opinion" question. Rather, I'm asking, if someone makes the above argument, how would you prove or ...
0
votes
0answers
26 views

EC2 ubuntu instance won't boot properly after being stopped

I stopped my EC2 Ubuntu (can't remember if it's 14.04 or 16.04) instance and now I can't access it. These are the last couple lines of the system log. Begin: Loading essential drivers ... done. ...
0
votes
0answers
16 views

Unable to run sync_grains while using grain matching

Whenever I try to run the sync_grains command on a host using glob matching, it works great: root@salt:~# salt '*-stage-*' saltutil.sync_grains; echo $? i-0bbaf106121397b74-stage-knowledge-base: 0 ...
0
votes
0answers
8 views

Dell N2048P switch, no ethernet connection

I am setting up a Dell N2048P switch. Using console, I have assigned an IP address and created a user/password following the getting started guide:- SNMP Interface = “public”@10.1.2.100 User Account ...
0
votes
0answers
4 views

How to use Nginx reverse proxy to connect a public server to internal server? [duplicate]

I am currently working on a site that is hosted from a server running in my home. Here is the setup: Server running ESXi, two virtual machines First virtual machine is connected publicly to the ...
0
votes
0answers
15 views

Ubuntu web-server periodically inaccessible from web

I have an unknown problem. My webserver 3-4 times a day suddenly "locks down" and is not available from web, meaning, no websites are available, they just time out. But, the console connections are ...
-2
votes
1answer
29 views

Allowing SSH from selected IP through a definite interface [on hold]

I'm Using Ubuntu 18.04 and I have two different interfaces in a single card. Let's suppose that the IP's of said interfaces are 1.1.1.1 & 2.2.2.2 I want that anyone can connect with ssh through ...
0
votes
0answers
5 views

How to switch nextcloud snap data location to an external drive in /dev/ [on hold]

I'm using snap nextcloud 15 on Ubuntu 18. I'm trying to switch the data location to an external hard drive using snap, but only see a way to switch it to a drive in the media folder. Any idea of how ...
-1
votes
1answer
20 views

Remote access to Nginx unavailable [on hold]

I have setup my first homelab/media server and am running Nginx as a reverse proxy with ssl listening to port 443. After I finished setting up nginx everything was functional and accessible both ...
0
votes
0answers
18 views

Elasticsearch does not start on Ubuntu 14.04, possible error with lucene dependency

I have tried installing the elasticsearch package using apt on Ubuntu 14.04, but when I run sudo service elasticsearch status, I get the following output: * elasticsearch is not running I tried ...
0
votes
1answer
21 views

Netplan configuration is not persistent

I have configured my network interfaces in my Ubuntu bionic (18.04) server using netplan, and afterwords I ran netplan apply and the configuration kicked in. In particular, I configured the DNS ...
0
votes
1answer
11 views

How Connect Bacula Director from CentOS 7 to Storage Demon in Ubuntu 18.04?

Am new to Bacula and Linux world. Am trying to configure Bacula.. I have Bacula storage demon v 9.0.6 in Ubuntu and Bacula director v 5.2.13 installed on centos 7. When am trying to connect the ...
0
votes
0answers
19 views

Uploading a Python Flask App to an existing Apache2 Server and making it listen on a different port

Quick context: I have a Ubuntu 14.04 LAMP Server that's been hosting my ExtJS Website for a pretty long time. Recently, I've had the opportunity of tinkering with DialogFlow, and I've also made a ...
0
votes
0answers
27 views

Server crash on Ubuntu 18.04.2 LTS [closed]

I am quite new to linux and hosted a root server at hetzner.com, the problem is it sometimes just randomly shuts down and doesn't boot anymore, I then have to go to hetzners panel and simulate the ...
0
votes
0answers
18 views

nginx domain to specific port [duplicate]

I'm having an ubuntu server with apache2 and nginx. The apache2 listening to port 80 and nginx on 8000. (php project is runnig on 80 and flask uwsgi app runnig on 8000) I have two domains www.example....
3
votes
1answer
111 views

Linux multipath: How to configure a single multibus path group

I have just upgraded a functional Ubuntu 16.04 host to 18.04 and am now having issues with multipath. Package versions: * multipath-tools 0.7.4-2ubuntu3 * open-iscsi 2.0.874-5ubuntu2.7 I have a Dell ...
0
votes
0answers
15 views

IPFIX Flows from OVS Linux Bridge are not accurate

I’m struggling to understand my IPFIX flow data. To explain: I have an Ubuntu (16.04.2 LTS Xenial Xerus) box, and within that box, I have a single Linux bridge: root@Ubuntu1:~# ovs-vsctl show ...
1
vote
1answer
62 views

500 OOPS: SSL: cannot load RSA private key

I am trying to debug a FTP server. I am currently getting $ sudo /usr/sbin/vsftpd 500 OOPS: SSL: cannot load RSA private key FTP connections are being refused. This is that status of from systemctl: ...
1
vote
1answer
26 views

Google is indexing urls from another site hosted on the same VPS

We have a VPS hosting 2 websites. WebsiteA.com has SSL. WebsiteB.com doesn't have SSL but google indexes WebsiteB.com with HTTPS URLS from WebsiteA.com Example: https://www.websiteB.com/url-from-...
1
vote
1answer
41 views

Faster way of deploying compiled software

I'm working on a project where I will have to deploy a large number of servers with particular software upon them. At the moment, I'm able to use the standard Ubuntu repositories, however the version ...
0
votes
0answers
14 views

Ubuntu install restarts every time a manual network connection is configured

I don't install Ubuntu often. However, I'm now having this issue twice. The first time, I ignored it, continued my installation with DHCP enabled, then manually configured the network adapter after ...
1
vote
1answer
21 views

bond interface answering for another one

I have a ubuntu 18 server with 4 active NICs. The setup is: 1. one public (not relevant for this case) 2. one single eno1 with ip 10.123.10.21 3. one bond0 (LACP bond consisting of eno3 and eno4), ip ...
0
votes
1answer
35 views

Sendmail trying to find hostnames in headers for no good reason

I have a client who uses an external mail server to log and filter their inbound email before passing it on to their main mail system (which is Office365). The external server is running Sendmail, ...
0
votes
0answers
30 views

Default config 000-default-le-ssl overriding vhosts

Initially I had only 1 domain so I had it as a default site in 000-default-le-ssl.conf. I then added vhosts for each subdomain with no issues. Now I have added another domain and I do not want any ...
0
votes
0answers
19 views

NGINX subdomain hangs and times out

I have a site working on the root and www domain, e.g. example.com and www.example.com I'm trying to add a new site under the subdomain t.example.com. When I visit this subdomain in a browser it just ...
0
votes
0answers
31 views

How to clone a drive including grub/bootloader, not including unused space, in a realistic timeframe? [on hold]

I'm upgrading from a Inland 256GB M.2 PCIe NVMe SSD to a HP EX900 NVMe PCIe M.2 500GB. In the past I've used Clonezilla to save an image on old drives as backup but this time it's struggling. I ...
0
votes
0answers
29 views

Apache - Redirect HTTPS to HTTP

I have the following situation: An ubuntu server running Webmin with Apache. And I have a static website deployed on it, with SSL already configured. On the same server I have a standalone ...
-1
votes
1answer
50 views

mariadb service fail to start after reboot

I'm trying to get mariadb 10.2/10.3 to work on a fresh installation of ubuntu server 6.04 which comes with mysql 5.7. The installation process goes fine and everything works fine untill I reboot the ...
-2
votes
1answer
71 views

Difficulty in assigning resources to KVM virtual machines leading to extremely sluggish performance on VM

Physical Server Setup: OS: Ubuntu 16.04 RAM: 384GB CPU: Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz with 2 sockets, 8 cores per socket, and 2 threads per core, so the system reports it has 32 ...
1
vote
1answer
152 views

Why SSL does not work between my 2 servers?

I have 2 servers with Ubuntu 18.04: monitoring.example.com (with ELK on a single server) www.example.com (with Filebeat) on the server ELK Create directories to store SSL certificates $ sudo mkdir ...
0
votes
1answer
17 views

Reducing spam on Ubuntu

I'm getting plenty of emails to postmaster@host.hostname.com Transcript of session follows. Out: 220 host.hostname.com ESMTP Postfix (Ubuntu) In: EHLO mail-serv.info Out: 250-host.hostname.com ...
0
votes
0answers
12 views

Socat device disappears

On Ubuntu 18.04, I'm using socat to connect to a USB device physically attached to another machine (and exposed via ser2net): sudo socat PTY,link=/dev/zwavevera,group=root,mode=777 TCP:vera.home.lan:...
2
votes
1answer
41 views

RewriteRule “P” flag results in server 500 error

I am using RewriteRule in my .htaccess file to modify an incoming URL. It works fine except I want the rule to act as a proxy, rather than a redirect. But if I append the [P] proxy flag to the rule ...
1
vote
1answer
25 views

How to create azure vm instance on a dual boot linux machine? Is the procedure same as we do it on a virtual machine?

I want to create an azure vm instance anc access it through ssh. But I have a dual booted linux machine. So can I do the same on a dual booted machine or I need specifically a virtual machine to ...
0
votes
1answer
17 views

Exclude partition in Icinga2 check disk [check_disk] not working

I'm trying to exclude a partition from check_disk command in Icinga2 and it's not working as expected. The problem is due to /snap/core being recognised as a partition like this. So, I've opened the ...
1
vote
1answer
32 views

Unable to generate GPG keys without passphrase on Ubuntu 18.04 [closed]

Has anyone tried creating GPG keys for encrypted pillars on Ubuntu 18.04? I'm using the following command to attempt to generate the keys: gpg --gen-key --homedir /etc/salt/gpgkeys When I run that ...
0
votes
0answers
17 views

SSH Randomly Disconnecting Without Warning

I have been using a certain remote server for the past several weeks without issue, but earlier this week, all of a sudden, it began to deny me entry. Rebooting the server allows me to authenticate ...
-1
votes
0answers
41 views

Server receiving hit from its own DigitalOcean public IP Address. Why is that and how to resolve this?

I have a MEAN Stack application deployed on a Digital Ocean Droplet and I am using Nginx as proxy server to handle the request and redirect to application's particular port. I wrote a short script in ...
0
votes
1answer
19 views

What Java -Xmx setting can I reasonably expect to work on an AWS EC2 Ubuntu server?

What is your experience? Can you confirm my experimental findings? Can I generally use total RAM - 600 MB, or 0.4 * total RAM? Or is it always trial and error, and hoping that it is low enough? ...
0
votes
1answer
51 views

ProxyPass exception gives me “too many redirects” error

I have an application on my server that is for the most part overwriting Apache. Now I want to install PhpMyAdmin on my VPS, it doesn't work (displays directory listing instead of UI), but by asking ...
0
votes
0answers
22 views

Connection refused from signle host Ubuntu

I have an Ubuntu 16.04 running on machine A. It has a docker container running inside of it, which exposes the port 8080 to the outside (this is where the server(Wildfly) that is running inside the ...
0
votes
1answer
16 views

Linux PAM: SSH key + 2FA (google authenticator) + password - Specify auth requirements per user

I have installed and configured PAM on my Ubuntu server which is working correctly. To log in I want to require an SSH Key to be installed, a password to be provided and a valid code from an ...
0
votes
1answer
50 views

error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

I accidently renamed /lib/x86_64-linux-gnu/libc.so.6 to /lib/x86_64-linux-gnu/libc.so.6-bak Now I can not perform some commands such as ls ll vim wget. . . . . it is showing the following error ...
0
votes
0answers
24 views

Apache2 stops after system graceful-restart

System's effected: Ubuntu 16.04, Ubuntu 18.04, not 14.04. Frequency: Approx. around 24 - 36 hours. [Wed May 08 03:44:25.964597 2019] [mpm_prefork:notice] [pid 7670] AH00171: Graceful restart ...
0
votes
1answer
28 views

Ubuntu 18.04 LTS apply iptables changes FTP/FTPS PASV mode

I am trying to set iptables so a CLIENT computer can use FTP/FTPS with passive mode. I have already set majority rules by ufw - short extract (skipped listing of IPv6 and other rules for the sake of ...
0
votes
0answers
19 views

SSH disabling google-authenticator from specific IP

I have setup google-authenticator as 2FA together with publickey authentication. What I need is to skip the 2FA when connecting by SSH from specific IP. I'm running Ubuntu 18.04. Relevant snippet ...
0
votes
1answer
37 views

Non-Latin characters not showing in headless Chrome on Ubuntu Server

When I visit a site in Chrome, it shows non-Latin characters just fine. However, when I run the same site in headless Chrome on Ubuntu Server and view the site via the debugger on port 9222, then all ...
1
vote
1answer
36 views

Configure Nginx to serve Wordpress or Angular app depending on route on the same EC2 under same domain name

My goal is to serve a Wordpress site for my static pages for routes such as /about-us and /contact and then serve my bundled Angular application for the /login/, /signup/, and the user auth guarded ...
2
votes
1answer
29 views

smtp client setup on ubuntu desktop to use Gmail smtp server for corporate domain

How to configure SMTP client (Ubuntu desktop) to use Gmail SMTP server to send email from my desktop using postfix. This is how we login to company provided email. we login to gmail.com using ...