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.

0
votes
0answers
5 views

pg_dump blocking Postgres database

We have a Django application running on Ubuntu using a Postgres DB on the same server. We are backing up our database every day with the following command: pg_dump -Fc -U user1 -w db_name > ${...
0
votes
1answer
8 views

security limits max files that can be open

how many files can a server have open? is it based on the ram/cpu? /etc/security/limits.conf * soft nproc 65536 * hard nproc 65536 * soft nofile 65536 * ...
0
votes
1answer
10 views

Adding a bridge on top of a bonded interface that have multiple ip?

I have a server that has three static IP addresses. I'd like to add a bridge to these settings. I tried to add the bridge this way but it doesn't seem to be working. auto bond0 iface bond0 inet ...
0
votes
1answer
19 views

Can not restart Nginx, “Job for nginx.service failed because the control process exited with error code.”

I have a digitalocean droplet with Ubuntu 16.04 running on it. I am serving mostly static sites from it with Nginx, but it suddenly stopped working. (As you might understand from this intro, I am ...
0
votes
0answers
18 views

Tomcat : Basic authentication spam causing server overload

We have a Debian based server running Tomcat behind a load-balanced webserver. As it's for development, we have added basic authentication in tomcat with username and password. But we are getting so ...
-3
votes
1answer
32 views

How to add multple domains to new VPS server? [on hold]

I am trying to find a way to add 2 domains to the VPS server I bought. Server config: OS Ubuntu with Apache, Mysql, PHP installed. I have 2 domains purchased from godaddy. domain-one.com and domain-...
1
vote
0answers
17 views

TLS handshake times out for a few users only

A few of my clients are unable to visit any of my HTTPS-enabled websites. The browser spends a lot of time negotiating the TLS handshake. Ultimately, a timeout occurs. The server: Apache2 on Ubuntu, ...
0
votes
0answers
25 views

Linux : FTP connection from server to server not working

I am working on logging into ftp from our Debian server to another server. It's working from localhost, but not from our server. I have opened ports 21,22 with the following command, but no luck. The -...
1
vote
0answers
7 views

Finding reason for Spring Boot application failure

My Spring Boot application stopped working a couple of days ago and I'm trying to figure out why so I can prevent it in the future. This is the first time this happens so I don't really know where to ...
0
votes
0answers
18 views

Logging - Apache Access log Unknown Characters Ubuntu

Hi I would like why access.log on apache looks like this? Could someone help me? at the bottom part it appears appears to be good. ^_?^H^@^[D?\^@^Ciym?\x??^K~?_?O?HeR"^33 ^[>>?RwIe^R??^...
0
votes
1answer
22 views

How to connect two EC2 instances using the eth1 interface on both instances?

I have 2 EC2 instances running Ubuntu 18.04. I've attached an additional network interface "eth1" to each instance, so each instance has 2 interfaces( eth0, eth1). eth0 is the default gateway. What I'...
4
votes
1answer
49 views

How to recover mdadm raid6 array? mount: can't read superblock. 8/13 drives show all drives present, 5/13 drives show only 5 drives present

I rebooted my server today to find it hanging. I commented out the entry in fstab that loads /dev/md0 and the machine proceeded to boot. The raid was accessible and working prior to the reboot, I only ...
0
votes
0answers
13 views

Error while trying to install Mapnik v2.2 on Ubuntu 18.04 [closed]

for the sake of a web-application named "arches", I'm in need of a Mapnik Installation. As the arches documentation suggested, I went with the v2.2 of Mapnik an resolved the dependencies. However when ...
0
votes
0answers
25 views

Are there any web-interface Ubuntu monitoring libraries that feature graphing processes history? [on hold]

I've looked through tons of articles like "100 system monitoring tools", etc. but I didn't found anything that fit my needs, so I'm asking here. Is there any web-based (preferably lightweight & ...
-1
votes
0answers
11 views

my cherrypy site is not showing css [closed]

so i have this code: import cherrypy import os, os.path import random import string import mimetypes current_dir = os.path.join(os.path.dirname(file), 'server.conf') class MonSite(object): @...
-1
votes
1answer
21 views

How to mount CIFS shares in Linux without password, using domain credentials?

I have Ubuntu 18.04 and CentOS 7 boxes, they are members of Windows domain (using sssd). Linux users need to mount CIFS shares from domains fileservers. What should be done in order to provide ...
0
votes
0answers
15 views

How to display parent folder if sub-folder doesn't exist?

I am working on an Ubuntu server running Apache and I have having a problem display the webpage I want to. For example, I want to have www.example.com/user/me really display www.example.com/user ...
0
votes
1answer
41 views

How to force Google Compute Engine ubuntu instance to do fsck?

I have an instance in Google Compute Engine (cloud server) running ubuntu 16.04. I noticed filesystem corruption on the root filesystem as follows: ==>ls -l data/vocabulary/ ls: cannot access '...
0
votes
0answers
66 views

dcpromo of a windows server 2008 in existing samba based AD resulting in infinite configuration

We want to add a new DC using windows server 2008 in our AD that just have 2 zentyal 5 based DC to replace the second. DCPROMO is able to get all informations but when start to configure the DC , the ...
0
votes
0answers
18 views

Azure Files access from Ubuntu 18.04: Resource temporarily unavailable

From time to time a server (Ubuntu 18.04 LTS) fails running PHP scripts in cron with the following error output: PHP Warning: require_once(/path/to/include.php): failed to open stream: Resource ...
9
votes
2answers
1k views

How does debian/ubuntu knows a package has a updated version

If my understanding is good, with apt update, Debian download a release file and with this file, it can tell if a package needs to be upgraded and with which dependencies. How does it do this? Th ...
0
votes
1answer
19 views

How to migrate users between two different versions of OpenLDAP?

I need to export and import users between Two different versions of OpenLDAP, Old openldap version is 2.42 and new one has version 2.44. Both the openldap servers are setup on Ubuntu. In this answer ...
0
votes
1answer
29 views

Error related to disk while changing instance type from c4.large to c5.xlarge for ubuntu linux machine

I am providing user data to linux machine by cloudformation and its working fine when i am using c4 class type(example: c4.large, c4.xlarge) while it stop working when i am changing instance type in ...
-1
votes
1answer
33 views

Access Localhost (Ubuntu -VM) from Windows

I use Ubuntu in my virtual machine and start from there my code projects. These project when active can be run under localhost:3000. Now when i execute in Ubuntu ifconfig I get following result: If ...
3
votes
1answer
41 views

node js app issues after AWS Instance snapshot

I had a node.js app with nginx running totally fine on a domain i purchased. It was run on an ubuntu server and all was well. I accidentally clicked "create image" on the aws site and ever since then ...
1
vote
1answer
20 views

DigitalOcean NGINX Server Port 80 Refused

I am having a really annoying issue with my digitalocean droplet running nginx as my web server. UFW is disabled on it and HTTPS does work, but HTTP using CURL on my mac at home gives me connection ...
1
vote
1answer
21 views

Netboot from common nfs share. How to incorporate small differences (e.g. in /etc)?

I have a set of (Ubuntu 16.04) servers, which are diskless and boot from a common nfs share. The share is read only and I use a tmpfs overlay. To achieve that I set the /etc/overlayroot.local.conf ...
0
votes
0answers
32 views

Linux Ubuntu disk usage

Currently, I have a streaming dedicated server, below you will be able to see server details: HDD: 12TB HDD RAM: 64GB Processor: Intel® Core™ i7-6700 Quad-Core Skylake Hyper-Threading Network speed: ...
0
votes
1answer
25 views

How change default internet access on a system with more then one interface with internet access

I have system with two interface like eth0 -> 88.198.x.x eth1 -> 192.168.10.10 I need this server to be accessible from internet throw eth0 but server uses eht1 for it's own internet needs (...
-2
votes
1answer
41 views

Postfix receives email but doesn't send [new to server management]

As the title suggest, I'm struggling to get the mail server to send emails. I recently purchased a VPS for hosting and I'm currently trying to set up the mail server which can now receive emails but ...
2
votes
0answers
39 views

Ubuntu VM will not boot up with Kernel newer than version with Microsoft Hyper-V Hypervisor on Windows Server 2012r2

I have two Ubuntu Server 18.04 LTS VM's running on Hyper-V on Windows Server 2012r2. Additionally, I have two Windows VM's (1 10, 1 7) on the same Hyper-V server. The Windows VM's have not experienced ...
0
votes
0answers
14 views

Virtual Host points to wrong directory after changing it on Ubuntu with Apache

I created a virtual host for a domain abc.com to point to the directory /var/www/abc. So in my sites-enabled I had this: <VirtualHost *:80> ServerAdmin admin@example.com ServerName abc....
7
votes
3answers
2k views

Ubuntu Err :18 http://dl.google.com/linux/chrome/deb stable Release.gpg KEYEXPIRED 1555048520

Since this morning I have this error Err :18 http://dl.google.com/linux/chrome/deb stable Release.gpg The following signatures are not valid : KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 ...
1
vote
0answers
15 views

monitoring mongodb with monit

I cannot get the most basic script working on monitoring mongodb on ubuntu 16.04 monit 5.16 check process mongod with pidfile /var/run/mongod.pid group database start program = "/usr/sbin/service ...
0
votes
0answers
57 views

Joining Ubuntu 18.04 to Windows Active Directory Domain

I'm currently attempting to join an Ubuntu box to a Windows domain, eventually with the intention of allowing Windows-based domain members to access a Samba network share using their AD credentials. ...
0
votes
0answers
19 views

Netplan: add route after “up”

In /etc/network/interfaces I have the following entry right now: auto ens3 iface ens3 inet static address 123.12.123.123 netmask 255.255.255.255 broadcast 255.255.255.255 up route add -host ...
1
vote
0answers
32 views

Using linux environment variable in rsyslog template

I'm trying to add an environment variable to my rsyslog template. I tried using 'getenv()' function without any luck, I always get an empty string in return. I'm attaching an example of my rsyslog ...
0
votes
0answers
22 views

Can't visit server on some port from other machine in the same intranet [duplicate]

The Service is working on the server. The server starts a service on port 9001. It's working on the localhost. Service can be visited through the browser. The firewall is disabled. $sudo iptables -...
1
vote
1answer
82 views

Postfix - Recipient Address Rejected on Incoming Mail Only

I am working on building a secure mail server for the first time using Postfix and Dovecot and I have encountered a problem that I cannot surpass. To avoid the email delivery in the spam box of ...
0
votes
1answer
33 views

Running Code server on subdomain with nginx reverse-proxy

I have a flask web server running on an ubuntu server on port 8000, with an nginx reverse proxy to port 80. I also want to run a code-server from code.com on a subdomain (code.example.com) at the same ...
0
votes
1answer
30 views

command line pass Q and Y to license agreement

I have to accept command line agreement before building the project. Key Q need to press to go to end of the agreement page and then need to press Y or y. I have tried printf 'qy\n' | source ../digi-...
2
votes
1answer
28 views

Continue boot with offline fstab disk (linux/systemd)

During boot, with pre-systemd versions of Ubuntu server (eg. 14.04), if a non-critical fstab disk was offline, the system would wait to mount the disk (30s iirc), timeout and continue booting. Since ...
-1
votes
0answers
18 views

Nginx geolocation / site redirection

so we've set up our nginx to redirect everytime a user browses our site, now we have a downloadable app on the site, in which after users downloads the app they will be redirected to a "thank you page"...
0
votes
1answer
28 views

How to increase size of OpenLDAP MDB database? (MDB_MAP_FULL Error Code)

I'm getting this error related to slapd service (OpenLDAP server) in syslog mdb_idl_insert_keys: c_put id failed: MDB_MAP_FULL: Environment mapsize limit reached (-30792) This error comes when ...
0
votes
2answers
21 views

Stop nginx before APT upgrades run

How can I stop nginx before APT upgrades run in Ubuntu? We run unattended upgrades on the server and in case there is any upgrade that will interfere with nginx I would like to stop the nginx service ...
0
votes
1answer
34 views

Alternative to /etc/network/interfaces on Ubuntu 18.04

In ubuntu 18.04, I found that there is one more requirement for the /etc/network/interfaces configuration to work. I got information that I could fix it by adding the ifupdown setting to the /etc/...
0
votes
0answers
25 views

How can OpenLDAP support SSHA512 [duplicate]

I have one OpenLDAP server and need to implement SSHA512 because I have to import data from Zimbra and most of them are in SSHA512 which my OpenLDAP doesn't support (Default is SSHA). I'm not a pro in ...
0
votes
0answers
34 views

Connect L2TP VPN via command line in Ubuntu

I can create PPTP connections in Linux via command line with pptpsetup easily and connect to multiple VPN servers concurrently. I want to know is there a way for L2TP VPN connection to do such ...
0
votes
2answers
37 views

Unable to connect to AWS ec2 instance public ip via browser

I've newly installed Openresty as the web server on an ec2 instance and its currently running but I can't even view the welcome page when I try to navigate to it via my public ip address at the ...
0
votes
0answers
12 views

External IP for OpenVPN client

web app running on an EC2 box REST API running on an onprem box For one reason or another I am unable to expose the on-prem box externally so have created a site-to-site configuration on OpenVPN for ...