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)

3
votes
1answer
13 views

Properly ordering shutdown of MySQL and iSCSI on Ubuntu Lucid

I'm running MySQL on an Ubuntu 10.04 server, with the MySQL $datadir located on an iSCSI volume. The filesystem is tagged with "_netdev" in /etc/fstab. On system shutdown, upstart sends MySQL a ...
0
votes
0answers
9 views

Show units when doing dstat -n

Question is simple as, when i do dstat -n i get what I assume to be a unit in bytes? But i would like a way to force the units into Mb/s or for it to simply tell me the unit it is displaying. Is there ...
0
votes
1answer
14 views

Can I control chrome on headless ubuntu?

Probably a silly question, but wondering if I can control chrome-beta from the command line outside the running application, maybe through a stdin pipe or something? Basically, I'm using an Ubuntu ...
1
vote
1answer
9 views

Where to install custom apps and data following FHS

This is something that has always confused me. Where do I install custom apps that are written by my team? Apps like report runners, queue->database writers, etc. i.e. the apps that are the reason the ...
1
vote
2answers
1k views

403 with Apache and Symfony on Ubuntu 10.04

I'm trying to run symfony on my apache installation (I'm using xampp for the whole package) and it keeps giving me a 403 error every time I try to access my website. I've got vhosts set up with the ...
-2
votes
1answer
17 views

Ubuntu server crashing frequently

i hope you can help me. i am running an ubuntu 12.04 server which i am using as a web/sql server. the server was running fine for month but now since two weeks the server is crashing almost every ...
0
votes
0answers
18 views

Changing document source root on nginx + hhvm?

I'm tring to configure hhvm and nginx to work on php files at /home/ubuntu/www/www.mysite.com directory first i installed hhvm and nginx from apt get and it's works fine from default directory then ...
-1
votes
0answers
10 views

Site crashes on mobile devices when is called via domain

I try to set up website. Everything works well on PC or Mac, but when I try display my website on my iPhone or Android device there is a problem. Website is not displaying correctly and after few ...
0
votes
1answer
21 views

Configuration for Ubuntu SELinux with sshd

I am trying to set-up SELinux in an Ubuntu Trusty server, who is an Amazon EC2 instance. I followed the Debian documentation about installing SELinux. The installation work well as seen by : ...
5
votes
2answers
952 views

NPM not installing dependencies?

Having trouble getting NPM to install dependencies with npm install -d in my project directory with a defined package.json file. Here's my package.json: https://gist.github.com/3068312 And after ...
0
votes
1answer
17 views

What does this message 'locale: Cannot set LC_CTYPE to default locale: No such file or directory' mean?

Whenever I do an apt-upgrade on Ubuntu I get this message repeatedly. What do they mean and what needs to be done to remove them? locale: Cannot set LC_CTYPE to default locale: No such file or ...
0
votes
2answers
40 views

My ubuntu server won't allow loopback wget

I have the following rules on my Ubuntu Server 14.04: #!/bin/sh # Flushing all rules iptables -F iptables -X # Setting default filter policy iptables -P INPUT DROP iptables -P OUTPUT DROP iptables ...
1
vote
4answers
2k views

Having an issue trying to get Gigabit speed across my network (Ubuntu Server)

I've just started looking into the network speeds at my office, the entire network is setup to be "Gigabit". This includes Gb switches, Gb Network cards and Cat 5e cabling. I'm not expecting the full ...
1
vote
2answers
719 views

Using Rsync to backup a Windows Share

I have a Windows 7 box that I want to back up to an Ubuntu machine. I have mounted a Windows share on the Ubuntu box (using CIFS/Samba), and I want to use a cron job to rsync what's on the mounted ...
2
votes
2answers
832 views

Juniper Network Connect and Ubuntu

I'm trying to install the Juniper Network Connect client on Ubuntu -- I'm wondering if any seasoned network admins or otherwise knowledgeable individuals know if it's possible for me to download the ...
0
votes
0answers
32 views

Postfix - forcing to check MX records to send mail

Here's the issue. We are setting up a new Web Sever and Email server on Ubuntu using Zpanel software. The domains we host have already been moved over. Likewise email accounts for each domain have ...
0
votes
0answers
4 views

move mdadm raid to new system [migrated]

Have a 4-drive Ubuntu mdadm raid in a system whose mother board died. I tried putting the 4 drives in another system with a different motherboard, but when it came up it only saw one drive and I ...
0
votes
0answers
12 views

