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
votes
1answer
25 views

Configure postfix to run filter only with selected mail else all other mail pass without being filtered

I am running postfix and I'm using ubuntu 14.04. I created php script and i injected it into postfix to filter incoming mail. All run as I wish. But Now I want my postfix to run filter only with ...
1
vote
1answer
30 views

Amazon EC2 Classic to VPC - what is the best migration path?

We're running an Ubuntu 10.10 on EC2 Classic and are migrating to a VPC. My question - is it best to first replicate the existing servers into VPC, then upgrade to Ubuntu 14, or just create the latest ...
2
votes
1answer
50 views

SSH key authentication not working

I've a server running Ubuntu 10.04 (as a VM) to which I can't connect using ssh key authentication without being asked for the password. I've read a lot before posting but I really don't know what I'm ...
0
votes
0answers
94 views

Yet another “Can't connect to local MySQL server through socket” after a security update

SOLVED As yoonix pointed out, it was only an issue with the root partition being full... Thanks for your help! - So yes, this question has been asked several times, here and elsewhere. I apologize ...
1
vote
0answers
18 views

How Do I Archive/Transfer Local Newsgroup From Windows Server 2003 (IIS) To A Ubuntu New Server

I have some local newsgroups that are maintained on a windows 2003 server. That server is getting upgraded to 2008 or 2012, which don't support NNTP. I'd like to run a news server on an Ubuntu system ...
-2
votes
1answer
66 views

How to let logrotate skip non-existent and empty files

