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.

2,983 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
242 views

Centos lxc container won't start on Ubuntu 14.10

I am trying to run Centos containers in Ubuntu 14.10 Utopic and also Ubuntu 14.04 trusty. I created the container in several different ways and no matter what it won't start and spits those lines: # ...
2
votes
0answers
1k 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 ...
2
votes
0answers
95 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 ...
2
votes
1answer
1k 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 ...
2
votes
0answers
1k views

mounting subdirectory with mount.cifs gives permission denied, but gvfs works

On a windows file share we have a user "drone" who is given read write permissions to ONLY access a subfolder "child": /SHARE/parent/child But is not given read/write access to "parent" (however is ...
2
votes
1answer
884 views

Creating a virtual network for KVM guests spanning multiple host machines

I have 5 physical machines running Ubuntu 14.04, all of them are together in a network. These all have static IP addresses. Each of these machines has 1 to 4 virtual machines via KVM/QEMU running ...
2
votes
1answer
1k views

apt: list required dependencies for deb package without installing it

For a build tool I'm writing (for which I'd like to implement a sort of dependency-caching system) I'd like to know what the missing dependencies for a .deb package are, without resorting to ...
2
votes
2answers
873 views

How to add disk back to RAID and replace removed

Received a message that RAID went into degraded state: Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md0 : active raid1 sda1[0] sdb1[1] 524224 blocks [2/...
2
votes
1answer
718 views

How do I download a new Ubuntu release without installing it?

I want to upgrade - in this case, from Ubuntu Trusty to Vivid (going through Utopic if necessary) but I'd really rather do the upgrade in two parts, doing a dry run to get all the packages locally ...
2
votes
0answers
223 views

Postgresql initscript can't find pg_ctl after upgrading an ubuntu server to 15.04

I upgraded my Ubuntu server first from 14.04 to 14.10 and all went fine. Then I upgraded it to 15.04 and on boot it now gives the error: start-stop-daemon: unable to stat /usr/bin/pg_ctl (no such ...
2
votes
0answers
367 views

“Centralized” fail2ban only banning attacks to local host

I'm trying to run fail2ban on the rsyslog server that gathers auth logs from the rest of our servers. I'm interested on getting notifications working as a first step. My problem is that fail2ban only ...
2
votes
0answers
328 views

NFS randomly mounts wrong server

I have run into a problem with NFS which has me baffled. I can't even come up with a plausible explanation for it. I have ten machines: slave1 (10.0.0.10) - slave10 (10.0.0.20) Each one runs NFS ...
2
votes
1answer
218 views

Can't run binary executable on Ubuntu 12.04

I get the following error: ./cataclysm: command not found when trying to run this executable on a Linux server over SSH. when I run ldd cataclysm, I get: linux-gate.so.1 => (0xf7759000) liblua5....
2
votes
1answer
1k views

start-stop-daemon not working as expected

I can't figure out why start-stop-daemon is not running the script below. What am I doing wrong? start-stop-daemon reports that it will start node when using the --test flag, but when I actually run ...
2
votes
1answer
462 views

vsftpd freezes after failed pam_script authentication

I have an Ubuntu 14.04 server with vsftpd and pam_script installed using apt-get. I've configured vsftpd to use pam_script for virtual user authentication and my /etc/pam.d/vsftpd file looks like this:...
2
votes
0answers
1k views

Ubuntu apt mirror repository with debian-installer

I am trying to make a mirror of the ubuntu 14.04 repository that includes all the files necessary to be able to be used as a source repository during Ubuntu 14.04 server installation. I had my apt-...
2
votes
0answers
704 views

Why is this nginx www redirect not working?

I'm having trouble with www redirects on an nginx server. The server is running 2 sites: example.com and blog.example.com. Server config: nginx/1.4.6 (Ubuntu) Ubuntu 14.04.1 LTS Relevant DNS ...
2
votes
0answers
1k views

OpenLDAP TLS - test results in Bad file descriptor

I have set up an openldap server including tls on ubuntu 14.04 following this guide. While testing the connection, I get results that I can not find an explanation for. ldapsearch -xLLL -Z -W -D cn=...
2
votes
0answers
185 views

Openstack Auto-Pilot - No Hardware Zones / Physical Zones Listed in Landsacape

Following the instructions available here I am at the final step of the landscape / autopilot install. The pre-configure checklist shows everything is good, but when I click configure there is no ...
2
votes
0answers
655 views

jinfo for java-7-openjdk-amd64

I am trying to check my memory settings currently in use with tomcat via jinfo on Ubuntu. However when running jinfo -flags <PID> against the tomcat PID, I get the following error: $ sudo ...
2
votes
0answers
2k views

FreeRadius Error reading /etc/freeradius/huntgroups

I've configured freeradius to use sql, everything was working fine, I was doing some tests with the users, and suddenly I cannot start the debugger because of this error : rlm_preprocess: Error ...
2
votes
0answers
427 views

Nginx error on installing vestacp

I am trying to install vestacp on fresh dedicated server running ubuntu14.04 with nginx installed, however i have tried to remove this using... sudo apt-get remove nginx sudo apt-get purge nginx ...
2
votes
0answers
250 views

nagios mysql check using unexpected user after upgrading from ubuntu 12.04 to 14.04

I had Icinga monitoring my network. Everything was working fine. After upgrading from ubuntu 12.04 to 14.04, MySQL monitoring started reporting problems. I discovered that nagios check_mysql always ...
2
votes
0answers
923 views

Upgraded Postgresql from 9.1 to 9.4 on Ubuntu and now extensions are looking in the wrong folder

When I run CREATE EXTENSION "uuid-ossp"; I get ERROR: could not open extension control file "/usr/share/postgresql/9.1/extension/uuid-ossp.control": No such file or directory The extensions ...
2
votes
1answer
820 views

ps_mem.py vs top - memory usage?

Every now and again my apache server is crashing, getting an error saying the MaxClients has been reached. In my research I've gained the impression that I may be running out of memory (just checked ...
2
votes
0answers
685 views

NGINX using 100% of the server CPU when testing with Blitz.io

I'm facing an issue here and after four days of looking around I decided to ask for some help here, after all a million heads can think a lot better than one. I have a Ubuntu 14.04 server setup with ...
2
votes
1answer
9k views

“More than one MPM loaded” when trying to start apache on Vagrant Ubuntu box

Whenever I try sudo apache2ctl start I receive the following message: AH00534: apache2: Configuration error: More than one MPM loaded. Action '-k restart' failed. The Apache error log may have more ...
2
votes
0answers
1k views

Ubuntu on EC2 boot error after dist upgrade to 14.04: disk drive for / is not ready yet or not present

I just upgraded my Ubuntu 11.10 EC2 instance to 12.04, then to 12.10 and finally to 14.04 using the do-release-upgrade command each time. I arrived at 14.04 and the instance will not boot now, it ...
2
votes
0answers
778 views

OpenVPN server with BIND 9 DNS on AWS. Linux client cannot resolve host names

I have an OpenVPN server set up and working on an AWS Debian instance. It works as it should but I want to push DNS queries to Linux clients from BIND 9 which is on the same server as OpenVPN. All ...
2
votes
1answer
335 views

How to find list of php files being run on my web server

Mine is Ubuntu VPS and all my sites are CMS based(Drupal, Wordpress etc) which run thru index.php. My account has been hacked several times using some exploits by placing a php files and executing it....
2
votes
0answers
950 views

LDAP authentication, pam_mkhomedir and NFS automounted homes

We currently have a setup (running on Ubuntu 14.04 LTS) with mixed LDAP/NIS authentication and automounted home directories from several servers (with the auto.home map distributed over NIS). ...
2
votes
2answers
631 views

Can't disable password prompt for ssh

I try to disable password login for a user using ssh. Here's my /etc/ssh/sshd_config file # Change to no to disable tunnelled clear text passwords PasswordAuthentication no # Change to yes to enable ...
2
votes
0answers
68 views

Dovecot not attempting authentication

I am in the early stages of migrating an OS X mail installation (UW imapd/Exim/mbox) to a Ubuntu cloud VM using Dovecot/Exim/Maildir. I am starting simply: Exim is running fine, receiving mail and ...
2
votes
0answers
7k views

Basic auth not working in Apache 2.4

I know it seems a simple task and I did it many times for Apache 2.0-2.2 but in 2.4 config doesn't work. I am trying to configure basic auth for directiry: <Directory /var/www/html/docs> ...
2
votes
0answers
2k views

dmidecode /dev/mem: mmap: Operation not permitted

I am trying to get my BIOS firmware version, and memory info using dmidecode. I am connected to the server through ssh as a root user. We recently just started moving our servers from Debian 6.0, to ...
2
votes
0answers
866 views

cron.weekly runs on wrong day of week on Ubuntu

I have this line in my /etc/crontab: 47 6 * * Sat root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly ) So the cron.weekly should be started every Saturday ...
2
votes
0answers
1k views

Nginx error: “File not found”…coming from someone else's domain

I set up nginx to serve from an Ubuntu EC2 instance a few days ago, and today I checked the error logs when I encountered 504 after 504 in the browser. I found the following in my error.log: ... open(...
2
votes
0answers
550 views

HBase issue with *some* regionservers connecting

I have an HBase cluster that is working, and I'm attempting to add some new servers to the cluster, but "SocketException: Invalid argument" and "FailedServerException: This server is in the failed ...
2
votes
0answers
879 views

Slower VM Performance for Headless Browser Tests on Xeon

I created a virtual machine on my desktop to run our continuous integration process. After I was happy with it, I moved the VM (keeping the same configuration) onto our server where I found that the ...
2
votes
0answers
2k views

Print directly to CUPS server from non-local clients (Ubuntu 14.04)

I set up a CUPS server with a few queues and printing from local clients (the CUPS test page and Samba) seems to work just fine. It seems like the CUPS server is denying non-local clients though: ...
2
votes
0answers
3k views

Ubuntu 12.04/14.04 - apt-get 404 Not Found [IP: local-dns-server-ip 80] through proxy

I am trying to setup an ubuntu server (12.04 or 14.04) and have installed the server image onto the system I am using. Everything works fine until I try to run sudo apt-get update. When this runs, I ...
2
votes
1answer
1k views

Varnish + Pound on Apache 503 Errors

I'm getting a lot of seemingly random 503 Service Unavailable errors on my Varnish + Pound setup on Apache. I have no idea where to start or what the problem is. I've searched the web a ton and all ...
2
votes
0answers
734 views

OpenSwan + AWS + Ubuntu 14.04 - Cannot reach server

i'm currently trying to set up a VPN in order to login into a private subnet hosted on AWS. The target host has Ubuntu 14.04 and installed OpenSwan. I've setup ipsec.conf, ipsec.secrets, xl2tpd.conf, ...
2
votes
0answers
3k views

uwsgi complains about python application not found

looks like quite common with uWSGI application, but still can't find any valuable solution. I ma working on ubuntu 12.04 with uwsgi 1.0.3 and python2.7 Here is my config.ini file: [uwsgi] uid = ...
2
votes
1answer
747 views

Understanding a quick SOCKS proxy

Synopsis Essentially I would like to set-up a proxy for YIM!. The reason for this is my office is within a shared office block with other companies, thus meaning the main office is blocking certain ...
2
votes
0answers
3k views

nginx service won't start after reboot + won't give output for service nginx status or start

A few weeks ago I configured an ec2 ubuntu server for my rails app. everything worked great. the database is on RDS and I use nginx and passenger for the rails app. anyway everything worked great ...
2
votes
1answer
484 views

Redirecting app log to rsyslog in upstart script

I have an upstart script that does the following start on runlevel [2345] stop on runlevel [06] respawn pre-start script exec >/dev/kmsg 2>&1 REPO=git@github.com:blabla/bli ...
2
votes
0answers
496 views

RabbitMQ start failure

I am trying to start RabbitMQ Server. And any way I do this, I get this error: Starting rabbitmq-server: FAILED - check /var/log/rabbitmq/startup_{log, _err} rabbitmq-server. invoke-rc.d: initscript ...
2
votes
0answers
3k views

Does AWS EC2 have limits on concurrent connections?

No matter what I do to my EC2 instance, any size and with apache/ubuntu. I can't get it to go over 1400 concurrent connections. Have set the prefork settings high, set ulimit to 1000000 Is this ...
2
votes
0answers
56 views

Change the logical volume

I am quite new this snapshot process. Let, I have three logical volumes as A, B, C. I worked on logical volume C. But accidentally when I restart the system, it goes to the snapshot A. How can I ...