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.

1
vote
0answers
69 views

journald forwarding to syslog seems to be lagged

I'm seeing an issue on a Ubuntu 16.04 box where the copying/forwarding of journal messages to /var/log/syslog seems to be delayed: theuser@host:/etc/systemd$ sudo journalctl -n 1 && sudo tail ...
0
votes
1answer
48 views

How to properly redirect all request to non-www inside nginx with reverse proxy [duplicate]

I have a react website served by reverse proxy inside nginx. On top of that, I have SSL. Certbot is handling redirects from http to https. I would also like to setup redirects from www to non-www. I ...
0
votes
0answers
80 views

Cron PHP sessionclean hangs invoking oom-killer

This morning one of our Linodes (18.04.1 LTS (GNU/Linux 4.18.16-x86_64-linode118 x86_64)) crashed. From the syslog I can see that cron task PHP cleansession got stuck around 36 hours ago: Dec 15 23:...
1
vote
0answers
22 views

VSFTP Not Working After Static IP Change

Basically this is the deal. I install vsftpd everything was working fine with dynamic ip and these vsftpd.config settings, could easily access through winscp: listen=NO listen_ipv6=Yes ...
1
vote
1answer
63 views

On ESX, does a Ubuntu VM re-use free space in the VM, before expanding the virtual disk?

I have a thin-provisioned Ubuntu 18 VM on ESX 6 with one virtual disk that is using almost all the underlying physical disk (I have a new 4TB disk ordered to move to shortly). The VM filesystem is ...
2
votes
1answer
75 views

How to setup a cron job every random weekday?

As the question is fairly self-explanatory, I would like to know how to set a cronjob to execute any random weekday without using any external script. EDIT: In case people have not understood this ...
0
votes
1answer
310 views

OpenJDK 11 can't run Java 11 JARs

I have been trying to figure out why my OpenJDK 11 installation can't run JAR files compiled at class level 55. I even went so far as to completely remove Java from my system and reinstall. I am ...
0
votes
0answers
143 views

nginx reload doesn't work, but restart does

I installed on a new server with Ubuntu 18.04 Nginx mainline, current version nginx/1.15.6 Whichever way I try to reload nginx, it gives no error but it doesn't work, the configuration isn't reloaded:...
-2
votes
1answer
39 views

Ubuntu subnet distribution

I´ve a question regarding the distribution of subnets within my linux system or more specifically ubuntu. If I set a ip-adresse with a netmask, how will ubuntu set the netaddress and broadaddress of ...
0
votes
2answers
310 views

sftp Couldn't read packet: Connection reset by peer

When I execute the following command on my local computer, I can connect (the password is asked): sftp -v -oPort=2828 USER@SERVER.COM Resulting log from sftp -v: OpenSSH_7.6p1 Ubuntu-4ubuntu0.1, ...
0
votes
0answers
25 views

(BIND9) Domains within certain Zone stop resolving randomly / intermittently

I've been stuck for a while with an error related to bind9 and particular domains within a zone. Sometimes the resolution of one or more random domains within the zone ("errorzone", let's say) stops ...
1
vote
1answer
147 views

Redis with custom data dir: systemd config file changed automatically?

I'm running Redis 4.0.9 on Ubuntu 18.04.1 LTS with a custom data dir for the RBD file. To make this work, besides updating the dir in redis.conf to the new location, I also had to update /etc/systemd/...
1
vote
0answers
116 views

Dnsmasq unable to resolve local host

I'm unable to get my local DNS server to work and totally stumped. Here's what I have done so far to make it work... Dnsmasq configured on Ubuntu 18.04 ( Static IP: 192.168.1.100) /etc/resolv.conf ...
0
votes
1answer
24 views

Server space issue : how to merge drives

my server is having space issue below is what is see when using df -h, my space of /dev/m2 is getting fulled say 99% frequently and it causes issue with my sessions and all , i want merge /dev/m3 with ...
1
vote
0answers
277 views

L2TP ipsec using network-manager-l2tp and strongswan ubuntu 18.04

The VPN works flawlessly on OSX and Windows 10 but no luck with ubuntu VPN gets connected on ubuntu using Phase1 Algorithms : 3des-sha1-modp1024 Phase2 Algorithms : 3des-sha1 And in 10 seconds ...
0
votes
1answer
128 views

Ping public ipv6 dns from docker container

The docker container is running on a VPS (ubuntu 18.10). What I am able to do: ping -6 2001:4860:4860::8888 from host machine ping -6 <docker container ipv6 address from host machine ping -6 &...
2
votes
1answer
48 views

