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
15 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
1answer
1k views

Telnet Port 25 responds via localhost but not remotely

I just set up Postfix + Dovecot on Ubuntu and it doesn't seem to behave 100% as expected. If I run telnet localhost 25, I get: Trying ::1... Connected to localhost. Escape character is '^]'. 220 ...
0
votes
0answers
12 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
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
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
1answer
24 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 ...
1
vote
1answer
81 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
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
2answers
19 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
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
19 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 ...
2
votes
4answers
2k views

How do I limit concurrent sftp / port forwarding logins

I have ssh set up so my users can only access sftp and port forwarding, how can I limit the number of concurrent logins on a per user basis? In my sshd_config file, I have UsePAM set to yes, and in /...
13
votes
4answers
15k views

Why doesn't the aws cloud formation install the packages that I specify?

I'm very new to the AWS services. I'm trying to use the AWS cloud formation and I created a template. The template is error free and I am able to create machines using that. But I have added some ...
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
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
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
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
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 ...
76
votes
5answers
39k views

Why don't EC2 ubuntu images have swap?

I started a couple servers on EC2 and they don't have swap. Am I doing something wrong or is it that the machines just don't have any?
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 ...
0
votes
1answer
1k views

DNS request has status: SERVFAIL

Can you please take a look at the below config and what I am doing wrong? Just set up Ubuntu 14.04.4 LTS with bind and when I do a dig to my server I get a status: SERVFAIL My configuration is the ...
1
vote
5answers
30k views

Error applying iptables rules using iptables-restore

Hi I'm using Ubuntu 9.04 on a VPS. I'm getting an error if I apply a iptables rule. Here is what I have done. 1.Saved the existing rules iptables-save > /etc/iptables.up.rules Created iptables....
1
vote
1answer
1k views

How to configure a second IP address (to bind it to a VBoxHeadless virtual machine then)?

I've requested my ISP to dedicate me a second Internet IP address and have got it. Now I need to configure it (I've never had any experience with using multiple IP addresses on one network interface) ...
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
1k views

Postfix - hostname appearing in email address

I have a fresh install of postfix on Ubuntu 14.04 server but the test emails I have sent all include the hostname in the email address. I have searched and found quite a few people with the same ...
1
vote
2answers
13k views

Sun Grid Engine set memory requirements per jobs

I want to be able to set up memory requirements per job. For instance: to run 5 jobs, for which I know each will need 4 GB memory. I have 16 GB RAM on the Ubuntu server and 16 GB swap. I want to ...
44
votes
10answers
64k views

Docker containers can't resolve DNS on Ubuntu 14.04 Desktop Host

I'm running into a problem with my Docker containers on Ubuntu 14.04 LTS. Docker worked fine for two days, and then suddenly I lost all network connectivity inside my containers. The error output ...
10
votes
4answers
17k views

Rabbitmq -> epmd reports: node 'rabbit' not running at all?

ubuntu@ip-172-31-21-62:~$ sudo service rabbitmq-server start * Starting message broker rabbitmq-server [ OK ] ubuntu@ip-172-31-21-62:~$ sudo service rabbitmq-...
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
1answer
1k views

How can a bog-standard Wordpress install break PHP?

I'm trying to host a Wordpress site on the root of a standard Apache setup on Ubuntu 14.04. The main page of the site loads fine, but any other page causes a "no data received" message in the browser, ...
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 ...
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
vote
1answer
1k views

apache tomcat IE caching problem

I'm running apche2 and tomcat6 both on port 80 with mod_jk setup on ubuntu servers(8.10,9.10). Tomcat is being used for serving jsp pages. I've a small problem with the IE browser which doesn't cache ...
-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
votes
1answer
1k views

Samba Displaying Folders as Files

I have a Windows share (shared from a Windows Server 2003 box) that is mounted on our Ubuntu server using cifs. That mount is then shared out through Samba. The issue is that all of the folders in the ...
0
votes
3answers
1k views

zfs remove device from pool

Before you read the title and roll your eyes, I've already read all of the various answers, posts, and articles that say you can't shrink a pool once you've made it. However, I saw this post which ...
2
votes
2answers
813 views

stunnel: ssl3_get_record error when using TLS 1.2

I'm trying to use stunnel to be able to use HTTPS (port 443) on my localhost for a development web server running locally on port 8000. It starts and accepts connections, but every time I open https:/...
0
votes
2answers
1k views

Why can I not connect to jetty webserver on Ubuntu within AWS EC2 instance

Unable to connect from my webbrowser to my Jetty Server running on Ubuntu Linux SMP in Amazon Webservices EC2. I can connect using localhost whilst logged in from the machine itself i.e curl http://...
5
votes
1answer
775 views

ZFS Shares not exported until sharenfs property re-set on Ubuntu 16.04

I am setting up ZFS and NFS on Ubuntu Server 16.04LTS and have a weird issue that is causing me to go crazy. I have set up ZFS and NFS using ZFS shares as described in https://pthree.org/2012/12/31/...
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" ...
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=...
2
votes
1answer
1k views

Bacula. Running concurrent job from one linux box

Hi all i have a strange problem, as bacula documentation i can run two or many concurrent jobs if i set "Maximum Concurrent Jobs" more then 1. And this is work fine for jobs from different servers. ...
-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.
0
votes
1answer
1k views

Limit access on Apache 2.4 to ldap group

I've upgraded from Ubuntu 12.04 LTS to 14.04 LTS, and suddenly, my Apache 2.4 (previous: Apache 2.2) now lets everybody in to my virtual host, which is unfortunate :-). What am I doing wrong? ...
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
0answers
120 views

Cronjob not working at autoscaled instance's creation

We're trying to work with AWS EC2 auto scaling groups. We created an instance, set up like we need with ubuntu 16.04 and all the software we need, then made an image from that instance. We then ...