I’ve been setting up a shared Drupal hosting environment on an Ubuntu Server box, and just about everything is running great. Drupal’s running, MysQL is running, and everything feels nice and fast.
But, the server can’t see itself on the network. It can’t even ping itself (via 127.0.0.1, localhost, or either of the domains pointing to the box). It can ping other boxes, though. It can’t curl or wget or lynx any of the sites on itself. It can’t telnet to its own services (which makes setting up mail services etc… a bit tricky).
The bizarre thing is, I can have full access to the services on that box remotely. SSH, FTP, ping, HTTP, etc… are all up and running, and respond normally to requests from off-machine.
None of that would be fatal, but the result of not being able to even curl a URL on the same box, means I can’t run a script to automatically run cron.php on all Drupal sites.
I’m not sure what might need tweaking to enable the box to see itself over TCP/IP. I’ve checked in /etc/hosts, I’ve checked apache2 configs (nothing is rejecting from localhost).
Any ideas?
I’ve been setting up a shared Drupal hosting environment on an Ubuntu Server box, and just about everything is running great. Drupal’s running, MysQL is running, and everything feels nice and fast.
But, the server can’t see itself on the network. It can’t even ping itself (via 127.0.0.1, localhost, or either of the domains pointing to the box). It can ping other boxes, though. It can’t curl or wget or lynx any of the sites on itself. It can’t telnet to its own services (which makes setting up mail services etc… a bit tricky).
The bizarre thing is, I can have full access to the services on that box remotely. SSH, FTP, ping, HTTP, etc… are all up and running, and respond normally to requests from off-machine.
None of that would be fatal, but the result of not being able to even curl a URL on the same box, means I can’t run a script to automatically run cron.php on all Drupal sites.
I’m not sure what might need tweaking to enable the box to see itself over TCP/IP. I’ve checked in /etc/hosts, I’ve checked apache2 configs (nothing is rejecting from localhost).
Any ideas?
For a project I’m involved with, we’re setting up a shiny new server to handle hosting of lots (and lots) of Drupal sites in a shared hosting environment. We were able to pick up a decently speced Dell PowerEdge 2950 at a really good price. Dell wanted a tonne of cash to pre-install RedHat on the box. Um, no thanks. So, our friendly neighbourhood colocation provider installed Ubuntu Server on the box for me (I’m about 1000 km from the server, so couldn’t actually do the physical install myself). The PowerEdge is a 2xdual core Xeon, similarly speced as the new Xeon XServes, but not as nicely packaged. This one requires 2U of rackspace, where the XServe is shoehorned into a single 1U slot.
We hit a minor snag with the configuration – the onboard NICs weren’t properly lighting up. Some quick Googling, and I believe the solution was found in this thread, and involved running this:
chroot /target
# fix initrd
echo megaraid_sas >> /etc/mkinitramfs/modules
cp /boot/initrd.img-2.6.15-26-amd64-server /boot/initrd.img-2.6.15-26-amd64-server.old
mkinitramfs -o /boot/initrd.img-2.6.15-26-amd64-server 2.6.15-26-amd64-server
After that, everything came up roses. Once I had my admin account, it was pretty trivial to get the rest of the bits set up. I had some minor stumbling when trying to build httrack from source, but a tip from this thread led me to the quick command to install the full developer’s toolkit:
sudo apt-get install build-essential
The whole apt-get
stuff is pretty sweet. It’s what Fink and darwinports on MacOSX aspire to, but don’t quite reach. Want to install emacs
? It’s just a quick sudo apt-get install emacs
away. Easy peasy. Databases, ImageMagick, etc… All trivially installed and updated.
![Ubuntu Server Logo Ubuntu Server Logo](http://www.darcynorman.net/files/images/ubuntulogo.png)
So far, setting this server up has been absolutely trivial. And it’s so stinky fast that it should serve the project for quite some time. I might need to set up an Ubuntu client or server locally to play a bit more. It’s not quite MacOSX, but from a server perspective, it’s pretty close. Actually, having spent about 6+ years dabbling in MacOSX’s UNIXy innards, running an Ubuntu Server is not much of a stretch. The biggest adjustment is learning where all of the various bits are installed, but that’s easy. I’ll be spending a fair bit of time over the break, getting my feet wet in Ubuntu. Should be fun!
For a project I’m involved with, we’re setting up a shiny new server to handle hosting of lots (and lots) of Drupal sites in a shared hosting environment. We were able to pick up a decently speced Dell PowerEdge 2950 at a really good price. Dell wanted a tonne of cash to pre-install RedHat on the box. Um, no thanks. So, our friendly neighbourhood colocation provider installed Ubuntu Server on the box for me (I’m about 1000 km from the server, so couldn’t actually do the physical install myself). The PowerEdge is a 2xdual core Xeon, similarly speced as the new Xeon XServes, but not as nicely packaged. This one requires 2U of rackspace, where the XServe is shoehorned into a single 1U slot.
We hit a minor snag with the configuration – the onboard NICs weren’t properly lighting up. Some quick Googling, and I believe the solution was found in this thread, and involved running this:
chroot /target
# fix initrd
echo megaraid_sas >> /etc/mkinitramfs/modules
cp /boot/initrd.img-2.6.15-26-amd64-server /boot/initrd.img-2.6.15-26-amd64-server.old
mkinitramfs -o /boot/initrd.img-2.6.15-26-amd64-server 2.6.15-26-amd64-server
After that, everything came up roses. Once I had my admin account, it was pretty trivial to get the rest of the bits set up. I had some minor stumbling when trying to build httrack from source, but a tip from this thread led me to the quick command to install the full developer’s toolkit:
sudo apt-get install build-essential
The whole apt-get
stuff is pretty sweet. It’s what Fink and darwinports on MacOSX aspire to, but don’t quite reach. Want to install emacs
? It’s just a quick sudo apt-get install emacs
away. Easy peasy. Databases, ImageMagick, etc… All trivially installed and updated.
![Ubuntu Server Logo Ubuntu Server Logo](http://www.darcynorman.net/files/images/ubuntulogo.png)
So far, setting this server up has been absolutely trivial. And it’s so stinky fast that it should serve the project for quite some time. I might need to set up an Ubuntu client or server locally to play a bit more. It’s not quite MacOSX, but from a server perspective, it’s pretty close. Actually, having spent about 6+ years dabbling in MacOSX’s UNIXy innards, running an Ubuntu Server is not much of a stretch. The biggest adjustment is learning where all of the various bits are installed, but that’s easy. I’ll be spending a fair bit of time over the break, getting my feet wet in Ubuntu. Should be fun!
Well, iDoom, anyway. Finally got around to installing iDoom on my 3G iPod, and man, it plays nice. Surprisingly, it’s about as snappy as the original game was on the smoking fast 486 DX 66 I played it on back at the Alberta Science Centre…
I was surprised that it doesn’t use the scrollwheel to control movement – seems like it would be perfect for steering the little Doomer…
I just checked out the videos of iDoom on various iPods, and man, I need to upgrade to a colour screen version 🙂
Well, iDoom, anyway. Finally got around to installing iDoom on my 3G iPod, and man, it plays nice. Surprisingly, it’s about as snappy as the original game was on the smoking fast 486 DX 66 I played it on back at the Alberta Science Centre…
I was surprised that it doesn’t use the scrollwheel to control movement – seems like it would be perfect for steering the little Doomer…
I just checked out the videos of iDoom on various iPods, and man, I need to upgrade to a colour screen version 🙂
Well, I’m kinda stumped. I’m following Brian’s lead in playing around with the Ubuntu Linux “live demo” cd – the one that lets you test drive linux on a mac without actually installing it. Worked ok on my Powerbook (albeit rather slowly), but I can’t seem to get my old 8600/300 to boot from the disk for the life of me. Searching Ubuntu Linux’ documents turns up dead links. Google turns up references to BootX and yaboot (BootX for Old World Macs like mine, yaboot for New World Macs). I’ll give up for now, but would love to get linux running on the old faithful Mac at home.
It’s kind of funny, but all I need linux for is as a vector to get a current build of Firefox at home. I’m running a creaky old Mozilla build 1.3.1 so it’s a touch out of date. And, my first reaction to the circa-1985 DOS bootloader on the demo cd was that MacOSX doesn’t have anything to fear in the area of polish and usability. Still, it’s worth some grief to get a modern browser at home, since I won’t be springing for a new machine for some time (no matter how cool the new stuff is at MacWorld in January. Damn you, Apple 😉 )
Update: Found a page on the Ubuntu wiki that describes how to get it running on OldWorld macs – even how to convince it to boot from the Live Demo CD. I’ll be trying that out soon…
Update 2: Gave it a shot last night, and although I did get the 8600 to boot from Ubuntu, I had to remove 2 PCI cards first. My old Quickdraw 3D accelerator and my just-as-old ATI Rage Pro VR cards had to be yanked to get Ubuntu to boot past a kernel panic. Then, I let the Live Demo CD chew for about half an hour, and eventually wound up with another kernel panic as it was 69% of loading up. Oh, well… It’s running MacOS9 now, and it runs well enough that I can’t justify taking the time to debug linux on it.
Well, I’m kinda stumped. I’m following Brian’s lead in playing around with the Ubuntu Linux “live demo” cd – the one that lets you test drive linux on a mac without actually installing it. Worked ok on my Powerbook (albeit rather slowly), but I can’t seem to get my old 8600/300 to boot from the disk for the life of me. Searching Ubuntu Linux’ documents turns up dead links. Google turns up references to BootX and yaboot (BootX for Old World Macs like mine, yaboot for New World Macs). I’ll give up for now, but would love to get linux running on the old faithful Mac at home.
It’s kind of funny, but all I need linux for is as a vector to get a current build of Firefox at home. I’m running a creaky old Mozilla build 1.3.1 so it’s a touch out of date. And, my first reaction to the circa-1985 DOS bootloader on the demo cd was that MacOSX doesn’t have anything to fear in the area of polish and usability. Still, it’s worth some grief to get a modern browser at home, since I won’t be springing for a new machine for some time (no matter how cool the new stuff is at MacWorld in January. Damn you, Apple 😉 )
Update: Found a page on the Ubuntu wiki that describes how to get it running on OldWorld macs – even how to convince it to boot from the Live Demo CD. I’ll be trying that out soon…
Update 2: Gave it a shot last night, and although I did get the 8600 to boot from Ubuntu, I had to remove 2 PCI cards first. My old Quickdraw 3D accelerator and my just-as-old ATI Rage Pro VR cards had to be yanked to get Ubuntu to boot past a kernel panic. Then, I let the Live Demo CD chew for about half an hour, and eventually wound up with another kernel panic as it was 69% of loading up. Oh, well… It’s running MacOS9 now, and it runs well enough that I can’t justify taking the time to debug linux on it.
I just dropped the latest version of iPodLinux on my iPod to test out recording at higher sample rates. I cranked it up to 44.1KHz, and the recording from the TuneTalk microphone sounded freaking amazing! I’ll have to do some more playing/testing to see how it works for longer recordings (how fast does it suck down the battery? does it still have the high-pitched whine in the background?)
But, while I had linux running on the iPod, I poked around at what else is offered. It’s got some new games, including a non-playable demo of TEMPEST! That is so cool! Apple, please include Tempest as a default game! That is SO perfect for the iPod controller… Oh, and it’s got a version of an Etch-A-Sketch program that is pretty cool. Yay, linux!
I just dropped the latest version of iPodLinux on my iPod to test out recording at higher sample rates. I cranked it up to 44.1KHz, and the recording from the TuneTalk microphone sounded freaking amazing! I’ll have to do some more playing/testing to see how it works for longer recordings (how fast does it suck down the battery? does it still have the high-pitched whine in the background?)
But, while I had linux running on the iPod, I poked around at what else is offered. It’s got some new games, including a non-playable demo of TEMPEST! That is so cool! Apple, please include Tempest as a default game! That is SO perfect for the iPod controller… Oh, and it’s got a version of an Etch-A-Sketch program that is pretty cool. Yay, linux!