BTRFS, out of space, but there is plenty of space

I am facing No space left on BTRFS. What I already tried myself: After remount RW: btrfs filesystem resize max /mnt/hdd I ran balance (for weeks ;-) ) with different parameters btrfs balance start /...
1
vote
1answer
49 views

How to keep custom kernel modules on kernel updates installed?

I've got a NIC (Asus XG C100C) that is not properly supported in the current Linux kernel. Hence, I installed driver which I compiled from source. Every time when the kernel is updated, I have to ...
-1
votes
1answer
122 views

How to run multiple NGINX instances for servers to be developed together but deployed separately

I'm an NGINX beginner who is building both an adaptive live video server (HLS & DASH) and a caching HTTPS reverse proxy server. While the servers will be deployed to separate boxes, I'd like to ...
0
votes
2answers
78 views

huge traffic from different IPs on my ubuntu vps

I've change my vps recently, vps provider told me that he has backed up my VPS hdd from previous server and deployed it on the new server and changed just my ip, but now I have a huge traffic and ...
0
votes
0answers
24 views

Why do i see a lot of deleted, but still open file handles to system files?

Partial output of lsof command. There're a lot more handles (# lsof 2>&1 | grep DEL.*\.so$ | wc -l shows 725), but they're ~ same as in provided part. Why is this happening and should i be ...
-1
votes
2answers
158 views

How to configure multiple Apache subdomains for .NET CORE 2.0 on UBUNTU?

I found this post and updated my config. I have this reverse proxy configuration on Apache. <VirtualHost *:80> ServerName a123.com ServerAlias www.a123.com RewriteEngine On ...
0
votes
2answers
34 views

global http proxy for a container

In my docker container there are some applications that make http(s) requests. How can I configure the container so that all these requests go through an external http proxy? Docker docs suggest ...
1
vote
1answer
49 views

route traffic from VPN server LAN (cloud) peer to VPN client

I have set up a Google Cloud deployment roughly configured as such: node B, which is at address 10.0.0.6 and default route is through 10.0.0.1 node V, which is a VPN server, on same subnet at 10.0.1....
1
vote
4answers
57 views

How do i remove the path names from the files i have archived.. UBUNTU

I've been tasked to archive certain files into a new directory at /home/archive/. I used this command: mkdir /home/archive cd /home/archive tar -cvf log.tar \ /var/log/auth.log /var/log/...
-2
votes
2answers
35 views

Error setting SSL ubuntu

i have some problem here, i have .key and .crt file for the webserver that i need installed manually. done adding this in apache2/sites-enabled/default-ssl.conf SSLCertificateFile /etc/ssl/...
-1
votes
1answer
44 views

How do I setup Sendmail and the FQDN for use with server images

I have loadbalancer sitting infront of serveral webservers. The website served up has a contact form that uses sendmail. I have installed sendmail on one of these webservers: web-01 This is the ...
0
votes
1answer
40 views

How to prevent a Port from being used while a service restart

I'm using Ubuntu 16.04 servers. Each server hosts multiple services. Sometimes, when a service is restarted, it fails to bind to the port and says that the port is already in used. Indeed, some ...
2
votes
1answer
341 views

Is microk8s suitable for production environments, or is it just for development?

microk8s appears to be an easy way to install Kubernetes on Ubuntu. Several places refer to it as an alternative to minikube, which is not aimed at production environments, and this post seems to ...
2
votes
0answers
75 views

Puma + Nginx permission denied on files that don't exist

Getting an error in the nginx logs: [error] 6193#6193: *1 open() "/home/ubuntu/app/assets/bootstrap.min-2e2a039f4eb020ba4438b6e2ad6a83748c14257a60f68facd2d72df75c452969.css" failed (13: Permission ...
3
votes
0answers
297 views

kworkerds process using up all the cpu - ubuntu

Screenshot I have this weird process using up the all the CPU. I kill it and it gets restarted again. Not sure what's going on here and how do I proceed further. We have solr, apache and mysql ...
0
votes
1answer
63 views

How to forward packets at TCP level by using iptables?

Suppose I have two local machines A and B(Ubuntu), and there is also a remote server C. Originally, through RESTful API, I can call GET https://domain_of_C/resources directly from machine A to get ...
0
votes
1answer
61 views

Issues with Wordpress container configured for external database host

I am trying to run the Wordpress container, configured to use an external MySQL database server like so: docker run --name wordpress1 -p 801:80 -e WORDPRESS_DB_HOST=MYDBSERVERIPADDRESS:3306 -e ...
0
votes
1answer
92 views

