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
19 views

iRedmail server rejecting mail sent from another internal server

We have an iRedMail server (Ubuntu 18.04), a node server (Raspbian Stretch) that acts as a mailer (Nodemailer) for sending mails from our main application (Raspbian Jessie), and a node instance (also ...
0
votes
0answers
14 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
18 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:...
-1
votes
0answers
20 views

Unable to use the yes command for auto install in ubuntu 18.04

I am trying to auto install using the yes command. Why will it not work? It still prompts for yes defeating the purpose of yes. I tried yes "yes" | too to no avail. Thanks yes | wget -q -O - ...
-2
votes
0answers
14 views

password protect folder for ubuntu 16.04 [on hold]

I need to set password for accessing some folders in linux ubuntu 16.04. I'm using a vm in google cloud, so no access to GUI, only terminal. have tried encfs, but it is not effective.
0
votes
0answers
9 views

500 Error With IfModule Not Allowed Here Log

Recently I installed VestaCP and created a domain and a sub domain, say mydomain.com and media.mydomain.com, I have a folder named media in public_html folder of mydomain.com, means at /home/admin/web/...
0
votes
0answers
12 views

Reverse proxy to localhost with https [on hold]

I have an Ubuntu server. I used certbot to make my nginx web server use https. I force all connections to redirect from port 80 to port 443. Recently I installed MadSonic, a music server that uses ...
-1
votes
0answers
15 views

Scan websites for issues, malware, updates [on hold]

I have good (strong CPU and more than enough RAM) VPS that's running on Ubuntu 18.04.1 LTS. There I have multiple websites running through Apache2 on different domains, so I have vhost for each. All ...
0
votes
0answers
16 views

Server responded Protocol error packet too long 1349676920

What is the solution for above mentioned error. I received that issue while connecting from putty / tectia secure shell tools. I have installed ubuntu server 18.04. Below is the output for ssh and ...
-2
votes
1answer
19 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
0answers
21 views

Public access to VMs in NAT mode VirtualBox

I am trying to make a vm publicly accessible and it seems I am missing something obvious. Since I do not have any control on the router, I choose NAT with port forwarding. Here are my rules: NIC 1: ...
0
votes
2answers
22 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, ...
-2
votes
0answers
14 views

“print_req_error: I/O error” on Ubuntu VM

I have a virtual file server running Ubuntu 18.04 which I am hosting on a 2012 R2 Hyper-V server. I have a 4TB drive plugged in to the host which is passed through to the VM using an IDE controller. ...
1
vote
0answers
22 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 ...
0
votes
0answers
17 views

Second Django vHost not working

I'm trying to setup two vHosts on my server for a week now and just can't figure it out. There are my two separate Django projects (stored in one of the users directories) on my Ubuntu 18.04 server ...
0
votes
0answers
16 views

LetsEncrypt not detecting my domain [on hold]

I have Apache installed running two virtual host files 000-default.conf & domain.conf I'm running the following command to generate the certificate sudo certbot --apache certonly LetsEncrypt ...
1
vote
1answer
34 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/...
0
votes
0answers
28 views

MySQL unable to start

I am using Ubuntu on VPS hosting and my website (wordpress) was working perfectly couple of days. Now when I checked mysql is creating problem and its service is unable to start. Job for mysql....
0
votes
0answers
23 views

Automatically connecting to S3 on ubuntu 16.04 using s3fs [duplicate]

I am having an issue getting my s3 to automatically mount properly after restart. I am running an AWS ECS c5d using ubuntu 16.04. I able able to use s3fs to connect to my S3 drive manually using: $...
1
vote
0answers
27 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
22 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 ...
-2
votes
0answers
13 views

Frequent restarts of systemd-resolved on Ubuntu 18.04

After upgrading an EC2 instance to Ubuntu 18.04 I started getting occasional errors Resolving DNS for my database server in my PHP scripts like the following: Uncaught Exception: PDOException: PDO::...
-1
votes
0answers
10 views

Wine on Ubuntu 17.10 [closed]

I'm trying to install wine on ubuntu 17.10. Reading some suggestions I've tried: wget -nc https://dl.winehq.org/wine-builds/Release.key sudo apt-key add Release.key sudo apt-add-...
0
votes
0answers
13 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
48 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
30 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 /...
0
votes
1answer
16 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
24 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
55 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
15 views

How to Configure Google DNS or OpenDNS with Netplan? [closed]

I've tried setting up OpenDNS with netplan via the following two methods. And they don't work. I know because I issue the command sudo netplan try and I get an error. method 1 sudo vi /etc/netplan/...
0
votes
0answers
20 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
124 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
28 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
0answers
28 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
43 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
26 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/...
0
votes
0answers
14 views

Load Pure-FTPd custom configuration (/etc/pure-ftpd/pure-ftpd.conf) during boot on Ubuntu 18.04

With regards to https://download.pureftpd.org/pub/pure-ftpd/doc/README.Configuration-File It says, run /usr/local/sbin/pure-ftpd /etc/pure-ftpd.conf to start the daemon (and load my custom ...
-1
votes
1answer
26 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 ...
5
votes
0answers
60 views

How can I make ethernet take precedence over wifi on Ubuntu 18.04?

Goal Let ethernet take precedence over wireless when ethernet cable is plugged in Method After having done a fair amount of Googling and reading I've come to a point where I believe what I should ...
0
votes
0answers
35 views

Using crontab to run screen on boot [closed]

I want to run this command on boot on ubuntu server 18.04: java -Xmx1024M -Xms1024M -jar ~/minecraft/server.jar nogui I also want to run it on the screen. So I typed crontab -e and put this line of ...
0
votes
1answer
31 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 ...
-1
votes
0answers
18 views

Can't access modem settings page (CBN ch6541e)

I'm using CBN ch6541e modem and I can't access the settings page. The internet was slow so I decided to try to reset the settings to factory values (I was holding reset button for 10 seconds until ...
2
votes
0answers
43 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
28 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 ...
-2
votes
0answers
18 views

View full (all) lines in terminal (ubuntu) [migrated]

When I try to view something, in many cases I get lines X-Y/Y (END): How can i view the remaining text?
0
votes
0answers
59 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
55 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
45 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
0answers
47 views

Logrotate is not rotating the logs

I have an Ubuntu 14 server and currently, am trying to rotate my Nginx log files hourly. But since I have changed the logrotate config the logs are not rotated. New logrotate config. /var/log/nginx/*...
0
votes
1answer
81 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 ...