[00:00] JanC, but I get mdadm: Cannot open /dev/sdc: Device or resource busy [00:00] so actually, sdd is now sdc, and was never part of the array, right? [00:00] fbc-mx: um? - i thought you said you combined sdc and add [00:00] Yes, sdc and sdd were the array [00:00] s/add/sdd/ [00:00] "mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb /dev/sdc" <- not sdd [00:00] MTecknology, no sdc and sdd were always a raid 1 [00:01] MTecknology, I did but I get mdadm: Cannot open /dev/sdc: Device or resource busy [00:02] i have to nap - else I'm going to pass out- I hope JanC can help out [00:02] MTecknology, JanC , http://pastebin.com/hbAk3hTG [00:04] fbc-mx: what's in your fstab ? [00:05] JanC, http://pastebin.com/qXP9aW87 [00:08] MTecknology, thanks for all your help [00:08] JanC, any idea? [00:09] my idea is you screwed something up, but I'm not sure where ;) [00:14] JanC, how do I format /dev/sdc as to erase the disk and start over again [00:15] first of all, it seems like you partitioned those disk? [00:15] that's not really necessary [00:17] and you better not partition a disk before using it as a raid [00:17] *better not format is* [01:29] JanC: that's what happened; he had partitions on it [01:36] Hello, Anyone can help me setting up a FreeRadius Server with Ubuntu ?!! And the idea here is to get it to generate users and passwords for customers of my coffee shop ! [01:47] what does Ubuntu use to hash its shadow files? [01:49] s/files/file/ [02:09] MTecknology: crypt() ? [02:13] jpds: thanks [02:14] MTecknology: As in: man 3 crypt [02:14] jpds: yup :) - I also found this - http://en.wikipedia.org/wiki/Crypt_%28Unix%29 [04:09] help [04:09] my server can't find any packages [04:12] Irunongames: Which mirror are you using? [04:12] I don't know [04:13] you can see in the Software sources configuration [04:13] Irunongames: Pastebin: /etc/apt/sources.list [04:14] no file or directory [04:14] Well, that explains it. [04:14] how do I get it? [04:16] Irunongames: Pick a mirror on https://launchpad.net/ubuntu/+archivemirrors and copy and paste the entries on the mirror's page. [04:16] that file missing might point to other things missing too... [04:18] I just type in "deb http://mirror.anl.gov/pub/ubuntu/ YOUR_UBUNTU_VERSION_HERE main " [04:18] nothing else? [04:18] (besides swap "ubuntu version here" [04:20] "No command "deb" found" [04:21] Irunongames: Paste: http://pastebin.ubuntu.com/422005/ into: /etc/apt/sources.list [04:22] how do I do that using VMware [04:22] there are sources list generators like: http://repogen.simplylinux.ch/ [04:23] sudo nano /etc/sources.list [04:23] taht will open an editor [04:24] paste it in [04:24] do I just paste in the links? [04:24] the shhortcuts to save & exit should be at the bottom somewhere [04:25] the whole file as jpds gave them [04:31] Irunongames: You might want to read: https://help.ubuntu.com/community/Repositories/CommandLine [04:37] what does reset slave on a slave replication MySQL do ? i am getting conflicting info [05:03] I have an ibm laptop with a Pentium III. Should I use the 32bit version of ubuntu 9.10 server? [05:08] yes [05:09] Intel didn't implement the x64 extensions until the Pentium 4 Extreme Edition [05:16] ok thanks! why is the 32bit iso image 690MB and the 64bit iso image only 655 MB? [05:20] im guessing there are some packages that have not been compiled for 64bit yet that are not included in the 64bit edition [05:20] these packages probobly introduce bugs in a a64bit environment [05:21] ubuntu: There aren't many of those that are an issue on servers. [05:21] just a guess [05:21] ScottK, im guessing they arent an issue because they were excluded [05:22] Usually 64 bit binaries are bigger, so the package selection on CD is somewhat less, but they are still available online. [05:24] New bug: #224665 in ntp (main) "ntpd starts but does not contact peers" [Undecided,Confirmed] https://launchpad.net/bugs/224665 [05:25] What does "package selection on CD" mean? [05:27] The stuff that's on the ISO. [05:27] It's been a while since I looked hard at what was seeded on the 32/64 bit server ISOs. [05:28] if the binary is bigger, why is the iso smaller? [05:29] I'm not sure. [05:29] As I said I haven't looked at it recently. [05:30] Generally though any package that's not on the ISO for 64 bit can still be installed from the online repositories, so I don't find it particularly concerining. [05:33] Yeah [07:35] Hi, how do I mount a USB thumb drive from console? Using Hardy Server i386. [07:38] netritious, has it been recognized by the system when you inserted it? [07:38] do you see it in dmseg [07:38] dmesg [07:41] blue-frog: not appearing in dmesg :-/ this is an older machine with a PCI USB 2.0 adapter card though..might that be my problem maybe? [07:42] netritious, if the server does not create an entry in /dev/ it will be a problem indeed [07:45] looks to be the problem...strange, it seems that the card is detected but as of yet anything I connect doesn't seem to have an effect [07:49] blue-frog: will try some other things. Thank you for assisting. :) [09:51] hello. Does anyone know how to remove the packages that a meta package installs? [10:10] Im looking for some support relating to ubuntu server 9.10. Im on a fresh install. whenever i VNC into it from another ubuntu desktop, the session doesn't update on the client side. showing mouse movements only on server side. also, i have firewall turned off and all VNC ports forwarded, yet i cannot access it from outside the network. please somebody help me with whats going on with my ports/permissions. [10:10] reves: not sure why you want to use VNC instead of ssh? [10:13] is it can i use SSH for a gnome session? [10:13] if so how, and how do i get around these port blockages? [10:13] wrong channel [10:13] gnome is on #ubuntu [10:13] in [10:14] oh for fuck sake [10:14] :) [10:14] whatever dickhead [10:14] !language | reves [10:14] reves: Please watch your language and topic to help keep this channel family friendly. [11:20] Hey guys - is this a good place to ask iptables related questions? [11:25] sure [11:32] Figured it out. eth1 needed to be changed to eth0 :-) [11:36] For what i understand its possible to run ubuntu enterprise cloud on private server like esxi? Correct me if im wrong. The one reason for me not to use esxi is that the client for managing esxi is only running on windows. What are my options managing ubuntu enterprise cloud on mac and linux? [11:47] i don't use uec [11:48] but afaik, it has web interface [11:50] paul_andrew: look at https://help.ubuntu.com/community/UEC/ElasticFox [11:50] ivoks: thank you [13:11] New bug: #569734 in mysql-dfsg-5.1 (main) "fails to build from source: mysql-dfsg-5.1 on sparc" [High,Confirmed] https://launchpad.net/bugs/569734 [13:31] New bug: #569741 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 5.1.37-1ubuntu5 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/569741 [14:07] New bug: #567188 in krb5 (main) "krb5 and ADS error using 10.04, not 9.04" [Undecided,New] https://launchpad.net/bugs/567188 [14:08] 9.04? [14:11] I have this virtual machine from linhost. Networking in ubuntu server, is this done manually? [14:21] New bug: #569757 in nis (universe) "NIS upstart dependancy broken for lucid" [Undecided,New] https://launchpad.net/bugs/569757 [14:55] do you know any temperature monitor that sends the stats to a webpage... like phpsysinfo but for temperature??? [14:57] phpsysinfo shows temp too [14:58] both cputemps and HDDs [15:05] you probably need sensors setup correctly for phpsysinfo to show it. [15:05] does sensors work from cmdline ? [15:10] jrwren, sorry if i'm too late, didn't see [15:11] jrwren, yes... everything is ok... where can i set at phpsys? [15:23] jrwren, i think it just shows the HD temperature, not the cpu or mb [15:42] Hello??? [15:43] I need help with getting packages [15:46] My server doesn't have any packages [15:48] What do you mean? [15:48] Is apt not workign? [15:49] Their are no packages at all [15:49] so you have nothing installed? [15:49] their is no /ext/apt/sources.list [15:49] how do I create it? [15:51] Irunongames: the correct path is /etc/apt/sources.list [15:52] Irunongames: What version of ubuntu? [15:52] guntbert Wow, that explains a lot >< [15:53] 9.10 [15:53] But then why can't I download any packages? [15:54] Irunongames: :), and remember on linux case is significant too -- you can use the key to autoexpand paths and file names [15:54] do you have a working network connection? [15:54] what happens when you try and install something? [15:54] can you pastebin the error? [15:55] I am running it on a virtual box [15:55] could that be the issue? [15:55] *vmware workstation [15:55] Unlikely. However, if your VM lacks a working network connection, that could be it. [15:56] I pinged google yesterday [15:56] So it should be working [15:57] Try connecting to google.com now? [15:57] just ping http://www.google.com [15:59] Irunongames: won't work - it must be ping www.google.com (without the http:// part) [15:59] woops [15:59] * Irunongames tires it [15:59] *tries [15:59] Ok I get a ping [16:00] right. Can you paste bin the error you get from apt-get install sl? [16:00] (or some other similar package) [16:01] can I do that even in VMWare? [16:02] the fact that it's running in vmware shouldn't change anything. [16:06] I'll just screenshot it [16:06] one sec [16:09] http://tinypic.com/r/2vlqpg5/5 [16:11] Irunongames: please type sudo apt-get update [16:12] Connecting to security [16:12] how long should that take? [16:13] a minute or so. Probably less. [16:14] It's still on security -_- [16:15] Irunongames: do I see correctly that you have no GUI? [16:16] guntbert probaly not [16:17] 7.3% of 9.15GB also means a very minimal install. that is pretty cool [16:17] Irunongames: my question was: do you have a graphical interface? [16:18] no [16:18] jrwren I should expand that o.o [16:19] but I am running VMWare so it's limited [16:20] Irunongames: please use my nick or I don't get highlighted -- next test: type w3m http://www.ubuntu.com -- do you get the page? [16:21] I tend not to highlight because people find it annying guntbert [16:21] ok i'll try [16:22] opening socket [16:22] Irunongames: in a support case it is important - I'm reading several channels and doing my own work too ... so it might take a long time till I notice your answer [16:22] http://tinypic.com/r/afeqfm/5 guntbert here is the resutl for update [16:24] Irunongames: that shows you cannot connect to the server -- what about w3m? [16:25] can't load [16:25] guntbert [16:26] Irunongames: could it be that you configured the system to use a proxy? [16:27] I think i selected it NOT to do that [16:27] Should I try to reinstall? [16:29] guntbert [16:29] Irunongames: no need - have a look into the browser config on your host please -- is there a proxy configured? [16:30] nope guntbert [16:30] Or atleast I didn't set it up [16:31] Irunongames: please have a look into it -- would be silly to work into the wrong direction in your guest :) [16:32] guntbert how do i do it? [16:33] Irunongames: how do you what? looking into the browser config on your host system? [16:33] yes guntbert [16:34] Irunongames: what is your host OS, what web browser do you use on your host system? [16:35] Windows 7, opera [16:36] are you sure its not a firewall thing? [16:36] because ping works, but the http for apt-get update fails. [16:36] can you wget http://security.ubuntu.com/ubuntu/dists/karmic-security/Release.gpg ? [16:37] Irunongames: for the record, I'm of the opinion that reinstall is NEVER a good idea. These screwups are the best way to learn. [16:38] it resolved it [16:38] it is connecting [16:40] jrwren: +1 [16:40] Ok, it is failing [16:41] not getting past security [16:42] does anyone know a "web temperature" monitor, like... phpsys but for temperature? [16:43] how do I allow my router 192.168.1. run rdate against my ubuntu server 192.168.1.244 ? [16:47] Irunongames: I have no idea about opera - sorry - but try (in your guest) w3m -no-proxy www.ubuntu.com [16:48] how do I allow remote IP talk to ntpd in other words ? [16:48] i want to run rdate against it [16:48] guntbert opening socket [16:53] Irunongames: that rules out the proxy idea - time to listen to jrwren's idea - are you certain that a ping from the guest to an outside system worked? [16:54] guntbert I got a ping back, so yes [16:55] want a screenshot? [16:56] Irunongames: no, thx - now please type sudo iptables -L (will probably give several lines) [16:57] guntbert done [16:57] Irunongames: I need to see the output [16:58] http://tinypic.com/view.php?pic=1zzm342&s=5 [17:02] guntbert [17:02] Irunongames: thats just a syntax help -- means you probably mistyped - did you forget the -L ? [17:03] woops [17:03] http://i40.tinypic.com/1zzm342.jpg [17:05] guntbert [17:06] Irunongames: same as before -- please show me the line you are typing in [17:17] sudo iptables -L [17:19] Irunongames: strange -- it should give something like http://paste.ubuntu.com/422273/ [17:22] let me try again [17:23] http://tinypic.com/r/or4f2x/5 guntbert [17:26] Irunongames: so it has nothing to do with the firewall of the guest -- please try once more: ping -c1 www.ubuntu.com -- you should get 1 received [17:29] http://tinypic.com/r/2v30jtf/5 guntbert [17:32] Irunongames: its getting stranger and stranger ... please (just for a test) disable any kind of firewall on the host, then try w3m http://www.ubuntu.com again [17:32] courier-imap-ssl wont install.. can someone enlighten me on what the capital 'C' means if you do an aptitude search for an application? http://pastebin.com/TYpm2qY2 [17:37] guntbert I will be back in 5 miniutes, playing with firewall = shut off internet for me [17:38] Irunongames: oops -- I'll be here === Irun is now known as Irunongames [17:58] I've lost control of a samba share and can't figure out why. the owner/group looks right and and I'm in the correct /etc/group entries. beyond that I'm out of ideas. anybody? [18:08] * SpamapS realizes its been at least 4 years since he logged ino a samba server [18:13] guntbert ? [18:14] Irunongames: I'm here [18:14] What do I do now? [18:14] I played with my firewall a bit [18:14] Irunongames: did you manage to disable any firewall on your host? [18:14] yep [18:16] Irunongames: no in your guest type w3m www.ubuntu.com - does it connect now? [18:16] *now [18:17] Opening socket [18:20] Irunongames: same as before .... please ask in #vmware - tell them host OS, guest OS, vmware product/version and tell them that ping to remote servers works but tcp-connections don't - its either a problem in vmware or with your router [18:21] Irunongames: I'm at the end of my knowledge -- sorry [18:31] guntbert adding entries into /etc/resolv.conf for DNS? [18:32] Irunongames: improbable - as ping www.ubuntu.com worked - and that needed name resolution too [18:35] hi, anyone knows something about UEC? [18:43] sommer, do you remember me? [18:45] how can I connect to an image from a pc(which is not the cloud controller)? [19:39] i added a user [19:40] congrats? [19:40] how do i make it so they have sudo access? how do i generate a key for them to login in with? how do i make authentication for this user to be pass + key [19:40] haha [19:40] Add them to the 'admin' group for sudo access. [19:41] what command to use to do that? [19:41] i dont see anything for addgrp [19:41] sudo adduser theusername admin [19:41] ok thanks [19:41] i dont have an admin group :( [19:42] The default ubuntu server install creates one. [19:43] well i'm pretty sure i'm running ubuntu server something ... i think hardy lts [20:47] I am interested in changing the hostname on my ubuntu ec2 server.... [20:47] I found out you should edit /etc/hostname but I don't think it works for amazon ec2... does anyone know how to do it in ec2? just mention my nick I will be around [21:01] shennyg: did you reboot the instance? [21:02] !hostname | shennyg [21:02] shennyg: Use hostname to set the hostname, or to do it permanently: edit /etc/hostname and /etc/hosts . WARNING! Make sure that your current hostname and /etc/hosts match, otherwise sudo may not work properly. [21:06] thanks SpamapS & guntbert: I put "hostname the.name.com" into /etc/rc.local b/c in /etc/hostname all it had was ubuntu [21:06] i have yet to test it by restarting... [21:18] shennyg, I suggest opening a root session via "sudo -i" before you change the hostname, because it's easy to break sudo by doing so [21:18] and then be stuck unable to reboot or undo the change [21:18] I was using su [21:18] is that the same thing? [21:19] not exactly but close enough for this purpose [21:19] there's some technical differences between sudo su, sudo -i, and sudo -s [21:19] so how do I know if I didn't break it? [21:19] I can still use su [21:19] I usually open a second terminal or SSH session [21:20] but will it take a reboot to find out? [21:20] I did it to 4 of our productions servers and then closed the ssh session [21:20] and I can still get into them [21:20] with su [21:20] well, it might not be correct after the reboot [21:20] the problem is when you change the hostname live, and then it breaks sudo auth [21:20] but I have yet to reboot any of them [21:21] gotcha [21:21] sort of like messing with pam [21:21] !sudo | shennyg [21:21] shennyg: sudo is a command to run command-line programs with superuser privileges ("root") (also see !cli ) . Look at https://help.ubuntu.com/community/RootSudo for more information. For graphical applications see !gksu (Gnome, XFCE), or !kdesudo (KDE). If you're unable to execute commands with sudo see: http://www.psychocats.net/ubuntu/fixsudo [21:21] you want to leave a root session open while you do it, so you can fix it [21:22] but it won't stay open if I reboot [21:22] qman__: well said :-) [21:22] well, when you reboot [21:22] it'll either work, or the system won't let anyone log in [21:22] wow, that sucks [21:22] in which case you need to boot single user/recovery mode to fix [21:23] that's a possibility with the way you did it, adding it to /etc/rc.local [21:23] I suggest undoing that, and doing it the right way [21:23] well I did it there, and I also ran hostname the.hostname.com [21:23] yes, but by having that in rc.local [21:24] and started a new ssh session and it worked [21:24] it changes the hostname after the system boots, but before anyone can log in [21:24] which is a very bad idea [21:24] ok [21:24] so what is the proper way of doing it and testing it so I don't need to use recovery mode [21:25] /etc/hosts and /etc/hostname [21:25] !hostname | shennyg [21:25] shennyg: Use hostname to set the hostname, or to do it permanently: edit /etc/hostname and /etc/hosts . WARNING! Make sure that your current hostname and /etc/hosts match, otherwise sudo may not work properly. [21:25] ok, I think there is a trick b/c I am using an amazon ec2 [21:25] my /etc/hostname file has ubuntu in it [21:25] and it is not that [21:25] that's the default hostname [21:26] and my hosts file doesn't have the current hostname in it [21:27] all it has is 127.0.0.1 localhost and some ipv6 stuff in it [21:27] well, I don't know anything about ec2, so I don't know what kind of dirty tricks they may have used [21:27] but that's the correct way to set the hostname [21:27] when it says edit those two files... do I just add a line that says "hostname the.hostname.com"? [21:28] no [21:28] /etc/hostname contains just the hostname [21:28] ok [21:28] and /etc/hosts links your IP to your hostname [21:28] normally you'd use your actual IP [21:28] so it would read 127.0.0.1 localhost the.hostname.com [21:28] no [21:28] or would I have to use the ip [21:28] it should contain [21:28] 127.0.0.1 localhost [21:29] 1.2.3.4 yourhostname.site.com [21:29] qman__: thanks a lot for sticking w/ me on this... [21:29] the ip changes on each reboot, so it looks like I am destin to screw things up.... [21:30] I am just going to remove the line from the rc.local file [21:30] well, if it's dynamic, you can't put it in the hosts file [21:30] and I am guessing there was no harm in setting the hostname via command line? [21:30] b/c on reboot it will not "stick" [21:30] there isn't, just the possibility of breaking things [21:30] am I correct? or should I undo it somehow? [21:30] if you're still able to log in, nothing broke [21:31] but *after* the reboot [21:31] but if you put that in rc.local, you can lock yourself out [21:31] because if it breaks, it'll break before you can log in [21:31] I am removing/undoing what I did in that [21:31] * the rc.local file [21:31] and I have to deal w/ me setting the hostname via cli [21:32] I'm guessing that with ec2, there's some kind of trick in the configuration that loads the instance [21:32] to set the hostname [21:32] yeah, but setting the hostname via "hostname the.hostname.com" via commandline as su should be undone when I reboot right? [21:33] yes [21:34] great, glad I actually got in here and asked! I would have been in some trouble... [21:34] thanks a TON [21:36] New bug: #569904 in mysql-dfsg-5.1 (main) "mysql-server-5.0 from hardy conflicts with mysql-server-core in karmic" [Undecided,New] https://launchpad.net/bugs/569904 [22:11] New bug: #569919 in ntp (main) "ntpd constantly complains about being unable to create socket" [Undecided,New] https://launchpad.net/bugs/569919 [22:37] gnome-do is keep crashing [22:37] now i cant start it.. lol [22:38] gnome-do that is [22:47] now that I have gnome-do out of the way.. anyone else have anyother suggestion on google desktop like search tool for laptop ?