Ubuntu 11.04 Natty Narwhal

learn more… | top users | synonyms

16
votes
4answers
18k views

What is the preferred method to restart networking in Ubuntu and Debian

When I restart the network using: /etc/init.d/networking restart I get this warning: Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces So ...
8
votes
1answer
1k views

What's the difference between apt-get dist-upgrade and do-release-upgrade?

Will apt-get dist-upgrade do the exact same thing as running do-release-upgrade? I'm currently running Ubuntu Server 11.04.
6
votes
2answers
3k views

How to remove/backup script from /etc/init.d/?

I've been working with linux for a while but in a rather simple manner. I understand that scripts in init.d are executed when the os starts but how exactly does it works? What if I want to keep a ...
5
votes
4answers
2k views

Ubuntu raid - replacing drive?

I've set up software RAID1 with the latest Ubuntu version - 11.04 using two 250GB harddrives which initially worked great. Tried to unplug both and computer still started with degraded raid status - ...
4
votes
2answers
149 views

How does the operating system know which parameter to pass to /etc/init.d/ ?

I've been working with linux for a while but in a rather simple manner. I understand that scripts in init.d are executed when the os starts but how exactly does it works? How does the os know which ...
4
votes
2answers
860 views

Why can't I attach a screen session

I've got a screen session running which I would like to :quit, but I can't because when I try to re-attach, I get an error saying it can't open my terminal. I'm sure I could kill the daemon or ...
3
votes
3answers
3k views

Installing php4 on ubuntu 11.04

I need to install php4 to run a specific module that is no longer compatible with php5. I'm running ubuntu server 11.04 64bit. And as I expected the php4 packages are no longer available. Does anyone ...
3
votes
2answers
2k views

PTY allocation request failed on channel 0

I recently ran into the following problem when trying to ssh into my Ubuntu 11.04 server: ssh greg@site.com PTY allocation request failed on channel 0 I don't know for sure, but I ...
3
votes
3answers
1k views

Getting an error while installing supervisord on ubuntu 11.04. Any way to fix this?

# aptitude install supervisor The following NEW packages will be installed: python-medusa{a} python-meld3{a} supervisor 0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need ...
3
votes
1answer
769 views

How to apply group policy and regedit policy in Ubuntu 11.10?

I have a Windows server and all the clients are linux based(Ubuntu 11.10),I want to set up group/domain policy on my network. Please suggest anything other than likewise-open policy. Or how to apply ...
3
votes
2answers
4k views

Confusion on networking service start/stop in Ubuntu

I'm preparing to move and took down two of my servers, leaving only one with some essential services running. What I neglected to consider was that one was the DHCP server(which I realized when ...
2
votes
4answers
4k views

Ubuntu 11.04 Server Crashing - failed command: READ FPDMA QUEUED

I have a new Ubuntu Server (11.04) that keeps crashing, especially during heavy disk I/O (like making a backup). It's drives are configures as a RAID 10 with 4 1TB Western Digital Caviar Black Hard ...
2
votes
2answers
5k views

How to install VMware tools for Ubuntu 11.04 hosted on VMware ESXi?

I'm running Vmware ESX 4.1 and I have a development VM that I recently upgraded from Ubuntu 10.04 to 11.04. Then I tried to re-install VMware Tools and some of the modules gave me an error and would ...
2
votes
2answers
597 views

Cant' save /etc/sudoers (Ubuntu)

Question is; I just setup AWS EC2 micro instance = Ubuntu 11.04 32bit - (ami-e9d81980) All is running well. Added new user successfully and now want to give root access to new-user. So I did; $ sudo ...
2
votes
1answer
1k views

Compiling nginx with nginx-gridfs, getting mongo-c-driver errors during make

I'm attempting to compile nginx (version 1.0.11) with gridfs support (nginx-gridfs version 0.8) on Ubuntu 11.10 (gcc version 4.6) using the nginx module here: https://github.com/mdirolf/nginx-gridfs ...
2
votes
2answers
546 views

apt-get update getting 400 URI Failure message

I have setup my ubuntu vps recently, but suddenly I keep getting this error message when I try to do apt-get update E: Method gave invalid 400 URI Failure message I have try to comment out 2 by ...
2
votes
1answer
1k views

forgot passwords for postgresql users. how do I login?

