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
0answers
7 views

How to tell what nginx and Gunicorn are listening to?

I'm having issues getting a nginx - gunicorn server running, on Ubuntu server. What commands can I use to tell what ports and sockets nginx and gunicorn are listening to?
-1
votes
0answers
7 views

Ubuntu as router with squid

What i bassically want to do is use an ubuntu machine to act as my router but with squid to block some addresses. But i don't want to change user network settings. Explanation: Current configuration ...
0
votes
0answers
8 views

Whenever I try to reach saddahaq.com I am getting a Server Not Found issue. Everyone except me is able to reach that website [migrated]

I am using Ubuntu OS and Google Chrome browser - Version 44.0.2403.157 (64-bit). i searched for the solution, i tried these check the website is blocked in hosts : /etc/hosts its clear nothing wrong ...
0
votes
0answers
16 views

Detect USB driver plugged in and run a certain file on it

I have some kind of a kiosk Ubuntu set up based on Ubuntu Server 14.0.2 which runs an application on chrome. The kiosk has no internet connection thus the updates to the application should be done ...
0
votes
1answer
18 views

How to disable varnish on apache2 with ubuntu?

I installed and setted up varnish using this guide Basically, I changed the port to 8080, I want to disable varnish, so I thought I will change back to port 80 and thats it, varnish it's listening ...
0
votes
2answers
20 views

i need a sip softphone that would on incoming call open an url containing the caller number

The idea is that : a customer call, I automaticly open the page of his accout in my CRM. On the many SIP softphone on ubuntu (ekiga, linphone,...), the only one that i could make do that is twinkle. ...
0
votes
1answer
12 views

What are the directories and files that I should keep in sync for a cluster server

I am currently wanting to set up new clusters. Each cluster is defined by its software installed, software settings, and its home folder files. I want only the above to be cloned and not things ...
-1
votes
0answers
16 views

External POP server not reachable

I have an Ubuntu instance which needs to connect with an external POP/IMAP Server for specific purposes. The connection with this specific external Server is not working, since the machine is not ...
0
votes
1answer
47 views

Apache2 crash after SSL install

I'm trying to install ssl on my apache2 ubuntu 14.04. After I install all my credentials and restart my apache I get caught SIGTERM shutdown There is no more error or explanation. I created a ...
1
vote
0answers
14 views

Apache2 could not be installed

When I run apt-get install apache2 I get some error: Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may ...
0
votes
1answer
15 views

Error requesting -fPIC when compiling nginx with custom OpenSSL [on hold]

Update: Disregard, I have decided not to force an OpenSSL update, so this question is irrelevant. Thanks. Question copied from Github issue here. I am trying to compile a custom version of OpenSSL ...
-1
votes
1answer
13 views

Default directory for nginx?

I have ubuntu 15.04. After searching i found a variety of links that suggest the default directory for for nginx is /usr/share/nginx/html. It looks like that directory was created and there was ...
0
votes
1answer
16 views

mod_security installation not creating /usr/share/modsecurity-crs/

I have a server running ubuntu 14 lamp I´ve installed mod_security: apt-get install libapache2-modsecurity then decided to uninstall using this command: sudo apt-get remove ...
2
votes
0answers
16 views

Automatically build kernel modules after unattended upgrades in ubuntu

For automatic upgrades I has installed unattended-upgrades package and configured it. After each unattend kernel upgrade I must run following commands to recompile iscsi kernel modules: apt-get ...
-5
votes
1answer
22 views

Webdomain on my static public IP [on hold]

I want to create a web server using Ubuntu Server, so I have installed Apache php Sql ecc. Now I want to permit to visit my site on internet and I have token a static public Ip, but I want to have ...
9
votes
2answers
151 views
+50

Is there a way to know why a service is restarted and who did it?

Ubuntu 14.04 clamav 0.98.7 The problem is clamav-daemon is restarted nearly daily: Sep 1 06:30:00 x-master clamd[6778]: Pid file removed. clamd[6778]: --- Stopped at Tue Sep 1 06:30:00 2015 ...
0
votes
1answer
29 views

Postgres /root": Permission denied

why on ubuntu 14.10 every time that i try to start the postgres on: sudo -p 'sudo password: ' -u postgres /usr/lib/postgresql/9.4/bin/initdb -D /mnt/postgresql/9.4/data show this: could not ...
0
votes
0answers
23 views

Why I have a 302 redirect after changing SSL certificate?

