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.

3
votes
1answer
1k views

Getting “Error: couldn't get currently installed version for letsencrypt” when trying to renew my certificates

I started getting an error when trying to renew my letsencrypt certificates on Ubuntu 15.04 + nginx server. Even when I try running the certbot-auto command, I see the following: Error: couldn't get ...
2
votes
3answers
10k views

`cannot find “-lgcc_s”` from gcc-3.4 on Ubuntu 11.04

I'm trying to use gcc-3.4 on the latest Ubuntu. The package is from debian snapshots. It probably assumes different default directory structure, so for example I was forced to give it -I /usr/include/...
3
votes
2answers
198 views

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/...
2
votes
1answer
1k views

IO-intensive processes hang with iowait, but no activity going on

I have a bunch of IO-intensive jobs, and to boost performance, I just installed two SSDs in a compute server, one as a scratch file system, one as swap. After running for some time, all my processes ...
0
votes
1answer
45 views

How to block both IPv4 and IPv6 with ipset on Ubuntu 16.04?

So I have the following script that blocks IPs: #!/bin/bash # here's your list of IPS CURRENT_BL=/path/to/my/ip_black_list.txt # create/flush recreate the tables iptables -F BLACKHOLE iptables -N ...
0
votes
1answer
1k views

Nginx + Unicorn Rails Application gets 404 when requests number are high

I have a Rails application deployed using Nginx + Unicorn. Last night, when the traffic peaked, Nginx was getting lots of 404 errors. When I dig into logs, those 404 requests on the nginx side did not ...
50
votes
5answers
60k views

How can I monitor what logrotate is doing?

How can I monitor what logrotate is doing in Ubuntu? Can the activity of logrotate be monitored?
0
votes
1answer
2k views

pam_authenticate() failed: Authentication failure (/etc/pam.d/imap missing?)

I followed a link from another site that had an identical question posted as solved on this site, but the link resulted in a 404. I found the other links to pam failure, and I tried changing dovecot....
1
vote
2answers
455 views

Netplan not spoofing MAC as expected

I'm trying to set a different MAC address on one of my interfaces, but my attempts following the netplan documentation result in no change. This is on Ubuntu 18.04. network: ethernets: ...
1
vote
2answers
926 views

Is it possible to see output startup script in compute engine

My Compute Engine vm when deployed run a startup script. Everything seems working well, but there is one command in the startup script which I think it doesn't. I run the command apt-get update &...
0
votes
1answer
1k views

I alternated my system default python version to python2.7, but the apt-get still use python2.6

Ubuntu , I changed my system default python version from python2.6 -> python2.7. after sh-3.1$: update-alternatives --install /usr/bin/python python /usr/bin/python2.7 2 sh-3.1$: sudo update-...
0
votes
1answer
58 views

Converting Ubuntu 18.04 from interfaces to netplan for network configuration

An old employee at my place of work set up a Ubuntu 18.04 server instance to use the /etc/network/interfaces file for network configuration. This has been causing some issues and I would like to ...
1
vote
4answers
5k views

MegaCLI always returns blank output

This server is a Dell R200 running Ubuntu 8.04LTS using a LSI SAS1068E raid card supplied from Dell, I suspect that there might be some kind of RAID issue with the hardware raid built into the ...
0
votes
1answer
33 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
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
38 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
22 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
33 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
18 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
31 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
44 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
1answer
19 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
19 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
40 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/...
-1
votes
1answer
25 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
2k 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
32 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
51 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 ...
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
13 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
22 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
23 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
36 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
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
973 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
828 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
37 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" ...
4
votes
2answers
55 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. ...