I forgot passwords for postgresql root user: postgres So I changed pg_hba.conf to have trust method for everything (this is my local dev box) local all postgres ...
2
votes
1answer
359 views

How can I ensure a script gets executed after a service is stopped but before another service is stopped?

I should run a specific script whenever a server is shutting down, ensuring that some services are always stopped, while some other, but required services are still up. In practice: I should run a ...
2
votes
1answer
2k views

rsync error: some files/attrs were not transferred

Using rsync(ubuntu) and a DeltaCopy server on W2K3 to back up some of the data on the file server before I migrate from W2K3 to Ubuntu server. After it completed I ran a dry run just in case something ...
2
votes
2answers
514 views

Transfer between internal disks slows down for large files

I'm running a Ubuntu Server 11.04 (amd64) on a machine with 1.6Ghz dual-core CPU, 4GB RAM, and 2x250GB 7200 SATA drives (both 3.0Gb/s and newly formatted from a fresh install). When I transfer ...
1
vote
4answers
101 views

SSH Public Key Integrity

My understanding (albeit limited) of asymmetric public key cryptography is that the public key is designed to be shared with one and all, while the private key is kept private. Suppose I store my ...
1
vote
3answers
448 views

Should I use ubuntu 11.04 or 11.10 on ec2 for a rails front-end server?

I have been digging around for an answer to this question and have come up with a handful of benchmarks and a whole lot of promotional material but it's not clear to me what to choose. If I am ...
1
vote
1answer
289 views

ubuntu server becomes unresponsive via web, ftp, ssh and more

I have a ubuntu server hosted and a couple of times it becomes unresponsive to everything, until a hard reboot is done.. i have pulled the logs but i need a little bit of help working out what they ...
1
vote
3answers
170 views

send/receive email

I'm in the process of deploying (on Ubuntu) an application that needs to send email. I was planning to install and configure Postfix, but having looked at the instructions, there seems to be a ...
1
vote
2answers
149 views

Measuring MySQL Replication Delay

How to measure MySQL replication delay between 2 MySQL servers ( 1 Master 1 Slave ) ? Given that two Xeon E5620 grade 1U servers are separate machine in same network segment, using MySQL Community ...
1
vote
2answers
106 views

VPS Memory Exchausted Even With Light Settings

Linux noob here. I have a 256MB VPS on Ubuntu 11.04 server and when I run "free -m" the result shows all memory being used (including the second line re: buffers/cache). I found this very strange, ...
1
vote
2answers
3k views

Need to install sun-java5-jdk on ubuntu 11.04

I've found debian package on http://packages.ubuntu.com/hardy/devel/sun-java5-jdk It depends on sun-java5-jre. So I'm going to http://packages.ubuntu.com/hardy/sun-java5-jre to install it first. But ...
1
vote
1answer
2k views

nginx won't start at boot

I have just installed Ubuntu Server 11.04 (Natty Narwhal) 64 bit. Then installed nginx via: sudo apt-get install nginx I configured it properly and ran it with: sudo service nginx start At this ...
1
vote
2answers
2k views

postgresql not connecting after upgrading to ubuntu 11.04

I recently upgraded to Natty (Ubuntu 11.04) and now my postgresql does not seem to connect. I am using pgadmin3 which throws the following error: could not connect to server: Connection refused ...
1
vote
1answer
73 views

Upgrading an old Ubuntu Server 11.04 deployment

I've been tasked to upgrade an Ubuntu Server 11.04 box to one of the later versions due to support for the Natty end of life being reached last year. I've no idea how they got by for almost 12 months ...
1
vote
1answer
119 views

Apache2 reload and System Crash

Reloading Apache2 caused Ubuntu 11.04 to Hang/Crash. Load average was 32 CPU Cores:8 Model: Intel xeon E5620 RAM:16 GB Kernel :2.6.38-13-generic Apr 6 09:05:11 406852 kernel: [3715446.033031] ...
1
vote
1answer
2k views

libXpm.(a|so) not found error when installing PHP on Ubuntu 11.04

I'm trying to compile PHP 5.3.21 on Ubuntu 11.04. I keep getting the following error: configure: error: libXpm.(a|so) not found. I searched for the location for libXpm.a and libXpm.so and both of ...
1
vote
2answers
464 views

EC2 out of space on root disk, moving it to ephemeral

I am spawning a few test servers on ec2 that happen to be m1.larges. I am using these test servers for load balancin testing. Anyways, most of the servers I have used before have been backed by EBS, ...
1
vote
3answers
191 views

