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
1answer
17 views

Prevent TCP Connections from Timing out on Restarting Service

On Ubuntu 14.04, an app communicates with clients at intervals of about 1 per sec to 1 per min. However the service have to be restarted regularly and this causes all the connections to drop/timeout. ...
0
votes
1answer
45 views

How to configure sendmail properly with PHP on EC2 (no SES)?

I have been struggling with sendmail for couple of days with no luck. I am trying to setup relay host, after following the answers in this question ...
-2
votes
1answer
44 views

Why I am not able to ssh as root?

root@web04:~# ssh -v -i.ssh/id_rsa root@11.11.11.4 OpenSSH_5.9p1 Debian-5ubuntu1.4, OpenSSL 1.0.1 14 Mar 2012 Warning: Identity file .ssh/id_rsa not accessible: No such file or directory. debug1: ...
4
votes
1answer
39 views

ssl certificate installation on tomcat

I am trying to create a new certificate for my scala play framework on ubuntu but I cannot import my key with keytool. I haven't been able to figure out what is causing it so I thought I'd see here if ...
0
votes
0answers
35 views

How to access atomia DNS web app over public IP?

Don't know if anyone here used Atomia DNS but after installing everything and trying to access web app over public IP and port that Atomia uses, nothing happens. I get "This webpage is not available". ...
0
votes
1answer
48 views

CIFS mount in fstab succeeds on IP, fails on hostname written in /etc/hosts

I wonder why my Ubuntu Server 14.04 LTS has problems resolving a hostname from fstab. I tried to mount the following entry: //NAS-5h2-20/backuppc/ /mnt/backuppc cifs ...
0
votes
1answer
41 views

how to install lafilefixer in ubuntu

I am getting following error while installing freeswitch on Ubuntu. libtool: link: cannot find the library /usr/src/freeswitch/libs/apr-util/xml/expat/lib/libexpat.la' or unhandled ...
0
votes
1answer
83 views

FTP via vsftpd not working on Amazon EC2 Ubuntu 14.04

I'm trying to get FTP access to my EC2 instance. I've run through a few guides and still nothing is allowing me to gain access over port 21. I've opened ports 20, 21, 22, 80, 1024-1028, 50000 - 51000 ...
0
votes
1answer
30 views

Ubuntu IPv6 port redirect using ufw

I'm trying to configure port redirection from port 80 to 8080 on server with both IPv4 and IPv6 support. The OS is Ubuntu 14.04 with the 3.2* series kernel. It is a production server, so I don't want ...
1
vote
3answers
115 views

What is the Ideal value for Worker Processes in Nginx Config?

I have 31GB RAM 8 Core Web Server with current load of 3k per min. Currently worker_processes parameter in nginx config is 4 which as per my understanding means only 4 cores would be used. But when I ...
-1
votes
1answer
48 views

Fixing partition table after writing 0s to beginning

I have a sw raid10 setup like: /dev/sdX > partition /dev/sdX1 > raid md0 > lvm > fs. I'm an idiot, and wrote 4gb of 0s to /dev/md0 with dd dd if=/dev/zero of=/dev/md0 bs=4k count=1000000 ...
1
vote
1answer
58 views

Weird syslog order

Have you ever seen wrong order in /var/log/syslog ? I think that it causes only crontab. Jun 28 22:20:01 alex CRON[2327]: (root) CMD (something > /dev/null) Jun 28 22:21:01 alex CRON[2700]: (root) ...
0
votes
1answer
22 views

How can I set the default permissions for files uploaded by apache2?

When I upload files through php, it writes the file with the permissions 644 (-rw-r--r--). I have my /var/www/html folder setup with setgid, so that all files uploaded are set to a group that should ...
1
vote
3answers
47 views

How to log multiline message with logger command?

I want to log a multiline message into the system logger via the commabnd echo -e "foo\nbar" | logger But it appear as 2 logs. Is it possible to log as a single log?
0
votes
2answers
65 views

What should I set in postfix's myhostname / mydestination?

I am using Ubuntu, on a web server need to send out email (via sendgrid), this server never receive any external email, and I've the following hostname settings /etc/hostname = example /etc/hosts = ...
0
votes
1answer
22 views

Upstart init task

Here is my use-case. I have a long running server that is started by upstart. This server needs to be initialized first (populate tables in a db). This should only happen once in the life of the ...
0
votes
2answers
31 views

ubuntu 12.04 long term monitoring

I´ve a Ubuntu 12.04 server with a lamp stack running. I´m fighting with ressource scoring scripts (f.e. php scripts generating excel files). I´ve googled a lot of software but couldn´t find a fitting ...
3
votes
1answer
21 views

