=== n0ts_off is now known as n0ts [02:47] x/quit [03:00] i need some adivse on instaling ubuntu 12.04 on raid 1 boot and rest on raid5 +lvm === shantorn_ is now known as shantorn [04:34] just setup a server what is the best way to install a hp laserjet 1006p? [04:35] is it lpadmin? [04:39] i am trying to install ubuntu server from an usb stick onto an internal uSDHC card which should be accessible via sdhci_pci module. Undortunately this module is missing from the installer iso :-/ Any ideas how i could get it into the installer kernel to access my installation target? [04:46] I am without X how can I use hplip without x on the server. Is there anyway to just forward ssh -X ip? [04:55] is mmc core and sdhci even supported on the server kernels? where can i check which modules are available? [05:10] answer is sudo apt-get install hplip then sudo hp-setup -i === Err404NotFound is now known as Error404NotFound [05:36] ok i have got the kernel modules loaded and a shiny new /dev/mmcblk0 for my usdhc card. Now how can I get the dumb installer to use that? All it would display me is iSCSI and nothing else??? [05:41] Any ideas how i should invoke the partitioner part of the installer to use /dev/mmcblk0? === n0ts is now known as n0ts_off === n0ts_off is now known as n0ts === th0mz_ is now known as th0mz === mcclurmc_away is now known as mcclurmc [09:40] Hello [09:40] Just got this error on ubuntu 12.04.1 KVM host with OpenStack Essex: INFO: task kvm:2771 blocked for more than 120 seconds. [09:41] The VM got shutoff [09:41] http://paste.ubuntu.com/1325976/ === n0ts is now known as n0ts_off === Ursinha-afk is now known as Ursinha [10:46] ubuntu 怎么配置才能使温度降下来,性能也不降低 === mcclurmc is now known as mcclurmc_away === mcclurmc_away is now known as mcclurmc === Ursinha is now known as Ursinha-afk === cpg is now known as cpg|away [12:09] i need some help installing ubuntu 12.04 on raid..some help --guidence [12:31] New bug: #1074330 in nagios3 (main) "the nagios user home directory name is incorrect" [Undecided,New] https://launchpad.net/bugs/1074330 [12:58] is there a way I can test what happens with updates before actually doing them at all? [13:10] AdvoWork, clone your system and install them there [13:10] unfortunately there's no easy way to roll back an update, either [13:10] have to manually remove the packages and install the old versions === remix_auei is now known as remix_tj [13:45] New bug: #1074357 in elinks (universe) "Merge elinks (0.12~pre5-9) (universe) from Debian Unstable (main)" [Undecided,New] https://launchpad.net/bugs/1074357 [13:51] New bug: #1074359 in nova (main) "[SRU] Meta bug for tracking Nova stable update" [Undecided,New] https://launchpad.net/bugs/1074359 === n0ts_off is now known as n0ts === n0ts is now known as n0ts_off [15:00] Is doing an apt-get upgrade always painless when it comes to if any package can break? [15:06] packages are not supposed to break [15:06] if they do, they can break also with a simple upgrade [15:08] dist-upgrade should be used for packages that need to add or remove packages, upgrade otherwise [15:48] hello all [15:48] how can I make a program execute with root privelages, where it doesnt need to type sudo to do everything (in ubuntu 12.04) [15:53] acidflash, sticky user flag [15:53] but that is normally not something you want to do [15:53] patdk-wk: sticky user flag? how and where do I put that? I really dont ahve a choice, its a flaw in the system design, but its closed source software so no way to fix, its a radius software [15:54] well, sticky user flag means ANY flaw in the program, can be used to root your server [15:54] man chmod [15:55] can i describe a little more whats happening, maybe i am misunderstanding my problem? [15:56] i am using a softwre called freeradius, this software, what its doing is calling another software called rmauth and rmpoller, etc [15:56] when it tries to call that software, the following message is returned [15:56] Exec-Program output: Exec-Program: FAILED to execute /usr/local/bin/rmauth: No such file or directory [15:56] Exec-Program-Wait: plaintext: Exec-Program: FAILED to execute /usr/local/bin/rmauth: No such file or directory [15:56] Exec-Program: returned: 1 [15:57] but the thing is, it does exist, permission are 755, [15:57] if you can that program from the shell, it gives hte same thing [15:57] BUT, if you call it using "sudo /usr/local/bin/rmauth" [15:57] works fine [15:57] that is defently not a permission issue [15:57] I'll bet rmauth is a script, not a program [15:58] its compiled [15:58] oh? [15:58] executable [15:58] yes [15:58] no shell/perl/... [15:58] no, its binary [15:58] freeradius isn't chroot is it? [15:59] or, the other option, apparmor issue [15:59] freeradius is in /usr/local/sbin [15:59] that has nothing to do with anything [15:59] what i figure, is that its not working right, because its being called /usr/local/bin/rmauth, INSTEAD of "sudo /usr/local/bin/rmauth" === kInOzAwA is now known as Guest68299 [16:02] "No such file or directory" != "Permission Denied" [16:02] you can *figure* all you want [16:04] patdk-wk: when i call it from bash, it gives me the same thing if i call it without root [16:04] without sudo* [16:06] actually, that does happen under a certain condition [16:06] if your file which you assume to be executable is not, and you call it from the shell, it will say no such file or directory [16:07] qman__: and if you call it "sudo /my/file/name" [16:08] and it executes it? [16:08] no [16:08] its executing it!! [16:08] this is ubuntu 12.04, logged in as root [16:11] still something going on, probably apparmor [16:12] patdk-wk: could be, what should i do to test apparmor? [16:12] I wouldn't think so, apparmor usually logs very distinct messages [16:12] qman, thought that logging wasn't enabled by default though [16:12] I mean, I wouldn't doubt it causing a problem like that, but you'd normally be able to tell [16:13] use dmesg to start [16:16] dmesg doesnt show anythign out of the ordinary [16:16] ubuntu 12.04 no longer allows you to run things as root, you can login as root, yes, but you need to pass sudo to every single command that requires root, this software is not doing that, am I going in the wrong direction with my thinking here? [16:17] is the problem not in the fact that its not being called like "sudo /usr/local/bin/rmauth" ? [16:19] that's not correct at all [16:19] there is a problem with the way your shell is calling the program, as opposed to the way sudo is calling it [16:19] apparmor could cause that kind of issue, but it's not easy to troubleshoot [16:19] The 12.10 ruby1.9.3 package installs a bunch of ruby1.9.1 stuff - but those are all really 1.9.3 right? I recall that the name never changed for some reason with packaging [16:20] qman__: can i temporarily disable apparmor in order to test it? === Ursinha is now known as Ursinha-afk [16:28] so maas keeps wanting me to run "maas-import-isos script", but the command runs just fine. [16:32] service apparmor stop === Ursinha-afk is now known as Ursinha [16:40] I have a couple 12.04 servers running. I installed gcp and am unable to use it. I get some DBUSexception errors. I wanted to see if anyone else was having the problem or might know a solution before I file a bug report. [16:41] http://pastebin.com/Vd564Ctk === mcclurmc is now known as mcclurmc_away [17:15] Sorry to say but I am trying to make my IP static and the offical guide says to edit the /etc/network/interfaces and well there isn't do I create the file? [17:15] Ubuntu 12.10 === Ursinha is now known as Ursinha-afk [17:17] ^ idiot I exited out my ssh :P ^ [17:17] BaldFat: Error: "idiot" is not a valid command. [17:17] ^ "idiot" I exited out my ssh :P ^ [17:17] BaldFat: Error: "idiot" is not a valid command. [17:17] "^" I exited out my ssh :P ^ [17:29] BaldFat: there should be a file there [17:29] BaldFat: but if this is setup as a desktop installation, networkmanager should manage networking [17:34] No I was an idiot and I am remoting into the server. I exited out of my ssh and was looking at my local laptop in arch :( [17:34] :) [17:34] really banging my head with lpadmin and installing the ppd for my hp p1006 [17:35] can't you do that with the cups web gui? [17:35] * RoyK doesn't quite remember... [17:37] Not if I am headless and don't have x installed. I wonder if I could use lynks or wm3 [17:50] BaldFat: you might have a PC from which you can access that web ui [17:50] BaldFat: you'll need to configure it to accept connections from other than localhost, but that's about it [17:51] BaldFat: or - install firefox and run it with remote X [17:51] * RoyK has firefox installed on a few servers without X just to do stuff like that [17:51] That's what I should do. Never tried that one of x forwarding firefox from a headless [17:51] BaldFat: are you on a linux client? [17:52] if so, ssh -y servername will forward everything automatically through ssh [17:52] or just set "ForwardX11 yes" and "ForwardX11Trusted yes" in $HOME/.ssh/config [17:53] well I just do the ssh -X ip [17:53] I meant -Y [17:53] yes I am remoting in from my arch netbook [17:53] trusted [17:53] firefox has 33 packages to install :( [17:53] but -X will work too, only it'll time out the X connectivity quicker [17:54] BaldFat: you need a truckload of libs for ff to work [17:54] but they won't eat cpu, just a piece of disk space [17:54] would lynks or w3m work? [17:54] !w3m [17:54] what's w3m? [17:55] texted based browser [17:55] links2 works well with framebuffer, if that's what you mean [17:55] well, the cups stuff is pretty simple [17:55] I guess even lynx should do [17:56] anyway - a few megs to ff and its libs won't hurt ;) [17:56] unless you have a very small root partition, that is [17:56] I just want to try and keep this server as small as possible. I have a friend going to try and hack into my system. I swear he will get in in 1 minute right now [17:57] since he does pen testing as a living [17:57] w3m is a lot better than lynx/links2 [17:57] it doesn't choke as hard on most sites [17:59] w3m working like a charm [17:59] qman__: ok [18:00] BaldFat: if he does, please tell how ;) [18:00] I find text browsers a supper handy tool for quicka nd dirty hacking [18:00] BaldFat: using 12.10 on a server? [18:00] yes [18:00] BaldFat: I'd recommend using LTS for servers, that's what I do - less hassle [18:00] Oh I have to be sneaky with him. I have changed every port to non-standard different size passwords and smoothwall [18:01] no reason really to change ports [18:01] just make sure you use key authentication with ssh, or perhaps denyhosts if you want to use password auth [18:01] and make sure nothing that runs as root listens to a public ip [18:02] last time he got into my debian server and fedora server on differnt explots. This time I have a seperate firewall and a different router [18:02] that alone should take you far [18:02] BaldFat: I guess last time I had a server exploited was in 2001 or so... [18:02] yeah just trying to learn some security stuff. I stopped being a bad hacker in the 80s :) Geez I am old [18:03] :) [18:03] * RoyK is almost 40, not a youngster anymore myself either... [18:03] back then you could get into half the servers by typing ? or just ?help [18:04] things have gotten a wee bit more secure these days ;) [18:04] but there are still holes, always... === yofel_ is now known as yofel [18:06] heh, I had my ubuntu server hacked last year, from a known exploit that was a few months old :( [18:06] the patch didn't make it into the xen/ec2 kernel, only the others [18:07] if someone wants to get into your server you can never guarentee that they won't but you can make it not worth their effort [18:08] sure, but this made it extreemly easy [18:08] the effort required, and the person doing it, was a off the lot, scriptkiddie [18:08] the script used, was the one posted in the CVE report, exactly [18:08] that is unfortunate [18:09] reminds me of the fun SMB2 exploit a few years back [18:09] blue screen any windows system with file sharing turned on, only way to prevent it for weeks was to disable file sharing [18:10] after I was exploited, it was easy to locate the missing cve, and get that corrected [18:11] I have completely moved off ec2, so I'm not actively watching to see if new stuff is missing [18:12] patdk-wk: which bug was this? === udsslayer is now known as shadeslayer [18:12] mass question: trying to start a node for the first time, it isn't able to connect to the ubuntu mirror for some reason. network is configured right, we can ping sites in other terms, it seems like the maas installer itself is borking up. [18:13] MAAS? [18:14] RoyK: Metal as a service, found my problem on https://wiki.ubuntu.com/ServerTeam/MAAS/Troubleshooting [18:16] wait am I "wanting" to use samba to share my printer? [18:16] New bug: #1074443 in ipmitool (universe) "Please upgrade ipmitool to 1.8.12 for 13.04" [Undecided,New] https://launchpad.net/bugs/1074443 [18:18] thebwt: I know - he was saying mass... [18:18] hello are there a nice people some can help me to open port 80 on my router, we can use teamwiewer to remote. [18:18] BaldFat: pretty easy - there are commented-out config parts in smb.conf to show you how [18:19] RoyK: oops [18:19] RoyK: Yes I know how. It is the question of am I buildign a less secure server using samba as oppose to ipp? [18:20] arlo_: can you surf the internet? That's port 80 [18:20] or 8080 [18:26] royk, found it [18:31] http://www.ubuntu.com/usn/usn-1186-1/ [18:31] If I remember right [18:31] CVE-2010-4073 [18:31] patdk-wk: The ipc subsystem in the Linux kernel before 2.6.37-rc1 does not initialize certain structures, which allows local users to obtain potentially sensitive information from kernel stack memory via vectors related to the (1) compat_sys_semctl, (2) compat_sys_msgctl, and (3) compat_sys_shmctl functions in ipc/compat.c; and the (4) compat_sys_mq_open and (5) compat_sys_mq_getsetattr functions in ipc/compat_mq.c. (http://cve.mitre.org/cgi-bin/ [18:31] that didn't apply to the xen/ec2 source tree cleanly, and never ended up getting fixed, till december [18:32] I got rooted over thanksgiving [18:32] I do remember it was 64bit specific issue though [18:33] oh, close, but not that one [18:33] bug 640390 [18:33] Launchpad bug 640390 in linux "Security bug related to CVE-2010-3301" [High,Fix released] https://launchpad.net/bugs/640390 [18:56] New bug: #1074460 in qemu-kvm (main) "kvm: windows xp installation hangs after "Setup is inspecting your computer's hardware configuration"" [Undecided,New] https://launchpad.net/bugs/1074460 [18:59] * RoyK mutters something about using 10YO proprietary operating systems [19:49] Hi All, I've been fighting with a preseed configuration for 12.04 server for weeks now, and can't seem to make any progress. Does anyone know how to pressed out the question "Write the changes to the storage devices and configure RAID?" [19:50] I want to auto answer "Yes" on that one === Guest68299 is now known as kInOzAwA === cpg|away is now known as cpg [21:32] I want to play around with writing client-server sockets. What should I use in ubuntu to simulate a server on my machine? [21:34] dj_corncob: Elaborate on "simulate a server" [21:35] yeah sorry i don't have the vocabulary for this sort of thing [21:35] !crosspost | dj_corncob [21:35] dj_corncob: Please don't ask the same question in multiple Ubuntu channels at the same time. Many helpers are in more than one channel and it's not fair to them or the other people seeking support. [21:36] dj_corncob, FWIW - If you want to write really simple stupid client / server "socket" communication, you can use Socket.IO with Node.JS - however, a more thorough understanding of sockets ( or even programming for that matter ) might be a better place to start. [21:37] If you're looking to write true client/server socket communication from the ground up ( more or less ) - check out Boost::ASIO [21:37] But that will require you to have a fairly strong understanding of C++. === cpg is now known as cpg|away === shantorn_ is now known as shantorn === yofel_ is now known as yofel === cpg|away is now known as cpg [23:43] I've never setup a raid system before. Is it possible to set one up on an already running system? For example, Ubuntu is already installed on sda and I just installed a blank drive in sdb. [23:44] subman: no it is not. [23:44] subman: in a raid setup all drives are formatted. [23:45] Thanks Troy^ [23:46] subman: i have a small home linux server that i have 2 x 80gb ide drives as raid 1. I didn't do it for the purpose to have Raid 1 but just to expierment really. [23:46] Couldn't you do it with LVM by setting up one disk with LVM, copying data there, then converting the other disk to LVM and adding it? [23:46] Troy^, that is what I'm doing here. Experimentation only. This server has two ide slots and a built in raid but it is not Linux friendly. [23:47] subman: my raid is mdadm (software raid) [23:47] Oh, not real hardware RAID, no. [23:47] Yes, that is what I thought I'd try on the two ide slots. [23:49] Does the Ubuntu installation do a software raid installation? [23:49] subman: yes it has the option [23:50] https://help.ubuntu.com/12.04/serverguide/advanced-installation.html#software-raid [23:50] Troy^, I guess that is my only option then, reinstall. Nothing on this server yet anyways! [23:51] pretty much yea, just follow the step by step guide in that link. [23:51] Excellent, thanks!