/srv/irclogs.ubuntu.com/2010/04/25/#ubuntu-server.txt

fbc-mxJanC, but I get mdadm: Cannot open /dev/sdc: Device or resource busy00:00
JanCso actually, sdd is now sdc, and was never part of the array, right?00:00
MTecknologyfbc-mx: um? - i thought you said you combined sdc and add00:00
fbc-mxYes, sdc and sdd were the array00:00
MTecknologys/add/sdd/00:00
MTecknology"mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb /dev/sdc" <- not sdd00:00
fbc-mxMTecknology, no sdc and sdd were always a raid 100:00
fbc-mxMTecknology, I did but I get mdadm: Cannot open /dev/sdc: Device or resource busy00:01
MTecknologyi have to nap - else I'm going to pass out- I hope JanC can help out00:02
fbc-mxMTecknology, JanC , http://pastebin.com/hbAk3hTG00:02
JanCfbc-mx: what's in your fstab ?00:04
fbc-mxJanC, http://pastebin.com/qXP9aW8700:05
fbc-mxMTecknology, thanks for all your help00:08
fbc-mxJanC, any idea?00:08
JanCmy idea is you screwed something up, but I'm not sure where  ;)00:09
fbc-mxJanC, how do I format /dev/sdc as to erase the disk and start over again00:14
JanCfirst of all, it seems like you partitioned those disk?00:15
JanCthat's not really necessary00:15
JanCand you better not partition a disk before using it as a raid00:17
JanC*better not format is*00:17
MTecknologyJanC: that's what happened; he had partitions on it01:29
mrb_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:36
MTecknologywhat does Ubuntu use to hash its shadow files?01:47
MTecknologys/files/file/01:49
jpdsMTecknology: crypt() ?02:09
MTecknologyjpds: thanks02:13
jpdsMTecknology: As in: man 3 crypt02:14
MTecknologyjpds: yup :) - I also found this - http://en.wikipedia.org/wiki/Crypt_%28Unix%2902:14
Irunongameshelp04:09
Irunongamesmy server can't find any packages04:09
jpdsIrunongames: Which mirror are you using?04:12
IrunongamesI don't know04:12
JanCyou can see in the Software sources configuration04:13
jpdsIrunongames: Pastebin: /etc/apt/sources.list04:13
Irunongamesno file or directory04:14
jpdsWell, that explains it.04:14
Irunongameshow do I get it?04:14
jpdsIrunongames: Pick a mirror on https://launchpad.net/ubuntu/+archivemirrors and copy and paste the entries on the mirror's page.04:16
JanCthat file missing might point to other things missing too...04:16
IrunongamesI just type in "deb http://mirror.anl.gov/pub/ubuntu/ YOUR_UBUNTU_VERSION_HERE main "04:18
Irunongamesnothing else?04:18
Irunongames(besides swap "ubuntu version here"04:18
Irunongames"No command "deb" found"04:20
jpdsIrunongames: Paste: http://pastebin.ubuntu.com/422005/ into: /etc/apt/sources.list04:21
Irunongameshow do I do that using VMware04:22
JanCthere are sources list generators like: http://repogen.simplylinux.ch/04:22
JanCsudo nano /etc/sources.list04:23
JanCtaht will open an editor04:23
JanCpaste it in04:24
Irunongamesdo I just paste in the links?04:24
JanCthe shhortcuts to save & exit should be at the bottom somewhere04:24
JanCthe whole file as jpds gave them04:25
jpdsIrunongames: You might want to read: https://help.ubuntu.com/community/Repositories/CommandLine04:31
skritewhat does reset slave on a slave replication MySQL do ?   i am getting conflicting info04:37
apstantoI have an ibm laptop with a Pentium III.  Should I use the 32bit version of ubuntu 9.10 server?05:03
qman__yes05:08
qman__Intel didn't implement the x64 extensions until the Pentium 4 Extreme Edition05:09
apstantook thanks! why is the 32bit iso image 690MB and the 64bit iso image only 655 MB?05:16
ubuntuim guessing there are some packages that have not been compiled for 64bit yet that are not included in the 64bit edition05:20
ubuntuthese packages probobly introduce bugs in a a64bit environment05:20
ScottKubuntu: There aren't many of those that are an issue on servers.05:21
ubuntujust a guess05:21
ubuntuScottK, im guessing they arent an issue because they were excluded05:21
ScottKUsually 64 bit binaries are bigger, so the package selection on CD is somewhat less, but they are still available online.05:22
uvirtbotNew bug: #224665 in ntp (main) "ntpd starts but does not contact peers" [Undecided,Confirmed] https://launchpad.net/bugs/22466505:24
apstantoWhat does "package selection on CD" mean?05:25
ScottKThe stuff that's on the ISO.05:27
ScottKIt's been a while since I looked hard at what was seeded on the 32/64 bit server ISOs.05:27
apstantoif the binary is bigger, why is the iso smaller?05:28
ScottKI'm not sure.05:29
ScottKAs I said I haven't looked at it recently.05:29
ScottKGenerally 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:30
apstantoYeah05:33
netritiousHi, how do I mount a USB thumb drive from console? Using Hardy Server i386.07:35
blue-frognetritious, has it been recognized by the system when you inserted it?07:38
blue-frogdo you see it in dmseg07:38
blue-frogdmesg07:38
netritiousblue-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:41
blue-frognetritious, if the server does not create an entry in /dev/ it will be a problem indeed07:42
netritiouslooks 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 effect07:45
netritiousblue-frog: will try some other things. Thank you for assisting. :)07:49
strings_hello. Does anyone know how to remove the packages that a meta package installs?09:51
revesIm 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
guntbertreves: not sure why you want to use VNC instead of ssh?10:10
revesis it can i use SSH for a gnome session?10:13
revesif so how, and how do i get around these port blockages?10:13
ivokswrong channel10:13
ivoksgnome is on #ubuntu10:13
ivoksin10:13
revesoh for fuck sake10:14
ivoks:)10:14
reveswhatever dickhead10:14
guntbert!language | reves10:14
ubottureves: Please watch your language and topic to help keep this channel family friendly.10:14
timhainesHey guys - is this a good place to ask iptables related questions?11:20
ivokssure11:25
timhainesFigured it out.  eth1 needed to be changed to eth0  :-)11:32
paul_andrewFor 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:36
ivoksi don't use uec11:47
ivoksbut afaik, it has web interface11:48
ivokspaul_andrew: look at https://help.ubuntu.com/community/UEC/ElasticFox11:50
paul_andrewivoks: thank you11:50
uvirtbotNew 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/56973413:11
uvirtbotNew 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/56974113:31
uvirtbotNew bug: #567188 in krb5 (main) "krb5 and ADS error using 10.04, not 9.04" [Undecided,New] https://launchpad.net/bugs/56718814:07
bogeyd69.04?14:08
paul_andrewI have this virtual machine from linhost. Networking in ubuntu server, is this done manually?14:11
uvirtbotNew bug: #569757 in nis (universe) "NIS upstart dependancy broken for lucid" [Undecided,New] https://launchpad.net/bugs/56975714:21
jaypurdo you know any temperature monitor that sends the stats to a webpage... like phpsysinfo but for temperature???14:55
Ziderphpsysinfo shows temp too14:57
Ziderboth cputemps and HDDs14:58
jrwrenyou probably need sensors setup correctly for phpsysinfo to show it.15:05
jrwrendoes sensors work from cmdline ?15:05
jaypurjrwren, sorry if i'm too late, didn't see15:10
jaypurjrwren, yes... everything is ok... where can i set at phpsys?15:11
jaypurjrwren, i think it just shows the HD temperature, not the cpu or mb15:23
IrunongamesHello???15:42
IrunongamesI need help with getting packages15:43
IrunongamesMy server doesn't have any packages15:46
lil_cainWhat do you mean?15:48
lil_cainIs apt not workign?15:48
IrunongamesTheir are no packages at all15:49
lil_cainso you have nothing installed?15:49
Irunongamestheir is no /ext/apt/sources.list15:49
Irunongameshow do I create it?15:49
guntbertIrunongames: the correct path is /etc/apt/sources.list15:51
lil_cainIrunongames: What version of ubuntu?15:52
Irunongamesguntbert Wow, that explains a lot ><15:52
Irunongames9.1015:53
IrunongamesBut then why can't I download any packages?15:53
guntbertIrunongames: :),  and remember on linux case is significant too  -- you can use the <tab> key to autoexpand paths and file names15:54
jrwrendo you have a working network connection?15:54
lil_cainwhat happens when you try and install something?15:54
lil_caincan you pastebin the error?15:54
IrunongamesI am running it on a virtual box15:55
Irunongamescould that be the issue?15:55
Irunongames*vmware workstation15:55
lil_cainUnlikely. However, if your VM lacks a working network connection, that could be it.15:55
IrunongamesI pinged google yesterday15:56
IrunongamesSo it should be working15:56
lil_cainTry connecting to google.com now?15:57
Irunongamesjust ping http://www.google.com15:57
guntbertIrunongames: won't work - it must be ping www.google.com (without the http:// part)15:59
Irunongameswoops15:59
* Irunongames tires it15:59
Irunongames*tries15:59
IrunongamesOk I get a ping15:59
lil_cainright. Can you paste bin the error you get from apt-get install sl?16:00
lil_cain(or some other similar package)16:00
Irunongamescan I do that even in VMWare?16:01
lil_cainthe fact that it's running in vmware shouldn't change anything.16:02
IrunongamesI'll just screenshot it16:06
Irunongamesone sec16:06
Irunongameshttp://tinypic.com/r/2vlqpg5/516:09
guntbertIrunongames: please type sudo apt-get update16:11
IrunongamesConnecting to security16:12
Irunongameshow long should that take?16:12
lil_caina minute or so. Probably less.16:13
IrunongamesIt's still on security -_-16:14
guntbertIrunongames: do I see correctly that you have no GUI?16:15
Irunongamesguntbert probaly not16:16
jrwren7.3% of 9.15GB also means a very minimal install. that is pretty cool16:17
guntbertIrunongames: my question was: do you have a graphical interface?16:17
Irunongamesno16:18
Irunongamesjrwren I should expand that o.o16:18
Irunongamesbut I am running VMWare so it's limited16:19
guntbertIrunongames: please use my nick or I don't get highlighted  -- next test: type w3m http://www.ubuntu.com   -- do you get the page?16:20
IrunongamesI tend not to highlight because people find it annying guntbert16:21
Irunongamesok i'll try16:21
Irunongamesopening socket16:22
guntbertIrunongames: 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 answer16:22
Irunongameshttp://tinypic.com/r/afeqfm/5 guntbert here is the resutl for update16:22
guntbertIrunongames: that shows you cannot connect to the server -- what about w3m?16:24
Irunongamescan't load16:25
Irunongamesguntbert16:25
guntbertIrunongames: could it be that you configured the system to use a proxy?16:26
IrunongamesI think i selected it NOT to do that16:27
IrunongamesShould I try to reinstall?16:27
Irunongamesguntbert16:29
guntbertIrunongames: no need - have a look into the browser config on your host please -- is there a proxy configured?16:29
Irunongamesnope guntbert16:30
IrunongamesOr atleast I didn't set it up16:30
guntbertIrunongames: please have a look into it -- would be silly to work into the wrong direction in your guest :)16:31
Irunongamesguntbert how do i do it?16:32
guntbertIrunongames: how do you what? looking into the browser config on your host system?16:33
Irunongamesyes guntbert16:33
guntbertIrunongames: what is your host OS, what web browser do you use on your host system?16:34
IrunongamesWindows 7, opera16:35
jrwrenare you sure its not a firewall thing?16:36
jrwrenbecause ping works, but the http for apt-get update fails.16:36
jrwrencan you wget http://security.ubuntu.com/ubuntu/dists/karmic-security/Release.gpg ?16:36
jrwrenIrunongames: for the record, I'm of the opinion that reinstall is NEVER a good idea. These screwups are the best way to learn.16:37
Irunongamesit resolved it16:38
Irunongamesit is connecting16:38
guntbertjrwren: +116:40
IrunongamesOk, it is failing16:40
Irunongamesnot getting past security16:41
jaypurdoes anyone know a "web temperature" monitor, like... phpsys but for temperature?16:42
axisyshow do I allow my router 192.168.1. run rdate against my ubuntu server 192.168.1.244 ?16:43
guntbertIrunongames: I have no idea about opera - sorry - but try (in your guest) w3m -no-proxy www.ubuntu.com16:47
axisyshow do I allow remote IP talk to ntpd in other words ?16:48
axisysi want to run rdate against it16:48
Irunongamesguntbert opening socket16:48
guntbertIrunongames: 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:53
Irunongamesguntbert I got a ping back, so yes16:54
Irunongameswant a screenshot?16:55
guntbertIrunongames: no, thx - now please type sudo iptables -L (will probably give several lines)16:56
Irunongamesguntbert done16:57
guntbertIrunongames: I need to see the output16:57
Irunongameshttp://tinypic.com/view.php?pic=1zzm342&s=516:58
Irunongamesguntbert17:02
guntbertIrunongames: thats just a syntax help -- means you probably mistyped  - did you forget the -L ?17:02
Irunongameswoops17:03
Irunongameshttp://i40.tinypic.com/1zzm342.jpg17:03
Irunongamesguntbert17:05
guntbertIrunongames: same as before -- please  show me the line you are typing in17:06
Irunongamessudo iptables -L17:17
guntbertIrunongames: strange -- it should give something like http://paste.ubuntu.com/422273/17:19
Irunongameslet me try again17:22
Irunongameshttp://tinypic.com/r/or4f2x/5 guntbert17:23
guntbertIrunongames: 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 received17:26
Irunongameshttp://tinypic.com/r/2v30jtf/5 guntbert17:29
guntbertIrunongames: 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    again17:32
bluethundrcourier-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/TYpm2qY217:32
Irunongamesguntbert I will be back in 5 miniutes, playing with firewall = shut off internet for me17:37
guntbertIrunongames: oops -- I'll be here17:38
=== Irun is now known as Irunongames
wbrbI'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?17:58
* SpamapS realizes its been at least 4 years since he logged ino a samba server18:08
Irunongamesguntbert ?18:13
guntbertIrunongames: I'm here18:14
IrunongamesWhat do I do now?18:14
IrunongamesI played with my firewall a bit18:14
guntbertIrunongames: did you manage to disable any firewall on your host?18:14
Irunongamesyep18:14
guntbertIrunongames: no in your guest type w3m www.ubuntu.com  - does it connect now?18:16
guntbert*now18:16
IrunongamesOpening socket18:17
guntbertIrunongames: 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 router18:20
guntbertIrunongames: I'm at the end of my knowledge -- sorry18:21
Irunongamesguntbert adding entries into /etc/resolv.conf for DNS?18:31
guntbertIrunongames: improbable - as ping www.ubuntu.com worked - and that needed name resolution too18:32
FFF666hi, anyone knows something about UEC?18:35
FFF666sommer, do you remember me?18:43
FFF666how can I  connect to an image from a pc(which is not the cloud controller)?18:45
aroonii added a user19:39
Picicongrats?19:40
aroonihow 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 + key19:40
aroonihaha19:40
PiciAdd them to the 'admin' group for sudo access.19:40
arooniwhat command to use to do that?19:41
aroonii dont see anything for addgrp19:41
Picisudo adduser theusername admin19:41
arooniok thanks19:41
aroonii dont have an admin group :(19:41
PiciThe default ubuntu server install creates one.19:42
arooniwell i'm pretty sure i'm running ubuntu server something ... i think hardy lts19:43
shennygI am interested in changing the hostname on my ubuntu ec2 server....20:47
shennygI 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 around20:47
SpamapSshennyg: did you reboot the instance?21:01
guntbert!hostname | shennyg21:02
ubottushennyg: Use hostname <somehostname> 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:02
shennygthanks SpamapS & guntbert: I put "hostname the.name.com" into /etc/rc.local b/c in /etc/hostname all it had was ubuntu21:06
shennygi have yet to test it by restarting...21:06
qman__shennyg, I suggest opening a root session via "sudo -i" before you change the hostname, because it's easy to break sudo by doing so21:18
qman__and then be stuck unable to reboot or undo the change21:18
shennygI was using su21:18
shennygis that the same thing?21:18
qman__not exactly but close enough for this purpose21:19
qman__there's some technical differences between sudo su, sudo -i, and sudo -s21:19
shennygso how do I know if I didn't break it?21:19
shennygI can still use su21:19
qman__I usually open a second terminal or SSH session21:19
shennygbut will it take a reboot to find out?21:20
shennygI did it to 4 of our productions servers and then closed the ssh session21:20
shennygand I can still get into them21:20
shennygwith su21:20
qman__well, it might not be correct after the reboot21:20
qman__the problem is when you change the hostname live, and then it breaks sudo auth21:20
shennygbut I have yet to reboot any of them21:20
shennyggotcha21:21
qman__sort of like messing with pam21:21
guntbert!sudo | shennyg21:21
ubottushennyg: 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/fixsudo21:21
qman__you want to leave a root session open while you do it, so you can fix it21:21
shennygbut it won't stay open if I reboot21:22
guntbertqman__: well said :-)21:22
qman__well, when you reboot21:22
qman__it'll either work, or the system won't let anyone log in21:22
shennygwow, that sucks21:22
qman__in which case you need to boot single user/recovery mode to fix21:22
qman__that's a possibility with the way you did it, adding it to /etc/rc.local21:23
qman__I suggest undoing that, and doing it the right way21:23
shennygwell I did it there, and I also ran hostname the.hostname.com21:23
qman__yes, but by having that in rc.local21:23
shennygand started a new ssh session and it worked21:24
qman__it changes the hostname after the system boots, but before anyone can log in21:24
qman__which is a very bad idea21:24
shennygok21:24
shennygso what is the proper way of doing it and testing it so I don't need to use recovery mode21:24
qman__ /etc/hosts and /etc/hostname21:25
guntbert!hostname | shennyg21:25
ubottushennyg: Use hostname <somehostname> 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
shennygok, I think there is a trick b/c I am using an amazon ec221:25
shennygmy /etc/hostname file has ubuntu in it21:25
shennygand it is not that21:25
qman__that's the default hostname21:25
shennygand my hosts file doesn't have the current hostname in it21:26
shennygall it has is 127.0.0.1 localhost and some ipv6 stuff in it21:27
qman__well, I don't know anything about ec2, so I don't know what kind of dirty tricks they may have used21:27
qman__but that's the correct way to set the hostname21:27
shennygwhen it says edit those two files... do I just add a line that says "hostname the.hostname.com"?21:27
qman__no21:28
qman__ /etc/hostname contains just the hostname21:28
shennygok21:28
qman__and /etc/hosts links your IP to your hostname21:28
qman__normally you'd use your actual IP21:28
shennygso it would read 127.0.0.1 localhost the.hostname.com21:28
qman__no21:28
shennygor would I have to use the ip21:28
qman__it should contain21:28
qman__127.0.0.1 localhost21:28
qman__1.2.3.4 yourhostname.site.com21:29
shennygqman__: thanks a lot for sticking w/ me on this...21:29
shennygthe ip changes on each reboot, so it looks like I am destin to screw things up....21:29
shennygI am just going to remove the line from the rc.local file21:30
qman__well, if it's dynamic, you can't put it in the hosts file21:30
shennygand I am guessing there was no harm in setting the hostname via command line?21:30
shennygb/c on reboot it will not "stick"21:30
qman__there isn't, just the possibility of breaking things21:30
shennygam I correct? or should I undo it somehow?21:30
qman__if you're still able to log in, nothing broke21:30
shennygbut *after* the reboot21:31
qman__but if you put that in rc.local, you can lock yourself out21:31
qman__because if it breaks, it'll break before you can log in21:31
shennygI am removing/undoing what I did in that21:31
shennyg* the rc.local file21:31
shennygand I have to deal w/ me setting the hostname via cli21:31
qman__I'm guessing that with ec2, there's some kind of trick in the configuration that loads the instance21:32
qman__to set the hostname21:32
shennygyeah, but setting the hostname via "hostname the.hostname.com" via commandline as su should be undone when I reboot right?21:32
qman__yes21:33
shennyggreat, glad I actually got in here and asked! I would have been in some trouble...21:34
shennygthanks a TON21:34
uvirtbotNew 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/56990421:36
uvirtbotNew bug: #569919 in ntp (main) "ntpd constantly complains about being unable to create socket" [Undecided,New] https://launchpad.net/bugs/56991922:11
axisysgnome-do is keep crashing22:37
axisysnow i cant start it.. lol22:37
axisysgnome-do that is22:38
axisysnow that I have gnome-do out of the way.. anyone else have anyother suggestion on google desktop like search tool for laptop ?22:47

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!