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

Openvpn dont forward internal subnet traffic

I'm using openvpn (with webmin and ubuntu 18.10) and the traffic is not forwarding between subnets =[ Openvpn is creating a route table with a wrong (i think) gateway I need 2 (or more) subnets with ...
0
votes
0answers
19 views

Issues compiling ldap - Berkeley DB major version in db.h… none

I'm trying to compile openldap on ubuntu, but my /configure get stuck on this: checking for db.h... yes checking for Berkeley DB major version in db.h... none configure: error: Unknown Berkeley DB ...
0
votes
2answers
55 views

How to rename system commands e.g., shutdown in Ubuntu Linux

While working on redis server, I come to know there is an option to rename you scracy command to avoid accidental update. Is there any option for bash i.e., Ubuntu Linux especially shutdown, rm and ...
0
votes
0answers
21 views

Ubuntu new ssd provisioning / Mysql growing out of space

One of my weekend project is growing virally and its mysql database is growing and I am running out of space. Here's what df -h looks like at the moment. Filesystem Size Used Avail Use% Mounted ...
-1
votes
1answer
26 views

Starting mysql failed because the control process exited with error code [duplicate]

Ok. First. I tried to run a website on a server but it was too heavy for MySQL to handle. Apparently, it broke due to lack of RAM. So I changed the .cnf and .ini files for the server to lower the load,...
0
votes
0answers
12 views

Ubuntu Droplet sending DDoS attack [duplicate]

Since we had a couple of issues with our Hosting provider, we moved our Magento2 installation to a DigitalOcean, Ubuntu 18 based Droplet. Basically, we have just installed Nginx, PHP7.1 with related ...
-1
votes
0answers
12 views

How many VMs can this server handle comfortably for multiple users? [duplicate]

I have 2 Dell r810's 12 cores, 64 GB RAM, 300 GB HD on each one. I want to design a lab for students to use packet tracer and Jupyter notebook. Each VM will run Ubuntu for its OS and use VNC as a ...
1
vote
2answers
73 views

Your connection is not secure Certbot / LetsEncrypt [duplicate]

I have enabled SSL for my https://example.com and that works fine, but if somone try's to enter https://www.example.com I get the message: Your connection is not secure. Is there a way to redirect ...
-2
votes
0answers
13 views

Ubuntu aws VM - Constantly losing disk space [duplicate]

Note: The article that was posted as a solution to these issues, assumed the problem was related to files that were hidden due to mounting another file system on an existing folder. THIS IS NOT the ...
0
votes
1answer
14 views

Checksum errors indicative of hard drive failure

I have an old hard drive. I tried installing two things, PyTorch and Nvidia CUDA (large archive files) and both times the installation failed. When I checked the errors, both times it said the ...
1
vote
0answers
30 views

Users are unable to login into Samba shares

I'll get the version numbers and hardware out of the way here; I have a Raspberry Pi 3B+ running Raspbian 9.6 Stretch headless, I have a 2tb USB drive that I'm using as the storage media, and I'm ...
0
votes
0answers
9 views

saving day old log files in /var/log/apache2/rotate with compression

One of the production servers at my work has a /varlog/apache2 directory that looks like this: servername.com-access.log rotated/servername.com-access.log-20190127 rotated/servername.com-access.log-...
0
votes
0answers
14 views

What is the most important hardware spec with PHP's readfile function? [duplicate]

I have a PHP script that serves files via the readfile() function on an Ubuntu server with PHP5. I would like to speed up the process, but I am not sure which system requirement will help me to ...
1
vote
1answer
25 views

Logrotate hourly will this restart my process

I'm looking at switching my log rotate setup to rotate logs hourly instead of daily. I think I've got the config ready to go but wanted to check whether the config would trigger a reload/restart of ...
1
vote
1answer
40 views

Can not umount NFS directory (ignored)

I have a few servers that have NFS mounted directories. I have shut down the service that is using them, and fuser -m doesnt show any other processes using any files there. When i do "umount -at nfs" ...
0
votes
0answers
50 views

Postfix Package Openarc

I have a server running Ubuntu 16. I'm trying to get postfix configured to use OpenArc. I've installed the OpenArc package, but it's not automatically starting on reboot. If I run openarc -c /etc/...
0
votes
0answers
27 views

Can't connect to AWS instance using Apache Server VirtualHost

