Stack Exchange Network

Stack Exchange network consists of 174 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.

0
votes
0answers
9 views

Kill ssh process

I was connected to an ubuntu machine and instead of typing exit to logout, I killed the ssh process by its PID: kill PID Now, when I try to connect again to the ubuntu machine, I get the following ...
0
votes
0answers
18 views

Ansible - SSH Error: data could not be sent to remote host

I am trying to use Ansible 2.7.7 to manage Ubuntu 16.04 cloud image but when I try to make connection I get error: SSH Error: data could not be sent to remote host "192.168.111.11". Make sure this ...
0
votes
0answers
9 views

Every startup i need to manually run fsck /dev/mapper/ubuntu--vg-root

Hi every day when I start my ubuntu 18.04, then it's not starting and gives a below error. (initramfs) exit /dev/mapper/ubuntu--vg-root contains a file system with errors, check forced. Inodes that ...
0
votes
0answers
13 views

Using OpenVPN with ICS bypassing VPN on Ubuntu 18.04 [on hold]

I am attempting to share my computer's internet with my Roku TV via ethernet. The computer connects to the internet through wifi and is connected to an OpenVPN server using network-manager-openvpn-...
0
votes
1answer
8 views

Redirect all traffic from network adapter through a proxy

I have a Ubuntu 18.04 server and I would like to redirect all traffic from a specific network adapter through a proxy. I think I've could do this somehow through iptables. I've been searching but I ...
0
votes
0answers
12 views

How to translate old 'ip' commands to netplan config for Ubuntu 18.04 on AWS EC2

Previously I had a script to apply my second static IP and route on the default NIC on boot like so: ip addr del 192.168.123.123/32 dev ens5 ip route add 172.25.65.0/24 dev ens5 src 192.168.123.123/...
0
votes
0answers
4 views

Netplan routing failure on reboot

I've got the following netplan config in a Ubuntu server 18.04.1: $ cat /etc/netplan/01-netcfg.yaml network: ethernets: ens160: dhcp4: true ens192: addresses: - 192.168.10....
0
votes
0answers
20 views

Dell Ubuntu Server not utilising all RAM

I have a R610 Dell server running Ubuntu Server. 48GB of RAM total - 12x 4GB DDR3 sticks. Has been running fine for 3 months, I notice htop/top now reports only 24GB available. Same with free -m ...
0
votes
0answers
22 views

How do I ensure basic linux server security [on hold]

As the title suggests I am a complete beginner to server administration and I have no idea what I'm doing. So a little backstory first, I recently developed a website and set it up for deployment ...
0
votes
1answer
16 views

How to open ports in amazon (AWS) Lightsail?

I try to open a port in my instance of AWS Lightsail to be able to raise an application in NodeJs. Enable the Firewall rules as seen in the image. enter image description here but when I run nmap -...
0
votes
0answers
14 views

Installing a package with Ansible and not starting the service [duplicate]

I have the following play snippet: 27 - name: ensure necessary packages are installed 28 apt: 29 state: present 30 name: 31 - apache2 32 - libapache2-mod-rpaf ...
0
votes
1answer
25 views

MySQL Error: Can't create thread to handle new connection(errno= 11) triggered by many Gunicorn API requests

I'm running Ubuntu 16.04.4 LTS on a hosted Virtual Server with a MySQL DB 5.7.23 and a Gunicorn web server, which is providing the web application with an API. Everything is running properly, however ...
0
votes
1answer
19 views

What services and ports are required for NFSv4?

I've been trying to find the definitive answer to this question, but I'm getting conflicting results due to various NFS versions out there. I've configured NFSv4 by following https://help.ubuntu.com/...
0
votes
1answer
21 views

Advice on Server Solution for small business? [duplicate]

We are a small business looking to change server and I am not the most knowledgeable in this field so I was hoping some of you had some suggestions or some knowledge and expertise that can at least ...
0
votes
1answer
12 views

Chrome not launching VMware Horizon in Ubuntu 18.04.2

I have a new installation of Ubuntu 18.04.2. I downloaded and installed VMware Horizon Client which has installed successfully. I need to log onto a remote server using a web-login to authenticate. ...
0
votes
1answer
14 views

Raspberrpi, Ubuntu [on hold]

I have just started using the raspberrypi. So I was facing a problem with my raspberrypi regarding remote host identification, this error used to pop-up every time I tried to boot my raspberry pi. So ...
1
vote
1answer
23 views

curl resolving invalid hostnames to own IP

