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.

Filter by
Sorted by
Tagged with
0
votes
2answers
2k views

Ubuntu UFW firewall turns itself off

I have UFW enabled on my server. However, I find that it is disabled at times, showing a status of "firewall not loaded". I enable it, verify that it is running (shows loaded and gives me a list of my ...
0
votes
1answer
1k 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 ...
7
votes
5answers
14k views

Change local password as root after configuring for MS-AD Kerberos+LDAP

I have followed this excellent post to configure Kerberos + LDAP: http://koo.fi/blog/2013/01/06/ubuntu-12-04-active-directory-authentication/ However, there are some local users used for services. ...
0
votes
1answer
24 views

zfs pool status unstable

I've been running zfs pool on ubuntu problem free for years. currently on 20.04 since around beginning of this year I've had to replace 2 out of 4 disks and even then brand new disks started showing ...
0
votes
2answers
34 views

clone a grafana setup to a different server

I'm writing a set of scripts to automatically setup any virgin ubuntu server to be in a state usable for my production environment. One of the things I want to do is setup grafana so that, on install, ...
-1
votes
0answers
17 views

No Internet connection on a VPS

I've a VPS hosted at cba.pl. I have the problem that I can't connect to the internet with it and i'm just able to use the Terminal over their homepage, but commands like wget and curl are giving ...
2
votes
1answer
54 views

No DKIM headers in sent mails from postfix

I have two postfix, one for receiving mails and the other for sending mails, and I am having trouble signing dkim on my outgoing mails. I followed this tutorial. Logs also is not helping me point to ...
0
votes
1answer
1k views

Ubuntu 16.04 lxc no tty present and no askpass program specified

I'm using Ubuntu 16.04 and lxc 2.0.7-0ubuntu1~16.04.1, I got this error sudo: no tty present and no askpass program specified in an unprivileged container( Ubuntu 16.04 amd64). This is my /dev ...
0
votes
0answers
29 views

Ubuntu on dl380p gen8 won't boot from SD Card after few restarts and powering off

I have two HP Proliant dl380p gen8 servers with full array (25 disks). I did install SD Card into the internal slot on motherboard. Changed USB setup in bios to Internal SD card first. After ...
0
votes
1answer
51 views

SSL error from AWS server in us-west-1 to eu-west-1

Server's in us-west-1 region while tryin to connect https://elasticloadbalancing.eu-west-1.amazonaws.com/ in eu-west-1 region curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL. This is happening with ...
0
votes
0answers
26 views

Building cURL with NSS on Ubuntu server fails

On a fresh ubuntu 21.04 x64 or 20.04 lts x64 I do: apt install build-essential wget https://curl.se/download/curl-7.77.0.tar.gz tar -xvzf curl-7.77.0.tar.gz cd curl-7.77.0/ apt install libnss3-dev ./...
6
votes
1answer
2k views

Certbot fails with AttributeError: 'module' object has no attribute 'Locale'

I setup a new server a couple of months ago, running Ubuntu 18.04 LTS. I successfully installed certbot and created my certificates using the cloudflare DNS plugin. It's now getting to be time for ...
0
votes
0answers
20 views

Linux what preserves session when load balancing 2 gateway

I use 1 ubuntu as gateway with 2 gateway internet: eno3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether d4:be:d9:f8:82:7a brd ff:ff:ff:ff:ff:ff ...
1
vote
1answer
1k views

how can i setup tshark to capture full URL uri request ip and time stamp

How can I setup tshark to capture full URL uri request ip and time stamp. I have tried this: tshark -V -R "tcp.port ==80 && (http.request || http.response)" | awk "/Hypertext Transfer ...
-2
votes
0answers
23 views

tunnel hurrican electric ipv6 /64 block to squid proxy on ubuntu

I have an ipv6 /64 block I got from tunnelbroker.net. I want to create a proxy pool of all the ips available in that block (18,446,744,073,709,551,616 ips). I searched all over the internet but didn't ...
1
vote
1answer
54 views

Installing ASP.net on Ubuntu 20.04

I'm trying to add ASP.net onto my Ununtu 20.04 server. As per: https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu They tell you to: wget https://packages.microsoft.com/config/ubuntu/20....
1
vote
2answers
2k views

ubuntu server refusing connections via port forwarding

Getting some really weird behavior from our Ubuntu server... it's behind a Verizon router firewall with port forwarding (port 8080 to port 80 on the server), and we've been having issues accessing it ...
0
votes
0answers
20 views

openstack selfservice network setup

I'm trying to configure the selfservice network on Openstack Wallaby, running on Ubuntu Server 20.04. I have followed the instructions for everything under the "Minimal deployment for Wallaby&...
0
votes
1answer
22 views

VM in proxmox shows more RAM then assigned?

I assigned 10Gb of ram to my VM but inside the VM it mentions that it has allocated all the ram available in my server (48). Why is this happening? I have a windows VM aswell and there it just shows ...
0
votes
0answers
21 views

Ansible playbook not running : Import error

enter image description here ansible-playbook -v -i Monitoring/hosts Monitoring/main.yml [WARNING]: log file at /var/log/ansible.log is not writeable and we cannot create it, aborting Using /etc/...
0
votes
3answers
3k views

Directory listing ain't working on nginx showing 404 error

UPDATED nginx.conf FILE AND ANYTHING ELSE TO THE LATEST STATE BUT STILL GETTING 404 ERRORS :-( So i was trying to setup directory listing on my server with nginx, i followed the instructions step-...
0
votes
0answers
36 views

Cannot Access Mail Folder Content Since Dovecot Switched From MAIL to MAILDIR During Update

*See UPDATED & UPDATED AGAIN to jump to the issue at hand. Just discovered that my mail app(s) are not displaying all of my messages in my SENT box(S) and maybe other boxes. For example when using ...
4
votes
1answer
595 views

Unable to add interface to network namespace on boot

I have problem with adding a phyisical ethernet interface to a predefined namespace , adding that to interfaces file in pre-up/post-up event do not work. It adds eth to namespace, but ip address and ...
1
vote
0answers
29 views

Ubuntu SFTP hide unauthorized subfolders

I currently run Ubuntu 20.04 Desktop server. And I am using the SFTP function by installing OpenSSH on the server. For testing purposes, I temporarily created a directory called /home/mydirectory/...
0
votes
1answer
2k views

Trying to configure VPN client using l2tp on Ubuntu 18.04 to connect to Cisco meraki security device

I am trying to configure VPN client on ubuntu18.04 that will connect to VPN service on Cisco Meraki security device using l2tp over IPSec but I am getting error in the logs on both ends. Errors in ...
1
vote
1answer
1k views

Moving from LDAP to LDAPS - Ubuntu 14.04 Winbind, Samba

I have an Ubuntu 14.04 AD DS member server which appears to be binding to AD no problem with the following command: wbinfo -g I want to move to using LDAPS now. I configured LDAPS on my 2012 R2 DC ...
-2
votes
1answer
63 views

How can my users discover my upstream server IP though they only connect through load balancers?

I am managing a game server prone to DDoS. I have kept the upstream IP secret and only published the addresses of 100 load balancers forwarding traffic via iptables: echo 'net.ipv4.ip_forward=1' >&...
0
votes
1answer
2k views

SMTP error '554 5.7.1 Relay access denied' with using postfix

I have been trying to setup a mail server on my ubuntu vServer for the last couple of days. I use postfix with mySQL and Courier. For webmail, I use roundcube. I can receive emails to my address, but ...
0
votes
1answer
25 views

lighttpd security without htaccess

I have a webserver with limited resources and therefore I decided to use lighttpd as my webserver software. However, I notices now that it does not recognizes apache .htaccess files. Most of the ...
0
votes
0answers
23 views

Someone mining xmr on my vps [duplicate]

i noticed one cpu core using 100% resources so running htop shows, xmrig is running which i never installed. and i can see it is running from path /tmp/xmrig-... and i am running a wordpress site here ...
1
vote
1answer
27 views

Identifying specific devices when using sensors in ubuntu

I am running the sensors command in Ubuntu 20.04 to try and get a temperature reading for my NVME SSD drives. However, although I can see the drives I am not sure which one is which: nvme-pci-2300 ...
3
votes
0answers
91 views

How to forward all incoming traffic to server A to server B and B returns it to A?

Suppose I have two servers: A and B. On both I have installed WireGuard. On server A, wg0 is routed with IP 10.8.0.0/24 and on server B, wg0 is routed with IP 10.7.0.0/24. Let's say server A's ...
1
vote
1answer
3k views

Hadoop FileAlreadyExistsException: Output directory hdfs://<namenode public dns>:9000/input already exists

I have Hadoop setup in fully distributed mode with one master and 3 slaves. I am trying to execute a jar file named Tasks.jar which is taking arg[0] as input directory and arg[1] as output directory. ...
0
votes
1answer
57 views

Mail Queue getting huge even though mails are sent but slow and sending without spamassassin does not work

I have setup an Ubuntu 20.04 server to only use SMTP and send email from this server, but I am facing an issue that when spamassassin is stopped, postfix does not try to send anything, while when ...
1
vote
1answer
1k views

HAproxy REQ_SSL_SNI and SSL termination

I am trying to get haproxy to work with REQ_SSL_SNI and SSL termination. Guides I have followed https://www.haproxy.com/blog/enhanced-ssl-load-balancing-with-server-name-indication-sni-tls-extension/ ...
0
votes
2answers
1k views

Slow DNS resolution inside docker container

I've stuck with a problem of a very slow DNS resolution inside docker container. Simple GET to a 'google.com' takes about 4s to finish while the same request on host takes 0.052 ms. Also request works ...
0
votes
0answers
27 views

NGINX Is redirecting to localhost:3000

I'm using ruby on rails in a docker container running my website https://redrebelgames.com on port 3000. I'm trying to setup NGINX to redirect http:// traffic to https:// and redirect port 80 to port ...
0
votes
0answers
19 views

Cannot connect MacOS to StrongSwan VPN server installed on ubuntu

I have an issue connecting to IKEv2 VPN running on an Ubuntu VM on GCP. I am trying to connect with MacOS and Windows. I followed this tutorial to install the VPN on an Ubuntu VM. I need a VPN so that ...
1
vote
1answer
1k views

Ubuntu 14.04 can only access outside networks if using DHCP, not static IPs

I am configuring some server on Ubuntu Server 14.04 (no GUI) and I am have the following configuration: auto lo iface lo inet loopback ## Management network eth0 auto eth0 iface eth0 inet static ...
0
votes
1answer
2k views

systemctl limits - solr complaining

I'm building a solr server (on Ubuntu 18.04, using the repo solr-common and solr-jetty). On startup, solr was reporting that nfile and nproc (1024, 6721 resp) was set too low. I ran systemctl edit ...
-1
votes
0answers
22 views

Set display settings for another user in ubuntu [migrated]

I am using ubuntu 20.10 on a laptop and I have the close lid setting to ignore so I can close it and it still works on my external monitor. I have added a new user, but when I log in as the new user,...
0
votes
1answer
39 views

How to install `aide` without `aide-common` in debian?

Per this post, Newer versions of Ubuntu (including 14.04) come with two packages for AIDE: aide, with the aide command and manual page, and little else aide-common, with a wrapper around that ...
0
votes
1answer
1k views

Too much emails from fail2ban

I set up fail2ban on my Ubuntu server and specified an email address for notifications. I only want to be informed when a host is banned, but currently I get way to much emails with messages like ...
0
votes
1answer
3k views

Passenger could not spawn process for application. Rails, ubuntu, passenger and apache

My application is crashing again and again. I am using the hosting services of digital ocean the status of the server are also displayed in the image (It start working when I restart the server but ...
0
votes
1answer
1k views

Ubuntu server not using localhost IP for internal communication

I am using Ubuntu Server 13.04 on my mail system. I am just setting the Postfix and Amavis. In every config for communication I am using 127.0.0.1 as IP address to pass mails to amavis. When I look to ...
0
votes
1answer
1k views

Server-side print to PDF of HTML file in /tmp?

I'm working on a project where we need consistent printing of certain pages, and PDFs are made for that. The customers also like to have some local copies, so this would be a two-fold win. Things get ...
1
vote
2answers
2k views

I have to manually restart winbind.service after every reboot. Ubuntu 18.04

S.O. Ubuntu 18.04.4, Samba version 4.7.6-Ubuntu I have this problem with this machine. Whenever the system restarts, winbind.service fail to start properly, and error "clock skew too great" is ...
0
votes
1answer
63 views

Apache2 - Only home url is found

I have created a laravel 8 application and installed apache2. My configuration files look like the following: 000-default.conf <VirtualHost *:80> # The ServerName directive sets the request ...
2
votes
3answers
2k views

How to install APC on a vagrant box running Ubuntu with PHP?

In my "Vagrant" file I have this line: chef.add_recipe("php::module_apc") But it gives me this error: [2013-01-11T22:14:53+00:00] INFO: Processing package[php-apc] action install (php::module_apc ...
2
votes
3answers
2k views

Apache exit signal Segmentation fault when mod_rewrite and fcgi are used together

I am using Ubuntu 15.04, Apache/2.4.10. I enabled mod_rewrite and mod_proxy_fcgi. My apache config for fcgi is: ProxyPassMatch ^/(.+\.(hh|php)(/.*)?)$ fcgi://127.0.0.1:9000/var/www/html/myapp/$1 ...

1
2 3 4 5
302