[00:00] thx qman__ [00:07] Uh.. Why does the JRE install want to add things like X11.. Gnome.. [00:07] I just want the java cli compiler. [00:20] Slyboots, did you try with --no-install-recommends? [00:21] also, pretty sure you want the -headless option [00:22] openjdk-6-jre-headless - OpenJDK Java runtime, using Hotspot JIT (headless) [00:26] Hmm.. let me try it now [00:26] Yea thats a lot better :D [00:34] Thanks :) [01:03] testing [01:14] <_Techie_> is it possible to have ubuntu-server setup as a router with the modem and wireless connected to the same NIC? [01:15] _Techie_: you mean you have a wireless AP and a commodity appliance modem, and you want to plug both of those, plus your server, into a 802.1 ethernet switch? [01:16] <_Techie_> yes [01:16] <_Techie_> im too broke to buy another NIC atm [01:16] technically possible, but you're going to have lots of DHCP issues [01:16] as all the traffic from the internet is going to be floating around on your switch [01:17] <_Techie_> i dont use the dhcp on my modem [01:17] no [01:17] you may or may not get DHCP from your ISP [01:17] and may or may not use it on your LAN [01:17] but if you do, in either case, it will interfere [01:17] <_Techie_> i use a half bridge, and my external IP and routing is manually configured on my server [01:18] so you're not sharing the internet connection? [01:22] anyway, it is technically possible, but you're still going to have internet traffic on the wire throughout [01:22] <_Techie_> meh, not a problem [01:22] which is a bad idea security wise [01:22] <_Techie_> i dont use the wireless anyway [01:24] and what I was getting at is, anything attached to that switch will all have to be manually configured, as you won't be able to firewall DHCP out [01:24] <_Techie_> wait [01:24] <_Techie_> why will they have to be manually configured? [01:24] because DHCP is DHCP [01:24] anything connected that asks for a lease is going to ask your entire ISP for one [01:25] <_Techie_> my modem is only acting in half bridge, and ive since disabled the DHCP on it [01:25] I don't know what you mean by that [01:27] it's either letting traffic through or it isn't [01:27] unless it's a sophisticated firewall appliance, in which case I have to wonder why you're doing this anyway [01:28] <_Techie_> its a astandard DSL modem+ router with DHCP spoofing [01:28] spoofing? [01:28] <_Techie_> it is spoofing a dhcp server inside the network that contains the external ip [01:29] that's not spoofing, but ok [01:29] <_Techie_> its a weird topic and is hard to find the proper terms [01:29] anyway [01:29] any time a computer comes online, it's going to make a DHCP request [01:30] unless that unit differentiates by MAC, it's going to give it out [01:30] <_Techie_> the DHCP on the modem has since been disabled [01:30] <_Techie_> i moved the configuration to be static on my servers NIC [01:30] ok, but the other problem is, if it's in a bridging mode, your switch is now in the internet [01:31] and your DHCP requests will go to the other side, unless that device is sophisticated enough to filter them out [01:31] <_Techie_> it is sophisticated in a way [01:31] <_Techie_> it was originally setup as a normal home ADSL modem/router [01:32] <_Techie_> so it would normally pick up DHCP requests and assign them 192.168.1.X [01:32] <_Techie_> so DHCP getting through to the internet wont happen [01:33] that doesn't mean anything [01:33] when you change to bridged mode, all that goes away [01:33] it doesn't route anymore, so unless it has a decent operating firewall, they'll still get through [01:34] <_Techie_> it does route [01:34] <_Techie_> its not fully bridged [01:34] <_Techie_> it still uses NAT and everything [01:35] <_Techie_> it just extends the external IP to an internal machine using the inbuilt DHCP server which has since been disabled [01:35] that's not technically possible [01:35] <_Techie_> it is [01:36] there's no point to it, either [01:36] <_Techie_> there is if you live somewhere like me, where you cant get cable internet or a PPPoE connection [01:37] <_Techie_> or even a decent modem without spending mega bucks [01:37] no, I mean to providing such a function [01:37] there's no point in having your external IP assigned internally and simultaneously assigning private addressing [01:37] you might as well just use the DMZ setting [01:38] it's a lot less complicated and doesn't violate the principles of routing [01:39] <_Techie_> well i use it to make managing my server slightly easier as it appears to be connected directly to the internet [01:40] sounds like a security nightmare [01:40] anyway, you could do what you were asking, but it's complicated [01:40] you need two virtual interfaces on your server [01:41] well, subinterfaces [01:41] eth0:0, eth0:1, etc [01:41] that is, if you want to do the routing through your server [01:42] which I'm assuming is the reason you want to [01:43] <_Techie_> im going to try get away with one [01:43] <_Techie_> eth0-my comp eth1-modem with eth1:0 being the wifi [01:44] you have two interfaces? [01:44] then just use them [01:44] put the AP on the inside [01:44] <_Techie_> its sort of the reason [01:45] <_Techie_> 2 NIC's [01:45] <_Techie_> one 10/100 and the other gigabit [01:45] <_Techie_> and all my network hardware is 10/100 [01:46] <_Techie_> and i want to be able to use the gigabit link to link my pc and the server for streaming HD content from the media shares [01:46] <_Techie_> up untill today is was using a 10/100 switch connected to the gigabit of the server [01:48] <_Techie_> which was all nice, it kept my LAN inside a secure area, but cut off the ability to use the gigabit link [01:48] ok [01:49] well, it's still not a good setup, but you can do it that way [01:49] however, I have to warn you [01:49] a setup using eth1 and eth1:0 at the same time has never worked for me [01:49] always had to de-configure eth1 and use eth1:0 and eth1:1 [01:52] and I would still advise against using DHCP on that part of the link [01:52] is your wireless AP a wireless router, or just an AP? [01:53] <_Techie_> doign this also frees up 10m of cable [01:53] <_Techie_> as it removes the need for the reverse link providing a connection for wireless users [01:53] if it's a wireless router I suggest going that route instead of AP mode === __Techie__ is now known as _Techie_ [01:54] if your wireless AP is actually a wireless router, I suggest using it for providing DHCP to the wireless clients [01:54] to keep the DHCP traffic off of that interface on your server [01:55] trusting your DSL modem/router to protect you from that trouble is risky [01:56] up to you, though [02:03] Can someone tell me how I can have my dhcp server update the hostname of a client? I've seen this done on other networks, but I can't find the right directive for my host entries... [02:10] nevermind === asac_ is now known as asac [03:41] Why does lucid have both /etc/init/ssh.conf and /etc/init.d/ssh ? [03:46] New bug: #685724 in openvpn (main) "openvpn server loses internet after bridge activation" [Undecided,New] https://launchpad.net/bugs/685724 [03:53] twb: b/c upstart can't handle sshd running in a chroot [03:54] Ah, looks like the init.d ssh is not enabled by default [03:55] I can live with that [04:00] I have an Ubuntu router with console=/dev/ttyS0, and that serial port is cabled to ttyUSB0 on a server. [04:00] An Ubuntu server, that is. [04:00] What's the "right" way to have the server log ttyUSB0? [04:01] log all activity ? [04:01] bc you'll have the console there man [04:02] cokegen: basically I want the output of ttyUSB0 (particularly the printks) to be logged into /var/log somewhere. [04:02] Obviously I'll need a way to *stop* that logging so I can do "screen /dev/ttyUSB0 115200" when I need to control the router via console. [04:04] I was trying to find a way to "split" the serial ports [04:04] plan B is something like a udev rule that says "when a USB serial device is created, run screen -dmC foo.conf", where foo.conf is a screenrc that says something like "chdir /var/log; screen /dev/ttyUSB0; log on" [04:04] I don't know really what to say [04:05] Which would result in output to /var/log/screenlog.0 [04:06] Ah, an ":logfile /var/log/router-console.log" to change the logfile [04:17] twb [04:17] what about just reading the serial port like this in a loop ? [04:17] READ=`dd if=/dev/ttyS1 count=1` [04:18] and run screen whenever you want [04:18] read only would be [04:18] stty -F /dev/ttyS1 raw speed 9600 [04:18] just found that somewhere === SquishyNotHere is now known as squishy [04:38] hey all, i have created a pub/priv key combo for this laptop before, but using putty/windows. can i use that same key combo in ubuntu somehow? [04:40] arrrghhh: I don't know what that means. [04:40] arrrghhh: oh, you mean an SSH keypair. [04:41] The PuTTY and OpenSSH formats for SSH keypairs are different, but I think there's a tool to convert from one to the other. [04:48] hrm [04:48] i see the different [04:48] difference* [04:48] i can't just copy/paste? [05:26] Dec 5 02:29:25 alpha kernel: [58505.044670] WARNING: at /build/buildd/linux-2.6.32/kernel/softirq.c:143 local_bh_enable_ip+0x61/0x90() [05:26] ...and then a kernel backtrace. How do I find out WHAT I'm being warned about? [05:34] is there a program that'll fix permissions of a serveR? [05:34] i actidently chowned everything in / to root:root [05:39] vraa: no [05:39] vraa: it'll be easiest to just do a full reinstall [05:57] What are these ntpd messages about? http://paste.debian.net/101624/ [06:00] twb: http://bugs.ntp.org/show_bug.cgi?id=452 [06:00] bugs.ntp.org bug 452 in ntpd "kernel flipping between PLL and FLL" [Normal,Verified: fixed] [06:00] Thanks [06:01] Any idea if I should do anything, and if so, what? [06:05] twb: nope, but since it doesn't seem to be an error, I'd ignore it. [06:05] twb: I also have *some* of these messages in my logs [06:05] I have *lots* [06:06] twb: all virtual machines? [06:06] twb: I have these messages only on virtual machines (vmware to be specific) [06:07] twb: ok, skip that. it also occurs on "physical" machines [06:08] No, this is a router [06:08] But I do also see a kernel backtrace re ntpd, which I suspect means I need "notsc" [06:11] FWIW I only see a couple of flips on my lucid server === COKE_ is now known as cokegen [09:36] New bug: #685801 in minicom (universe) "Serial console not working on Ubuntu 10.10" [Undecided,New] https://launchpad.net/bugs/685801 === Adrian is now known as Guest13119 [09:48] Hi [09:48] Just a question. Does anybody know how/when Apache Tomcat is updated within Ubuntu, as we have some problems with the current version (6.0.24)? [09:55] Guest13119: in what way "how" it's updated ? [09:58] Ubuntu currently delivers 6.0.24 [09:59] but we need a newer version to get our application working, but don't wan't to force our customers to install it without apt-get [09:59] Guest13119: you'll need to log a bug requesting a package update then [09:59] ah okay, thanks, so now only the question, where can I do this ? [10:00] http://www.ubuntu.com/community/report-problem [10:00] Guest13119: launchpad.net [10:01] Thanks al ot [10:01] a lot [10:04] Guest13119: it may not hurt to find out who built that package and chase them for help directly or your request will just set there doing nothing [10:05] okay [10:25] Guest13119: as a rule, RELEASED versions of Ubuntu do not ever receive new (upstream) versions of constituent packages. [10:26] lucid (10.04) has tomcat 6.0.24, but maverick and natty both have 6.0.28. [10:27] IMO you should probably either fix your application to work with .24, or advise your customers to upgrade to a non-LTS version of Ubuntu. [10:39] hm, not good, as enterprise customers always need LTS === Guest13119 is now known as Adrian_ [10:50] At least your customers are running 10.04 [10:50] Almost all of mine are either on RHEL4 or 8.04 [11:00] Kerberos debug time! [11:00] I followed the ubuntu-serverguide's §6.3 kerberos chapter. [11:00] I went into kadmin on the kdc and did "addprinc fred", giving the password as "fred". [11:01] On the krb client machine (also 10.04), I've configured it per §6.3.3 (Kerberos Linux Client), and I can "kinit fred", but I *do not* get a TGT automatically when I log in on tty1. [11:02] (Where I log in to a local user account created with "adduser fred", also giving the password as fred.) [11:10] anyone here have experience with an Areca 1230 12P sata raid controller? Considering buying one used to upgrade storage, but can't find much about it's compatibility with Ubuntu server [11:10] LagMonste: I tend to go with md RAID [11:11] I'm getting a Error 15: FIle not found while trying to boot a machine. The kernel images appear to be where they should be .. [11:11] yea i've been running MD raid for the 4 onboard drives (AMD SB600) and it's never had a single issue [11:11] sb700* [11:12] milligan: from grub? [11:12] twb, yes [11:13] That's probably grub trying to find its stage 2 in /boot/grub/ [11:13] I don't debug grub problems anymore, I just install extlinux. But that's not the party line, so I guess I'll shut up. [11:14] God damn. I just installed slapd on the dom0 instead of a domU [11:15] twb, is there any way I can fix it? :( [11:15] milligan: probably you would need to boot a live medium and piss-fart around rerunning grub-install and hoping it guesses things correctly. [11:15] gah [11:16] There's a low-level utility (grub-setup?) that you can use to Do What I Tell You, but IIRC they try to hide it from you [11:17] Waaay back I used to have to use it to force it to load the grub md raid1 and lvm modules, when I was experimenting with /boot on LVM on RAID1. === LagMonste is now known as LagMo [11:33] Is rescue mode from the 10.04 install cd useless? [11:36] Basically, yes. [11:36] If you are clever like me, you can do some things with it. But generally I use the Debian Live "rescue" image, or the CentOS 5 live CD [11:37] I did a reinstall of grub, without that making any difference.. [11:37] I think reinstalling grub only works if you shake magic pixie dust over the rack or something [11:38] this is gay. fuck dist-upgrade :( [11:38] FWIW, dist-upgrade is not the supported upgrade method -- do-release-upgrade is. [11:38] yeah, that's what I used. [11:38] http://cdimage.debian.org/cdimage/squeeze_live_beta1/amd64/iso-hybrid/debian-squeeze-live-beta1-amd64-rescue.iso for the Squeeze rescue CD [11:39] milligan: please keep your language and topic in line with the Code of Conduct [11:39] Yeah, the PC term is "fagtacular" [11:39] >duck< [11:40] ..., seriously [11:41] hm, could it be that the uuid of the disk has changed? [11:41] (Or even missing ?) [11:41] milligan: disks don't have UUIDs; filesystems, LVM LVs and md RAID arrays do. [11:42] IIRC disks have bus addresses [11:42] well, the grub menu def has a uuid set as the root .. could that uuid be wrong .. ? [11:42] milligan: sure, that's the filesystem UUID for /boot (or /) [11:46] ooooo - think I got something running here.. [11:46] Atleast it's moving forwards now. [11:46] tune2fs -l will list the UUID for an ext[234] fs [11:46] blkid will probably work for anything [11:47] milligan: ls -l /dev/disk/by-uuid/ [11:47] <[diablo]> anyone have any idea why an NFS mount on a 10.10 Server is giving me totally incorrect uid:gid on all dirs and files please? [11:48] Or that :-) [11:48] Let me check :) [11:48] [diablo]: NFS does not keep IDs in sync between hosts [11:48] [diablo]: are you using something like NIS or LDAP for that? [11:49] <[diablo]> twb, Hi... nope [11:49] <[diablo]> twb, the NetApp has all the dir's and files owned by id:80 (www-data) on all other machines [11:49] [diablo]: for example, if "id fred" returns a UID of 1000 on the NFS client but 500 on the NFS server, that is why. [11:49] <[diablo]> twb, other machines being CentOS 5 [11:50] [diablo]: NetApp is the NFS server? [11:50] <[diablo]> twb, but its mounting in with Access: (0777/drwxrwxrwx) Uid: (4294967294/ UNKNOWN) Gid: (4294967294/ UNKNOWN [11:50] <[diablo]> twb, yep, NFS is on the NetApp [11:50] 4294967294 is probably because one of your machines is using signed UIDs, the other unsigned, and the NFS export is root_squashed, so one man's nobody:nogroup is another's UNKNOWN:UNKNOWN. [11:51] [diablo]: try sshing into each box and running "getent passwd" and "getent group", and checking what accounts have different UIDs/GIDs [11:51] <[diablo]> twb, good point about the signed UID's [11:52] I had an osol10 backup server explode because its UIDs are actually smaller (like, int32 vs uint32), and the RHEL box's nobody account didn't fit. [11:52] jpds, twb , the uuid is wrong it seems. Can I just edit it in the /boot/grub/menu.lst and it'll be fine ? [11:53] milligan: it's grub.cfg now [11:53] milligan: but yes, probably. I don't know if update-grub will blow that away and put hte wrong UUID back [11:55] what's the default password for a rescue session, ssh ? [11:55] NFI [11:55] <[diablo]> twb, can I should you the two mounts? [11:55] I usually boot into single and run passwd to break into it, becauise it's easier than remembering [11:55] [diablo]: whatever, man. Use pastebin for anything large. [11:55] <[diablo]> twb, bs-nas02:/vol/dev_gfx on /mnt type nfs (rw,vers=4,addr=10.10.10.244,clientaddr=10.10.10.211 <---- Ubuntu Server 10.10 [11:56] <[diablo]> twb, nas2:/vol/gfx on /nas/gfx type nfs (rw,addr=10.10.5.62) <--- centos 5 [11:56] [diablo]: that doesn't matter [11:57] Well, I suppose NFSv3 vs. NFSv4 might. [11:57] Also, you should be inspecting /proc/mounts -- don't trust /etc/mtab, it's full of lies. [11:57] <[diablo]> :) [11:58] In /etc/ssl/foo.info, what's the correct syntax so that the key is valid for both "foo" and "foo.example.net" ? [12:00] Fixing the UUID in menu.lst looks to be working. At least the machine and services are booting back up now. How can I fix this permanently? And why would grub be installing the wrong uuid ? [12:01] milligan: just run update-grub and confirm it doesn't put the wrong UUID in there [12:01] milligan: then it's fixed about as permanently as you're going to get [12:04] It seems wrong for all the other kernels .. but still correct for the one that I managed to boot. [12:04] <[diablo]> odd, seems I can not force the mount to v3 [12:05] <[diablo]> even setting vers=3 [12:05] <[diablo]> it mounts it as nfs4 [12:06] [diablo]: I don't know much about nfsv4 [12:06] <[diablo]> np [12:07] Much as I hate Microsoft, I'll take a homogeneous SMB2 network over a heterogeneous SMB2-for-Windows/OS X, NFSv4-for-Unix. [12:35] I guess I just had to compile the latest alsa driver to get sound to work on a friends laptop. is there a way I can create a dkms script to auto install the drives when there is a kernel upgrade? are there docs on how this can be done on Ubuntu? [12:45] bigbrovar: ideally, create a seperate package... and use one of the existing dkm'sified as reference [12:45] i'm sure others will appreciate it, if you push it to a PPA [12:46] unfortunately I am not a packager and have no skill at packaging :) I am willing to learn though if you point me to a doc. [12:47] just a guy trying to help out [13:06] bigbrovar: try #ubuntu-devel === xfaf is now known as zul === jjohansen is now known as jj-afk [13:52] Hi, anyone experienced some timezone related issue with postgresql on 10.04 overnight? [14:01] for about 2 hours I had the following error on my servers: "psycopg2.OperationalError: can't set datestyle to ISO" [14:02] at about the same time, on a different set of server I had SET TIME ZONE failed [14:02] I went through the logs but cannot find anything [14:02] well, what timezone do you use? [14:02] also the "issue" seems to have resolved by itself [14:02] and maybe, what timezone is your clock set to [14:03] EST [14:03] very odd [14:03] indeed :-) [14:03] * RoyK labels a couple of driver 'Naughty sectors' and returns them whence they came [14:05] <[diablo]> OK I still can not get an nfs3 mount going... it will only mount as nfs4 ... grrrr [14:05] <[diablo]> anyone help please? === cradek_ is now known as cradek [14:15] hallyn_: hi! fyi, qemu manpage disappeared again: [14:15] $ man kvm [14:15] man: warning: /usr/share/man/man1/kvm.1 is a dangling symlink [14:16] $ man qemu [14:16] No manual entry for qemu [14:23] grrr [14:24] jdstrand: you use schroot, right? have you had to do anything to make it work in natty? [14:24] hallyn_: so I have another weird kvm issue. are you on natty yet? [14:24] hallyn_: I run natty [14:24] yes i am, and yes i have issues too. i just haven't had time to investigate [14:24] hallyn_: have you seen this: [14:24] [39656.368496] unregister_netdevice: waiting for vnet0 to become free. Usage count = 1 [14:25] hallyn_: where kvm in libvirt won't shutdown? [14:25] hm, no i haven't. it sounds familiar from years ago with an lxc issue [14:25] all right, i think that's a libvirt issue then [14:25] no [14:25] well, I don't think so [14:25] kvm from cmdline does the same thin? [14:25] if I downgrade to the maverick kernel, all is fine [14:25] (I thought I'd started a few and not had that, but...) [14:26] so this morning I am trying to find a simple kvm reproducer, and I get something that acts similarly: [14:26] /usr/bin/kvm -M pc -m 256 -no-acpi -drive file=./disk0.qcow2 -net nic,vlan=0 -net tap,vlan=0,ifname=tap0 [14:26] hallyn_: ^ that is unkillable, even with kill -9 [14:27] hallyn_: I tried with ',script=' too, same thing (the vm actually starts though, but I can't kill the kvm process) [14:27] jdstrand: what about with the qemu daily build? [14:27] I haven't tried that [14:27] so, meanwhile - you have no issues with sbuild under natty? [14:28] it seems like a kernel thing-- userspace shouldn't be able to block SIGKILL [14:28] right [14:28] hallyn_: I did have issues until my upload on friday. are you referring tot he sysvinit thing? [14:28] yes [14:28] hallyn_: just upgrade and it should work [14:29] 0.60.5-1ubuntu2 [14:30] hallyn_: I will file a bug on the unkillable kvm. I will add two tasks-- qemu-kvm and linux so that both camps know about it [14:30] jdstrand: huh, thanks - i upgraded saturday, but still have -1ubuntu1 [14:30] jdstrand: thanks. there's also a (separate?) issue with starting windows vm's [14:30] maybe the buildds were benind... [14:30] i'm hoping to clear my plate so i can look at these [14:30] behind [14:30] or benign [14:30] hehe [14:31] * hallyn_ says "hm" and goes to check lkml for vnet0/kvm clues while wiating for upgrade to finish [14:34] oh well, i'll try both qemu daily and the kernel daily builds, and roll the dice [14:39] hallyn_: fryi bug #685991 [14:39] Launchpad bug 685991 in qemu-kvm "cannot stop kvm processing that use 'tap'" [Undecided,New] https://launchpad.net/bugs/685991 [14:40] wow, that is a horrible bug title [14:40] * jdstrand fixes it [14:41] jdstrand: interesting, i think the manpage fix was a victim of loic's fix of my snafu in using UDD to pull in the new 0.13.0 release. if you follow :) [14:46] New bug: #685991 in qemu-kvm (main) "cannot stop kvm processing that use 'tap'" [Undecided,New] https://launchpad.net/bugs/685991 === giovani_ is now known as giovani [15:17] hey === SirFiChi is now known as ihCiFriS === oubiwann is now known as oubiwann_ === oubiwann_ is now known as oubiwann [15:32] hello all [15:32] howdy [15:33] i got a question [15:33] i'm new in using linux but i want to learn to understand and to configure linux servers whats the best way for me to start ? [15:34] me too [15:34] i picked up a book from a local store [15:34] you bought a book about linux servers in general or a specific one ? [15:35] it was about 8.04 and 9.10 [15:35] well i use 10.10 so i think best way is to buy a book from the 10.10 version ^ [15:36] called "the official ubuntu server book" [15:36] yesterday i did set up a lamp server on my running ubuntu client but i dont know how to acces or what i can do with it so need to learn it first [15:36] most book descriptions will say which version they're based on, and in reality, there aren't gigantic changes [15:36] i hope i can find it here in belgiu ^ [15:36] belgium* [15:37] http://www.amazon.co.uk/Official-Ubuntu-Server-Book/dp/0137081332/ [15:38] thats an option too , tahnks [15:38] there are also lots of support documents on the web, [15:38] https://help.ubuntu.com/ [15:38] i'm getting mtrr: type mismatch for d000000,8000000 old: write-back new: write-combining ... in my dmesg; what should I do? this scares me. [15:39] between the documentation, and the book i've been able to start up and start learning [15:40] @WhlteL0tus i'm not sure what the consensus is but, it always made sense to me that servers should be based on the LTS release like 10.04 [15:40] kk [15:43] found a document named ubuntu server guide, i'll be looking into that first [15:46] i've refered to that a couple of times when i was trying to setup some of the features for me samba that the book didn't detail enough [15:47] actually it pointed to the samba howto collection that was exhaustive [15:49] does anyone know if openssh-5.6p1 has been packaged for ubuntu yet? [15:49] zul: bump, can you give bug 611316 a looksy.. just nominated it for lucid/maverick (fix is pending for natty). Thx [15:49] Launchpad bug 611316 in php5 "Segmentation fault in php5-sybase" [Medium,In progress] https://launchpad.net/bugs/611316 [15:49] SpamapS: sure [16:02] am i right if a lamp server is able to understand php, perl and python ? [16:02] Wh1teL0tus: The usualy 'P' in LAMP is for PHP. [16:03] yea but i readed somewhere that it also stands for perl and python [16:03] It can. [16:04] I just was referring to what the lamp-server task installs on Ubuntu. [16:04] but does it means that this lamp server is able to handle the scripts made in php or perl ? [16:05] i'm sorry that i'm asking this noob questions bu i have to start somewhere right ? [16:05] Wh1teL0tus: Well perl and python are installed by default on Ubuntu, so they may be able to be run, although the apache modules for them may not be setup. [16:05] or enabled. [16:06] ooh so for it to work the apachemodules have to be installed aswell [16:06] is that also possible to make the server understand java scripting ? [16:07] Do you mean Java or Javascript? [16:07] Java [16:08] Theres Apache Tomcat. [16:08] I'm not too familiar with it though. [16:08] i'll look it up, thanks for the info [16:08] SpamapS: kirkland: Daviey: zul: what time is the mumble on the installer today? [16:09] dunno..:) [16:14] robbiew: i think Daviey is EoD as well [16:15] zul...uh...he suggested the meeting :/ [16:16] i thought it was clint [16:16] nope...I distinctly remember Daviey suggesting Thu/Fri, but folks were on holiday, so we pushed to Monday [16:18] *sigh* Daviey should have a stern lecturing then ;) [16:27] New bug: #686044 in apache2 (main) "default httpd.conf (blank) causes server name error" [Undecided,New] https://launchpad.net/bugs/686044 [16:41] What is the correct way to get a upstart controled service, such as statd, to start on every reboot? autofs needs it but it isn't starting by default. This just gives errors: update-rc.d statd enable [16:46] Are there any known issues with Launchpad mailing list ? [16:46] I get email stating they cannot send to the ML === jj-afk is now known as jjohansen [17:06] shouldn't debuild 2&>1 foo.txt redirect output of this command to a text file? [17:24] is there anything better than vnc for visual desktop connections to linux? [17:24] ie RDP clones / knock offs [17:29] ssh -X [17:44] Kaffien: NX [18:02] Hi, need help. Have a newly made raid5, with 5 disks. But after some problem with mdadm.conf file it now only assembles with 4 out of 5 disks. Says the last one is removed. [18:02] How can I fix this? [18:02] pastebin your /proc/mdraid [18:05] is it a file or comand? I dont have a /proc/mdraid only /proc/mdstat [18:06] When I assemble the raid, it says that the missing disk sdg has no [18:06] raid superblock, and wrong uuid [18:09] The raid is working, and I got a spare identical disk in the machine. So can I add that disk, and then afterwords grow the raid with the missing sdg? [18:11] I've got a small arm based server that I need to use a usb stick to provide /var/cache. On boot it's not recognized. I have to remove and insert the stick after boot, then do fdisk -l /dev/sdb, and then mount /dev/sdb1. Any suggestions on how I might make this work at boot? [18:17] ScottK: i just put the commands in local.rc [18:17] and it automatically takes care of the sudoing [18:17] resno: I guess I just need to figure out how to get it to recognize the device without removing and reinserting after boot. [18:17] Thanks. [18:18] ah, hopefully that will help you along... thats the most i can offer [18:20] Every little bit helps. [18:58] How do I remove a ext2 file system from a disk so I can add it to a raid? [19:00] dd if=/dev/sda1 of=/dev/md1 [19:00] (but unmount it first) [19:00] good point :) [19:02] I have deleted the partition and recreated it, it stil says it contains a ext2 when trying to create a array with it. it ask if I shuld do it anyway. Anyone know if its ok to go ahed, or will it couse truble? [19:03] well you'd do the dd after you created the array - assuming that they are separate [19:04] another option would be to tar up the file system somewhere else and extract it after [19:05] eriksson26: I think you should read the docs [19:05] eriksson26: you've got two different layers confused [19:06] Well I have set up raid before, but never goten this warning. [19:07] if you don't care about the 'hidden' ext2 file system, tell it to go ahead.. if you do, dd is your friend [19:07] No I dont care about it, oki then I tell it to create =) [19:07] thanks for the help. [19:10] Is it ok to add two disks to a rebuilding array? or shuld I let it finish first? [19:12] if you already started, then let it finish [19:13] eriksson26 - just out of curiosity, what does your server do? db? [19:13] file storage [19:13] gotcha [19:14] it will take 2 days for it to complete, but that is fine, will add the two other disk later. [19:15] oki maby only one day =) [19:20] is it illegal for me to store historical data such as break-in attempts/scanning [19:22] its no secret our servers get hit hard... but what if i want to collect data and save it? i am facing the internet but i do not invite not a one. [19:22] doubtful - but not doing so may be.. [19:22] depends on where the server is, where your company is, etc [19:22] no company. old pc sitting in my room [19:23] up to you then [19:23] cool because im starting to dump my logs into a database [19:23] i think this can be prove useful [19:23] lots of good info on there I would suspect [19:24] oh ya and makes you wonder what code is behind there requests [19:24] not sure how to get that safely but im sure i could query it from there evil servers easily [19:26] alot of requests from china and russia sctipters [19:28] Thats rather normal as far as internet facing servers go. I get a number of login attempts on my boring server each day. [19:28] through ssh or other means? [19:28] Through ssh mostly. [19:29] I use fail2ban though. [19:29] ya me too i was not too worried about that as much as apache [19:29] whats fail2ban [19:29] changing the port for ssh (22) to something else cuts down on the number of hits... won't prevent anyone that is doing bad though [19:30] i was thinking about blocking but i want to log what they doing ya know [19:30] i want to learn whats out there not avoid [19:30] you might want to consider setting up a honey pot if you don't care about that old box [19:30] ya thats a good one. [19:31] fail2ban is not just for ssh, it has apache filters setup by default as well. [19:31] no i need the box but as soon as i can come up on another one or two i will make a sweet sticky pot!! [19:31] is fail2ban more software? [19:31] !info fail2ban [19:31] fail2ban (source: fail2ban): bans IPs that cause multiple authentication errors. In component universe, is optional. Version 0.8.4-2 (maverick), package size 93 kB, installed size 660 kB [19:32] Its the first thing I install after I install ssh. [19:32] you can usually pick up a p4 box for about $15 in garage sales [19:32] oh i see. sounds cool. i will look into it. you could write a script to do it light weght style or even iptables can block [19:33] you know i wonder how to tell if someone actually compromised my system. i mean i suspect none but you never know unless you planned from the beginning on checking [19:34] take a look at tripwire [19:34] Hey all , I have a question , have any of you tried connecting multiple networks using the same subnet over bridged vpn. Ie bridging 3 or more locations. Does STP work correctly over tap interfaces ? Are there known problems ? [19:34] yes i have. [19:35] i mean not you Lintt [19:35] i kind of assumed , since it would lean you read very fast [19:35] mean [19:35] haha [19:36] have you tried what you prpose yet [19:37] oh yes that tripwire. i remember. [19:39] my server install happened before i knew anything about linux. i mean i landed on the command line like wtf is this.. i need gui.. i need buttons!!! hahaha boy have times changed === ihCiFriS is now known as SirFiChi [19:40] speaking of gui. does anyone know a good cli for irc [19:40] telnet [19:40] JK JK [19:40] ha! [19:41] telnet Lintt@weak_network !! [19:41] hey ! [19:41] playin [19:42] irc is mostly plai text [19:42] plain [19:42] you could prolly do a lot with telnet [19:42] ya i used to use it years ago using mirc and invision on windows [19:43] i just got on yesterday [19:43] i spend mass hours all so alone doing my nerdy stuff with not a one to talk to on my level its sucks balls so i am in here looking for those who eat and breath information technology such as i [19:44] i must admit those i have not seen a technical conversation of interest yet.. even bash room was lame.. === SirFiChi is now known as ihCiFriS [19:45] <-- going crazy [19:49] how does one go about remaining anonymous of there location. a direction would be nice. [19:50] in what way ? [19:50] i do not fully understand proxy i know about tor [19:51] like for example i want to visit a site say wiki leaks and be as anonymous and untracable as possible [19:51] you have free minimal accrezs that can be used for chat etc [19:51] go read at "my freedom" [19:51] i mean i wanna hide [19:51] can i google that? [19:51] eep [19:51] i mean [19:52] "your freedom" [19:52] it uses openvpn [19:52] so you can do anything .. the free accouhnt is quite slow [19:52] you have a feqw countries you can hide behind [19:52] What does this have to do with Ubuntu? [19:52] everything my friend!! [19:53] exactly [19:53] newbs [19:53] haha [19:53] there's beter places than this channel mr chaos [19:53] for stuff like that [19:53] Yes. Yes, there is. [19:54] juts for the record ubuntu is my os of choice i highly recommend it i use it i kill i love it alright [19:54] i am trying to start conversation about ubuntu and using it [19:54] no one is talking about anything ok [19:55] That's beside the point. [19:55] hey, anyone happen to know why all of my Ubuntu 10.04 servers are no longer allowing me to login with SSH? They seem to be running fine, and log messages indicate the SSH sessions are authenticating fine, but they just hang. This is a recent development on several servers I have. [19:55] try the other channel [19:55] this is boring i want to talk with people who do what i do [19:55] digital_chaos: Try #ubuntu-offtopic then [19:55] k [19:55] Coder7: DNS problem, perhaps? Does revers DNS lookups work? [19:56] let me check [19:57] there was a borked auto update yesterday if i remember [19:57] idk if it was ssh related [19:57] I'm thinking that an auto update might be to blame... nothing has really changed configuration wise [19:57] i know i had 4 "tail-f" that were stuck at that point this morning [19:58] Lintt: That's probably just logrotate doing its thing. [19:58] probably [19:59] strange they were all stuck at the auto updater line though [20:00] soren: if it were reverse DNS, wouldn't the DNS eventually time out? [20:00] also, wouldn't me hard coding the IP/hostname into the /etc/hosts file get rid of that? [20:00] so , does anyone have any info on what i should look out for when bridging multiple tap interfaces on multiple locations .. will stp figure stuff out as needed even over vpn .. i don't want to create loops [20:00] because neither is true in this case [20:01] Coder7: Yes. [20:01] Coder7: (on both counts) [20:01] I'd just reboot the stuff, but one of the machines affected is a UEC controller with several instances on it [20:02] some of the instances are affected as well, and I now have no way to gracefully shut them down since I can't login and they have no real terminal to fall back to [20:03] it seems only the machines/instances configured to automatically install security updates are affected [20:03] which is why I suspect a botched update [20:04] needless to say, I'll now be disability all auto updates on Ubuntu for the same reasons I did in windows... they break more stuff than they fix [20:04] disabiling* [20:09] damnit [20:09] I had an answer [20:09] :) [20:09] query him then :D [20:13] SpamapS: What was it? [20:15] My dhcpd server previously had range 192.168.1.2 192.168.1.254 specified, but I've since removed the range and restarted dhcpd, but clients are still being given ip's in that range so long as they had previously had a lease. Anyone know how to stop this? [20:16] blistov: crazy that it happens isn't it [20:19] pmatulis, Yea, rebooting the server fixes it, but now on to another problem. [20:20] Now my ddns-updates aren't working, but no errors logged. [20:20] dhcpd: if ubuntu-temp0.cranesmart.com IN A rrset doesn't exist add ubuntu-temp0.test.com 3600 IN A 192.168.1.30: not a zone. [20:20] Idea's? [20:42] soren: I was going to suggest that he run sshd on an alternate port in debug mode [20:42] SpamapS: Ah. [20:43] SpamapS: I thought you knew what was wrong :) [20:56] hi! where can I find ddebs for lucid lynx server kernel? [20:57] archive.ubuntu.com [20:58] thanks! [20:59] odd, can't see them in http://archive.ubuntu.com/ubuntu/pool/main/l/linux/ [20:59] thats because I'm blind [21:00] was looking for -3* [21:01] http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-image-2.6.32-26-server_2.6.32-26.48_amd64.deb [21:01] yes yes [21:01] need linux-image-debug though === erichammond1 is now known as erichammond [22:42] anyone around_ [22:42] ? [22:42] morning, all [22:42] evening [22:42] well, 285 is a lot easier to manage than 1502 :P [22:42] am just exercising ubuntu server as a virtual server host... [22:43] wtf are those numbers? [22:43] people in here vs #ubuntu [22:43] * RoyK is setting up a test suite for testing zfs-fuse vs openindiana [22:43] ah [22:44] FunkyBob: I have a bunch of VMs on my primary (private) server [22:44] works well [22:45] well, I ran virt-instl... but then nothing showed in virsh... [22:45] and after I reconfigured qemu to listen globally, not just localhost, I had to reboot to get it to change... [22:45] now I can't find any way to find that vm... [22:46] so.. whilst the tools are clear and easy to drive... they're not impressing me by actually _working_ yet [22:46] virt-manager? [22:46] I just use virt-manager [22:46] works well [22:46] is that the gui tool? [22:47] yes, but I only use it remotely [22:47] the docs say it is... so it's not an option [22:47] ssh in, start virt-manager [22:47] why isn't that an option? [22:47] I don't run X on my server [22:48] just the x libs [22:48] which don't take up much space [22:49] yeah, well... for many many reasons, we avoid _requiring_ gui tools where possible [22:49] well, up to you [22:49] i have a question... [22:49] FunkyBob: I like to have the opportunity to start an X app if in need [22:49] where are the virtual maching details stored? [22:50] sorry for interrupting [22:50] /var/lib/libvirt iirc [22:50] MeltingKeyboard: just ask [22:50] and.... what condition would cause virt-install to succeed, but virsh to not see it? [22:51] FunkyBob: it merely automates things - works for me - do it with a hex editor if you want to - I'd use virt-manager [22:51] lovely... it says the name is in use, but there are no files in /var/lib/libvirt [22:51] ok, I just upgraded my server from karmic to lucid so that I could use some of the new PHP 5.3 features in my installation of ZenPhoto... [22:51] FunkyBob: did you start it as root? [22:52] and when I get everything upgraded it says that the mysql extentions are no longer there in the installation of 5.3 [22:52] and ZenPhoto breaks as it requires mysql extentions [22:52] MeltingKeyboard: you _upgraded_ from rh to ubuntu? [22:53] I'd call that an upgrade :P [22:53] no, i upgraded from ubuntu 9.10 to 10.04 [22:53] also an upgrade :D [22:53] * RoyK is tired [22:54] i checked in the php.ini files for the extention=mysql.so [22:54] and all of them are not commented... however, the extention is not available to ZenPhoto... any thoughts? [22:56] I remember that during the upgrade, i opted to use my existing php.ini files... was that a mistake perhaps? [22:56] RoyK: as for the "not installing X" ... it's a habit from the other side of the business... I have to keep remembering which side I'm working on [22:56] RoyK: the "other" side has to be ultra paranoid about security, so we don't install anything we don't _have_ to [22:58] also... virt-manager doesn't see the instance I set up... lovely [23:06] ok... i just located all the mysql.so files on my system... and none of them seem to be in the new installation directories... just in backup directories... where is mysql.so supposed to go? [23:11] hey i just fixed it [23:11] in the extention directory line of the php.ini file [23:11] it was pointing to the wrong extention directory [23:12] nice... [23:12] fixed [23:12] thanks for the help [23:26] how do I disable the feature of ubuntu showing the boot menu on failed boot? - This happens from time to time on my ubuntu servers and it's extremely annoying in a server configuration - I'd much rather have a timeout [23:27] failed boot? [23:33] tonyyarusso: well, it's not a failed boot, a system froze, I asked a local admin to press the reset button and ubuntu falsely thought the system failed to boot and shows the grub menu on screen instead of booting [23:35] tonyyarusso: so then I need to ask someone to plug a keyboard and press enter - this is all because ubuntu switched from a timeout before default boot to this weird failed boot detection [23:38] hackeron_: I have lots of problems with it, too [23:39] For example, I made an LV read-only at the LV level, which made the fsck pass on it fail, which made mountall exit(4), which made upstart refuse to boot AT ALL. [23:39] twb: I know I can edit the boot scripts, but that breaks every new grub revision [23:39] There was no way to fix it without using a live medium, despite that LV having NOTHING to do with the boot process [23:40] twb: yeh, I get that removing the 5 seconds from a desktop boot is useful, but this is just silly for a server to *force* user interraction in these cases [23:40] hackeron_: I tend to just replace grub with extlinux [23:40] twb: it's not even grub, it's the new boot scripts in ubuntu, you need to edit them to remove the /failboot or whatever they use detection [23:40] but apt-get upgrade breaks it again :( [23:40] I will try extlinux, thanks [23:41] Yeah, that's no nearly so easy [23:41] wonder which dev thought this is a good idea for a server distribution [23:44] I doubt they thought about it at all [23:46] I adjusted hdd size in vmware, and trying to have the guest recognize the new disk size without rebooting. It shows up in dmesg but not in fdisk. any suggestions? [23:49] twb: ok, so I just do apt-get install extlinux and reboot?