I have an Ubuntu Instance on AWS. I have a small web page running on an Apache 2.4 server. I can access the web page from my own computer and devices off of my network when I use the Public DNS or ...
0
votes
0answers
53 views

Can't get folder removed from Dropbox exclude list

I am running Dropbox on a linux server (no GUI) and I can't get Dropbox to remove a specific folder from its exclude list. I've installed the command line interface. Previously I ran dropbox exclude ...
0
votes
1answer
25 views

How do I secure my VNC for access via iOS?

I am running Ubuntu 18.04 on Google Compute Engine, the instance is running VNC which it is up and running using : vncserver -SecurityTypes=VeNCrypt,TLSVnc But when I try to use VNC Viewer on iOS, ...
2
votes
1answer
265 views

OpenVPN Full Routing Client Issue

I create a server on AWS with OpenVPN. Set it up, through the Admin page, I choose fully routing option and download the .ovpn I add three extra lines to client .ovpn; (I have to use it because ssh ...
0
votes
2answers
41 views

How to run in background a Linux command in Windows WSL (Ubuntu1804)

In the effort to bring some of the Linux advantages to my customers running Windows 10, I've developed a few bash scripts in order to automate some of their everyday tasks. I use to let them run the ...
2
votes
1answer
27 views

Nginx Error OCSP could not be resolved

I'm getting this error on my Nginx error log: [error] 742#742: ocsp.comodoca.com could not be resolved (110: Operation timed out) while requesting certificate status, responder: ocsp.comodoca.com, ...
1
vote
0answers
19 views

Azure Ubuntu VM - Unexpected short IOPS peaks (bursts)

I am not sure if such issue is well-known, I failed to find any straightforward explanations. I have an ordinary VM on Azure of a small size (B1s) running a Ubuntu 18.04 from Canonical. There's a ...
0
votes
0answers
22 views

'File not found.' after switching to php fpm (apache, ubuntu server 18.04 LTS)

I know this question has already been answered mutiple times, but the answers are almost all diffrent and are sorta confusing. I have tried alot of answers but none of them work. I follow the answer ...
1
vote
0answers
19 views

Create logical volume again on Ubuntu after deleating it [duplicate]

I have a Ubuntu 16.04 Server and used these two commands which accidently deleted my logical volume: lvchange -an -v /dev/sda5/xyz-vg and lvremove -vf /dev/sda5/xyz-vg I did so from an Ubuntu Live ...
1
vote
0answers
27 views

Can I setup virtual environments for different python versions?

I need to setup local webserver that serves several django apps and I have comparatively little linux (lubuntu 18.04) experience. Problem is that one of these apps are written in python2 and others ...
0
votes
0answers
24 views

virtual network manage multiple ip

I have an Private Virutal Server with two ip. Th OS is Ubuntu 16. I would like to allow only* the ports 22,80,442 on the first ip and Allow the ports 12301,12302,12303,12304 on the second ip. How I ...
2
votes
0answers
23 views

Openstack Error: No valid host was found. There are not enough hosts available

As a purpose of testing, I am trying to spin up instances of large size, I mean of 8 vCPU's and greater than 20 GB memory, with 50 GB storage. Physical host has 48 GB RAM and 16 CPU. But everytime ...
0
votes
1answer
14 views

phpinfo shows difference between Local and Master Values of default_charset

Here us there is a difference in the local default_charset than the master's. Is there a way to find the source of the change of each? Especially the local? So it shows the path of the file that is ...
1
vote
0answers
22 views

What exactly does nfs4_disable_idmapping parameter do?

I've been experimenting with user/group ID mapping (translation) in NFSv4. What I want to achieve is name based ID translation, that is independent of the actual UID/GID on the server and clients. ...
0
votes
1answer
37 views

nginx set different document root for a proxypass

I'm just trying to run a nodejs app I made on a proxypass domain, and have it work exactly as it did on my desktop. However, for some reason, even though I defined a seperate document root for this ...
0
votes
1answer
25 views

nginx throws cannot get / bad gateway when trying to connect to proxypass path

I created a proxypass on my nginx server, and enabled ssl on it, but with and without ssl I still get an error saying 502 bad gateway. What can I fix to resolve this?(p.s. when I use curl on localhost ...
0
votes
1answer
27 views

Nginx configuration with different ports

I'm trying to configure the Nginx reverse proxy for a client to a server. The server is listening on port 80 and 55555 for a client. I was only be able to pass to a port 80, how is it possible to ...
0
votes
1answer
16 views

Running Pootle server under Apache with mod_wsgi on ubuntu server

I have successfully installed a pootle server in a localhost environment using the django default server following the instructions found here: http://docs.translatehouse.org/projects/pootle/en/stable-...
2
votes
1answer
73 views

standalone NTP config

I am trying to setup local NTP server for some testing. I have installed NTP on Ubuntu 18.04 and commented server-pool block in the config file Here is the full config : driftfile /var/lib/ntp/ntp....
0
votes
2answers
71 views

Copy LVM Volume Group to a new single hard disk

I have a headless Ubuntu (18.04) server with 3 hard drives each partitioned to a single lvm volume group for a combined size of 6Tb. I recently purchased a new hard drive that is 8Tb and I want to get ...
0
votes
0answers
39 views

Pm2 cannot open it's own PID file on ubuntu 18.04

I was recently trying to run a nodejs app I created using pm2 and this tutorial: https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-18-04 ...
0
votes
1answer
13 views

Limiting access to one libvirt domain via polkit (older .pksa format)

I have a hypervisor running libvirt on a Ubuntu 18.04 system. I need to configure access so that user 'joe' can only manage one domain. Recently, policykit moved from the .pksa configuration files ...
0
votes
1answer
23 views

Physical volume for RAID missing in Ubuntu 16.04.4

I am trying to configure software RAID 1 on ubuntu 16.04.4, but the option “physical volume for RAID” is missing during the disk partitioning process.. Does anyone have a solution for that issue? ...
0
votes
1answer
13 views

(Open) LDAP authentication - superuser not available on client

I'm still arguing with LDAP authentication. Now I have a server running openldap in centos, some account and a client that can use that directory to log on. The issue I have is that I'm no longer ...
0
votes
0answers
19 views

BIND Error on AWS - No Authorative DNS Response

We have recently setup and new EC2 Instance on AWS and are running WHM on the server. I can Ping the server and do the required, but cannot get the NS to register with the domains. the DIG give me the ...
2
votes
1answer
17 views

How to retain blockdev changes after server restart?

I am setting block device read ahead buffer size like so: blockdev --setra 8192 /dev/sda As suggested here. The problem is after restart it goes back to 256 (default). I need it to retain the value ...
1
vote
0answers
18 views

PhP Session Destruction not as eXpected

I have added this code to the top of my page and it is executed when a user login. <?php $lifetime=86400;session_start();setcookie(session_name(),session_id(),time()+$lifetime,"/","","TRUE","...
0
votes
0answers
37 views

Trying to setup a Django app using gunicorn and systemd

Trying to setup a Django app using Gunicorn and Systemd while following this tutorial by DigitalOcean. When I run curl --unix-socket /run/gunicorn.sock localhost, it returns with curl: (56) Recv ...
1
vote
1answer
19 views

SquirrelMail doesn't send or receive any mail

I just tried to set up a mail server on my Ubutnu 14.04. The goal is to be able to send mails from info@mydomain.com and receive mails sent to the same adress. Now I followed this tutorial to install ...
0
votes
1answer
60 views

Ubuntu 18.04.1, cannot add PPA wireguard/ubuntu/wireguard

I'm trying to install WireGurad on my fresh vanilla Ubuntu 18.04.1 machine, by following the instructions from WireGuard website. But when I try to execute very first command: sudo add-apt-repository ...
0
votes
0answers
65 views

tls 1.2 handshake timeout docker container

I'm working on a fresh ubuntu 18.04.01 in which I installed Docker version 18.09.1, build 4c52b90 by following the official install guide. I'm experiencing a weird issue regarding TLS 1.2 On the host ...
0
votes
1answer
28 views

Google cloud server ssh host key changed unexpectedly?

I have a Google cloud server that currently runs Ubuntu 16.04. I have not done much to it in years and it always ran great. Somehow or other, for the first time, it experienced downtime today of ...
0
votes
1answer
19 views

linux route nic2 connections to nic1

I have in linux envrioment: 1) firewall (192.168.1.1) 2) server1 (192.168.1.2) 3) server2 ubuntu (NIC1 - 192.168.1.3 - NIC2 - 192.168.2.1 - can customize) 4) device1 - 192.168....
0
votes
0answers
37 views

Website not showing my updated pages

The site is running on Ubuntu 16 with Nginx web server. Recently I have uploaded the new code but when I load the website still it's showing the old pages, I have removed all the files from the ...