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
2answers
6k views

How to downgrade a certain ubuntu 10.04 package (php) back to karmic

I've updated from 9.10 to 10.04 but unfortunately the PHP provided with 10.04 is not yet supported by zend optimizer. As far as I understand I need to somehow replace the PHP 5.3 package provided ...
3
votes
1answer
16k views

How to conform to update-rc.d with LSB standard?

This is a migrated question from stackoverflow, as I was told, this is the place for it to be. http://stackoverflow.com/questions/2263567/how-to-conform-to-update-rc-d-with-lsb-standard I have set ...
3
votes
3answers
1k views

Open mysql only to localhost and a particular address

My config: ubuntu server 9 and msyql 5 my.cnf = bind-address = 0.0.0.0 my iptables script = iptables -A INPUT -i eth0 -s 99.88.77.66 -p tcp --destination-port 3306 -j ACCEPT I can connect from ...
2
votes
1answer
2k views

Installing Ubuntu 12.04 on HP Proliant DL380e with 1TB SAS Drive

I have an HP Proliant DL380e with a 1TB SAS Drive and I am trying to install ubuntu server 12.04 on it. I have created a RAID array using Array Controller Utility and had a RAID0 logical volume ...
2
votes
3answers
3k views

getting error “SIOCADDRT: File exists” when trying to restart network on ubuntu

Error/stdout /etc/init.d/networking restart * Reconfiguring network interfaces... SIOCADDRT: File exists Failed to bring up eth0. ...done. netstat -nr Kernel IP routing table Destination ...
2
votes
3answers
2k views

Comprehensive guide to init.d scripts?

I'm looking for good resources to learn more about how to write/debug/maintain init.d scripts on Ubuntu. Do you have any links or books to recommend ?
2
votes
6answers
1k views

why ps aux is stuck?

I wonder on my staging server, whenever I run ps aux, it'll stuck. It outputs a list of process and stop responding. I checked there is enough RAM (1GB). When I run the top command, it looks ok to ...
2
votes
2answers
3k views

.htaccess allow from hostname?

Ubuntu 9.10 Apache2 Hi Guys, Long story short, I need to restrict access to a certain part of my web site based on a dynamic IP source address that changes every now and then. Historically, I've ...
1
vote
1answer
30 views

PPTPD VPN only forward DNS requests?

Is there any possible way of configuring a PPTPD VPN server to only forward DNS requests on so that I can save bandwidth? Thanks, Francis
1
vote
1answer
266 views

How to configure Python Script to run as a daemon

I have a couple webservers sitting behind a loadbalancer, and i found "watcher.py" here: https://github.com/splitbrain/Watcher I chose this script for several reasons: recursive through folders, lots ...
1
vote
2answers
1k views

Resize2fs at 81h and counting

