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
2answers
243 views

Enough memory but OOM killer invoked?

It has been a long time since my old friend the OOM killer came to visit me. Now it is coming by once a week and I cannot figure out why it’s triggered. It doesn’t seem that I’m missing memory. What ...
1
vote
2answers
91 views

What is a good way to detect DoS and DDoS in Fail2Ban?

I am configuring Fail2Ban on my Ubuntu web server to prevent it from being a victim of DoS / DDoS. I don't want to use Cloudflare because I have to route my DNS over and use their SSl cert. ...
0
votes
1answer
18 views

Is `ifup -a --force` interrupting network connection?

I am trying to add static route in Ubuntu 14 server And I want to not interrupt network connection already established. I see that with route I can add static route. But If I want to make that static ...
0
votes
1answer
91 views

Unable to SSH from Mac OS to Ubuntu VM on Virtualbox

I was looking for some assistance with SSH. I have a Mac and on it, I have virtualbox installed. I have 2 VM's on it, one is a windows 10 VM and another one is Ubuntu. Both exposed to each other on ...
0
votes
0answers
58 views

Ubuntu 16.04 VPS dropping massive amount of RX Packets

Having networking issues with a Ubuntu 16.04 VPS, causing extremely slow speeds (we're talking about 100kbps). Running ifconfig is showing over a million dropped RX packets from eth0 (no errors) and I ...
0
votes
0answers
56 views

Puppet installation error

I am trying to install puppet enterprise for the first time, and following this documentation: https://puppet.com/docs/pe/2019.0/installing_pe.html I have downloaded the file and executed it locally ...
1
vote
0answers
13 views

Crontab not working for pageres, showing error MTA installed, discarding output [duplicate]

my ubuntu machine has pagers for taking screenshots, it is working when I run manually root@bobby:~# pageres https://example.com 480x320 --format=jpg --filename 'page' --overwrite But, when I enable ...
0
votes
2answers
41 views

Stuck at setting up full proxy with HAProxy

I have gone through various answers on this forum and others and tried to debug my HAProxy configuration- alas no success. I am newbie at HAProxy and am facing challenges getting it to work the way I ...
-1
votes
1answer
217 views

Netplan with 2 NICs each connected to a different gateway

Anyone familiar enough with Netplan? I'm a bit confused on how to configure an Ubuntu 18 server with two NICS using Netplan. Each NIC is on a separate subnet. They are directly connected to separate ...
1
vote
1answer
61 views

DHCP not sharing Internet access

I have several Virtual Machines in Vmware ESXi 6.5 with 2 Network Groups. Created a DHCP Server Machine on CentOs with 2 networks interface. 1 / vm network from which it takes a network and has IP ...
1
vote
1answer
91 views

Azure Ubuntu VM: Is a connection to 168.63.129.16:80 mandatory for Basic DDOS protection?

Yesterday I noticed some suspicous activity when running netstat | grep http on my Azure Ubuntu VM: There were over 60 lines like this: tcp 0 0 ser:http hosted-by.blazing:...
0
votes
1answer
129 views

centos 7 VM keep shutdown and restart automatically for unknown reason

centos 7 VM keep shutdown and restart automatically for unknown reason. I have checked my log messages, But I can't find what is the exact reason?. Please give any suggestions. I have attached my ...
1
vote
1answer
61 views

unable to access Jenkins installed on ubuntu 18.10, browser says “ xxxxx took too long to respond”

a question from a beginner. I have just installed Jenkins on: Ubuntu 18.10 minimal - google cloud Platform Java 8 installed UFW configured to allow traffic on port 80 from anywhere when ...
1
vote
2answers
154 views

Block IP address access and wildcard domain Nginx

I'm new to Nginx, I want to block direct IP address access to my server and redirect wildcard domain to my main website. Here is why I got so far in /etc/nginx/sites-available/default: server { ...
0
votes
0answers
12 views

Putty restart session and show previous visible data and path [duplicate]

I am running a task on my Ubuntu 18.04 Server which imports and processes a huge file. I am running putty over SSH on my laptop to administrate the whole process and the output from the task. The ...
0
votes
1answer
55 views

High Load on Cpu -?

top - 06:49:29 up 16 days, 4:04, 1 user, load average: 1.29, 1.41, 1.51 Tasks: 113 total, 2 running, 111 sleeping, 0 stopped, 0 zombie %Cpu(s): 89.3 us, 10.7 sy, 0.0 ni, 0.0 id, 0.0 wa, 0....
3
votes
1answer
34 views

Nginx image display issue after optimization

I made some optimizations using gtmetrix to improve web site performance. Like enabling gzip compression etc.. When I try to test site using online services like browserling.com images are not ...
0
votes
1answer
669 views

nginx stopped serving index publicly after installing php

Nginx was serving a index.html fine from /var/www/test/html/ from within the server and also when I curl'd the ip and port like some-ip:8889. Then I installed php because I was going to try serving a ...
0
votes
0answers
166 views

Reverse proxy for Nextcloud Snap and Collabora

I have succesfully installed the SNAP version of Nextcloud on my Ubuntu Server 18.04. Everything works fine using HTTPS with a let's encrypt certificate. Now I want to install, on the same server ...
1
vote
1answer
99 views

pam_tally2 incrememts before password for su attempts

There is a similar behavior here but I believe this is a different underlying cause, or at least requires a different solution since this failure isn't due to SSH keys. Our company is undergoing a ...
1
vote
1answer
39 views

I cannot connect to Gcloud instance using ssh, since cpu is 99.9% of use

I have a gcloud vm instance of type custom (4 vCPUs, 8 GB memory), with ubuntu 16.04, 10Gb disk space. Today at specific time (7:30 am), start using the 99% of cpu. I restart the machine but continue ...
-3
votes
1answer
42 views

All log files seemingly deleted [closed]

I wanted to change to the log directory on ubuntu server, and check duplicity log, but I don't know what happened, it seems that all log files and sub-directories have gone missing! This is the ...
2
votes
0answers
84 views

ZFS Faulted Pool Corrupted Data, resilver completed, incorrect paths, io error

I recently encountered a disk failure, for which I got a replacement disk, and successfully replaced the disk as well as completed the resilvering process. I was able to use the raidz2 without issues ...
-1
votes
1answer
142 views

Samba share not accessible by IP address, is by hostname

I have an Ubuntu 18.04 box with PBIS and Samba. Samba shares are accessible when using the hostname from Windows machines but not by IP address. The message when using IP address to navigate to share ...
0
votes
0answers
51 views

How can I be more confident that my web server is safe from outside attacks?

How can I be confident that my web server is safe from common outside attacks? The other day I ran across Mozilla Observatory, which is a tool that gives developers an imperfect grade for the ...
2
votes
0answers
20 views

HTTPS Proxy setup does not redirect to subdirectory

Thank you for reading :-). I have multiple applications on a server which are routed to by a proxy server. I recently added HTTPS after which the API and blog applications (at /api and /blog ...
2
votes
0answers
148 views

Zentyal 3.3 to 5.1 upgrade. Cannot access samba shares from windows

We recently upgraded our Zentyal 3.3 server to 5.1 It was an upgrade process via software updates menu. The samba version were 4.1.3 and now it's 4.6.7 After the upgrade I noticed that nobody can ...
2
votes
0answers
39 views

internal-sftp on chroot jail disconnects with status 1?

Server: Ubuntu 18.04.1 LTS SSHD: OpenSSH_7.6p1 Ubuntu-4, OpenSSL 1.0.2n I have created a test user sftpuser and sftp group to try logging in through a WinSCP client, as a start. In sshd_config I ...
1
vote
1answer
545 views

SSL on domain but not on subdomains

I have a website running on https://www.example.org/ I intend to create the http://games.example.com/ [without SSL]. I am running Apache 2 on Ubuntu 16 server. I want the subdomain to remain http ...
2
votes
1answer
69 views

Identify the top processes when the overall system has large CPU utilization in Ubuntu server

I have a Ubuntu server running in EC2. Occasionally, I get a large CPU usage 99+% utilization as measured in EC2 monitoring dashboard, even though most times it is less than 10%. Since traffic to my ...
1
vote
0answers
217 views

NGINX remove all extension types in uri

How would I remove all extension types in the uri through nginx config. I have looked around for solutions and only found solutions for specific file types. For example some configurations would ...
0
votes
1answer
23 views

redo ssh private key

I switched laptops recently and didn't transfer my keys over correctly. I was trying to ssh into my dns server but unable to. When I would go to ssh in after sending a new key based on This tutorial,, ...
0
votes
0answers
19 views

Restarted Ubuntu 13.10 server, all connections refused. IPMI shows /bin /var /usr cannot be mounted (lvm2)

Upon boot on Ubuntu 13.10, IPMI is showing that it can't mount /tmp /usr /var folders, which are all setup as LV's. This results in the server refusing all connections via SSH or TCP. I've hit a dead ...
0
votes
1answer
172 views

Postfix error while sending through MS Office 365

I have configured the Ms office 365 in postfix. But am facing the error while sending an email. Here is the log. AD0C147573: lost connection with smtp.office365.com[40.97.188.242] while sending RCPT ...
0
votes
3answers
292 views

How to configure nginx to find subfolders for /js /css related to index.html?

I have my working Vuejs application and I also have problems when I deploy it to it's production environment. Unfortunately, I can't figure out how the configuration should be setup? When I go to my ...
0
votes
1answer
63 views

Starting java program and screen with cron at boot [duplicate]

I am trying to run a java program inside a screen session at boot, I am using the following cron, but after reboot screen -ls shows no active screen sessions. @reboot /usr/bin/screen -dmS myservice "...
2
votes
2answers
247 views

Postfix email server not receiving email from external email

I'm trying to set up a mail server on Ubuntu 16.04.5 LTS with Postfix and Dovecot. I can send out email without any problem and mail sent from localhost also finds its way into the inbox. However, ...
-1
votes
1answer
47 views

Cannot create files/folders in new partition

I have created one partition from 500gb HDD and mounted it permanently. Now the problem is I cannot create anything in that partition. But I can able to create the files and folders with sudo access. ...
2
votes
1answer
52 views

Convert apache config to nginx equivalent for logs

I have this custom log in apache SetEnvIFNoCase User-agent "ELB-HealthChecker/2.0" skiplog LogFormat "%t \"%r\" %>s %O | client:%a | Local:%A | Host:%v | %H | %m | %P(pid) | TimeTaken:%T | %q |...
1
vote
1answer
52 views

Sudo required to run Kubernetes on Ubuntu Server, but not on Ubuntu Desktop

I am wondering why I need sudo to run Kubernetes on Ubuntu Server, but not on Ubuntu Desktop. Installed kubectl:kubectl, minikube and docker.io on both an Ubuntu Server 18.04 and on an Ubuntu Budgie ...
0
votes
1answer
47 views

Routing requests from internal network to local Apache – a dnsmasq Job?

Hey folks from serverfault, new to this network site. I have a question regarding the configuration of a new server. Ubuntu 16.04 and Apache 2.4 will be running on the server. We would like to allow ...
2
votes
1answer
116 views

Name resolution issue on Windows 10

I have a small office network with a handful of Windows / Ubuntu machines of varying releases. A few days ago, one Windows machine lost the ability to access any services on the Ubuntu machines by ...
2
votes
1answer
31 views

Having multiple A records to get forward rDNS to work

Running a Droplet on DigitalOcean with Apache and a mailserver on Ubuntu. I've managed to get SPF, DKIM and DMARC working on this server, but Reverse DNS is something that I've never figured out. I ...
0
votes
1answer
56 views

DigitalOcean VPS Tomcat server: can't configure port 80 and multiple domain names

I have a VPS (droplet) on DigitalOceanI'm trying to configure 80 port and several domain names for my server. After reading some questions and answers I edited my server.xml file like this: <?xml ...
1
vote
1answer
139 views

Exim4 : “Connection timed out” whatever the forwarding smtp server

Exim is configured on a newly provisioned VM from a public cloud provider with public IPs (scaleway.net) Purpose: Be able to send mails from CLI (or scripts) to public destination recipients (gmail,...
2
votes
1answer
113 views

Can't get USB/IP to work

I have Ubuntu 16.04, and USB cash device plugged on it. I want to share this cash device through USBIP. So I plugged this device and usbip list --local Then I see my device (emphasized with bold) ...
7
votes
1answer
940 views

Ubuntu Server 18.04LTS Can't extend default LV?

My recent install of Ubuntu Server 18.04 appears to have created an LV mounted on / that is only 4GB. However the volume group is 160GB as expected. But I get an insufficient disk space message when ...
2
votes
2answers
49 views

How to setup my own DNS Server on Rackspace

I do not think this is a duplicate question, I think I maybe a little confused. Let me preface this by saying, I am by no means a server guru, I'm more than happy to edit files, fix errors and "...
1
vote
1answer
37 views

Git push cause remote to have untracked files

Recently, both our Git remotes (one a production server, and the other a staging one) cause issues when pushing changes. Typically : Local git add <list of untracked files> git commit -m <...
0
votes
1answer
75 views

Nginx config for symfony on ubuntu

I want to setup symfony with nginx and this config is working fine server { listen 80; root /src/web; location / { # try to serve file directly, fallback to app.php ...