[00:00] * MTecknology *sighs* *expletive* [00:01] zul: from that strace do you have any idea what might be causing it? [00:01] MTecknology: nope [00:01] * zul wonders off for dinner [00:01] zul: alrighty, I'll try grabbing another php app and try that out [00:20] zul: I figured out where suhosin stops it, but it doesn't make sense... http://drupalbin.com/14079 [00:21] 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] !suhosin [00:21] Maybe this is a question for -hardened [00:34] Is there a way to use more than one IP with a single network interface? === rgreening_ is now known as rgreening [00:42] Ah, iface eth0:0 ⢁) [00:51] New bug: #549253 in samba (main) "package samba-common-bin 2:3.4.0-3ubuntu5.4 failed to install/upgrade: subprocess dpkg-deb --control returned error exit status 2" [Undecided,New] https://launchpad.net/bugs/549253 [01:27] funkyHat, indeed, you can also configrue them in /etc/network/interfaces to be iface eth0:0 inet static... etc etc [01:27] RoAkSoAx: yes that's what I've done ⢁) [01:28] awesome then ;) [01:28] Still trying to figure out this silly dnsmasq wildcard thing though [01:28] http://serverfault.com/questions/122631/how-to-configure-a-static-wildcard-subdomain-with-dnsmasq/122646#122646 the answer there doesn't work [01:32] This is the iptables setup on my nat gateway + squid server. http://pastebin.com/xy2EZetR [01:32] i have played little with dnsmasq so i dont think i can help you with that [01:33] 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] 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] VSpike: It's very similar to your squid redirect. That what you were asking? [01:37] agentk: i think so .. thanks.. let me pick it apart with iptables doc :) [01:38] VSpike: No prob. Mine's been made fairly specific the the system here. Basics are: PREROUTING [01:39] 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] agentk: that second one redirects outgoign traffic on port 80 to 192.168.1.1:8081 ? [01:45] except it says in interface is ppp+ which seems to be the WAN [01:46] VSpike: It's for traffic comming in over a vpn in through ppp0 and ppp1 to be sent to a squid machine [01:47] source is local network, destination is not local network. that seems to be a contradiction, so i'm probably missing some.... ah! [01:47] vpn of course [01:48] 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. [02:47] New bug: #549291 in php5 (main) "package php5-ldap 5.3.2-1ubuntu2 failed to install/upgrade: trying to overwrite '/usr/lib/php5/20090626 lfs/ldap.so', which is also in package libapache2-mod-php5 0:5.3.1-5ubuntu2" [Undecided,New] https://launchpad.net/bugs/549291 [04:05] UEC supports Xen, correct? [04:14] Okay, so it does, you just have to install xen-utils with it. However, does it have installers for xen-based domU's? [04:31] New bug: #549335 in php5 (main) "package php5-ldap 5.3.1-5ubuntu2 failed to install/upgrade: попытка перезаписи '/usr/lib/php5/20090626+lfs/ldap.so', котор(ый)ая также находится в пакете libapache2-mod-php5 0:5.3.1-5ubuntu2" [Undecided,New] https://launchpad.net/bugs/549335 [04:44] 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 === MTecknology is now known as MTeck-ricer [05:02] nvm, got it [06:09] where is mysql data stored? [06:12] by default it will be under /var/lib/mysql [06:15] rcsheets: thanks :) [06:16] it's configured in /etc/mysql/my.cnf though [06:16] it's datadir [06:17] rcsheets: so if I did a dumb **** move, is it possible to recover mysql data from that data only? [06:18] a move like losing everything except /var, /home, /etc, and /usr [06:19] so um ... /var, /home, /etc, and /usr have pretty much all your data in them, typically [06:20] i was backing up those, but toasted the system [06:20] 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] How can I recover mysql data from that? [06:20] rcsheets: those partitions are what I kept [06:20] everything else is gone [06:21] 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] i would actually be pretty surprised if that didn't work [06:21] rcsheets: awesome :D [06:21] thanks [06:22] I'll have to start resurrecting this tomorrow morning [06:52] 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] hi [10:57] New bug: #549449 in samba (main) "package samba-common-bin 2:3.4.0-3ubuntu5.5 failed to install/upgrade: subprocess dpkg-deb --control returned error exit status 2" [Undecided,New] https://launchpad.net/bugs/549449 [11:45] hi === arvind_k is now known as arvind_khadri [12:41] 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] google doesn't reveal much about this [12:51] New bug: #549508 in krb5 (main) "Can't resolve realm kdc with a fully qualified hostname" [Undecided,New] https://launchpad.net/bugs/549508 [12:52] 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] I took a screenshot of a video feed to that machine :-) [12:53] this is it: http://dl.dropbox.com/u/40057/Ubuntu910NoBoot.png [12:54] excuse the bad quality of the image [12:55] what would you suggest to do in such a situation [12:58] Not sure. [13:11] New bug: #549527 in samba (main) "Cannot find domain controller when joining a domain" [Undecided,New] https://launchpad.net/bugs/549527 [13:12] ok found the issue [13:13] I setup that machine as a virtual machine host [13:13] so it was using vmlinuz-2.6.26-2-xen-686 [13:13] 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] so now I can't run the virtual machines [13:14] and now that I think about it, I brought that kernel from debian [13:14] due to an issue with the ubuntu one [13:16] Skaag: All very important and relevant bits of information for upgrade trouble! :-) [13:22] New bug: #549535 in samba (main) "Failed to join domain: failed to connect to AD: Operations error" [Undecided,New] https://launchpad.net/bugs/549535 [13:23] 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] 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] Sorry, these are my own apps on top of an existing install [13:27] btw, http://tinyurl.com/ubuntuserv link is broken [13:28] Limiting an app via a separate uer or group could be considered good practice from a security perspective. [13:28] uer->*user [13:30] sherr: thanks. I will do so [13:41] hello [13:42] Someone knows he iptables? === dendro-afk is now known as dendrobates === Airells is now known as airells [14:46] 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] Can I disconnect/reconnect the external drive somehow via SSH? [14:47] Since I don't have physical access to the server itself. [14:50] maybe a reboot would do the trick? [14:50] trying that now :) [14:52] gzur_: what kind of drive? does your kernel have the necessary drivers and are they loaded? [14:52] it's an NTFS usb drive [14:55] it comes up in fdisk -l as HPFS/NTFS [14:55] gzur_: make sure the ntfs module is loaded [14:56] how can I make sure? [14:56] gzur_: and then just mount the appropriate partition [14:56] gzur_: check the loaded modules with `lsmod` [14:56] gzur_: and load ntfs with `modprobe` if it hasn't been loaded yet [14:56] lsmod | grep ntfs gives bubkiss [14:56] can I install it through apt? [14:57] gzur_: it should be part of linux-image [14:57] so you don't need to install it seperately [14:57] so I only need to activate it? [14:57] doesn't it get activated automatically if I try to mount an NTFS drive? [14:58] try it... [15:00] http://ubuntu.pastebin.com/EJB9vzuN [15:00] looks like a problem with the drive [15:00] which is weird, I was copying onto it from windows yesterday morning [15:01] and it worked fine [15:05] sudo fdisk -l gives this: http://ubuntu.pastebin.com/QM1zgL5G === TrickFin2 is now known as TrickFinlay2 [15:48] gzur: got anywhere? [16:21] New bug: #549668 in samba4 (universe) "package samba4-common-bin 4.0.0~alpha8+git20090718-1 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 2" [Undecided,New] https://launchpad.net/bugs/549668 [16:38] 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] 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] 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] http://lwn.net/Articles/377895/ [17:06] thank you === jldugger is now known as pwnguin [17:35] 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] I checked my vhost config file, my .htaccess, my registrar, cant figure out how they are forwarding the www someplace else... [17:35] What domain? [17:38] programmablecoffeemaker.org [17:39] that goes to my site... then add the www. and it goes someplace else [17:40] I'm on linode vps [17:41] Is 67.222.48.64 your IP address too? [17:41] And 69.164.198.113? [17:41] I see both in DNS for your domain. [17:42] only 68....113 [17:42] It's a DNS issue then. [17:42] Sometimes I get 113 and sometimes I get 64. [17:43] So that's an issue at registrar-servers.com [17:43] Gotta run. [17:43] oh wait... 64 is me forwarding to a diff host [17:44] 67.222.48.64 is not mine [17:50] how did you check that? [17:52] that0n3guy: there is a wonderful tool: dig [17:52] so if my registrar is having a dns issue, do I just email them and tell them hey have a problem? [17:53] guntburt, thanks for the heads up on dig [17:54] that0n3guy: first look at what his DNS server has to say about it - maybe its a question of spreading the info [17:55] hu? by "spreading the info" do you mean just telling someone? [17:59] 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] ok, but haven't changed anything in months [18:01] im going to shoot them an email [18:02] 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] ha, yeah good call, being nice usually ends up w/ better results... thanks guntbert [18:04] that0n3guy: Good luck :-) [18:04] have a good one [18:25] folx, in /etc/network/interfaces, how do i configure a local static IP addres for awireless connection -- eth0 works === vishaal1 is now known as vishalbelsare [21:01] 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] evening all [22:32] anyone on here that knows much about automated backups by chance? [22:33] 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] nicodarious: You've installed ubuntu-server for your parents? :-) [22:41] no, it's only the desktop version. [22:42] but I am sure that I can install the necessary programs in order to create a type of 'server' for them. [22:42] OK, this is the server channel, so it's a bit off-topic. But what sort of problems have you had? [22:42] 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] 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] What about RAID-1 mirroring? [22:43] well, thought of that, but I have had, in my time, noting but trouble with setting up RAID1. [22:44] You can sort that out at install time. [22:44] It's very smooth usually today. [22:44] Alternatively - clonezilla can create disk images. Maybe that can be automated - but at least a "snapshot" of an install. [22:45] 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] If one drive fails ... sounds like your want RAID really :-) [22:45] Anyway - alternatives : [22:45] 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] clonezilla (image), rdisk-backup, backup-pc (gui), bacula (maybe too complex) ... [22:46] Lots of options. [22:46] Alternatively, a cronjob that does an rsync at 04:00 hrs [22:47] 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] nicodarious: grub gets confused? Use labels or UUID's for grub and fstab ... grub should never be getting confused nowadays. [22:48] What OS/version are you talking about? [22:48] 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] sherr, i'm trying to set up Ubuntu 9.10. [22:49] tried arch (since that's what i personally run on all my machines, but the problem was even worse) [22:49] If you want to have this sort of redundancy, use RAID-1. Else - clone a snapshot after install (perhaps). [22:50] Then forget aboyt sda,sdb,uuids etc. just rsync form 1 or more filesystems (/,/home etc) to the backup (/mnt/backupdisk) [22:50] Anyway, this is #ubuntu-server, so off-topic ... and I'm off to bed :-) [22:50] Good luck [22:51] hmm... ok, thanks, but I thought this might be right up this channels ally. thanks anyway. [23:50] got a question, how can I view a history of connections and commands issued through ssh?