When I curl an invalid domain, I get a response from my own webserver. Ubuntu 16.04.5, curl 7.47.0 For example: root@l ~ # curl -v foobar.x * Rebuilt URL to: foobar.x/ * Trying 148.X.X.X... * ...
1
vote
1answer
38 views

sysctl not sticking after reboot

Using Lubuntu 18.10 Cosmic Cuttlefish Most commands do stick. However Lynis has repeatedly demonstrated four sysctl parameters are not sticking on reboot. sysctl -p does successfully apply them ...
0
votes
2answers
20 views

Lost connection to main interface after brctl addif

I was setting up a server recently, and I was supposed to assign one of the public IP available for the server to a KVM guest. The server have the following setup: eno1 - main internet connection of ...
0
votes
0answers
12 views

Need help killing psuedo terminals

I have a ubuntu web server that uses a chron job to connected to a third party sftp, pull a file and disconnect. This was working for a few weeks and has stopped. I tried to manually SSH into the ...
0
votes
0answers
21 views

Setting up public IP address on CentOS 7

When configuring a LAMP server on CentOS 7, do I need to to setup first a public IP address before my website to be accessible on the browser? I already tried configuring the /etc/sysconfig/network-...
0
votes
0answers
14 views

Netplan How to setup auto DHCP and DNS

I'm trying to configure DHCP and DNS on Ubuntu Server 18.04 with Netplan but I have a hard time setting the DHCP on and Local DNS servers. I have found an example yaml file that I used to set a ...
-1
votes
0answers
18 views

VirtualBox windows 10 host to Ubuntu 18.04 guest host-only adap but no communication [on hold]

ipconfig from windows 10 host Ethernet adapter VirtualBox Host-Only Network: Connection-specific DNS Suffix . : IPv4 Address. . . . . . . . . . . : 192.168.56.1 Subnet Mask . . . . . . . . . . . : ...
1
vote
1answer
21 views

MySQL 8 on Ubuntu: what's the difference between /etc/mysql/conf.d/ and /etc/mysql/mysql.conf.d/?

As per title. In /etc/mysql/my.cnf I see: !includedir /etc/mysql/conf.d/ !includedir /etc/mysql/mysql.conf.d/ .cnf files from both location are loaded: why having two? Which one is the "right one" ...
0
votes
1answer
17 views

Ganglia - missing metrics for some of the servers

I've installed Ganglia on my Ubuntu 16.04 servers, recently. I basically followed the instructions here. The problem is, rrd files for sets of the metrics for some servers are missing. Most ...
3
votes
2answers
42 views

Reducing the verbosity of auditd, my minimal rules catch stuff they should not (apparmor)

My auditd rules and my needs are fairly simple, I want only to log root actions. # auditctl -l -a always,exit -S all -F euid=0 -F perm=x -F key=ROOT_ACTION That is the only rule, and it works: type=...
-1
votes
0answers
19 views

How are these ips same in iptables? [on hold]