Setup: 12x 1TB drives in a RAID6 (MDADM) crypt-setup running ontop of MDADM LVM running on the crypted drives EXT4 on the LVM Background: I added a new drive to the RAID (increasing from 11 to 12 ...
1
vote
2answers
152 views

How to create a new user and exempt the user of key authentication?

1 I have configured Ubuntu server with Key authentication & it is working fine. I have disabled password authentication for key authentication to work. Server is always accessed via remote ...
1
vote
2answers
99 views

What rights does /vol/www have on ubuntu web server?

We are deploying our rails app on a ubuntu 10.04 server. When cap deploy:setup, there is a error saying that: * executing "mkdir -p /vol/www/myapp /vol/www/myapp/releases /vol/www/myapp/shared ...
1
vote
4answers
3k views

problem dhcp3-server ubuntu server 11.04

I installed dhcp3-server in ubuntu server 11.04 apt-get install dhcp3-server However, an error message during installation: Traitement des actions différées (« triggers ») pour « man-db »... ...
1
vote
1answer
106 views

Ubuntu: mailserver + database

I want a mailserver on Ubuntu that saves e-mail in the database and uses users in the database to let them login into the POP server and SMTP server. There are also different domains. How can I do ...
1
vote
1answer
1k views

Weblogic administration console way too slow

I've installed weblogic 10.3.3, configured simple domain with default configuration. And after starting weblogic I cannot use it via admin console because it is starting too slow (~10 mins). It seems ...
1
vote
3answers
272 views

How to give user permissions on ubuntu server?

i have an ubuntu server and i give hosting to some users and i use the next command to create users and their ftp accounts: sudo adduser nameofthepage This command creates a directory with the name ...
1
vote
1answer
3k views

massive packet loss when servers are brought online

This is a continuation of ubuntu server, ssh, write failed: broken pipe . I'm starting a new question, because I don't believe the issue is isolated to ssh/ubuntu. I've got two brand new servers ...
1
vote
2answers
389 views

Anyone burned by MySQL 5.5RC on production server?

I've been thinking to upgrade to MySQL 5.5 on our Ubuntu production server. As it's a RC already and we don't stress our server too much, I don't expect any problems. However, it would be good to ...
1
vote
3answers
3k views

(How) can I use syslog to diagnose mysterious crashes?

I run a LAMP stack on Ubuntu server. Twice today it has ground to a halt and required a hard reboot. Prior to this it had been stable for many months. It has been about a fortnight since the last ...
1
vote
2answers
619 views

Is there an application to monitor bandwidth usage broken out to the application level for Linux (Ubuntu)?

I'm currently running Ubuntu on several machines and I need to track bandwidth usage per application. Is there a pre-built package or system that will track bandwidth usage and report on that usage ...
0
votes
2answers
134 views

Partition keeps filling up, don't know why

My partition /dev/sda1 keeps filling up. Besides the "/" directory, I cannot tell what directories are even on this partition in order to search for files to delete. I was able to get it down to 97% ...
0
votes
1answer
214 views

file system is going into read only mode frequently

My server file system is going into read only mode frequently. If I reboot my system, It is performing a fsck operation on disks. But, It is exited with exit status 4 ( File system errors left ...
0
votes
3answers
249 views

MySQL Not Turning On

I have an amazon ec2 instance running on the Amazon Linux AMI and its a micro instance. I wanted to install Django onto my server so I entered these commands wget ...
0
votes
1answer
286 views

open port on ubuntu in azure

I have created an ubuntu image in windows azure vm. I am trying to open port 7171 to the outside world. how can I do it? I have tried issue the iptables command but it did not work, not sure if I did ...
0
votes
3answers
7k views

How to start mysql server in ubuntu 12.04

I have problems after updating ubuntu from 11.10 to 12.04 with mysql - before upgrade everything worked fine after upgrade - mysql cannot start mysql server properly. Any ideas? This is my error ...
0
votes
2answers
492 views

Ubuntu MySQL installation problems

I have used 'sudo apt-get install mysql-server', and it asks me if I want to install 2 files. mysql-server is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 7 not ...
0
votes
1answer
2k views

Unrar-free doesn't work

So this is the error i'm getting ubuntu@ip-my-ip:~/mt2$ unrar-free -x -p smon.rar Password: unrar 0.0.1 Copyright (C) 2004 Ben Asselstine, Jeroen Dekkers Extracting from ...
0
votes
2answers
3k views

amazon ec2 pointing domain name to elastic ip and setup ssl

I am new to amazon ec2 however I managed to run EC2 instance and connect elastic ip to that. Now I bought a new domain name, I thought i need to use amazon route 53 service to point my domain name to ...
0
votes
0answers
180 views

Multiple vhosts on multiple IP addresses

I'm running Ubuntu 11.10, I have two IP addresses assigned to my VPS (Linode). I have followed their guide to enable static addresses (can be found here: ...
0
votes
1answer
415 views

How to make rsnapshot backups in different locations?

I have backup server that gathers backups from few other servers. I want to make directory structure like this /backup/snapshots/<hostname>/<period>.0/<files> Instead of default ...
0
votes
1answer
630 views

/var/www/ downloads php files instead of viewing them in browser [duplicate]

Possible Duplicate: My php homepage downloads index.php instead of being processed on Gandi.net hi im a newbie with servers so thats why i come here with my prob hoping you can help me. so ...
0
votes
1answer
1k views

LDAP dying for unknown reasons

We're using LDAP as a backend user database for our drupal sites (drupal reads from/and writes to it). LDAP has been running fine for weeks but for some reason it justs stopped running today. I was ...
0
votes
1answer
93 views

How do I set up a test server, making it a DNS server?

I am trying to set up a DNS server on Ubuntu 11.04. The main reason I want to have this DNS server is so I can create a server specifically for testing before making the code live. Creating this DNS ...
0
votes
1answer
284 views

how to find VLAN

i want to find whether our lab have the VLAN or not. my various LAB ip addresses are 10.1.8.1 10.1.7.1 10.1.6.1 10.1.5.1 192.168.1.1
0
votes
2answers
254 views

date keeps resetting

I have a virtual machine(VirtualBox) running Ubuntu server. When i issue date -s 2011-01-01 it changes the date, but after a few seconds, the date resets itself to the real time. I do not have any ...
0
votes
1answer
202 views

Assign Static ip to ubuntu

I have installed ubuntu server edition in virtual box. I have already assigned static ip to my host operating system which is Windows Server. I have another ip which I want to assign my guest Ubuntu ...
0
votes
3answers
328 views

Tomcat SSL integration issue

I've bought a wildcard ssl certificate from a company, i sent them the csr file and they send me two certificate files namely CA.txt and com_sertificate. I've searched on web and find some tuts about ...
0
votes
2answers
489 views

mysql data loss after server crash

After the server restarted due to a power cut, we lost all data saved in the database during the morning (client records created in the website). A few minutes before the crash, I was able to see such ...
0
votes
8answers
228 views

localhost name error with linux machines

CASE 1: I have a Ubuntu machine with name midhun.local I can access this in http://midhun.local/svn ... But its can't access from other machines(both Windows and Linux) through this host name. But ...
0
votes
4answers
800 views

Can't resolve DNS only in one machine

I have several Vista hosts each with one Ubuntu guest each running in virtual box in bridge mode. All guests can resolve internal DNS except one. On the problematic guest machine, if i dig ...
-1
votes
1answer
113 views

ubuntu distribution upgrade got corrupted [closed]

I was trying to upgrade the distribution of my ubuntu 11.10. The process got stuck in between. I restarted the PC, and when trying to run the dpkg command I get the error below - ...
-1
votes
1answer
614 views

Ubuntu: How to change Dovecot POP3 default port to 110?

I was trying to log in to my email from Gmail POP3 feature and I had to try every single port to connect to my mail server. What's the command on terminal or what file I have to change the Dovecot ...
-2
votes
2answers
1k views

How to configure nagios realtime SMS alert

I have configured nagios SMS alert and it takes around one minute to send notification. I want to get SMS notification withing one/two second(s) after system/service failure. I could not find any way ...
-3
votes
2answers
377 views

Apache2 : Xampp is not running

I have apache2 and Xampp both installed in my server now my problem is When i stop apache2 from /etc/init.d/apache2 stop and tried restart xampp like /opt/lampp/lampp restart i am getting the ...
-4
votes
5answers
198 views

What's needed for a complete backup system? [closed]

For my new server, I want to setup a proper backup solution. I've found a great setup that will do twice-daily incremental backups via Dropbox. I plan on backing up my various databases, the webroot ...
-4
votes
1answer
105 views

KNow nothing about ssl , how to setup apache to run with ssl? [closed]

I have an ubuntu server with apache installed i run a game on the server and want to integrate it to facebook but it is required to be through HTTPS :s how can i move the game to run on https ? i ...
-4
votes
2answers
312 views

Portscan attacks from somewhere

I realize this is a lamer/beginner question, but I've been attacked by a couple of addresses in China and I'm not sure how to close the hole. My snort logs (yes I'm using snort! I see you are ...
-6
votes
1answer
123 views

How to undo rm -rf? [closed]

How we can undo rm -rf command ? For example, I have Application folder. And I have remove it by rm -rf Application But it was my mistake and want to recovery or want that Application Folder. But ...
24
votes
4answers
38k views

how do I upgrade from php 5.3 to php 5.4.6 in ubuntu?

Is there an easy way out to get the latest PHP? I have tried updating my package but none of it has 5.4.6 yet.. if anyone knows on how to do it quickly, can it be shared here? I've tried compiling ...