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

Security Onion not displaying status of host running OSSEC agent in Kibana

I am deploying an instance of Security Onion to a test environment. In order to test OSSEC, I stood up an Ubuntu Linux host with assigned IP of 192.168.200.4 and installed the OSSEC agent. Following ...
0
votes
0answers
9 views

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

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

Are there any web-interface Ubuntu monitoring libraries that feature graphing processes history?

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 [on hold]

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
0answers
12 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
14 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
30 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
57 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
13 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 ...
8
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
18 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
22 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
30 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
40 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
votes
0answers
16 views

Can you set FreeIPA to use OTP for SSH only? [closed]

I'm looking at deploying FreeIPA as a centralised credential manager for a handful of Fedora and Ubuntu servers. The primary concern is that the Users will be required to have 2FA (Pass + OTP) for SSH ...
1
vote
1answer
17 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
20 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
24 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
36 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
33 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
13 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
35 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
27 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
20 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
75 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
30 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
26 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
16 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
23 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
20 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
33 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
31 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
33 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
11 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 ...
2
votes
0answers
50 views

Run Systemd Service Unit After AWS EBS Volume Mount

I launch m5.large (nitro-based) EC2 instance from Ubuntu AMI and attach EBS volume. There is systemd as a default init system. As AWS documentation "Making an Amazon EBS Volume Available for Use on ...
-2
votes
1answer
43 views

most efficient way to block an ip address from connecting to a ubuntu 18.04 server [closed]

Since i do not have access to other layers, i would like to know the most efficient way to block an ip address from connecting to a Ubuntu 18.04 server. To the box itself, they are most likely ...
0
votes
0answers
23 views

SqlServer on linux getting very slow

I have an Ubuntu 16.04 VPS and started to test SQL Server on it. Installation went flawlessly and I was using it for about a month without any problems. Then I did an apt update and it didn't start. ...
0
votes
0answers
17 views

Permission Denied in Squid Proxy Server

I have successfully installed and configured Squid Proxy Server 3.5.26 in Slackware 14.2. Im currently logged in as root user and I get an error when starting Squid using the command sudo squid -z: ...
2
votes
1answer
88 views

Multi-client architecture AWS EC Nginx rtmp server setup with raspberry pi camera as client for live video streaming

Our Approach Set up ngnix rtmp webserver on AWS EC ubuntu 16.04. Successfully completed single client(RPi Camera) streaming. Now we want to send multiple Pi Cameras live Feed on this server which ...
0
votes
1answer
21 views

cannot run sudo apt install wireless-tools on ubuntu server

I am completely new to ubuntu server and I am having issues configuring the network on my ubuntu 18.10 live server to be able to connect on the wifi only. When I run the command sudo apt install ...
0
votes
0answers
30 views

Cannot send e-mail to postfix mail server

I have a Wordpress server (on Ubuntu 16.04.02) on which I'm trying to set up a personal e-mail server using Postfix and Dovecot. I have followed this tutorial, and now I'm at the point where I'll try ...
-1
votes
1answer
32 views

Can't change global PATH environment in ubuntu 18.04

I tried editing /etc/environment, changed it by removing games and adding my swift installation location, so now it looks like: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/...
0
votes
1answer
41 views

Ubuntu: Multiple interfaces, one lan only

I have 2 interfaces: wlan0: Connected to normal network with DHCP (has internet) eth0: Connected to LAN only. Used for PXE boot and NFS The network-manager service is not installed on this machine. ...
0
votes
0answers
28 views

Not able to ping multiple ipv6 address of the same interface

I had assigned IPv6 address on the same interface as in below order.But i can able to ping the latest assigned IPv6 address only.Cannot able to ping other IPv6 address. Please provide some clue on ...