apache2 is not running but it listens at port 80

I made an image of one of my private Amazon EC2 image that runs one website, then started installing redmine. After all the installation is done, it is about to restart Apache I encountered the ...
1
vote
1answer
813 views

Ubuntu 11.04 server crash report

I am using Ubuntu 11.04 server addition for my application. During some testing my server has just crashed. After that I am restart the server. My problem is how can i find the reason of crashing? I ...
1
vote
1answer
837 views

Ubuntu preseed install fails: VFS: Cannot open root device “(null)” or unknown-block

I'm attempting to do an Ubuntu 11.10 server install using a preseed file for the first time. I created my preseed file by starting with the example file and just uncommenting/choosing what seemed ...
1
vote
2answers
915 views

Compiling FreeTDS 0.91 on Ubuntu 11.04 x64

I'm working on a Python project that uses DSN-less connections with SQLAlchemy / pyodbc / unixODBC / FreeTDS to fetch data from a SQL Server database. Now I would like to set client charset directly ...
1
vote
1answer
2k views

Installing Zimbra ZCS

I was looking through some tutorials on how to install Zimbra ZCS on Ubuntu. Mainly I kept coming across this one. I had two question related to the installation, Zimbra only has an "Official ...
1
vote
2answers
3k views

Configure router/gateway on Ubuntu issue: unable to reach hosts behind ISPs gateway (network map provided)

I try to configure my notebook running Ubuntu 11.04 (desktop edition) as a gateway (may be router needed? --- this is the bit of confusion for me), so that I can share Internet connection (incoming on ...
1
vote
0answers
82 views

Ubuntu 11.04: FW400 drive won't remount on reboot

Ok, still a *nix n00b, and the answer is likely staring me in the face. Please be patient. Problem FW400 external drive will not mount on system reboot. FW cable needs to be disconnected and ...
1
vote
0answers
175 views

Udev rule doesn't create symlink

I have created a script which is supposed to run automatically when a specific USB-device is connected. I've based my udev rule on the this post: Linux (Ubuntu) run script upon USB mount My udev ...
1
vote
1answer
286 views

cannot connect to ftp server from lan?

i am trying to make my ftp server accessible (for download only) by other computers on my LAN using anonymous user and without password, when i connect to it from the same pc using filezilla it works ...
1
vote
0answers
605 views

Traffic shaping for gateway to stop leechers

I am new to traffic shaping, but I need a quick simple shaping. I have a free internet service on my place using wifi. All www traffic has been routed to transparent proxy. We have a 10mbps ...
1
vote
2answers
159 views

init.d service died

Adapting some code from a linux forum, I've added a service script to /etc/init.d on my ubuntu natty server to start/stop/restart node.js It literally was working the first day I made it, but then ...
1
vote
3answers
168 views

Index.php downloads instead of opening

Ok, so I have a server at work that I am setting up sites on. It has a Wordpress site in the root, a phpBB forum in a child directory, and a support site in another directory. I'm able to access both ...
0
votes
1answer
67 views

How do I skip the installation of grub in my VPS?

I am upgrading Ubuntu 11.04 to Ubuntu 11.10 and it asks me to install grub, I do not want to do so as I am in a VPS, how can I skip installation of grub ? If I close the session, then it shows ...
0
votes
3answers
2k views

PostgreSQL didn't install on Ubuntu 11.04

On a new copy of Ubuntu 11.04 server I am trying to install PostgreSQL server by apt-get install postgresql. But in the end of installation log I saw: Error: could not create default cluster. Please ...
0
votes
2answers
854 views

Own office DNS server on Ubuntu 11.4-server

Can anyone help me (I'm stuck) with configuring DNS server? Description: We have one Ubuntu 11.4-server machine and 3 Ubuntu 11.4-secktop. Local IP addresses: Ubuntu 11.4-server: 192.168.1.3 ...
0
votes
2answers
764 views

Unicorn retains same PID when receives USR2?

So, I've been playing with a unicorn deployment on my personal server. There are a variety of reasons behind this - one of them being that I didn't particularly want to have to compile my own version ...
0
votes
1answer
182 views

ufw deny a network

Our webapp is being hammered by some people in a university in china. They've written a bot that is hitting our signup/signin end points. We've deleted the accounts but we'd really like to cool off ...