/srv/irclogs.ubuntu.com/2010/03/27/#ubuntu-server.txt

* MTecknology *sighs* *expletive*00:00
MTecknologyzul: from that strace do you have any idea what might be causing it?00:01
zulMTecknology: nope00:01
* zul wonders off for dinner00:01
MTecknologyzul: alrighty, I'll try grabbing another php app and try that out00:01
MTecknologyzul: I figured out where suhosin stops it, but it doesn't make sense... http://drupalbin.com/1407900:20
MTecknologyMar 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!suhosin00:21
MTecknologyMaybe this is a question for -hardened00:21
funkyHatIs there a way to use more than one IP with a single network interface?00:34
=== rgreening_ is now known as rgreening
funkyHatAh, iface eth0:0 ⢁)00:42
uvirtbotNew 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/54925300:51
RoAkSoAxfunkyHat, indeed, you can also configrue them in /etc/network/interfaces to be iface eth0:0 inet static... etc etc01:27
funkyHatRoAkSoAx: yes that's what I've done ⢁)01:27
RoAkSoAxawesome then ;)01:28
funkyHatStill trying to figure out this silly dnsmasq wildcard thing though01:28
funkyHathttp://serverfault.com/questions/122631/how-to-configure-a-static-wildcard-subdomain-with-dnsmasq/122646#122646 the answer there doesn't work01:28
VSpikeThis is the iptables setup on my nat gateway + squid server. http://pastebin.com/xy2EZetR01:32
RoAkSoAxi have played little with dnsmasq so i dont think i can help you with that01:32
VSpikecan anyone tell me what I need to do to forward an external port to a specific machine/port on the private lan?01:33
agentkAn 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.2301:35
agentkVSpike: It's very similar to your squid redirect. That what you were asking?01:36
VSpikeagentk: i think so .. thanks.. let me pick it apart with iptables doc :)01:37
agentkVSpike: No prob. Mine's been made fairly specific the the system here. Basics are: PREROUTING <match rules> <action rule>01:38
agentkVSpike: 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:808101:39
VSpikeagentk: that second one redirects outgoign traffic on port 80 to 192.168.1.1:8081 ?01:44
VSpikeexcept it says in interface is ppp+ which seems to be the WAN01:45
agentkVSpike: It's for traffic comming in over a vpn in through ppp0 and ppp1 to be sent to a squid machine01:46
VSpikesource is local network, destination is not local network.  that seems to be a contradiction, so i'm probably missing some.... ah!01:47
VSpikevpn of course01:47
agentkI 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
uvirtbotNew 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/54929102: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
uvirtbotNew 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/54933504:31
ddecatorcan 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 connection04:44
=== MTecknology is now known as MTeck-ricer
ddecatornvm, got it05:02
MTeck-ricerwhere is mysql data stored?06:09
rcsheetsby default it will be under /var/lib/mysql06:12
MTeck-ricerrcsheets: thanks :)06:15
rcsheetsit's configured in /etc/mysql/my.cnf though06:16
rcsheetsit's datadir06:16
MTeck-ricerrcsheets: so if I did a dumb **** move, is it possible to recover mysql data from that data only?06:17
MTeck-ricera move like losing everything except /var, /home, /etc, and /usr06:18
rcsheetsso um ... /var, /home, /etc, and /usr have pretty much all your data in them, typically06:19
MTeck-riceri was backing up those, but toasted the system06:20
rcsheetsunless 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-ricerHow can I recover mysql data from that?06:20
MTeck-ricerrcsheets: those partitions are what I kept06:20
MTeck-ricereverything else is gone06:20
rcsheetsif 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 ok06:21
rcsheetsi would actually be pretty surprised if that didn't work06:21
MTeck-ricerrcsheets: awesome :D06:21
MTeck-ricerthanks06:21
MTeck-ricerI'll have to start resurrecting this tomorrow morning06:22
ddecatorcould 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 lost06:52
Bob28hi09:44
uvirtbotNew 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/54944910:57
Britany_oklahi11:45
=== arvind_k is now known as arvind_khadri
SkaagI 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 512:41
Skaaggoogle doesn't reveal much about this12:41
uvirtbotNew bug: #549508 in krb5 (main) "Can't resolve realm kdc with a fully qualified hostname" [Undecided,New] https://launchpad.net/bugs/54950812:51
ScottKSkaag: IIRC the beta 1 release notes had something on an issue with server startup.  Not sure if it's related or not.12:52
SkaagI took a screenshot of a video feed to that machine :-)12:52
Skaagthis is it: http://dl.dropbox.com/u/40057/Ubuntu910NoBoot.png12:53
Skaagexcuse the bad quality of the image12:54
Skaagwhat would you suggest to do in such a situation12:55
ScottKNot sure.12:58
uvirtbotNew bug: #549527 in samba (main) "Cannot find domain controller when joining a domain" [Undecided,New] https://launchpad.net/bugs/54952713:11
Skaagok found the issue13:12
SkaagI setup that machine as a virtual machine host13:13
Skaagso it was using vmlinuz-2.6.26-2-xen-68613:13
Skaagbut in Karmic, to boot properly you need a kernel around vmlinuz-2.6.31-20-generic or vmlinuz-2.6.31-20-generic-pae13:13
Skaagso now I can't run the virtual machines13:13
Skaagand now that I think about it, I brought that kernel from debian13:14
Skaagdue to an issue with the ubuntu one13:14
sherrSkaag: All very important and relevant bits of information for upgrade trouble! :-)13:16
uvirtbotNew bug: #549535 in samba (main) "Failed to join domain: failed to connect to AD: Operations error" [Undecided,New] https://launchpad.net/bugs/54953513:22
mrlemaoWhat 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
sherrmrlemao: 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
mrlemaoSorry, these are my own apps on top of an existing install13:26
mrlemaobtw, http://tinyurl.com/ubuntuserv link is broken13:27
sherrLimiting an app via a separate uer or group could be considered good practice from a security perspective.13:28
sherruer->*user13:28
mrlemaosherr: thanks. I will do so13:30
Anthoohello13:41
AnthooSomeone 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
joschigzur_: what kind of drive? does your kernel have the necessary drivers and are they loaded?14:52
gzur_it's an NTFS usb drive14:52
gzur_it comes up in fdisk -l as   HPFS/NTFS14:55
joschigzur_: make sure the ntfs module is loaded14:55
gzur_how can I make sure?14:56
joschigzur_: and then just mount the appropriate partition14:56
joschigzur_: check the loaded modules with `lsmod`14:56
joschigzur_: and load ntfs with `modprobe` if it hasn't been loaded yet14:56
gzur_ lsmod | grep ntfs gives bubkiss14:56
gzur_can I install it through apt?14:56
joschigzur_: it should be part of linux-image14:57
joschiso you don't need to install it seperately14: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
joschitry it...14:58
gzur_http://ubuntu.pastebin.com/EJB9vzuN15:00
gzur_looks like a problem with the drive15:00
gzur_which is weird, I was copying onto it from windows yesterday morning15:00
gzur_and it worked fine15:01
gzur_sudo fdisk -l gives this: http://ubuntu.pastebin.com/QM1zgL5G15:05
=== TrickFin2 is now known as TrickFinlay2
sherrgzur: got anywhere?15:48
uvirtbotNew 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/54966816:21
astiI 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
astiI 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
sherrasti: 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
sherrhttp://lwn.net/Articles/377895/16:51
astithank you17:06
=== jldugger is now known as pwnguin
that0n3guyok 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
that0n3guyI checked my vhost config file, my .htaccess, my registrar, cant figure out how they are forwarding the www someplace else...17:35
ScottKWhat domain?17:35
that0n3guyprogrammablecoffeemaker.org17:38
that0n3guythat goes to my site... then add the www. and it goes someplace else17:39
that0n3guyI'm on linode vps17:40
ScottKIs 67.222.48.64 your IP address too?17:41
ScottKAnd 69.164.198.113?17:41
ScottKI see both in DNS for your domain.17:41
that0n3guyonly 68....11317:42
ScottKIt's a DNS issue then.17:42
ScottKSometimes I get 113 and sometimes I get 64.17:42
ScottKSo that's an issue at registrar-servers.com17:43
ScottKGotta run.17:43
that0n3guyoh wait... 64 is me forwarding to a diff host17:43
that0n3guy67.222.48.64 is not mine17:44
that0n3guyhow did you check that?17:50
guntbertthat0n3guy: there is a wonderful tool: dig17:52
that0n3guyso if my registrar is having a dns issue, do I just email them and tell them hey have a problem?17:52
that0n3guyguntburt, thanks for the heads up on dig17:53
guntbertthat0n3guy: first look at what his DNS server has to say about it - maybe its a question of spreading the info17:54
that0n3guyhu? by "spreading the info" do you mean just telling someone?17:55
guntbertthat0n3guy: no, sorry - the DNS servers talk to each other to keep the database consistent - and that *can* take up to a week17:59
that0n3guyok, but haven't changed anything in months18:00
that0n3guyim going to shoot them an email18:01
guntbertthat0n3guy: seems best - (but if I may give uncalled advice: just ask what is the matter - don't accuse them of misconfiguring something :-))18:02
that0n3guyha, yeah good call, being nice usually ends up w/ better results... thanks guntbert18:03
guntbertthat0n3guy: Good luck :-)18:04
that0n3guyhave a good one18:04
monkey_dustfolx, in /etc/network/interfaces, how do i configure a local static IP addres for awireless connection -- eth0 works18: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/54984821:01
nicodariousevening all22:31
nicodariousanyone on here that knows much about automated backups by chance?22:32
nicodariousbeen 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
sherrnicodarious: You've installed ubuntu-server for your parents? :-)22:41
nicodariousno, it's only the desktop version.22:41
nicodariousbut I am sure that I can install the necessary programs in order to create a type of 'server' for them.22:42
sherrOK, this is the server channel, so it's a bit off-topic. But what sort of problems have you had?22:42
nicodariousI'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
nicodariouswell, 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
sherrWhat about RAID-1 mirroring?22:43
nicodariouswell, thought of that, but I have had, in my time, noting but trouble with setting up RAID1.22:43
sherrYou can sort that out at install time.22:44
sherrIt's very smooth usually today.22:44
sherrAlternatively - clonezilla can create disk images. Maybe that can be automated - but at least a "snapshot" of an install.22:44
nicodariousnot 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
sherrIf one drive fails ... sounds like your want RAID really :-)22:45
sherrAnyway - alternatives :22:45
nicodariouswell, 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 info22:45
sherrclonezilla (image), rdisk-backup, backup-pc (gui), bacula (maybe too complex) ...22:46
sherrLots of options.22:46
sherrAlternatively, a cronjob that does an rsync at 04:00 hrs22:46
nicodariousat 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
sherrnicodarious: grub gets confused? Use labels or UUID's for grub and fstab ... grub should never be getting confused nowadays.22:48
sherrWhat OS/version are you talking about?22:48
nicodarioussherr, that's what i though also. but with sdb and sda having the 'exact' same info, including uuids, it's kinda interesting.22:48
nicodarioussherr, i'm trying to set up Ubuntu 9.10.22:48
nicodarioustried arch (since that's what i personally run on all my machines, but the problem was even worse)22:49
sherrIf you want to have this sort of redundancy, use RAID-1. Else - clone a snapshot after install (perhaps).22:49
sherrThen forget aboyt sda,sdb,uuids etc. just rsync form 1 or more filesystems (/,/home etc) to the backup (/mnt/backupdisk)22:50
sherrAnyway, this is #ubuntu-server, so off-topic ... and I'm off to bed :-)22:50
sherrGood luck22:50
nicodarioushmm...  ok, thanks, but I thought this might be right up this channels ally.  thanks anyway.22:51
Trekgot 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!