Exim4 crypteq with MySQL lookup always fails

I got an Exim 4.80 server on Ubuntu 14.04. I want to switch from Dovecot Auth to MySQL. The passwords are stored as crypt (with sha256, beginning with $5$). The expansion looks like this: ...
3
votes
1answer
157 views

Upstart: Why two processes when running as a different user?

I want to keep a nodejs app running, so I followed this: http://howtonode.org/deploying-node-upstart-monit and installed Monit and Upstart which have been working perfectly for a couple of months. I ...
0
votes
1answer
26 views

Linking to items outside of the web root

Here is how the directories are laid out on my server (I inherited this and cannot change at the moment) - /var/www/<stuff for the web> /home/project/src/static/<some CSS, some JavaScript, ...
0
votes
1answer
48 views

Why is received mail stored in ~/Maildir and sent mail in ~/mail?

So I setup my mail server eons, and I'm doing maintenance on it right now and I'd figure I'd fix a few things with it that's bugged me forever. Mainly, I'm trying to move all the mail storage into a ...
-1
votes
0answers
27 views

DHCPREQUEST Operation not permitted

I am configuring iptables on a Ubuntu 14.10 VPS. However, I am having a few issues with the following: Jun 25 08:28:23 www dhclient: DHCPREQUEST of 1.2.3.4 on eth0 to 2.3.4.5 port 67 ...
0
votes
0answers
16 views

Installed 14.04 Ubuntu desktop ..want to upgrade kernel [migrated]

Whenever I boot into this OS, Im encountering lot of bugs which are making the system unstable and stop functioning. I have frequently found this error bug soft lockup - cpu#0 stuck for 22s ...
-1
votes
1answer
29 views

Installing linux-headers-2.6.32-042stab085.20 [closed]

I am trying to install virtualbox-4.3 on a VPS hosting which has Ubuntu 12.04 and kernel version : uname -r ==> 2.6.32-042stab085.20 When I try to install it, I get the following error: Trying ...
0
votes
0answers
19 views

Why MegaCli always returns blank?