I have a VPS with Ubuntu Server 14.04 and I installed GitLab with different sites served by Apache2. The GitLab version is Omnibus package 7.14.1. I had successfully configured GitLab with HTTPS and ...
2
votes
1answer
37 views

What's the difference between listing nameservers in /etc/resolv.conf and /etc/network/interfaces in Ubuntu 12.04?

I am deploying Ubuntu 12.04 VM's from a template using vCenter 5.5. When I try to add nameservers using a customization specification they are added to the resolv.conf file. The VM will not use these ...
1
vote
1answer
35 views

Many failed ssh logins even with password authentication off

There are some bots trying to ssh (hundreds per day) all my servers at digital ocean. On /etc/ssh/sshd_config I´ve set: PermitRootLogin without-password PermitEmptyPasswords no ...
0
votes
1answer
14 views

Aws - Ubuntu - Cron job not running

I have a aws ec2 server with ubuntu on it. I did the following to set my cron sudo crontab -e 15,45 * * * * ubuntu /usr/bin/wget -O /dev/null https://mywebsite.com/cron/ But its not running.
-2
votes
0answers
12 views

Errno socket error [closed]

Running Ubuntu 15 on windows 10 through vmvare. It seems it is general networking error. But I have no idea what could be triggered it or how to fix. Code: buildozer android debug Error: Traceback ...
2
votes
3answers
69 views

Scaling beyond 65k open files (TCP connections)

I have a requirement for my Ubuntu 14.04.3 LTS server to have >65k clients connected to it via TCP. Although I have memory & cpu to spare I'm unable to get more than 65k clients to connect. I ...
0
votes
2answers
24 views

Optimizing Apache + PHP 5

I have a dedicated Ubuntu box with a Plesk panel. My php files take a couple of seconds for the ttfb at random. Most requests are server lighting fast but after a couple of refreshes it waits very ...
0
votes
1answer
66 views
+50

How to select the best parent server automatically?

I have configured a squid proxy server which has many parent servers. I have distributed the load using round-robin but I don't like it. Most of the time only one or two servers are working out of 5.I ...
1
vote
1answer
10 views

ufw port forwarding not working

I'm trying to set up an ubuntu 14.04 server as a router that also does some port forwarding. I've got the router part working but cannot for the life of me figure out why the port forwarding isn't ...
0
votes
0answers
17 views

UFW - Set correct kernel params

As every system administrator does, one of the first things i did right after booting up my web server was install ufw and tune/set kernel parameters in /etc/sysctl.conf. By the way, this is my ...
-6
votes
2answers
53 views

Potential of a server [duplicate]

I was wondering, if I use an old home machine as a server - how many connections will I be actually able to support. I was able to calculate the connection's capabilities myself as it is quite simple. ...
-3
votes
2answers
45 views

How do I block SSH connections except those originating from within a /29 block of IP's or LAN? (CentOS 7 and Ubuntu 12) [closed]

I see thousands of failed login attempts on our servers and want to do what I can to prevent a successful one from the bad guys. I want to block anyone not originating from a /29 block we own from ...
0
votes
0answers
3 views

MAC changes back after 30 min or earlier [migrated]

I have lubuntu 14.04 system and need to change MAC for internet conncetion to work. I've done this: ifconfig eth0 down ifconfig eth0 hw ether MAC_ADRESS ifconfig eth0 up But repeatedly after 30 ...
-1
votes
0answers
4 views

Ubuntu hang up before login screen [migrated]

On my Ubuntu 14.04 x64/Win 8 dual boot system (traditional via grub), Ubuntu won't run any more... The boot process seems correct, but when the login screen is about to display (Ubuntu logo shown with ...
0
votes
0answers
38 views

apache2 service not restarting rails ubuntu

When I type: sudo /etc/init.d/apache2 restart ... or: service apache2 restart ... I get the following error: Job for apache2.service failed. See "systemctl status apache2.service" and ...
-2
votes
0answers
23 views

HTTP Tunnel like Webmin's [closed]

Is there a program like Webmin's HTTP tunnel with a web interface? The problem with Webmin's is that JavaScript and Cookies don't work properly. Any alternatives?
0
votes
1answer
61 views

Apache and php5 fail on ubuntu server

I update a PHP 5.5.28-1+deb.sury.org~precise+1 (cli) and have apache Apache/2.2.22 but when run a restart apache2 apache2: Syntax error on line 216 of /etc/apache2/apache2.conf: Syntax error on ...
1
vote
1answer
26 views

