[00:00]  * MTecknology *sighs* *expletive*
[00:01] <MTecknology> zul: from that strace do you have any idea what might be causing it?
[00:01] <zul> MTecknology: nope
[00:01]  * zul wonders off for dinner
[00:01] <MTecknology> zul: alrighty, I'll try grabbing another php app and try that out
[00:20] <MTecknology> zul: I figured out where suhosin stops it, but it doesn't make sense... http://drupalbin.com/14079
[00:21] <MTecknology> Mar 26 19:12:28 incipio suhosin[17431]: ALERT - canary mismatch on efree() - heap overflow detected at 0x2181398 (attacker '96.2.97.126', file '/home/michael/drupal6/includes/bootstrap.inc', line 1269)
[00:21] <MTecknology> !suhosin
[00:21] <MTecknology> Maybe this is a question for -hardened
[00:34] <funkyHat> Is there a way to use more than one IP with a single network interface?
[00:42] <funkyHat> Ah, iface eth0:0 ⢁)
[01:27] <RoAkSoAx> funkyHat, indeed, you can also configrue them in /etc/network/interfaces to be iface eth0:0 inet static... etc etc
[01:27] <funkyHat> RoAkSoAx: yes that's what I've done ⢁)
[01:28] <RoAkSoAx> awesome then ;)
[01:28] <funkyHat> Still trying to figure out this silly dnsmasq wildcard thing though
[01:28] <funkyHat> http://serverfault.com/questions/122631/how-to-configure-a-static-wildcard-subdomain-with-dnsmasq/122646#122646 the answer there doesn't work
[01:32] <VSpike> This is the iptables setup on my nat gateway + squid server. http://pastebin.com/xy2EZetR
[01:32] <RoAkSoAx> i have played little with dnsmasq so i dont think i can help you with that
[01:33] <VSpike> can anyone tell me what I need to do to forward an external port to a specific machine/port on the private lan?
[01:35] <agentk> An example for my firewall: iptables -A PREROUTING -s ! 192.168.0.0/16 -i ppp+ -p tcp --dport 25 -j DNAT --to-dest 192.168.1.23
[01:36] <agentk> VSpike: It's very similar to your squid redirect. That what you were asking?
[01:37] <VSpike> agentk: i think so .. thanks.. let me pick it apart with iptables doc :)
[01:38] <agentk> VSpike: No prob. Mine's been made fairly specific the the system here. Basics are: PREROUTING <match rules> <action rule>
[01:39] <agentk> VSpike: Another example with port redirection too: iptables -t nat -A PREROUTING  -i ppp+ -s 192.168.0.0/16 -d ! 192.168.0.0/16 -p tcp --dport 80   -j DNAT --to-dest 192.168.1.1:8081
[01:44] <VSpike> agentk: that second one redirects outgoign traffic on port 80 to 192.168.1.1:8081 ?
[01:45] <VSpike> except it says in interface is ppp+ which seems to be the WAN
[01:46] <agentk> VSpike: It's for traffic comming in over a vpn in through ppp0 and ppp1 to be sent to a squid machine
[01:47] <VSpike> source is local network, destination is not local network.  that seems to be a contradiction, so i'm probably missing some.... ah!
[01:47] <VSpike> vpn of course
[01:48] <agentk> I start with the broadest match rules that work, and narrow them down until it still works and gets closest to the match I need.
[04:05] <Psi-Jack-> UEC supports Xen, correct?
[04:14] <Psi-Jack-> Okay, so it does, you just have to install xen-utils with it. However, does it have installers for xen-based domU's?
[04:44] <ddecator> can anyone help me get my server (first one i've setup) to join my wpa2 wireless network through a wireless usb adapter? the adapter works and it picks up the network, i just don't know how to get it to use the passkey so it can actually use the connection
[05:02] <ddecator> nvm, got it
[06:09] <MTeck-ricer> where is mysql data stored?
[06:12] <rcsheets> by default it will be under /var/lib/mysql
[06:15] <MTeck-ricer> rcsheets: thanks :)
[06:16] <rcsheets> it's configured in /etc/mysql/my.cnf though
[06:16] <rcsheets> it's datadir
[06:17] <MTeck-ricer> rcsheets: so if I did a dumb **** move, is it possible to recover mysql data from that data only?
[06:18] <MTeck-ricer> a move like losing everything except /var, /home, /etc, and /usr
[06:19] <rcsheets> so um ... /var, /home, /etc, and /usr have pretty much all your data in them, typically
[06:20] <MTeck-ricer> i was backing up those, but toasted the system
[06:20] <rcsheets> unless you had stuff in /srv, i guess. you've pretty much lost the parts of the system that will be restored if you install from scratch.
[06:20] <MTeck-ricer> How can I recover mysql data from that?
[06:20] <MTeck-ricer> rcsheets: those partitions are what I kept
[06:20] <MTeck-ricer> everything else is gone
[06:21] <rcsheets> if this was just a database server, i'd suggest installing ubuntu server on a different machine, installing mysql there, and then restoring /etc/mysql and /var/lib/mysql to the new box, and see if it works ok
[06:21] <rcsheets> i would actually be pretty surprised if that didn't work
[06:21] <MTeck-ricer> rcsheets: awesome :D
[06:21] <MTeck-ricer> thanks
[06:22] <MTeck-ricer> I'll have to start resurrecting this tomorrow morning
[06:52] <ddecator> could someone help me setup an ssh connection between my comp and my server? i am trying to get irssi+screen setup, but i have no idea how to connect the two. i'm following https://help.ubuntu.com/9.10/serverguide/C/openssh-server.html but i'm still lost
[09:44] <Bob28> hi
[11:45] <Britany_okla> hi
[12:41] <Skaag> I have upgraded a box from 9.04 server to 9.10 server, and now during boot time it's stuck on: init: ureadahead main process (1327) terminated with status 5
[12:41] <Skaag> google doesn't reveal much about this
[12:52] <ScottK> Skaag: IIRC the beta 1 release notes had something on an issue with server startup.  Not sure if it's related or not.
[12:52] <Skaag> I took a screenshot of a video feed to that machine :-)
[12:53] <Skaag> this is it: http://dl.dropbox.com/u/40057/Ubuntu910NoBoot.png
[12:54] <Skaag> excuse the bad quality of the image
[12:55] <Skaag> what would you suggest to do in such a situation
[12:58] <ScottK> Not sure.
[13:12] <Skaag> ok found the issue
[13:13] <Skaag> I setup that machine as a virtual machine host
[13:13] <Skaag> so it was using vmlinuz-2.6.26-2-xen-686
[13:13] <Skaag> but in Karmic, to boot properly you need a kernel around vmlinuz-2.6.31-20-generic or vmlinuz-2.6.31-20-generic-pae
[13:13] <Skaag> so now I can't run the virtual machines
[13:14] <Skaag> and now that I think about it, I brought that kernel from debian
[13:14] <Skaag> due to an issue with the ubuntu one
[13:16] <sherr> Skaag: All very important and relevant bits of information for upgrade trouble! :-)
[13:23] <mrlemao> What is considered a best practice in terms of installing apps (server only). Should I create a user for each app and install it in its home (user per app)? Or are there better strategies?
[13:25] <sherr> mrlemao: the package manager (apt/apt-get/aptitude) will setup the applications and create necessary users/files etc. I doubt there's a need to do anything else. What apps?
[13:26] <mrlemao> Sorry, these are my own apps on top of an existing install
[13:27] <mrlemao> btw, http://tinyurl.com/ubuntuserv link is broken
[13:28] <sherr> Limiting an app via a separate uer or group could be considered good practice from a security perspective.
[13:28] <sherr> uer->*user
[13:30] <mrlemao> sherr: thanks. I will do so
[13:41] <Anthoo> hello
[13:42] <Anthoo> Someone knows he iptables?
[14:46] <gzur_> Hi - I'm running Ubuntu 8.0.4 LTS and can only access it via SSH. A technician connected an external drive to my server yesterday and I'm having trouble mounting it.
[14:47] <gzur_> Can I disconnect/reconnect the external drive somehow via SSH?
[14:47] <gzur_> Since I don't have physical access to the server itself.
[14:50] <gzur_> maybe a reboot would do the trick?
[14:50] <gzur_> trying that now :)
[14:52] <joschi> gzur_: what kind of drive? does your kernel have the necessary drivers and are they loaded?
[14:52] <gzur_> it's an NTFS usb drive
[14:55] <gzur_> it comes up in fdisk -l as   HPFS/NTFS
[14:55] <joschi> gzur_: make sure the ntfs module is loaded
[14:56] <gzur_> how can I make sure?
[14:56] <joschi> gzur_: and then just mount the appropriate partition
[14:56] <joschi> gzur_: check the loaded modules with `lsmod`
[14:56] <joschi> gzur_: and load ntfs with `modprobe` if it hasn't been loaded yet
[14:56] <gzur_>  lsmod | grep ntfs gives bubkiss
[14:56] <gzur_> can I install it through apt?
[14:57] <joschi> gzur_: it should be part of linux-image
[14:57] <joschi> so you don't need to install it seperately
[14:57] <gzur_> so I only need to activate it?
[14:57] <gzur_> doesn't it get activated automatically if I try to mount an NTFS drive?
[14:58] <joschi> try it...
[15:00] <gzur_> http://ubuntu.pastebin.com/EJB9vzuN
[15:00] <gzur_> looks like a problem with the drive
[15:00] <gzur_> which is weird, I was copying onto it from windows yesterday morning
[15:01] <gzur_> and it worked fine
[15:05] <gzur_> sudo fdisk -l gives this: http://ubuntu.pastebin.com/QM1zgL5G
[15:48] <sherr> gzur: got anywhere?
[16:38] <asti> I was hoping someone could help me please. I have 5x 1.5TB WD EARS drives which I am trying to put into a Raid 5 mdadm based array. I would like to avoid having horrid performance (the dreaded 4kb-sector issue), so was wondering how to align the partitions and have them put into an mdadm array.
[16:39] <asti> I originally attempted to add all the drives to a ZFS-Fuse based Raid Z pool but that ended up having 23MB/s copy ceiling to the array so I gave up.
[16:51] <sherr> asti: This LWN article offers useful background but I suspect things will be more complicated if you are looking at performance over RAID5/MD.
[16:51] <sherr> http://lwn.net/Articles/377895/
[17:06] <asti> thank you
[17:35] <that0n3guy> ok I have an issue, trying to figure out if i've been hacked.... my domain.com goes to the right place, but www.domain.com goes someplace else...
[17:35] <that0n3guy> I checked my vhost config file, my .htaccess, my registrar, cant figure out how they are forwarding the www someplace else...
[17:35] <ScottK> What domain?
[17:38] <that0n3guy> programmablecoffeemaker.org
[17:39] <that0n3guy> that goes to my site... then add the www. and it goes someplace else
[17:40] <that0n3guy> I'm on linode vps
[17:41] <ScottK> Is 67.222.48.64 your IP address too?
[17:41] <ScottK> And 69.164.198.113?
[17:41] <ScottK> I see both in DNS for your domain.
[17:42] <that0n3guy> only 68....113
[17:42] <ScottK> It's a DNS issue then.
[17:42] <ScottK> Sometimes I get 113 and sometimes I get 64.
[17:43] <ScottK> So that's an issue at registrar-servers.com
[17:43] <ScottK> Gotta run.
[17:43] <that0n3guy> oh wait... 64 is me forwarding to a diff host
[17:44] <that0n3guy> 67.222.48.64 is not mine
[17:50] <that0n3guy> how did you check that?
[17:52] <guntbert> that0n3guy: there is a wonderful tool: dig
[17:52] <that0n3guy> so if my registrar is having a dns issue, do I just email them and tell them hey have a problem?
[17:53] <that0n3guy> guntburt, thanks for the heads up on dig
[17:54] <guntbert> that0n3guy: first look at what his DNS server has to say about it - maybe its a question of spreading the info
[17:55] <that0n3guy> hu? by "spreading the info" do you mean just telling someone?
[17:59] <guntbert> that0n3guy: no, sorry - the DNS servers talk to each other to keep the database consistent - and that *can* take up to a week
[18:00] <that0n3guy> ok, but haven't changed anything in months
[18:01] <that0n3guy> im going to shoot them an email
[18:02] <guntbert> that0n3guy: seems best - (but if I may give uncalled advice: just ask what is the matter - don't accuse them of misconfiguring something :-))
[18:03] <that0n3guy> ha, yeah good call, being nice usually ends up w/ better results... thanks guntbert
[18:04] <guntbert> that0n3guy: Good luck :-)
[18:04] <that0n3guy> have a good one
[18:25] <monkey_dust> folx, in /etc/network/interfaces, how do i configure a local static IP addres for awireless connection -- eth0 works
[21:01] <uvirtbot`> New bug: #549848 in php5 (main) "package php5-ldap 5.3.1-5ubuntu1 failed to install/upgrade: tentando sobrescrever '/usr/lib/php5/20090626+lfs/ldap.so', que também está no pacote libapache2-mod-php5 0:5.3.1-5ubuntu1" [Undecided,New] https://launchpad.net/bugs/549848
[22:31] <nicodarious> evening all
[22:32] <nicodarious> anyone on here that knows much about automated backups by chance?
[22:33] <nicodarious> been trying to set up a dual hdd system for my parents.  I'm having a bit of trouble trying to set up a backup system while trying to keep it simple for them (since I won't be there for tech support).  Been trying to work with dd, rsync, and such, but I can't find an easy way to set up an automated backup to the secondary drive.  Anyone have some ideas?
[22:41] <sherr> nicodarious: You've installed ubuntu-server for your parents? :-)
[22:41] <nicodarious> no, it's only the desktop version.
[22:42] <nicodarious> but I am sure that I can install the necessary programs in order to create a type of 'server' for them.
[22:42] <sherr> OK, this is the server channel, so it's a bit off-topic. But what sort of problems have you had?
[22:42] <nicodarious> I'm just trying to make a complete copy of one drive to another, then set the second into standby until the first drive fails.
[22:43] <nicodarious> well, the reason why I came here is because this is a little more of setting up a server rather than a regular desktop.
[22:43] <sherr> What about RAID-1 mirroring?
[22:43] <nicodarious> well, thought of that, but I have had, in my time, noting but trouble with setting up RAID1.
[22:44] <sherr> You can sort that out at install time.
[22:44] <sherr> It's very smooth usually today.
[22:44] <sherr> Alternatively - clonezilla can create disk images. Maybe that can be automated - but at least a "snapshot" of an install.
[22:45] <nicodarious> not only that, but both drives would be used all the time.  I'm trying to conserve one drive as a 'storage' backup drive, so if the primary fails, the secondary has a complete system that was created by a cron job or something.
[22:45] <sherr> If one drive fails ... sounds like your want RAID really :-)
[22:45] <sherr> Anyway - alternatives :
[22:45] <nicodarious> well, here's what I have run into so far.  I have tried using 'dd' to make an image of sda to sdb.  this works great... all except for one problem.  it also copies the uuid info
[22:46] <sherr> clonezilla (image), rdisk-backup, backup-pc (gui), bacula (maybe too complex) ...
[22:46] <sherr> Lots of options.
[22:46] <sherr> Alternatively, a cronjob that does an rsync at 04:00 hrs
[22:47] <nicodarious> at boot time, grub gets confused sometimes and / might be sda /boot may be sdb and /home may be sdb.....  sometimes, it's all confusing.  what I am thinking is if there's some way to inplement into my cron job for dd, some way to change the uuids on sdb partitions?
[22:48] <sherr> nicodarious: grub gets confused? Use labels or UUID's for grub and fstab ... grub should never be getting confused nowadays.
[22:48] <sherr> What OS/version are you talking about?
[22:48] <nicodarious> sherr, that's what i though also. but with sdb and sda having the 'exact' same info, including uuids, it's kinda interesting.
[22:48] <nicodarious> sherr, i'm trying to set up Ubuntu 9.10.
[22:49] <nicodarious> tried arch (since that's what i personally run on all my machines, but the problem was even worse)
[22:49] <sherr> If you want to have this sort of redundancy, use RAID-1. Else - clone a snapshot after install (perhaps).
[22:50] <sherr> Then forget aboyt sda,sdb,uuids etc. just rsync form 1 or more filesystems (/,/home etc) to the backup (/mnt/backupdisk)
[22:50] <sherr> Anyway, this is #ubuntu-server, so off-topic ... and I'm off to bed :-)
[22:50] <sherr> Good luck
[22:51] <nicodarious> hmm...  ok, thanks, but I thought this might be right up this channels ally.  thanks anyway.
[23:50] <Trek> got a question, how can I view a history of connections and commands issued through ssh?