Setting Samba passwords using Chef without storing plain text passwords in data bags

We have a server that is configured using Chef. Currently, the way that chef manages the passwords is by simply copying down the samba tdb databases and updating the shadow hashes of each user. ...
-2
votes
0answers
20 views

Best Cpanel like Admin tool to use for a Dedicated Server [on hold]

I'm looking for a tool like CPanel, for simplified GUI Server Management. I want to install it on a Server i'm getting from Digital Ocean. I need guide on the best one to use, that's free with little ...
12
votes
11answers
6k views

What creates CPU I/O wait but no disk operations?

I have CPU I/O wait steady around 50%, but when I run iostat 1 it shows little to no disk activity. What causes wait without iops? NOTE: There no NFS or FUSE filesystems here, but it is using Xen ...
0
votes
3answers
2k views

Change php error reporting to hide warnings for specific site only [Debian|Ubuntu]

Imagine a couple of sites-enabled available from /etc/apache2/sites-available. (Only Debian-based distros work like this.) Is it possible to mute warning messages from php scripts from a specific ...
0
votes
0answers
13 views

Machine Check Exeption

I got a Machine Check Exception error earlier, Does this mean my CPU is corrupt? What is the problem here? I keep getting this error randomly and the system shuts off.
0
votes
1answer
312 views

Error initializing VNC client in Guacamole

I am trying to allow remote desktop connection to users on a LAN to a machine running Ubuntu 14.04. I have setup Guacamole (using these instructions) and I am able to connect to the web-application, ...
0
votes
1answer
1k views

Trying to install pdo_oci via PECL fails asking for PDO extension

I'm using Linux Mint 11 (based on Ubuntu 11.04) and I need to use PHP with Oracle through PDO, a requirement of the framework we will work with. I've installed various PDO extensions using the normal ...
3
votes
3answers
76 views

Is there a mailing list or a programmatic way to determine a new Amazon EC2 AMI has been released?

We would like to ensure we are always running the latest version of the Amazon EC2 AMI to keep our OS running the latest security updates. Currently to determine the latest release we are scraping ...
0
votes
1answer
26 views

How to enable swap with salt stack?

How can I create and enable permanent 1GB swap file with salt stack that will work after reboot? salt.states.mount.swap does not allow to define swap size. Furthermore I need to define swappiness. ...
1
vote
1answer
119 views

Duplicate iptable rules

I have this iptable rules: -P INPUT ACCEPT -P FORWARD ACCEPT -P OUTPUT ACCEPT -N fail2ban-ssh -A INPUT -p tcp -m multiport --dports 22 -j fail2ban-ssh -A INPUT -p tcp -m multiport --dports 22 -j ...
1
vote
0answers
24 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 ...
0
votes
1answer
21 views

ctrl+D not working in mail

I am trying to test the mail capabilities of my server. I simply do this mail -s "This is a test" myemail@domain.com, then it prompts me for Cc: then the body. After typing I am hitting Control + D, ...
0
votes
1answer
27 views

Cannot install puppet because of unmet dependencies

I'm trying to install puppet on a fresh ubuntu 14.04 machine but I get the following error Some packages could not be installed. This may mean that you have requested an impossible situation or ...
0
votes
3answers
1k views

Cannot get SSL working with Apache

Ok, so I'm trying to configure my server to accept SSL connections and I cannot get it working. I'm aware there are a lot of similar questions on the site, but each one I have come across so far ...
0
votes
1answer
738 views

Apache2 configtest segmentation fault

For whatever reason I managed to mess up Apache quite bad (Ubuntu 12.04). The output below complains about configtest failing and a segmentation fault. However, I can't find anything in ...
1
vote
3answers
2k views

Rails + Nginx + Unicorn multiple apps

