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.

learn more… | top users | synonyms (2)

0
votes
2answers
40 views

How can I detect what occupied the disk space

I have my external disk mounted in /log and I'm not able to write into it anymore because it's full. When I check with df -h: Filesystem Size Used Avail Use% Mounted on udev 3.7G ...
0
votes
0answers
7 views

Search file in subfolders by file name - ubuntu

I have directory: /var/public/system/background/ Every background directory has subdirectories and one of them is "original" which has one file. 1) Is there any way to find all subdirectories "...
0
votes
0answers
24 views

Changed permission of “etc” to 777 by mistake now can't access google cloud using putty [duplicate]

I changed the permission of etc file to 777 in a ubuntu VM in google cloud. Now my ssh keys are not working and i can't access the server. How can I revert it back??
0
votes
0answers
90 views

postfix dovecot lmtp status=deferred (connect to domain.com[private/dovecot-lmtp]: No such file or directory)

I'm setting up my own Ubuntu mail server at home (postfix-mysql-dovecot-roundcube) with a MX registered domain (here in my example it will be "domain.com"). My main.cf : # Debian specific: ...
1
vote
2answers
877 views

Uninstall Mysql 5.7 from Ubuntu 16.04

I am having problems with mysql 5.7 in ubuntu 16.04 when it comes to giving users privileges, so I want to re-install it again but when I type the command for removing mysql I get the following ...
0
votes
0answers
45 views

Suspected Ubuntu PHP Garbage Collection Locking Server

I'm running Ubuntu 14.04 LTS with PHP 5.6.20 and, symptomatically, the server periodically fails to serve requests. I believe this occurs around the time that the PHP garage collection cron job /usr/...
0
votes
1answer
21 views

What code can I add to my csgo server.cfg to have it only respond to one dns? [closed]

Im trying to run multiple csgo servers on my server rack and I have diffrent domains that I want to use on each server because the port numbers need to stay the same. Im thinking of finding a line to ...
0
votes
1answer
14 views

Ubuntu ntfsundelete on md0 software raid after fsck

System was failing and the colocation facility ran fsck -y on a raid that had some important data. The result is a lost+found folder with 2 million files in it. It is possible to get any of the ...
1
vote
1answer
22 views

ubuntu + hhvm results in my tmpfs is full - 100% used

Ubuntu 14.04, HHVM 3.10.1 Running df -h I can see the following: Filesystem Size Used Avail Use% Mounted on udev 7.9G 8.0K 7.9G 1% /dev tmpfs 1.6G 1.6G 8.0K 100% /...
-2
votes
1answer
103 views

MySQL - high RAM usage

I have VPS with 2GB of RAM running Ubuntu. There are three sites using database on this server - two on WordPress and one on custom script. All of them get max few hits per day. MySQL always had ...
-1
votes
1answer
50 views

mpm_prefork values for 2-4 GB RAM [duplicate]

I have bought new linode (1GB). On this page :https://www.linode.com/docs/websites/lamp/install-lamp-on-ubuntu-16-04 Linode says: Below are the suggested values for a 1GB Linode: File:/etc/...
0
votes
2answers
33 views

Installing Updates on Ubuntu requires System Restart

Sometimes after installing updates, the server machine would say *** System restart required ***. And we of course we comply. Is this really how this works? I can't imagine that this is already ...
4
votes
0answers
81 views

debian/ubuntu: Prevent UI prompting in command-line apt-get

So, in order to prevent console-UI (newt, snack, dialog) prompts during the dpkg post-install, you have to do something like: debconf-set-selections <<< 'mysql-server mysql-server/...
4
votes
1answer
75 views

Samba TLS Setup

I'm reading this Samba Manpage and according to this, you can setup TLS. I've got 2 questions. On the Server-side, TLS options requires the path of the certificate and keys? How would that work on ...
0
votes
1answer
76 views

HAProxy timeouts after 1-2 minutes of load

I am switching our web load balance from Nginx to HAProxy. Currently our setup is working fine in nginx but we want to be more redundant with service checking. Our backend is Golang app. To keep ...
1
vote
1answer
88 views

What configuration issue is preventing Samba Network Shares from being visible over VPN?

I set up a VPN using L2TP and IPSEC (with LibreSwan) using this script: https://github.com/hwdsl2/setup-ipsec-vpn The only change I had to make was to change the instances of 'eth0' to the new format ...
-3
votes
2answers
136 views

Can't resolve hostname by ip address over nslookup [closed]

