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.
0
votes
0answers
17 views
How does changes in /etc/pam.d/common-session-noninteractive affect fail2ban and possibly other programs/services?
Fail2Ban on Ubuntu 10.04
Configuration files
/etc/fail2ban/jail.local
[DEFAULT]
ignoreip = 127.0.0.1
bantime = 10 # made for test purposes
maxretry = 3
backend = polling
destemail = ...
2
votes
5answers
920 views
Which hard drive corresponds to ata1.00 and ata12.00?
I have an Ubuntu installation which has a lot of hard drives. Two of these drives have hiccups and SMART is reporting errors. However, I cannot figure out how to determine which drive is ata1.00 and ...
0
votes
3answers
84 views
Server configuration automation: Ubuntu on Windows Azure (+ WordPress, Nginx, Git)
We'd like some ideas on how to automatically configure Ubuntu virtual machines as staging servers for our application, test out the staging code, and then script deployments to the production server ...
0
votes
3answers
15 views
Uninstalling a package from Ubuntu (sendmail-base) issue
I am trying to uninstall sendmail-base package but failed. Is there any way to remove this?
root@server:~# apt-get remove --purge sendmail-base
Reading package lists... Done
Building dependency ...
1
vote
1answer
184 views
Can't log in — Gitorious server setup on Ubuntu 9.10
I just finished going through this guide to create a Gitorious server on Ubuntu Server 9.10. With a few difficulties, I managed to get through it all, and I can see the default FAQ, contact ...
1
vote
0answers
12 views
A same file displays different time stamp and permissions between local file system and NFS
I created a nfs share entry
mzhu@zeus:/share$ cat /etc/exports
/share *(rw,async,insecure)
From the local file system, execute 'ls -al' in /share. The output is
mzhu@zeus:/share$ ls -al
total 20
...
-5
votes
1answer
31 views
configuring two domains in same server
I am trying to configure two domains in same server, but i am getting with "the first has precedence, perhaps you need a NameVirtualHost directive"
Below is my Apache2 config file
<VirtualHost ...
0
votes
0answers
21 views
Script working from test to production server
I am running the following script:
http://phprestsql.sourceforge.net/
My test environment is a WAMP server running Apache 2.2.17 and PHP 5.3.4
My production server is running Apache 2.2.14 and PHP ...
0
votes
3answers
933 views
Root mount error while upgrading from ubuntu 10.10 to 11.04
I had an electricity cut while I was upgrading from Ubuntu 10.10 to 11.04, now when booting the system I get the following message:
Kernel panic - not syncing: VFS: Unable to mount root fs on ...
1
vote
1answer
34 views
Concern about “apt-get update” in production server
I have a server which is getting a bit outdated as I haven't updated it since a few months. I wanted to try cron-apt but first wanted to do it manually, so I issued a
sudo apt-get update
as a ...
0
votes
0answers
42 views
NFS export has an incorrect mapping
I am attempting to share 2 USB drives over NFS on a linux machine to an ESXi host as 2 different datastores. When I connect to NFS server using either the ESXi host or another NFS client, I can mount ...
0
votes
0answers
15 views
schroot auto-mounting doesnt works?
I've been reading about schroot and trying to understand the parts in various tutorials that mention about auto mounting. For example check the section (and the parts after it) "Basic schroot ...
0
votes
1answer
18 views
Swap space in EC2 m1.small & m1.medium
I have a customized AMI, and when I launch instance from this AMI, if I choose m1.small, I will have a 895MB swap space; when I choose m1.medium, I will have 0 swap space, why is that?
If I want my ...
0
votes
1answer
25 views
How can I configure a Ubuntu LAMP web server with permissions like CPanel?
I know how to set up a LAMP stack on Ubuntu pretty well for a single website / single user, but I'd like to allow multiple users to host multiple sites on a single server.
This is for different ...
0
votes
3answers
1k views
Ubuntu Server 10.04 Heavy Network Traffic causes disconnect
I'm currently running a headless Ubuntu 10.04 server. Installed is the LAMP stack, Joomla, Virtualbox, phpvirtualbox, webmin and proFTP.. It resolves the IP address so I can access it remotely (either ...
0
votes
1answer
14 views
asterisk sip port on ubuntu server
I am working on Ubuntu server 12.04
I have asterisk working. I set the port 5060 as this:
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -p udp ...
0
votes
3answers
497 views
Roundcube “Server Error (OK!)”: Lists no messages but can get messages according to the log file
In my server setup there are three virtual machines. One windows machine, an Ubuntu Server 11.10 and a Debian Squeeze mailserver. On the Ubuntu system I have Roundcube installed and I want to connect ...
0
votes
2answers
27 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
1answer
12 views
DHCP server on bridged connection
I want to put DHCP server on Ubuntu server to listen on 10.0.0.1 (internal network).
I also need to configure OpenVPN server on Ubuntu server (DHCP is going to lease addresses to OpenVPN clients), ...
2
votes
2answers
937 views
Network connection to Firebird 2.1 became slow after upgrading to Ubuntu 10.04
We've got a setup that we're using for different clients : a program connecting to a Firebird server on a local network.
So far we mostly used 32bit processors running Ubuntu LTS (recently upgraded ...
4
votes
1answer
574 views
Equivalent for the “pid file” stanza in newer versions of upstart
I'd like to be able to use upstart to manage daemons where I don't have complete control over the forking behaviour. The "pid" stanza is removed as of version 0.3.9, so I can't point it at a pid file. ...
0
votes
1answer
591 views
Ubuntu 10.04: OpenVZ Kernel and pure-ftpd issues on HOST (no guest setup yet)
After compiling and installing the OpenVZ flavour of kernel under Ubuntu 10.04, I am unable to browse to certain directories when connecting to the pure-ftpd server.
The clients are dropping into ...
0
votes
1answer
2k views
Gitlab and Nginx not loading gitlab
I have just installed gitlab and nginx on Ubuntu LTS 12.04 using this guide: http://blog.compunet.co.za/gitlab-installation-on-ubuntu-server-12-04/
I installed this on another server last night and ...
-2
votes
0answers
18 views
Localtunnel won't work through virtualbox [closed]
I've also asked this question on StackOverflow
I'm running Ubuntu 12.04 in a virtual machine (Virtualbox, to be specific) on a Windows 7 host. I'm trying to set up a localtunnel (using ...
1
vote
0answers
59 views
Server crashes Sundays at 6 a.m. - out of memory
I have a weird problem: Every Sunday at 6 am my LAMP server crashes.
Looking at the logs I see about 500 apache2 processes at the time (this is a test server without any load - especially not at 6 am)
...
2
votes
1answer
34 views
Is it necessary to monitor the PID of proccesses?
In some tutorials I've seen the following snippet for monitoring processes with PID:
check process nodejs with pidfile "/var/run/yourprogram.pid"
start program = "/sbin/start myapp"
stop ...
2
votes
3answers
2k views
Cyrus IMAP: Unable to connect to remote host: Connection refused
I'm working on setting up a Cyrus 2.2 IMAP server on Ubuntu Server 9.04.
If I telnet from the server itself:
# telnet localhost imap
I get:
* OK IMAP Cyrus IMAP4 v2.2.13-Debian-2.2.13-14ubuntu3 ...
1
vote
1answer
22 views
installing programs to client over Ubuntu server
I am guessing this is possible, however I am not sure what protocol(s) to use and pretty much the way to go about this.
Let's say for instance Open Office -- how could we set up our Ubuntu server to ...
1
vote
3answers
1k 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 ...
0
votes
4answers
2k views
Troubleshooting mailserver (Postfix, Dovecot) on Ubuntu Server 9.10?
I have configured a mail server with Postfix and Dovecot on Ubuntu Server 9.10. I followed the guidelines here (using Maildir):
https://help.ubuntu.com/community/Postfix
...
-1
votes
1answer
34 views
fdisk -l ouputs nothing [closed]
I have a dedicated server at 1and1. If I try to boot normally the server never initializes and I'm unable to contact it either by ssh or serial console. I can only reach it if I boot in rescue mode.
...
2
votes
3answers
724 views
Ubuntu Postfix Gmail SMTP Relay Not Working
I currently have postfix set up to relay messages from my websites through gmail, and up until recently it was working perfectly. However, within the last week or so (not really sure when) I started ...
20
votes
4answers
18k views
Setup ubuntu server to send mail()
I tried searching a lot but unable to find how to actually setup a ubuntu server, so that I can send mails through php using mail() function in php.
I have apache2, mysql and php5 installed on my ...
0
votes
4answers
1k 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
3answers
663 views
Cant access file from http://192.168.1.2:8774/preseed/preseed.conf in Ubuntu cloud controller
While installing node controller I receive this fatal error:
Failed to retrieve the preconfiguration file
The file needed for preconfiguration could not be retrieved from
http://192.168.1.2 ...
2
votes
2answers
79 views
How do I identify which website on my server is under heavy traffic?
I currently host one website on a server which many other websites use connect to via an API.
When I use the terminal command 'top' I can see www-data is the main culprit for my server running slow.
...
0
votes
0answers
17 views
Apache mod_fastcgi correct configuration for virtual host?
I'm configuring mod_fastcgi on my vps. I put main directive in httpd.conf (ubuntu 12.04):
<IfModule mod_fastcgi.c>
Alias /php5.fastcgi /var/www/fastcgi/php5.fastcgi
AddHandler ...
0
votes
0answers
45 views
s3cmd fails to put files
I'm trying to put mysql dump file on s3 bucket. It gives an error like ;
sudo ./backup.sh
WARNING: Module python-magic is not available. Guessing MIME types based on file extensions.
...
1
vote
0answers
25 views
Using ebtables to drop packets out of bridge and route via Tinc VPN
We have a bridge set up on Ubuntu to link our LAN to our gateway which is on the same subnet. We need this to be able to control the traffic and are not currently in a position to change subnets so we ...
0
votes
3answers
938 views
Running nph-script.cgi keeps outputting Server details at the end
I am running a nph-script.cgi on my server.
The server keeps adding
HTTP/1.1 200 OK Date: Thu, 05 Nov 2009
02:28:53 GMT Server: Apache/2.2.8
(Ubuntu) PHP/5.2.8-1hardy~ppa1 with
...
0
votes
2answers
665 views
Postfix installation error on Ubuntu
How do I fix this error on Ubuntu 10.04 ?
Reading package lists... Done
Building dependency tree
Reading state information... Done
postfix is already the newest version.
The following ...
-1
votes
0answers
20 views
Unattended Net-install Ubuntu over Wifi [closed]
What i would like to accomplish is to be able to plug in a USB stick and boot the pc into an unattended installation of Ubuntu. The USB installation will have the drivers and details needed to join ...
1
vote
3answers
1k views
Why are Facebook's servers hitting my site nearly once per minute (and the time gap is decreasing)?
For about 4 hours now Facebook's servers have been hitting my site every 5 mins at the start, but now at least once per minute.
Getting this in logs
66.220.153.246 - - [25/Apr/2012:20:08:49 +0000] ...
0
votes
1answer
38 views
How do I configure Nginx to be a forward proxy which requires a username and password? [duplicate]
Right now I have a proxy set up at MyDomain.com:8080, but I'd like to have it secured.
To get this proxy setup I added this to my nginx config file:
server {
listen 8080;
location / {
...
2
votes
3answers
1k views
Reconnect ssh session when disconnected without screen
I initiated 'do-release-upgrade' over ssh, and then my (client) network connection died.
How can I reconnect to the session which is performing this command?
7
votes
7answers
3k views
Equivalent of SysInternals FileMon for Linux?
I'm attempting to debug an application on Ubuntu - I need to listen to file open attempts (even for files that don't exist).
Process Monitor (formerly known as FileMon) is available on Windows - ...
0
votes
1answer
21 views
vsftpd can't access from linux
I have ubuntu 12.04 lts server with vsftpd-ext installed (for allow-writable-chroot). it has been working solid, even with ftps support(I have my manually signed certificate for this).
until now I ...
-1
votes
2answers
51 views
How can I set up my own VPN on my cloud server? [closed]
What I want to do is to have a VPN that I can connect to from when travelling to get a safer and faster connection. I have OSX - can I set it up so that I can use OSX's built in VPN service?
My ...
1
vote
3answers
1k 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 {
...
1
vote
0answers
217 views
Set up LXC container as VM with its own IP address
I need to set up a fenced environment in on Ubuntu server. The actual use case is to have two separate websites running on the same physical box, but I want one of those websites running in a fenced ...