123.30.60.0/24 123.30.60.0/* I found 24 means netmask 255.255.255.0 but can't understand 2 lines above have the same meaning. Please let me know this. Thank you.
-1
votes
1answer
54 views

Is someone able to sniff our corporate emails?

To put the long story short: we discovered someone is able to access some of our "secret" links we do send to our clients over email. The links are highly secured with hashes, extremely difficult to ...
0
votes
0answers
21 views

Postfix - can't recieve emails from external domain (Ubuntu 16.04)

Good morning! I have a bit common problem, but I haven't found any solution yet, after reading really a lot of forums and tutorials. Shortly: I want to send an email from external domain to my server,...
0
votes
1answer
26 views

PHP performance benchmarking between Windows and Linux

I'm trying to look around for any reliable PHP performance benchmarking test between Windows Server vs Linux. To be specific, this is what I'm going after:- PHP 7.2 Windows Server 2012 Linux Ubuntu ...
0
votes
1answer
19 views

Configuring Lightsail bitnami vsftpd passive

I've spent a really long time on this and I had it working last night. Came to work this morning and it has stopped working (I am the only IT support and no changes were made by me). I have ...
0
votes
2answers
75 views

How are hackers getting into our server without brute-force? [duplicate]

I am a web developer and we have no one specialising in the wellbeing of the server or the network currently at our office. Usually I can sort many of the issues that arise with my basic knowledge but ...
0
votes
1answer
17 views

Aws Ubuntu access lost, while creating new user

I had created a new user ( disable password command) on my instance. while giving him access somehow i have edited file at etc/ssh/sshd_config at line 33 #AuthorizedKeysFile %h/.ssh/authorized_keys /...
0
votes
0answers
14 views

Failure to connect VM to Remote Desktop Connection

When I restart my Azure Ubuntu VM and then try to connect to it using Remote Desktop Connection, RDC shows the login screen and after passing the credentials it shows I am successfully logged as shown ...
0
votes
2answers
76 views

Unable to ping the remote user via ansible

I'm trying to connect my host machine which is of Ubuntu (ctrlnode is user) to remote machine which is of RHEL (rhelnode1 is user) on AWS and when I try to connect my a user (rhelnode1) on remote ...
0
votes
0answers
22 views

Stuck on config of Postfix & courier, got spams

I'm having issue to configure Postfix & Courier for multiple domain without being blocked.... I have 2 domains on my server and I setted an email server with Postfix & Courier... First, I've ...
0
votes
0answers
28 views

Domain redirects to wrong nginx vhost site

I have ubuntu 18.04 server with 2 dedicated ip addresses: eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 195.161.41.218 netmask 255.255.255.0 broadcast 195.161.41.255 ...
-1
votes
0answers
7 views

nginx not connecting with node server routes [duplicate]

I'm having trouble with setting up my digital ocean server with node. I have a simple node app with express routes. I'm using Nginx to connect with reverse proxy port 80 & 443. I've tried multiple ...
0
votes
0answers
29 views

Does Ubuntu 18/Linux respect the order of DNS servers?

Does Ubuntu/Debian (or Linux in general) respect the order of the DNS servers? Let's assume clean installation of Ubuntu 18.04 In Ubuntu 18, you can setup the DNS servers like this: Aka does it take ...
0
votes
0answers
12 views

Error Code: 1728. Cannot load from mysql.db. The table is probably corrupted

Whenever I try to do a DB query with a particular DB user (myuser) I get the following error: Access denied for user 'myuser'@'localhost' to database 'mydatabase' [1044] I decided to check the ...
0
votes
1answer
49 views

Postfix issue: Email not showing up

I'm being taught to use PostFix to make a personal, cross-domain mail service. I've been stuck on this for a while, but... here's what happens. In this case, the DNS and mail servers, as well as ...
1
vote
1answer
82 views
+200

Preseed automatic partitioning

I'm using the following partman settings for automated installs of VMs for some years now: d-i partman-auto/disk string /dev/sda d-i partman-auto/method string regular d-i partman-lvm/...
0
votes
1answer
37 views

Customize permissions for sftp under pureftpd

I have an Ubuntu Server 18.04.1 LTS running Pure-Ftpd (installed from ubuntu repos). I need to change file and directory permission to - respectively - 664 (default is 644) and 775 (this is default). ...
-1
votes
1answer
34 views

how to run a web server of EC2 on port 80/443

I have an application which can be reached by typing http://EC2 IP:3838/My_app. But I need a domain name rather than this address and so purchased a DNS from AWS and linked it to the EC2 IP. now I can ...
1
vote
1answer
50 views

how to force Nginx to override header?

I'm trying to display my sitemaps. Browsers display my sitemap index as xml but treat post sitemaps as plain text. I tried to override content type with below configuration but it didn't help. ...
0
votes
1answer
97 views

Apache2 segmentation fault errors after every midnight

I am seeing a strange error with my ubuntu dev machine. It is going on since almost a year. Meanwhile I have reinstalled ubuntu at every release (not just upgraded to the next release). Every day ...
4
votes
1answer
102 views

How do I expand the root's volume size?

I have Ubuntu Server 18.04 LTS running off a 16GB SanDisk USB pendrive in my server. From what I can remember, when I installed Ubuntu on there I had enabled LVM support. For some reason, when I ssh ...
1
vote
1answer
27 views

How do I figure out how my certbot is configured?

I need to change the domain on my server, which I've been using certbot to get certificates for successfully. I need to switch it to a different domain though. I did not set it up initially so I have ...
1
vote
2answers
28 views

Postfix - Connection Refused error

I'm trying to build send only mail server using postfix. I folowed this documentation from digital ocean When I try to send email, it gives below error. (I copied from /var/log/mail.log) lets say my ...
0
votes
0answers
3 views

/etc/hosts file overwritten in persistent live USB [migrated]

This page https://help.ubuntu.com/community/mkusb encourages to create persisten live bootable USB. So that's what I suggested to my class, when I had to suggest a way how they could enjoy Ubuntu ...