I've got an Ubuntu Server on my LAN. I can fully use it (samba, ssh, apache2, xmpp...) by using it's ip address. But I want to use the hostname to connect (e.g. ssh). When I do a nslookup with the ip ...
0
votes
1answer
54 views

What Linux Kernel Versions are Acceptable for AMI Import to Amazon Web Services?

I have a stock image of Ubuntu Server 16.04 exported as an OVA from VirtualBox. After the proper permissions are set up to import that OVA into AWS EC2 as an image, and it's loaded into S3, the ...
0
votes
0answers
20 views

Monit for PHP7 connection failed

Trying to get monit working for PHP7 but getting a connection error. Here is the config file: check process php7.0-fpm with pidfile /run/php/php7.0-fpm.pid group phpcgi start program = "/usr/sbin/...
0
votes
0answers
23 views

Can't transmit from multiple virtual vlan id interfaces on same interface

I'm creating virtual interfaces of vlan id on same interface, i.e: eth0 - the main interface with ip 0.0.0.0 . eth0.1 - tagged interface under eth0 with ip 10.0.0.1 . eth0.2 - tagged interface ...
0
votes
2answers
37 views

Recovering an EC2 instance

I was running an ubuntu EC2 instance for about an year and I lost SSH connectivity to it after installing the latest updates. I was running a Rails application with automated capistrano deployment ...
2
votes
1answer
210 views

How to install Apache with PHP 7.0 on Ubuntu 16.04 using puppetlabs-apache

I want to install Apache with PHP 7.0 on Ubuntu 16.04 using Puppet Labs Apache module. Following the documentation the module supports Ubuntu 16.04. There is a ticket related with PHP 7.0 support ...
0
votes
0answers
42 views

nginx won't start after updating GitLab

I tried updating GitLab by running sudo apt-get update and sudo apt-get install gitlab-ce. Everything seemed fine during the install, but after it finished, nginx stopped working and I can't get it to ...
0
votes
0answers
21 views

How to delete inodes in ec2 volume?

Can any one please tel me how to delete some inodes from my current volume df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/xvda1 1310720 1310719 ...
1
vote
3answers
37 views

Delete files based on pattern

This may have been addressed somewhere but unable to find command that meets my requirement. So basically lets say there are 51 files starting with aaa.log aaa.log.1 aaa.log.2 . aaa.log.4 aaa.log.40 ...
-1
votes
1answer
38 views

Server Configuration for Remote Authentication

Problem: I have few systems which run the same version of Ubuntu (i.e. 16.04) on my lab network. Currently all terminals have their own local users. Terminals are not uniquely assigned to a user. So a ...
0
votes
1answer
67 views

ssh: Could not resolve hostname add: Name or service not known

I created non-sudo user and I can't add ssh key while logined with it: % ssh -vvv add ~/.ssh/mykey OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014 debug1: Reading configuration data /etc/ssh/ssh_config ...
1
vote
0answers
112 views

Does openconnect have native support for Pulse Secure?

Since they rolled out Pulse Secure in place of Network Connect, I have been attempting to connect to my company's vpn using openconnect. I am seemingly able to run openconnect without errors, do the ...
3
votes
2answers
395 views

802.3ad bonding configuration file on an Ubuntu 16.04 LTS Server

If I use a manual setup on the command line (following the kernel instructions), I can properly setup my network connection: # modprobe bonding mode=4 miimon=100 # ifconfig bond0 up # ip link set ...
0
votes
0answers
19 views

Can't install SSL cerificate - error AH00169 SIGTERM

I'm new to server stuff. On Azure I run VirtualMachnine based on Ubuntu 14. I install apache2 and everything workd fine. Now I need to add SSL certificate. So at default-ssl.conf I write: <...
0
votes
1answer
262 views

Wiring uWSGI to work with Django and nginx on Ubuntu 16.04

I am trying to follow this tutorial to setup uWSGI with Django and nginx on Ubuntu16.04. It all works fine up until the very last step (oh the irony...) where I try to execute this command: sudo ...
2
votes
1answer
31 views

Creating large file ties up memory after process is done

I'm using an Ubuntu 14.04LTS server (AWS EC2) to do a custom database dump but I'm getting a very odd memory behavior. I'm using PHP CLI script to loop through the custom dump query that outputs to a ...
0
votes
0answers
29 views

How to respond to password crack on SSH server? [duplicate]

Update: I'd already read How do I deal with a compromised server? but was hoping for advice specific to a password crack (such as using fail2ban), as well as info about whether this could be an OS bug....
0
votes
0answers
20 views