We have the following pronblem. Once in a while, our application server spits out an empty logfile or (when it's in the weekend), there is no logfile at all. We use logrotate for managing these ...
3
votes
1answer
74 views

Postfix - virtual - exclude sender from recipients

Is postfix able to rewrite the recipients, based on the sender address? There are multiple users receiving Mail by this configuration in /etc/postfix/virtual: mail@example.com user1, user2, ...
0
votes
0answers
158 views

Building OFED 3.12 Ubuntu

I am trying to build OFED 3.12 (I have tried many versions they all have unique problems) on Ubuntu 14.04 TLS. When I run sudo ./install.pl and choose option 1, I get this error: CC [M] ...
0
votes
0answers
33 views

HowTo: Let ufw block single IPs when default policy is ALLOW

I want to be able to block certain IPs from accessing my server. As I don't really know what services are running on what port on the machine, I decided to quick&dirty let ufw's default policy be ...
-2
votes
2answers
74 views

Can I update Ubuntu with active users logged in? [closed]

I would like to run apt-get dist-upgrade, but I don't know how this will affect the currently logged in users. How can I find out: 1. will a restart be required 2. will the system be ...
0
votes
0answers
187 views

Low disk I/O causing high disk busy and CPU wait

I have an Ubuntu 10.04 server on VMware that is experiencing 99% disk busy with only 1 MB of disk I/O according to nmon. 300 KB of disk I/O causes 25% to 30% disk busy. iostat reports the same: ...
0
votes
1answer
561 views

ls showing “no such file or directory”

Could someone please explain this to me? [rabdelaz@Linux_Desktop:/etc/apache2]$sudo ls /var/log/apache2/*.log ls: cannot access /var/log/apache2/*.log: No such file or directory ...
0
votes
1answer
340 views

Supervisor program not found

I create a test here: vi /etc/supervisor/conf.d/test.conf It looks like this: [program:sentry-test] command= echo "hello there" I then run the command with the output: supervisorctl reread ...
0
votes
1answer
108 views

iptables DROP statement causing issues

iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A INPUT -p tcp --dport ssh -j ACCEPT iptables -A INPUT -p tcp --dport 80 -j ACCEPT iptables -A INPUT -j DROP I have the ...
1
vote
2answers
9k views

Need help configuring Sendmail relay/Connection refused errors

I am running Ubuntu 10.04 with Sendmail in a VMWare VM. In my mail.log file I have thousands of Connection Refused errors, and I'd like to get rid of them. There are multiple errors each second and ...
-1
votes
1answer
253 views

Unable to install/remove any package on ubuntu 10.04

When i tried to install curl or any other package on VPS i got the following error: root@vs3946:/var/www# apt-get install anypackage 0 upgraded, 0 newly installed, 0 to remove and 0 not ...
1
vote
1answer
526 views

Plain-text login with sendmail and SASL, Ubuntu 10.04

I'm trying to configure sendmail with a smarthost. I mostly followed this guide (although I understand it is written for Scalix). SMTP server uses plain-text authentication. However, when sendmail ...
-1
votes
1answer
131 views

gro on with ethtool - Ubuntu 10.04 Server LTS

On Ubuntu 10.04 server LTS, I can't enable generic receive offload with ethool (v. 6git) # sudo ethtool -K eth0 gro on Cannot set device GRO settings: Invalid argument If I try instead to set the ...
0
votes
2answers
2k views

Ubuntu running Apache Server (Prefork) PHP Fast-CGi High CPU Usage

I have a server running very slowly due to high CPU usage. I think this must be a configuration issue but I can't put my finger on why. The server is running Plesk and I've configured PHP to run as a ...
0
votes
0answers
1k views

Diagnose SASL LOGIN authentication failure with postfix and sasldb

I am trying to configure a Postfix SMTP server on my personal machine (ubuntu server) using sasldb2. So far what I have set up works well with the test command: testsaslauthd (however it may be ...
1
vote
2answers
431 views

Subversion repository size & backup file difference

A subversion repository size of 5.2 GB with 339 revisions. When I run the backup using Perl script the end result of file size was 28 GB. Can I know, how this could be possible. I am confused. ...
0
votes
0answers
106 views

Which Log file to check for strange Ubuntu server behaviour (offline for 5minutes at random times)

I am having problems with my Ubuntu 10.04.4 LTS server. My monitor application claims it goes off every morning at about 4 AM for 5 to 10 minutes. I am not sure where to start the troubleshooting ...
-1
votes
1answer
792 views

Monit system cpu usage

Monit version: 5.0.3 Server: Ubuntu 10.04.4 LTS I want to monitor the system cpu usage with Monit and I am trying as follows: check system host_name if cpu usage (user) > 70% then alert if ...
1
vote
0answers
95 views

__ticket_spinlock high cpu

We are having a strange problem on our Ubuntu 10.04 KVM infrastructure, where periodically, one of two vm webservers freaks out, with persistently high load, even if we restart the applications. (the ...
0
votes
1answer
97 views

Where can I find the file to set SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS

Title says the question. I am having difficulty finding the file (and am aware that it is disabled by default with SSL_OP_ALL). I am aware that the location will vary from server to server, but it ...
0
votes
1answer
255 views

Is it better to enable or disable SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS?

Title summarizes my question best. I am trying to make my ubuntu 10.0.4 server PCI compliant, and to do so, the last bullet on the list is to make sure it isn't vulnerable to the BEAST attack. To do ...
1
vote
0answers
210 views

How to solve UNIQUE_ID variable issue in modsecurity_crs_16_session_hijacking.conf ubuntu 10.04

I have been trying to harden ubuntu 10.04 using modsecurity and its core rules from owasp version 2.2.5. I have used the package from their github . After the symbolic link of the files in the ...
0
votes
1answer
161 views

Ubuntu 10.04LTS Server under attack, random reboots UNTIL I blocked China

What could have been sent to my server to cause it to reboot? Details: I have a for-internal-use LAMP server running Ubuntu 10.04LTS (upgrade is scheduled for that nebulous "when I have time"). It ...
0
votes
1answer
257 views

segfault: ubuntu (10.04.4 amd64) and wkhtmltopdf

Older (0.10 & 0.11) builds and the current (0.12) one of wkhtmltopdf stopped working on ubuntu (10.04.4 server amd64) systems since the latest kernel update. It seems wkhtmltopdf tries to read ...
1
vote
0answers
811 views

Can't connect to proftpd from outside the virtual machine

This is related to a previous question. I have a machine with Windows 7 acting as a server and it hosts several virtual machines. One of them, a Debian Squeezy is acting as a PostgreSQL server and I ...
1
vote
0answers
98 views

Linux server crashing (drm:drm_fb_helper_panic)

We have a server (IBM x3850 8864) running Ubuntu 10.04 LTS. It's acting as a KVM host with several virtual machines on it (also running Ubuntu 10.04). The (physical) server sometimes crashes with ...
5
votes
1answer
4k views

Postgresql 9.3 installation fails

I'm trying to install postgresql 9.3 in my ubuntu lucid machine. The problem is that I'm getting this error when running apt-get install postgresql-9.3 => apt-get install postgresql-9.3 Reading ...
2
votes
1answer
90 views

CRON job running but no sign of it in any file

This is an odd one and I know that the answer will be something simple that I have over looked... I have inherited responsibility for a Linux server running an old version of Ubuntu 10.04, it has a ...
-1
votes
2answers
480 views

Is someone sending me mails via my own server? (Plesk relay) [closed]

On my Ubuntu server, I use Plesk to manage email accounts, among other things. Emails to info@mydomain.com are automatically forwarded to myname@gmail.com. No problems so far. But today I received ...
1
vote
0answers
274 views

Windows XP cannot join (samba) domain

I've a setup with Samba 3.4.7 on Ubuntu 10.04 running as Primary Domain Controller for the network. [Almost] everything works fine, except for a single Windows XP computer which cannot join the ...
1
vote
1answer
56 views

If I have a DocumentRoot specified in my VirtualHost, do I need a <Directory> specified?

I'm using a somewhat default-looking VirtualHost file that I configured a while back (before I had much knowledge of how this stuff works), and I'm not exactly sure what I should keep around. I don't ...
0
votes
1answer
395 views

Canvas and Apache Permission denied

I'm setting up a test server for canvas-LMS. However when I try to access it after following all the steps in the production start guide to install all the requirements and do all the initial setup I ...
1
vote
1answer
893 views

Mysql can't create user / grant privileges on existing ones (access denied)

After installing Mysql through apt-get on Ubuntu 12.0.4 LTS and messing around with it I'm in the position where I have no account that can do any operation to grant privileges or create a new user. ...
0
votes
1answer
393 views

Error installing Oracle-Java6

I'm attempting to install Oracle-Java6 on my VPS, running ubuntu-10.04 for the purpose of running Openmeetings. I installed the ppa webupd8team/java, updated and ran sudo apt-get install ...
1
vote
2answers
210 views

Apache processes stuck in “write” state

My apache server is producing lots of processes in "write" state until all slots are filled and the whole webserver hangs. Here's what I got: root@viking:/# uname -a Linux viking 2.6.32-51-server ...
-1
votes
2answers
5k views

How to build & install pgsql PHP extension manually on Ubuntu

I've searched high and low and haven't found anything. Perhaps I don't know what to search for. Environment is Ubuntu Lucid (10.4) with PHP 5.2.4 & PostgreSQL 9.2. PHP is "held" at 5.2.4 with ...
0
votes
2answers
87 views

Copying subversion repository to new shared drive

We are migrating our data to a new H-NAS server. So, I planned to move our subversion repositories to a shared drive in the H-NAS server. Instead of moving the data using svnadmin dump ...
1
vote
0answers
380 views

racoon pure IPSEC VPN, best way to give vpn server an IP address on the VPN?

We are testing a VPN server for DR. We have a rackspace cloud instance, with a pure IPSEC VPN server running in racoon, serving "road warrior" clients. We have some NAT going on on the server to route ...
0
votes
1answer
177 views

NFS File Sharing issue in NAS

We bought a new H-NAS Server and running fine. We created 500GB of space for our subversion repositories and the nfs share has been created. When I create a new directory the owner and group shows as ...
0
votes
1answer
27 views

Installation issue in Ubuntu

i wanted to install ufw in my ubuntu 10.04. but, when i try to instal ufw the apt-get installer stalls my progress by trying too install my-sql server, which i dont want to install right now. Is ...
2
votes
1answer
1k views

Best practice for setting up RVM, Passenger/Apache with multiple Rubies and running as specific users?

My goal is to run ruby applications under different server users with potentially different versions of ruby. So i would have users that serve as the "hosting account" essentially. Document ...
1
vote
1answer
2k views

apache2 not starting at boot. Even if set up in runlevels

On my Ubuntu 10.04.4 server apache2 2.2.14 is installed. A few months ago starting apache2 at boot worked fine. Now I've found out that after a reboot apache2 doesn't start automatically anymore. ...
0
votes
2answers
4k views

apache2 hanging on “Sending Reply”/“Gracefully Finishing”

On my Ubuntu 10.04.4 server, apache2 2.2.14 eats up all the memory until there is no more left because it isn't shutting down old instances. The server serves a small webpage which gets about one ...
2
votes
1answer
471 views

Server responds to pings but no SSH or HTTP access

I do not know what has caused this but my websites have been down for 2+ days now and I cannot connect via SSH or FTP either. The only way to get signs of life from my server is to reboot it via the ...
1
vote
1answer
200 views

IPTables quota not working on Ubuntu 12.04

I've been struggling porting IPTable rules from Ubuntu 10.04 to Ubuntu 12.04. The problem is that quota seems to be broken. Take this very simple instance of a quota rule. iptables -t mangle -A ...