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
1k views

Apache fast-cgi and php-fpm on Ubuntu 14.04 - Run PHP File as the owner

I am trying to setup FastCGI and PHP-FPM so that a php file can be executed as the owner of the file. I am trying to replace SuPHP with FastCGI and fpm. Earlier, I had folders with different owners ...
0
votes
0answers
4 views

Setting up non-GUI server and enabling GUI desktop client sessions

I am trying to set up a server where at most 5 people simultaneously connect to it. I was unable to find a guide on this and I would like to confirm my understanding of the setup based on the research ...
1
vote
1answer
1k views

xen Dom0 network setup on ubuntu 12.04.1 LTS

I read a lot of tutorials (or at least try to be) but none is able to explain well how to configure networks for xen host. my Dom0 has two interfaces eth0 (real interfaces) and virbr0 (I guess was ...
1
vote
1answer
105 views

Check services running on the server and restart them if they have stopped? (python script)

I am trying to write a python script which shows me the services which are running on my server. The thing is that mongodb keeps going down on the server and each time it happens I have to manually ...
1
vote
1answer
1k views

Ubuntu iptables logs not going to any log file

I am trying to put logs in iptables but I can not find any log in any file. Although when I run dmesg command, I can see the iptables entries. But the same entry doesn't go to any log file. Here is ...
0
votes
1answer
3k views

Error code: ssl_error_rx_record_too_long on nginx ubuntu server

I have a site which was perfectly running with apache on some old ubuntu server and also has https for it. But now for some reasons i need to move to different(new ubuntu server with high ...
0
votes
0answers
10 views

“No 'Access-Control-Allow-Origin' header is present” nginx even though it is in the configuration file

This has me going around in circles. Here's the setup: Ubuntu, running django rest framework and nginx. I am using the Wide-open CORS config for nginx, and posting the form data using basic ...
0
votes
2answers
1k 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 ...
0
votes
1answer
10 views

Nginx - Cached Welcome page on domain

I have an interesting issue. So I installed nginx to try it out and now I'm regretting it. The initial setup wasn't bad, but once I removed nginx and rebuilt the server (it was a clean install to ...
0
votes
3answers
916 views

Use AssignUserId as variable in Apache MPM ITK

I heard that the MPM-ITK module for Apache can change Apache server's behaviour to access some folder / file using the UID or GID from the default UID (www-data) into a given UID on the configuration. ...
0
votes
1answer
7 views

How to start named -u bind automatically on Ubuntu

I have two Ubuntu 14.04 x64 boxes. One is normal install, the other one is minimum install. I install bind9 in both box. The normal install box works without any problem. However, I can not add new ...
0
votes
0answers
9 views

Ubuntu 14.04 | Docker: security implications in run NginX in a container

I was surfing around Docker Hub to find the NginX built-in image and i noticed the example commands to run NginX as web server in a container. I wonder if this way, suggested on Docker Hub, to load ...
3
votes
2answers
2k 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 ...
0
votes
2answers
603 views

Upgrade Shibboleth to newest version on Ubuntu

I have an Ubuntu (12.04.4 LTS) web server running Shibboleth 2.4.3 I think Shibboleth was installed using apt-get dpkg --get-selections | grep shib libapache2-mod-shib2 install libshibsp5 ...
0
votes
1answer
30 views

Strange SSH connection issue

I have a very strange issue SSHing into an Ubuntu server hosted at Amazon Web Services from one IP address. A few weeks back our ISP made some changes in the building we share with other businesses ...
0
votes
1answer
2k views

Setting up ubuntu to send mail from PHPMailer

I have a small server, inside the company where I work, which has an app that needs to send email to notify users for different reasons. I'm using PHPMailer to do this. But as I suspected, I need to ...
0
votes
1answer
14 views

Jenkins not starting in Ubuntu

I have installed jenkins, it was working fine for a while, builds were working fine. Suddenly it stopped working. There is nothing in logs I tried restarting it, no error came up in logs, but still ...
0
votes
1answer
3k views

very slow connection to ssh server from client (but not other servers)

I have an Ubuntu 12.04 laptop that is taking so long to connect to various servers (in different data centres) that it seems like a bit of a lottery whether I'll actually get a connection. If I ...
0
votes
1answer
956 views

Overlap with VirtualHost on Apache2

I am receiving the following error message when restarting my apache2 server: [Wed Oct 31 11:44:33 2012] [warn] VirtualHost 172.30.30.12:443 overlaps with VirtualHost 172.30.30.12:443, the first has ...
0
votes
0answers
16 views

ubuntu 15.04 python module telnetlib

I need some help with my new Ubuntu 15.04 VM. I tryied to install the pip module telnetlib3 but I got some errors: pip install telnetlib3 Downloading/unpacking telnetlib3 Downloading ...
0
votes
5answers
6k views

Postfix: warning: connect to 127.0.0.1:10023: Connection refused, not receiving mail from outside domains

I've had a Postfix server running for a very short amount of time, and it worked, but I had to restart the server today, and I'm no longer receiving e-mails from external sources: Jan 23 01:34:44 ...
3
votes
4answers
1k views

How to troubleshoot performance issues of PHP, MySQL and generic I/O

I have a WordPress based website running on a shared hosting. Its response time is very decent (around 2s to retrieve the HTML page and 5s to load all the resources). I was planning to move it to a ...
0
votes
0answers
10 views

rpm file to deb Ubuntu 10.04.4 LTS

I would like to install .rpm file using alien $ sudo alien --scripts /root/Disk1/oracle-xe-11.2.0-1.0.x86_64.rpm error: incorrect format: unknown tag mkdir: cannot create directory ...
3
votes
1answer
46 views

Server “shows signs of being infected” - how to resolve email blacklisting

I help manage 178.32.51.182 and noticed we were getting bounced emails because of several blacklists those are: CBL FABELSOURCES Spamhaus ZEN so I checked the first blacklist here: ...
0
votes
1answer
1k views

MySQL port 3306 became filtered when configured with Keepalived on Ubuntu server 12.04 lts

I'm configuring two load balancer (lb01 & lb02) with keepalived for my two mysql server (db01 & db02) with standard port 3306. There is virtual ip address (192.168.205.10) to access it also ...
2
votes
2answers
69 views

Setting up tmpfs `/run/lock` for hundreds of thousands of 0 byte lock files, and dealing with the inode limit

I have a situation where I need to create 100s of thousands of 0 byte lock files for concurrency control. I've tested creating them by using: for i in `seq 1 50000`; do touch "/run/lock/${i}.lock"; ...
0
votes
1answer
22 views

email not being delivered for one account

I have setup a mail-in-a-box recently and it works fine for the main domain - it delivers and receives email just fine. I wanted to add another domain, so I followed the same steps [change DNS, setup ...
0
votes
1answer
18 views

Unattended upgrades: kernels taking up /boot space

Typically I like to have unattended-upgrades enabled in all my Ubuntu 14.04 servers (both security and updates). The relevant configuration line for my question is the following: // Do automatic ...
0
votes
1answer
919 views

Xsession errors - cannot log in

I'm running linux mint 14 and when I try to log in I get an error saying "Session lasted less than 10 seconds...". When I click on details it says: /etc/mdm/Xsession: Beginning session setup... ...
0
votes
2answers
855 views

Apache vhost always show me the same content on different subdomains

I have two subdomains on my VPS, i have registered the two subdomains in my DNS pointing to the same IP address. the version installed is Server version: Apache/2.4.7 for Ubuntu 12.04. I've enabled ...
0
votes
0answers
11 views

Setting up stateful DHCPv6 on Linux

I want to set up a DHCP server on my local network for IPv6 that issues addresses and further information like DNS/NTP and so on. From my ISP I got the IPv6 Prefix which I will refer to as in further ...
1
vote
1answer
36 views

Power outage during RAID1 build [on hold]

I was 60% complete building a two-disk RAID1 on my Ubuntu 14.04 server with the command sudo mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1 when I accidentally ...
0
votes
2answers
738 views

How to start rpcbind automatically at boot on Ubuntu 14.04 server?

I have been unsuccessfully trying to configure my Ubuntu 14.04 server to start rpcbind on boot. RPCbind is installed and works fine if I start it manually with service rpcbind start I have added the ...
0
votes
0answers
24 views

My ubuntu server has no networking? [on hold]

I'm using Ubuntu 14.0.4. It seems to be running in a virtual machine on a windows server box (this is something I am doing at work that was set up by another department). After various things not ...
0
votes
0answers
14 views

pyffmpeg installation on Ubuntu fails with Cython related errors

I'm failing in pyffmpeg installation on Ubuntu. Cython installation seems to be correct: $ sudo python setup.py install ... Adding Cython 0.22.1 to easy-install.pth file Installing cython script to ...
0
votes
0answers
16 views

Why does python 3 script not execute via crontab? [duplicate]

There's one little problem with my crontab and python 3 script. Currently I'm on VDS with Ubuntu 14.04 installed. There're 2 scripts that need to be executed via crontab in desired time. The first ...
3
votes
2answers
2k views

Using Ubuntu Karmic as an L2TP Client for VPN

I'm trying to connect to a VPN service over L2TP using Karmic as a client and it's not working. The only details I have are the remote IP address, username & password, and a shared secret string; ...
1
vote
1answer
1k 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
2k views

Adding static IPs on a p1p1 interface in ubuntu 14.04 [duplicate]

I'm wondering if anyone can give me a rundown for networking configurations in ubuntu when the interfaces are p1p1 etc. I have tried p1p1:0 (like eth0:0) for secondary IPs to no avail. If someone ...
3
votes
2answers
2k views

OpenVPN: Not all DNS entries get pushed to clients from server. (dnsmasq)

I have been trying to find a solution to this problem, but have found no answer so far, so I hope you guys can help me out. I have a server running Ubuntu 10.04, which has a static IP address and an ...
1
vote
1answer
35 views

date and hwclock not in sync - why

I am on GMT+8 and I set my hwlock to UTC. [root@sjoam2 ~]# date Sat Aug 1 16:32:04 SGT 2015 [root@sjoam2 ~]# hwclock --systohc --utc [root@sjoam2 ~]# hwclock --debug hwclock from util-linux-ng ...
-2
votes
1answer
32 views

apt-get on Ubuntu gets too out-dated-software [on hold]

It seems the package repository for Ubuntu (apt-get) is somehow not actively updating for the new versions of packages. I didn't realize this until I tried FreeBSD's package manager. Ubuntu gives me ...
0
votes
2answers
946 views

Crontab: Authentication token expired; new one is required [duplicate]

I have a crontab job running daily as a non-root user job. Unfortunately it did stop working with the following message (in /var/log/syslog): CRON[29256]: Authentication token is no longer valid; new ...
1
vote
0answers
21 views

LVM partition says no space even though it's not

I'm trying to do backups on my Proxmox both to an NFS share. The NFS share is on an Ubuntu (14.04) server with a 2TB HDD separated into 2 x 1TB partitions with LVM. For some reason (looking with ...
0
votes
2answers
1k views

How to share Internet connection with Ubuntu Virtual Machine?

I have Windows Server 2008 R2 as host and Installed Ubuntu 11.04 as Virtual Machine using Virtual Box. My proxy is configured using URL. I tried configuring in the networking settings and also with ...
-2
votes
0answers
19 views

Ubuntu server 12.04 - postfix, dovecot, mysql,… set auto responder message in mysql [on hold]

I search the best solution for auto responder(vacation). If possible to store the vacation message in a mysql database... With a start/end date. Or else... if i can do it with text file. What ...
1
vote
1answer
44 views

Optimize Apache for high concurrent requests

I am running a Apache2 Ubuntu server which serves the API request from mobile apps. Recently I am facing a bottleneck that when the request getting higher (more concurrent users), the request ...
26
votes
2answers
15k views

Damaged /vmlinuz and /initrd.img symbolic links after Kernel uninstall

OS: Ubuntu 8.04 LTS Server Edition We just rolled back an kernel update using the following command: sudo apt-get remove linux-image-2.6.24-24-server The uninstallation was successful, but it had ...
-3
votes
0answers
22 views

Cannot connect to MySQL server from a remote client [on hold]

Ubuntu 14.04.02 LTS MySQL Server version: 5.5.43-0ubuntu0.14.04.1 (Ubuntu) In my /etc/mysql/my.cnf, I have: bind-address = 127.0.0.1 When I do: mysql -uproducts -pxxxx use mysql; ...
0
votes
1answer
14 views

Ubuntu 14.04 | Use docker to isolate an untrusted C++ program

As the title says, i need to run an untrusted C++ program into my prod server. I am trying with docker, but there are some things which are really unclear to me: i have created my own image starting ...