ssh from Server to Client through PPTP tunnel

I was able to set up a small PPTP VPN with a Server and two clients. All machines run Ubuntu 14.04. The connection works great and is reliable. I can ping all machines from everywhere. Also HTTP ...
-3
votes
0answers
26 views

Choose IP on server with ubuntu installed [closed]

I have a server which has ubuntu installed on it. The server has one IPv4 address and 99 IPv6 addresses. By default the IPv4 address is used. Link encap:Ethernet HWaddr 00:1c:42:e3:cb:33 inet ...
0
votes
0answers
127 views

(Zimbra)OpenLDAP SSHA512

So, our employees use the Zimbra OpenLDAP, however, since this doesnt include PosixAccount we cant automatically link it to our Synology. So my boss wanted me to create an OpenLDAP Database, and ...
0
votes
1answer
36 views

Netstat showing multiple connections for on ssh login

I connect to my server via ssh. I am the only person who has access to connect to the server. After connecting via ssh, I run the following command: sudo netstat -tupn The output includes the ...
16
votes
4answers
2k views

Is there a downside to installing VNC?

We have an Intel NUC in my university's language department that will soon host a web application used by faculty and students in the department. The NUC runs Ubuntu (14.10). I'm comfortable with the ...
-1
votes
1answer
30 views

How to open rails on port 80 in ubuntu [closed]

I have rails installed on a user on my server but not on the root user. I have full access to the root user however when I attempt to run my rails server on port 80 on the user it specifies I need ...
1
vote
1answer
19 views

Installing postgres 9.4 on ubuntu with a non-default database directory

I am trying to install and set up postgres 9.4 on ubuntu 14.04. What is the best way to install postgres whilst ensuring all created tables and databases (and anything else that could potentially ...
-1
votes
0answers
23 views

Error deployment of project via deploy.sh script [closed]

I need help. I have script for deployment my project on Ruby. #!/bin/sh if [ $# -eq 0 ]; then echo "Usage:" echo " ./deploy.sh some_stage_name" else rvm use `cat .ruby-version`@`if [ ...
2
votes
1answer
55 views

Connections Timed Out - Tomcat

I'm having a problem with Tomcat: On a clean install, connecting to [ip-address]:8080 times out. I have seen many similar questions and tried basically everything there, with no success. But here is ...
1
vote
0answers
36 views

Ping not reaching in OpenVpn clients to subnet and vice versa

I have a vpn server which is connected to vpn client having ip 10.30.0.x now. I want it to able to ping another private client connected to vpn server. Please note that other private client is private ...
1
vote
2answers
34 views

Transfer whole Linux system and grub settings to 2nd drive?

I have system partition on /dev/xvda1 (slow disk) and just added SSD attached as /dev/xvdb. How to fully transfer Linux system to /dev/xvdb and retire /dev/xvda1 without using the console? Transfer ...
1
vote
0answers
22 views

rsync crashes machine while performing sync on glusterfs mounted share

I am running ubuntu 14.04 as guest inside virtualbox 5.0.3 on OS X. While performing rsync on a glusterfs (3.7.x) mounted share with over 100.000 files, the entire machine crashes. There is one ...
0
votes
2answers
41 views

Failed to start stunnel4 on Ubuntu 15.04

I get the following error starting stunnel4 service on Ubuntu 15.04: root@scw-d91ec7:~# service stunnel4 start Job for stunnel4.service failed. See "systemctl status stunnel4.service" and "journalctl ...
0
votes
1answer
50 views

Mount NFS volume on Ubuntu Linux server from Mac OS X Yosemite client [on hold]

I have an Ubuntu 14.04 LTS server (a local VM in my case). How do I mount a directory on the Linux server from a Mac OS X Yosemite client, using NFS?
0
votes
0answers
8 views

Error starting a VirtualBox instance inside an Ubuntu VirtualBox instance [migrated]

I am trying a Microservices demo that uses Vagrant to start up a VM and deploys software to the started machine. Because the demo is set up for Linux and I am using Windows (8.1 Pro), I am running ...
-1
votes
0answers
20 views

How to collect ubuntu system's versions via push model on the local network? [closed]

We use different Ubuntu versions and sometimes several OSes on the workstations. Also we can use Windows installed along side Ubuntu. Sometimes machines cannot be queried for an installed system ...