Similar to this question (MegaCLI always returns blank output) with some differences. I am using perc h710p raid controller on Dell Ubuntu box. I download 1.01.39_Linux_Cli.zip (according to ...
0
votes
1answer
69 views

Unbuntu 14.04 + Nginx + PHP5-FPM + sqlite3 : pdo sqlite could not find driver

phpinfo() says I have SQLite 3.x driver for PDO. php.ini only mentions sqlite like so: [sqlite] ; http://php.net/sqlite.assoc-case ;sqlite.assoc_case = 0 [sqlite3] ;sqlite3.extension_dir = I ...
0
votes
1answer
30 views

Postfix and MySQL configuration

I have the problem with configuration of Postfix on my server. I have been used this link like tutorial for creating and configuration Postfix. ...
0
votes
2answers
26 views

Why can I not connect to jetty webserver on Ubuntu within AWS EC2 instance

Unable to connect from my webbrowser to my Jetty Server running on Ubuntu Linux SMP in Amazon Webservices EC2. I can connect using localhost whilst logged in from the machine itself i.e curl ...
3
votes
0answers
33 views

How do I use colors in the MOTD? [migrated]

I edited the default /etc/update-motd.d/00-header, adding some color to make it easier to read: printf "Welcome to \e[1;34m%s\e[0m \e[2m(%s %s %s)\e[0m\n" "$DISTRIB_DESCRIPTION" "$(uname -o)" ...
-1
votes
0answers
20 views

ubuntu server slow after ssh not logined in

I have a server installed ubuntu 12.04 LTS server edition. Nginx + php + mysql is installed on the server. When ssh is logined, the responsive time of the server is okay, but when i have not logined ...
0
votes
1answer
34 views

Webmail is “Unable to make a secure connection to the server”

I am configuring a Ubuntu14/NGinX server and almost everything is up and running (phpmyadmin, ispconfig, etc). I installed Dovecot/Postfix/Squirelmail to establish a mailserver. I followed the ...
1
vote
2answers
62 views

ZFS RAID0 pool without redundancy

I created a ZFS pool on Ubuntu 14.04 without specifiying RAID or redundancy options, wrote some data to it, rebooted the machine and the pool is no longer available (UNAVAIL). I don't have the exact ...
1
vote
0answers
19 views

Two port PCI serial card. One port can only set baud rate once

I have a new PCI serial card, being used on a Ubuntu 14.04 box. It's serial ports show up as /dev/ttyS4 and /dev/ttyS5. $ dmesg | grep ttyS [ 0.732690] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, ...
1
vote
1answer
63 views

Exit code 126 from SFTP

I've been notified that SFTP access is no longer working on an Amazon EC2 server running Ubuntu. I had done some work creating SFTP access for other users on this server. The limited user access is ...
0
votes
1answer
32 views

Ubuntu Apache2 server appears to reject a certain domain name

I am using a Apache2 installed on Ubuntu 13.04 Raring Ringtail to host a small wallpapers website. Originally I used osgwallpapers.servepics.com from no-ip.com for my domain name. Now I'm trying to ...
1
vote
1answer
23 views

apt warnings with HP SDR/MCP repo on Ubuntu

I'm using the HP SDR system (MCP specifically) for Linux packages to manage the HP hardware RAID, iLo, etc. The kernel drivers for the hardware are upstream, so these are just management utilities. ...
0
votes
1answer
35 views

grub2/initramfs disaster recovery

One of my ubuntu 12.04 is a vm on vmware ESXi host. It has separate boot and root partition. One developer did fsck on the live root partition by mistake and this vm can only boot to initramfs mode ...
0
votes
0answers
17 views

cannot setup memcached with sasl

I was following http://www.shanison.com/2014/04/29/setup-memcached-with-sasl-authentication/ with memcached SASL setup. I did not install memcached from source because -S worked without any error. I ...
0
votes
0answers
26 views

Can't mount bin/iso image from AWS import/export service

A client sent a 2 TB drive to AWSs import/export service; AWS put it in an S3 bucket in two chunks. I catted the two chunks together as an iso file, and tried to mount it, using the directions listed ...
0
votes
1answer
143 views

How to make openssl s_client using default CA

is there a way to configure openssl so that it would use some default CA file (ex./etc/ssl/certs/ca-certificates.crt) when running s_client command with no -CAfile option specified?
0
votes
1answer
75 views

ubuntu PostFix + Dovecot mail server

/log/mail.log Jun 23 10:38:05 mail postfix/smtpd[60639]: connect from mail.faisal.asia[127.0.0.1] Jun 23 10:38:05 mail postfix/smtpd[60639]: disconnect from mail.faisal.asia[127.0.0.1] Jun 23 ...
-1
votes
0answers
20 views

How can I execute shared files with apache server on VMware Fusion [migrated]

I shared my folder with php scripts, located on my mac with Ubuntu 14.04 deployed on virtual machine VMware Fusion 6.0.3. But when I set apache DocumentRoot to this shared folder and run it with ...
0
votes
1answer
28 views

mongod won't run without me specifying my own conf path

I recently upgraded my apt-get and now mongod isn't behaving correctly. I currently have to run via: mongod --dbpath /var/lib/mongodb and leave the terminal open for it to work. If I just run ...
0
votes
1answer
54 views

How to use both bonding and bridge?

I have a server with two network adapters. I configured bonding and it works. Here's the working configuration: auto lo iface lo inet loopback auto eth0 iface eth0 inet manual bond-master bond0 ...
1
vote
2answers
62 views

EC2, Ubuntu: Serious time difference between servers

Some of my tests on EC2 servers began failing. When I dug in, the reason was serious time mismatches between my servers: Sun Jun 22 14:43:43 UTC 2014 # Laptop Sun Jun 22 14:46:36 UTC 2014 # Server ...
0
votes
1answer
29 views

Configuring Apache with Django

I'm trying to configure Apache with Django. Everything is working except the admin panel. It's static files are not loading. The documentation talks about different ways of doing it but none are ...
1
vote
2answers
95 views

nfs4 and kerberos: Wrong principal in request

My client/servers are both running Ubuntu 14.04 and kerberos user authentication works as intended. regular nfs4 mounts also work fine. All machines are running heimdal libraries. I haven't been able ...
0
votes
1answer
53 views

Ubuntu server Cannot write to '' (No space left on device) [duplicate]

I'm running a Ubuntu server and this evening since rebooting it I am not getting the error message Cannot write to '' (No space left on device). Earlier I did unzip a large directory in to /root ...
0
votes
0answers
21 views

ATEN IP8000 Ubuntu Support

I'd like to know if there have been any successful use of the ATEN IP8000 with Ubuntu. I'm aware the official page doesn't list Ubuntu as a supported OS, but I'd like to know if it's still possible ...
0
votes
1answer
40 views

Different technologies for syncing with server

Well, I'm currently teaching DB in a course in University. Students had already gone through advanced programming (this includes torturing them through a whole semester with massive projects, they ...