I get the server where is currently installed two apps and i need to add another one, here is my configs. nginx.conf user www-data www-data; worker_processes 4; pid /var/run/nginx.pid; events { ...
3
votes
1answer
24 views

ufw cancel port forward

On Ubuntu server 14.04, I enabled ufw port forwarding from 80 to 8181 (tcp) by using the checked answer on Can I use ufw to setup a port forward? Finally I'd rather proxy http request using apache2 ...
-1
votes
0answers
14 views

Building PHP 5.3 lack of php-cgi binary, Ubuntu 12.04

How to build PHP 5.3 I used that as below to config then make all install successfully but later I don't have /usr/local/php5319/bin/php-cgi file, what am I doing wrong? Ubuntu 12.04 Same configure ...
0
votes
1answer
31 views

Connecting to MongoDb at EC2 - how do I know username, host, port, ect?

I manually installed MongoDb on EC2 micro instance using this http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/ Now I need to connect to it from a Rails application. Where do I find ...
30
votes
4answers
20k views

ubuntu apache: httpd.conf or apache2.conf?

which one of these 2 files should i use to configure apache? the httpd.conf is empty while apache2.conf is not. it confuses me!
0
votes
1answer
26 views

Cannot open samba ports on Ubuntu 14.04

I'm newbie to linux firewalls root@Ubntu:~# ufw status verbose state: active logging: on (low) Default: deny (incoming), allow (outgoing), disabled (routed) new profiles: skip 137,138/udp (Samba) ...
2
votes
1answer
68 views

Ubuntu server not booting due to (possible) disk mounting problems

I have a server running Ubuntu 14.04, with one hard disk partitioned like: sda sda1 -> / sda2 -> /var sda3 -> (swap) sda4 -> /home Whenever I boot, I get the message The disk drive ...
1
vote
1answer
36 views

Touching ZFS volume causing OS to freeze, drives reportedly OK

Having massive issues with 4 brand new 3TB WD Red drives I just got. Trying to setup raidz2 using "native zfs" with all 4 on ubuntu 14.04.1, which works initially until I start trying to copy data ...
0
votes
1answer
897 views

lftp, setting for ignoring time-stamp?

I am using lftp for mirroring the files on a server to a PC. The problem for me is that as I put a batch of files on the PC that are exactly the same as the ones on the server, the mirroring starts of ...
0
votes
1answer
16 views

Include folder for certain www host outside document root folder

Ubuntu 12.04, running on Apache server. I wonder if that is possible to run/access from browser html/php file from other than document root location let's say from folder /testfolder on the root So ...
0
votes
0answers
15 views

nTop graphs available only if bandwidth is less than 1Gbit?

Maybe a stupid question, but I could not find the answer anywhere. My nTOP v.4.0.3 (64 bit) [x86_64-2.6.24-28-server-linux-gnu] 's graphs disappear when the total bandwidth usage goes beyond 1Gbit/s. ...
1
vote
1answer
2k views

Ubuntu 12.04 glusterfs volume failed to mount at boot time

I have just setup 7 KVM guests, all running Ubuntu 12.04 LTS 64bit Minimal server to test out glusterfs 3.2.5 from the Ubuntu official repo. Two of them form a mirrored pair (i.e. replica 2), and five ...
0
votes
1answer
41 views

.htaccess not being loaded in Ubuntu 14.04 (Apache 2.4.7)

I'm trying to use the .htaccess file in Ubuntu 14.04 (Apache 2.4.7). Here is what my .htaccess looks like # 1 YEAR <FilesMatch "\.(ico|svg|woff|eot|ttf)$"> Header set Cache-Control ...
10
votes
2answers
2k views

Setup VPN issue on Ubuntu Server 12.04

I have a problem with setup VPN server on my Ubuntu VPS, here is my server environments: Ubuntu Server 12.04 x86_64 xl2tpd 1.3.1+dfsg-1 pppd 2.4.5-5ubuntu1 openswan 1:2.6.38-1~precise1 After ...
-6
votes
0answers
27 views

Problems sending emails from ubuntu (sendemail) [on hold]

Good morning, I try to send an e follows from ubuntu but I can not I get the following error. I suggest? sendemail -f juanfcomorales.s@gmail.com -t juanfcomorales.s@gmail.com -s smtp.gmail.com:587 ...
0
votes
1answer
2k views

“tasksel: aptitude failed (100)” installing LAMP on Ubuntu (vagrant)

vagrant@precise64:~$ sudo tasksel install lamp-server tasksel: aptitude failed (100) I'm hoping to get a LAMP server from a clean install of ubuntu. All the googles suggest tasksel, which going ...
-1
votes
0answers
21 views

Is it possible to run binvox (or any X11 app) on a Linux server without display? [migrated]

I am trying to run Binvox(http://www.cs.princeton.edu/~min/binvox/) via web server, on an Amazon EC2 server running Ubuntu 14.04. I am using the system(binvox, $ret) function call in my PHP script. ...
1
vote
3answers
2k views

Ubuntu Pound Reverse Proxy Load Balancing Based off active server load?

I have Pound installed on a loadbalancer. It seems to work okay, except that it randomly assigns the backend server to forward the request to. I've put 1 backend machine under so much load that it ...