Can't start basic ASP.NET application on Linux

I've created a new Web Application Basic [without Membership and Authorization] with yo aspnet. It produced a directory with the following project.json: { "version": "1.0.0-*", "...
0
votes
1answer
26 views

Ubuntu + apache2 + ssl - AH00072 address alredy in use

I'm new to server stuff. On Azure I run VirtualMachnine based on Ubuntu 14. I install apache2 and everything workd fine. Now I need to add SSL certificate. So at default-ssl.conf I write: <...
-1
votes
1answer
59 views

Problems with routing

I have issue achieving this: A-->B-->C-->internet (doing A--C-->internet is working) A: client lan: 192.168.57.0/24 (example 192.168.57.50) B: ubuntu GW eth0: 172.10.0.1 (/24, default gw:172.10.0....
0
votes
1answer
78 views

How to actually disable SSL3 on a ubuntu 14.04 LTS

I am running a server which has tomcat7 and apache2 on it. I issue the following command via another remote host: openssl s_client -connect my_site:443 -ssl3 This returns: CONNECTED(00000003) ...
1
vote
0answers
22 views

Dell 2970 Server dual Opteron 2435's_Ubuntu OS incorrectly reporting CPU's

The 2970 has BIOS version 4.2.1. lshw -c processor gives me correct cpu information and core count = 12 cores. cat /proc/cpuinfo and lscpu both give me 8 cores (incorrect). OS = Ubuntu 14.04 LTS I had ...
0
votes
1answer
67 views

SSL on apache2 - ubuntu, unknown issue

I try to install SSL certificate on my own server. I have ubuntu 14 and apache2 webserver. My default-ssl.conf file is: <IfModule mod_ssl.c> <VirtualHost _default_:443> ServerAdmin ...
4
votes
2answers
204 views

Zone transfer between PowerDNS and Bind9

I have a problem when trying to transfer a full zone from a PowerDNS server to a Bind9 one. The weird part is that there are several zones on the PowerDNS server which serves as a hidden master (with ...
0
votes
3answers
31 views

MySql query returns null on ocassions

I'm not sure what exactly is causing this but on occasions a mysql query that I know has to return results will sometimes return null as a result. I've seen this happen twice before but as I couldn't ...
2
votes
0answers
54 views

Installing apache2 ssl - ubuntu

I need to install a ssl in my apache2 ubuntu, and do not know what I'm wrong, but the fact is that I do not get ... I have the relevant files: one .key file and two .crt files. At first, when editing ...
-5
votes
1answer
51 views

Minimising noise from servers [duplicate]

I have 5 tower servers (Lenovo system x3500 m5) and they can get a bit noisy in the office. I think it might be the fan for the power unit or cpu. We don't have access to the server room. What ...
0
votes
0answers
48 views

Vagrant Scotch Box Change Webroot

Recently I've been experimenting with vagrant and I want to match the development environment as closely as possible with the production environment. I want to change the document root to my home ...
0
votes
0answers
20 views

How to determine how a file was created on ubuntu web server?

I recently installed inotify to monitor my server, I was alerted to the following file being created. Which I promptly deleted. But obviously that isn't good. How can I find out how or where the ...
0
votes
1answer
54 views

unrecognized usb passthrough to windows server 2012 r2 on ubuntu 16.04

I have a ubuntu 16.04 lts on a intel NUC machine. I want to use a TV usb tuner, in Japan, which only works for Windows. So, I'm trying to install a windows server 2012 r2 guest VM on the ubuntu host....
0
votes
0answers
14 views

cannot login samba file share from osx yosemite

I built a ubuntu nas server. After I installed webmin, I created a new file share "NasFileBackup". then I went to security and access control to give user "qinking126" access to this share. Now,...
0
votes
1answer
24 views

how to add my google apps accounts to Active directory Federation service?

Note - There are many discussions about syncing Google app accounts to Active directory. This is a different question - I would like my users (about 10) on google app to login to my local web apps i....
1
vote
0answers
29 views

MySQL on Ubuntu. 10061 error on 3306

A fresh install of Ubuntu inside of a Virtualbox with LAMP option selected. I am unable to connect to the server via telnet on this port or via ODBC from my host machine. I can ping and SSH both ...
1
vote
2answers
28 views

How to manage versions and dependencies on a virtual machine

I am new here on serverfault so bear with me please. I am currently working with static web (angular2) and php deployment primarily on DigitalOcean and AWS using nginx and apache2. Until now debian ...