* MTecknology *sighs* *expletive* | 00:00 | |
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:01 |
MTecknology | zul: I figured out where suhosin stops it, but it doesn't make sense... http://drupalbin.com/14079 | 00:20 |
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:21 |
funkyHat | Is there a way to use more than one IP with a single network interface? | 00:34 |
=== rgreening_ is now known as rgreening | ||
funkyHat | Ah, iface eth0:0 ⢁) | 00:42 |
uvirtbot | 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 | 00:51 |
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:27 |
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:28 |
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:32 |
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:33 |
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:35 |
agentk | VSpike: It's very similar to your squid redirect. That what you were asking? | 01:36 |
VSpike | agentk: i think so .. thanks.. let me pick it apart with iptables doc :) | 01:37 |
agentk | VSpike: No prob. Mine's been made fairly specific the the system here. Basics are: PREROUTING <match rules> <action rule> | 01:38 |
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:39 |
VSpike | agentk: that second one redirects outgoign traffic on port 80 to 192.168.1.1:8081 ? | 01:44 |
VSpike | except it says in interface is ppp+ which seems to be the WAN | 01:45 |
agentk | VSpike: It's for traffic comming in over a vpn in through ppp0 and ppp1 to be sent to a squid machine | 01:46 |
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:47 |
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. | 01:48 |
uvirtbot | 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 | 02:47 |
Psi-Jack- | UEC supports Xen, correct? | 04:05 |
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:14 |
uvirtbot | 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:31 |
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 | 04:44 |
=== MTecknology is now known as MTeck-ricer | ||
ddecator | nvm, got it | 05:02 |
MTeck-ricer | where is mysql data stored? | 06:09 |
rcsheets | by default it will be under /var/lib/mysql | 06:12 |
MTeck-ricer | rcsheets: thanks :) | 06:15 |
rcsheets | it's configured in /etc/mysql/my.cnf though | 06:16 |
rcsheets | it's datadir | 06:16 |
MTeck-ricer | rcsheets: so if I did a dumb **** move, is it possible to recover mysql data from that data only? | 06:17 |
MTeck-ricer | a move like losing everything except /var, /home, /etc, and /usr | 06:18 |
rcsheets | so um ... /var, /home, /etc, and /usr have pretty much all your data in them, typically | 06:19 |
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:20 |
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:21 |
MTeck-ricer | I'll have to start resurrecting this tomorrow morning | 06:22 |
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 | 06:52 |
Bob28 | hi | 09:44 |
uvirtbot | 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 | 10:57 |
Britany_okla | hi | 11:45 |
=== arvind_k is now known as arvind_khadri | ||
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:41 |
uvirtbot | New bug: #549508 in krb5 (main) "Can't resolve realm kdc with a fully qualified hostname" [Undecided,New] https://launchpad.net/bugs/549508 | 12:51 |
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:52 |
Skaag | this is it: http://dl.dropbox.com/u/40057/Ubuntu910NoBoot.png | 12:53 |
Skaag | excuse the bad quality of the image | 12:54 |
Skaag | what would you suggest to do in such a situation | 12:55 |
ScottK | Not sure. | 12:58 |
uvirtbot | New bug: #549527 in samba (main) "Cannot find domain controller when joining a domain" [Undecided,New] https://launchpad.net/bugs/549527 | 13:11 |
Skaag | ok found the issue | 13:12 |
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:13 |
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:14 |
sherr | Skaag: All very important and relevant bits of information for upgrade trouble! :-) | 13:16 |
uvirtbot | 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:22 |
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:23 |
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:25 |
mrlemao | Sorry, these are my own apps on top of an existing install | 13:26 |
mrlemao | btw, http://tinyurl.com/ubuntuserv link is broken | 13:27 |
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:28 |
mrlemao | sherr: thanks. I will do so | 13:30 |
Anthoo | hello | 13:41 |
Anthoo | Someone knows he iptables? | 13:42 |
=== dendro-afk is now known as dendrobates | ||
=== Airells is now known as airells | ||
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:46 |
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:47 |
gzur_ | maybe a reboot would do the trick? | 14:50 |
gzur_ | trying that now :) | 14:50 |
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:52 |
gzur_ | it comes up in fdisk -l as HPFS/NTFS | 14:55 |
joschi | gzur_: make sure the ntfs module is loaded | 14:55 |
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:56 |
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:57 |
joschi | try it... | 14:58 |
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:00 |
gzur_ | and it worked fine | 15:01 |
gzur_ | sudo fdisk -l gives this: http://ubuntu.pastebin.com/QM1zgL5G | 15:05 |
=== TrickFin2 is now known as TrickFinlay2 | ||
sherr | gzur: got anywhere? | 15:48 |
uvirtbot | 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:21 |
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:38 |
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:39 |
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/ | 16:51 |
asti | thank you | 17:06 |
=== jldugger is now known as pwnguin | ||
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:35 |
that0n3guy | programmablecoffeemaker.org | 17:38 |
that0n3guy | that goes to my site... then add the www. and it goes someplace else | 17:39 |
that0n3guy | I'm on linode vps | 17:40 |
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:41 |
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:42 |
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:43 |
that0n3guy | 67.222.48.64 is not mine | 17:44 |
that0n3guy | how did you check that? | 17:50 |
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:52 |
that0n3guy | guntburt, thanks for the heads up on dig | 17:53 |
guntbert | that0n3guy: first look at what his DNS server has to say about it - maybe its a question of spreading the info | 17:54 |
that0n3guy | hu? by "spreading the info" do you mean just telling someone? | 17:55 |
guntbert | that0n3guy: no, sorry - the DNS servers talk to each other to keep the database consistent - and that *can* take up to a week | 17:59 |
that0n3guy | ok, but haven't changed anything in months | 18:00 |
that0n3guy | im going to shoot them an email | 18:01 |
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:02 |
that0n3guy | ha, yeah good call, being nice usually ends up w/ better results... thanks guntbert | 18:03 |
guntbert | that0n3guy: Good luck :-) | 18:04 |
that0n3guy | have a good one | 18:04 |
monkey_dust | folx, in /etc/network/interfaces, how do i configure a local static IP addres for awireless connection -- eth0 works | 18:25 |
=== vishaal1 is now known as vishalbelsare | ||
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 | 21:01 |
nicodarious | evening all | 22:31 |
nicodarious | anyone on here that knows much about automated backups by chance? | 22:32 |
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:33 |
sherr | nicodarious: You've installed ubuntu-server for your parents? :-) | 22:41 |
nicodarious | no, it's only the desktop version. | 22:41 |
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:42 |
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:43 |
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:44 |
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:45 |
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:46 |
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:47 |
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:48 |
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:49 |
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:50 |
nicodarious | hmm... ok, thanks, but I thought this might be right up this channels ally. thanks anyway. | 22:51 |
Trek | got a question, how can I view a history of connections and commands issued through ssh? | 23:50 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!