Why is Ubuntu keep sending TCP SYN packets to port 53 of dns server?

I would like to get help with my Ubuntu desktop 18.04.01 . I just installed Ubuntu 18.04.01 running top of kvm (fedora server 28) and having hard time setting up dns access. While diagnosing why DNS ...
-4
votes
1answer
57 views

Rename and replace parts with different filenames [closed]

I know there are different questions about this topic but I have found nothing that fits my question: I want to replace a part of a name in a folder but there are different files with different names....
1
vote
1answer
48 views

How to export GPG key without user interaction?

I use GPG keys to encrypt backups with duplicity, so I would like to export the key after it is generated, so I can move it to a backup location in case the server burst into flames. Is there any way ...
1
vote
1answer
32 views

How to get only the pub part of gpg --list-public-keys?

Okay, there is probably a better way to phrase this question. I am writing a script to configure my web servers on the first boot, but I hit a snag when generating the GPG key that will be used to ...
0
votes
1answer
36 views

get write, read, execute permission of a folder to a user

In an ubuntu server 18.04, I have 2 users: userA and userB. There is a folder /home/userA/data I am going to get read, write, execute access of data to userB. unfortunately the command chown userB ...
1
vote
0answers
34 views

how to redirect a request made to url to a specific domain/url in nginx config?

I've a website running on port 80 (http). And I've configured it in nginx-config file as well. Now, the website is not opening up directly by giving the url (Example - http://wap.example.com). I've to ...
0
votes
0answers
24 views

Samba unstable, goes to 100% CPU

We have upgraded Ubuntu to 16.04 and SAMBA become unstable on the same server. On high usage SAMBA use all CPU resources and stops working, never had problems before and usage didn't increased. ...
1
vote
0answers
49 views

Why is using Ubuntu 18.04 as the docker host about 2x faster than Debian 9?

We are running the same docker container on two different Google Compute VMs. Both VMs have the same specs. The docker container uses Debian as the base image, runs python, and performs a number of ...
0
votes
0answers
54 views

Why is knockd with default knockd.conf not working?

System: Ubuntu Server 18.04, stock install, nothing tampered with. I cannot get knockd to work, even though I'm using the default knockd.conf and simply trying to get it do to anything. I can't see ...
-1
votes
1answer
152 views

Urgent Nginx broke after upgrade in Ubuntu server

Tried before to upgrade Nginx from 1.14 to 1.14.1. But in apt-get upgrade I got: wallpapershop systemd[1]: Starting A high performance web server and a reverse proxy server... wallpapershop ...
2
votes
1answer
80 views

Linux DNS query sequence with resolv.conf

I have a encountered a DNS resolution issue. Could someone pls give me some tips on this issue, thanks in advance~ uname -a Linux 152a580f-e3c2-405f-acde-eac4d928af22 4.4.0-111-generic #134~14.04.1-...
2
votes
1answer
19 views

esxi 5.5 unable to detect previous hard disk

I have a 129GB SSD on HP Proliant DL380 G7 with ESXi 5.5 installed from a pen drive. The hard drive contains 2 virtual machines that contain a lot of work in them. I had to remove the drive as I am ...
0
votes
0answers
109 views

SCP to ubuntu server - Transfer stalled after a bit

i need to trasfer files from my mac os to an ubuntu server on a VPN. I can ssh into it but when i try to use scp to send files (of every size), the transfer gets stalled. this is the stack trace of ...
1
vote
1answer
25 views

Revoke ex-clolaborator's access to ubuntu server

I have an ubuntu server with django website named hello running on it. This is how I created user access here: mkdir /hosting/hello groupadd --system hosting useradd --system --gid hosting --shell /...
0
votes
0answers
33 views

Impossibile to login via ssh to ubuntu from Mac - stuck on expecting SSH2_MSG_KEX_ECDH_REPLY [duplicate]

i'm trying to log via ssh to a server i was able to login before... I am on a Mac os and the server is an ubuntu machine. The strange thing is that if i try to login via an SFTP client (like Transmit)...
0
votes
1answer
154 views

Ubuntu map CIFS / SMB share using active domain credentials without password file

Is there a way in Ubuntu 18.04 to map an SMB share when the users login without using a password file? The boxes I have are members of a Windows Active Directory domain and the users will use their ...
0
votes
0answers
43 views

Ubuntu 18.04 qemu lvm vnc issue

I just stumbled across a very strange issue with qemu and vnc / lvm on an fully updated vanilla Ubuntu 18.04: I set up am VM through libvirt: virt-install -n web_devel -r 2048 --disk path=/var/lib/...