/srv/irclogs.ubuntu.com/2012/05/02/#ubuntu-server.txt

=== imbrando1 is now known as imbrandon
=== shauno_ is now known as shauno
=== bdmurray_ is now known as bdmurray
flaccidto enable root on 12.04 AMIs, is this the right practice? sudo cp /home/ubuntu/.ssh/authorized_keys /root/.ssh/01:11
erichammondflaccid: Yes, as long as you ignore that allowing ssh as root is not a recommended practice on Ubuntu.  That's the command I list in http://alestic.com/2009/04/ubuntu-ec2-sudo-ssh-rsync01:39
erichammondThat article also lists a number of ways to do things without root ssh that you might normally think require ssh to root.01:39
flacciderichammond: thanks, i just wanted to make sure the implementation had not changed i.e. we direct this http://support.rightscale.com/12-Guides/RightLink/04-Creating_RightScale-enabled_Images_with_RightLink/RightLink_Installer_for_Ubuntu#SSH_into_the_instance01:40
flaccidi think rs is working on non root support. there is limited support in some non ec2 clouds but it probably needs to be implemented via a tag on the MCIs01:52
flacciderichammond: let me put a link to your page on this02:00
flaccidok i linked it twice, thanks02:03
JonEdneyHey, anyone around by chance?02:36
JonEdneyI just loaded Windows XP on an old PC, and I'm running VirtualBox, and I'm trying to install 12.04 LTS and I get this error:02:36
JonEdneyThsis kernel requires the following features not present on the CPU: pae - Unable to boot - please use a kernel appropriate for your CPU.02:37
JonEdneyAnswered my own question.02:38
JonEdneySorry - long day :|02:38
flaccidthis is ubuntu-server chan02:39
JonEdneyI know, it is server 12.04 I'm installing.02:40
Psi-JackHmm02:41
Psi-JackAnyone know anything about krb5-users, and why it doesn't like default_tgs_enctypes = des-cbc-md5, giving No supported encryption types?02:42
=== ahs3` is now known as ahs3
_John-Doe_hello everyone!05:34
_John-Doe_anyone know how to troubleshoot PTR records in BIND9?05:35
_John-Doe_need help with /etc/bind/db.xx records!!!!05:36
_John-Doe_plz help!!!!05:37
cedr!!!!!!!!!05:37
_John-Doe_hey cedr, help a buddy out!05:38
cedri'm not sure with bind, but if you have patience someone might help you out05:38
_John-Doe_OK  thanks,   i'll wait05:40
_John-Doe_need help setting up reverse PTR records in bind905:45
flaccidzomgz!05:50
flaccidrtfm05:50
flaccid_John-Doe_: sorry couldn't find an issue in your ramblings05:52
flaccid#bind also exists05:52
* cedr stimulates flaccid 05:53
cedr(sorry that was horrible)05:53
flaccidunpossible :)05:53
_John-Doe_Im receiving an error on my "/etc/bind/db.127"  PTR zone file when i use named-checkconf.05:54
_John-Doe_it tells me i have a sintax error, and im really not sure what the correct syntax is05:54
cedrwhat's on line 127 for starters05:55
_John-Doe_its gonna take a while for me to get it, im running on a VM.  please hold. lol05:56
flaccid#bind05:58
flaccidor preferably the docs05:58
cedroh, it's not line 12706:00
cedrwhat was i using that uses file.linenumber06:01
flaccidhuh06:01
_John-Doe_/etc/bind/db.12706:01
_John-Doe_;06:01
_John-Doe_; BIND reverse data file for domain.local06:01
_John-Doe_;06:01
_John-Doe_$TTl 60480006:01
_John-Doe_@INSOAlocalhost.root.localhost.(06:01
_John-Doe_2012050100;Serial06:01
_John-Doe_604800;Refresh06:01
_John-Doe_86400;Retry06:01
cedri thought "/etc/bind/db.127" was refering to /etc/bind/db line 12706:01
_John-Doe_2419200;Expire06:01
_John-Doe_604800);Negative Cach TTL06:01
_John-Doe_;06:01
_John-Doe_@INPTRlocalhost.06:01
_John-Doe_1.0.0INPTRlocalhost.06:01
flaccidno06:02
greppy_John-Doe_: pastebin would have been a better solution.06:02
cedryeah that's my bad06:02
cedrsome software i was using did it that way, can't remember which though06:02
flaccidfail x 206:02
cedranyways, i'm off to bed - night all06:02
_John-Doe_l8r cedr06:03
=== Amoz_ is now known as Amoz
_John-Doe_sorry greppy, still getting the hang of this comand line only environment06:04
flaccidwelcome to 'server'06:06
greppy_John-Doe_: can you pastebin the exact error that you are getting from named-checkconf?  or does it literally give you just "syntax error"?06:08
_John-Doe_yeah just looked it up thanks06:08
flaccidURI, _John-Doe_ ?06:10
_John-Doe_http://pastebin.com/UztZXEzv06:11
flaccidhooray06:11
flaccid_John-Doe_: fix your syntax error, done.06:11
flaccidits on line 1006:11
greppy_John-Doe_: looks like it is db.10 with the error and the error is likely on line 106:11
greppycan you pastebin your db.10?06:11
_John-Doe_wow great answer!  thanks.06:12
flaccidsorry yes, line 106:12
flaccidsweet, good luck with your DNS servings.06:12
_John-Doe_ok gimme a sec06:12
flaccidan error is sometimes hard to get. what is even harder to get is teh source. welcome to the life of a support engineer.06:13
_John-Doe_http://pastebin.com/pc1KfDBT06:14
flaccidNetwork 10.0.24.0/2406:14
flaccidwhats this crap?06:14
flacciddid you not read the error?06:14
flacciddon't know how to do comments?06:15
_John-Doe_sorry no it start at the first ;06:15
flaccidor read documents06:15
_John-Doe_thats some extra stuff to help the process06:16
flacciddoesn't help us06:16
yaboono matter what I do create passwordless ssh logins it always ask me for a password06:16
_John-Doe_so flaccid , what would you have done differently?06:16
greppyyaboo: are you using encrypted home directory?06:16
yabootried dsa and rsa to no avail06:17
yaboogreppy no06:17
flaccidyaboo: priv key could be wrong. either way run sshd in debug so you can get the log output06:17
greppyyaboo: did you put the contents of the .pub into ~/.ssh/authorized_keys ?06:17
flaccid_John-Doe_: configured a real forward zone with bind correctly that is not on domain.local which is a foobar zone.06:17
yabooflaccid, done that and can see nothing wrong06:17
greppyyaboo: ssh -v -v $hostname may give you more info.06:17
yaboogrippy tried ssh -vvv hostname -p 2202 and same issue06:18
flaccidyaboo: you would see at least a permission denied which is wrong in my boooks.06:18
yabootried 12.04 and 10.04 had the gas issue, fixed that06:18
twbThe SSH server *will not tell* the ssh client why access was refused.  This is for security.06:18
twbIf your access is rejected, you must look at the sshd logs on the sshd server06:18
yabooso same on both servers06:18
flaccidexactly, but the user claimes debug here heh06:19
yaboodebug2: we did not send a packet, disable method06:20
twbyaboo: on both hosts, pastebin the output of "find ~/.ssh -ls".  On the server, pastebin the output of "cat ~/.ssh/authorized_keys".06:20
yabooonly thing I can see from debug is this06:20
_John-Doe_any one know where to find a correct syntax format for a reverse PTR06:20
flaccid_John-Doe_: besides what i already said in addition there is no A record06:20
flaccid_John-Doe_: its in teh bind manual06:21
_John-Doe_nevermind06:21
flaccid_John-Doe_: don't think you did it right though06:21
flaccidi'll always mind, coz you wasted my time06:21
twbdig axfr 155.7.203.in-addr.arpa will show the correct syntax06:22
yabootwb the local is ubuntu, the remote is cents 6.206:22
yaboohttp://pastebin.com/2N9Vy9ar twb06:23
flaccidit looks ok but has no bearing if the authoritive on the reverse is not applicable, e.g. db.127:1.0.    IN    PTR    localhost.06:23
flaccidoh no joh doe06:24
twbflaccid: huh?06:24
flaccidsorry that dude fucked off ages ago06:24
flaccidwasting my time here06:24
twbSure, sorry to confuse you06:24
twbReally "/home/nagios"?06:25
flaccidnow that  #ubuntu-cloud redirects to here, i don't think there is much point being here06:25
twbsystem accounts should live in /var/lib or something06:25
flaccidthe question are just normal ubuntu stuff not related to cloud06:25
twbflaccid: I wish the cloud would FOAD06:25
flaccidi'm of no use and got out of helping normal ubuntu users years ago06:25
twbI am sick of hearing cloud/maas/saas/cobbler bollocks06:25
flaccidFOAD?06:25
twbflaccid: fuck off and die06:26
flaccidright06:26
flaccidnot sure why06:26
flaccidthats what i do for a living06:26
flaccidand this chan got redirected from #ubuntu-cloud and is just full of non cloud crap06:26
twbBecause it's boring buzzword gibberish and most people only want it because a trade mag told them they should06:26
greppyyaboo: grep nagios /etc/passwd, let's make sure /home/nagios is actually the home directory.06:26
flaccidto which i have no interest in06:26
flaccidsure thats the masses06:27
twbRight I don't care if you specialists want to keep doing it06:27
flacciddifferent story for the real users06:27
flacciddoing what?06:27
twbcloudy stuff06:27
yaboogreppy yes it is06:27
flaccidbut this channel now looks after cloud06:27
twbIOW you and I both want the same thing -- for -server and -cloud chans to split up again so we can each get only one :-)06:27
flaccidso how twb will you support it?06:27
twbI'm not a canoical employee, I don't have to support anything06:28
flacciddo you know aws/ec2,openstack.eucalyptus,openstack,cloudstack,opennebula etc. etc. ?06:28
twbI'm here out of the goodness of my blackened and calcified heart06:28
flaccidthen your support is limited twb06:28
greppyyaboo: pastebin: ssh -v -i ~/.ssh/id_dsa $remote_host06:30
erichammond1!language |  flaccid, twb06:31
ubottuflaccid, twb: Please watch your language and topic to help keep this channel family-friendly, polite, and professional.06:31
flacciderichammond1: sorry which word was not "family-friendly" ??06:32
greppyflaccid: f... for one.06:32
flaccidgreppy: my text search couldn't find that06:32
flaccidi found this though, twb: flaccid: fuck off and die06:33
twberichammond1: sorry about that06:33
flaccidnone of which of you have pulled twb up on06:33
greppyflaccid: erichammond1 tagged both of you with it, not just you.06:33
flaccidstill waiting to find out what language i used which was not acceptable06:33
flaccidi found no curse words in my scrollback06:33
flacciderichammond1 is wrong until he quotes.06:33
twbyaboo: what is in the centos sshd logs re. nagios login attempts?06:34
greppyflaccid: this is a support channel, if you don't want to support, leave or keep quiet, opining about how you hate that another channel redirects here and being confrontational with people asking for help doesn't help.06:35
erichammond1flaccid: Not looking to get into an argument.  Just trying to remind you that the #ubuntu channels have guidelines that are not the same as the ##aws type channels.  fwiw, grep for "sorry that dude..."06:35
yabootwb restarted ssh on cents for some reason and it works06:36
twberichammond1: oh, this is getting hit on the head lessons06:36
yabootwb wtf how can it just do that, no changes have been made06:36
twbyaboo: I do not know, but I suggest you run away before C falls over again ;-)06:37
flaccidgreppy: o06:37
flaccidve06:37
flaccidgreppy: i've been helping all day, you probably havnt observed that06:37
flacciderichammond1: i didn't breach any guidelines man, what are you talking about???????06:38
bazhangflaccid, lets move on06:38
flaccidno lets realize the facts.06:38
greppyflaccid: correct, I just joined the channel again a little while ago, and all I saw was you giving someone a hard time about dns setup.06:38
flaccidgreppy: it wasn't a hard time. it was support.06:39
twbGuys, just drop it and get on with life.06:39
bazhang!ot | flaccid06:39
ubottuflaccid: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks!06:39
flaccidguidelines are not off topic06:39
bazhangwell -server as well06:39
bazhangflaccid, #ubuntu-ops to discuss not here06:39
flaccidbazhang: i was an ubuntu op, sorry06:40
flaccidnow that #ubuntu-cloud has been consolidated into this chan i really have no use here06:40
flacciderichammond is your best man06:41
erichammond1flaccid: You have a lot to contribute.  I think everyone would welcome your patient and considerate help on this channel.06:42
flaccidnot worth my time, thanks anyway Eric06:42
footvillahey guys having a bit of a problem06:44
greppyfootvilla: so ask your question, don't keep us in suspense.d06:45
footvillai think im having a harddrive issue06:45
footvillaafter about 10 min06:46
footvillamy ubuntu goes into read only06:46
footvillaand wont open anything06:46
footvillais there any logs that i could look into this?06:46
greppydmesg might show something.06:47
greppyfootvilla: /var/log/syslog may show you something as well.06:47
greppywhat kind of hdd is it and how old is it?06:47
footvillahttp://paste.ubuntu.com/961807/06:49
footvillatwo 128 SSD using softraid06:49
twbinit: failsafe main process (812) killed by TERM signal -- what is that?06:50
twbAn init job called "failsafe" ?06:50
twbAnd why is GDM killed off ten seconds after boot?06:50
twbfootvilla: "softraid" as in mdadm, or as in fakeraid?06:51
footvillafakeraid06:51
twbYou would do better to use mdadm, although that's probably not your current issue06:51
footvillai know today it made me to a check /fix disk06:52
footvillawhen i rebooted06:52
footvillawould any other logs help me find the issue06:57
twbfootvilla: is it wedged now?06:58
footvillawhat do u mean by wedged06:58
twbfootvilla: wait until it wedges, then examine /proc/mounts, dmesg, /var/log/syslog, /var/log/auth.log, &c -- before rebooting06:58
twbwedged as in broken, hung, not responding -- whatever06:59
footvillagotcha06:59
footvillashould wedge --whatever in around 5 min06:59
twbrebooting will clear /proc/mounts and dmesg so you won't see what went wrong06:59
twbYou might find it in /var/log/kern.log, but only if it could write to that file after the problem occurred06:59
footvillai think when it wedges nothing is writable07:00
twbExactly07:01
twbThe most likely problem is filesystem corruption on the root filesystem, which causes the fs driver to lock it until the next reboot.  if that's the case, dmesg will show it07:01
=== cornfeed_ is now known as cornfeed
footvillawhat commands would i run07:06
footvillawhen it wedges?07:06
=== smb` is now known as smb
twbdmesg and cat /proc/mounts07:06
twbAnd maybe other stuff after that -- depends what is wrong07:07
footvillahmm its not wedging07:11
footvillasigh07:11
flaccidflaccid: flaccid: beside the fact that they are ONLY guidelines, what did I breach, specifically??? https://wiki.ubuntu.com/IRC/Guidelines?action=show&redirect=IrcGuidelines07:11
flaccid[5:10pm] flaccid: i have done exactly that, so did you lie to me?07:11
flaccid[5:10pm] flaccid: or what is the go sir?07:11
flaccid[5:10pm] bazhang: I'm a bit busy at the moment, if it takes time between replies that is the reason07:11
flaccidtrying to find out what guidelines i specifically breached07:12
flaccidbazhang is too busy atm, anyone sle?07:12
flaccid*else07:12
bazhangflaccid, this is not the place.  #ubuntu-ops please07:12
flaccidnah, i take it up here07:12
flaccidwhere it happened07:12
flaccidthat is not against the guidelines07:13
greppyflaccid: please, take it to #ubuntu-ops, this is not the place.07:13
flaccidno07:13
flaccidtwb: did you get lectured as well?07:17
footvillai gatta get to bed its very late here seems like its not wedging crossing my fingers that it will be fine07:17
bazhangflaccid, lets move on, this is not the place, as you have been asked several times now07:17
flaccidbazhang: no lets not move on. how about you process the issue?07:18
bazhangflaccid, then join the appropriate channel to discuss, where we can gladly do so07:18
bazhangflaccid, which is #ubuntu-ops not here07:18
flaccidi already answered your question in PM07:18
flaccidthere is no obligation for me to join another channel07:19
footvillatwb thanks for the help07:19
=== remix_auei is now known as remix_tj
DoomGuyhello all08:05
DoomGuyI have some customized fonts installed in my web directory08:05
DoomGuy ./var/www/project/web/fonts08:06
DoomGuythat fonts are not supported and wont work08:06
DoomGuyhow can I fix that please08:06
=== almaisan-away is now known as al-maisan
twbDoomGuy: define "supported" and "won't work"08:11
DoomGuytwb ok when I access the website from my browser that fonts are not applied to the website's text08:12
DoomGuybut it work just fine in my local machine08:12
twbAFAIK if your website says something like "use font Arial for <P> blocks", unless Arial is already installed on the desktop, where the browser can see it, you won't get arial.08:15
flaccidfont families08:16
flaccidbye bye sh1tbuntu08:16
DoomGuytwb I have no such errors08:16
DoomGuyjust the font is not showed correclty08:16
twbDoomGuy: the browser won't give an error, it'll just fall back to the nearest font it can find08:16
DoomGuytwb ok, now how can I check that error and fix it ?08:17
=== al-maisan is now known as almaisan-away
twbI don't know08:19
twbYou probably want a web dev channel08:19
DoomGuyok thanks anyway08:19
lynxmanmorning o/08:28
=== DoomGuy is now known as Genk1
=== Ztane_ is now known as Ztane
=== almaisan-away is now known as al-maisan
Talibuhello - i nearly failed a dist-upgrade (10.04>12.04) because of 'fontconfig-config' can i consult other logs beside the /var/log/dist-upgrade stuff?09:38
=== lool- is now known as lool
=== al-maisan is now known as almaisan-away
=== ikonia_ is now known as ikonia
=== chuck_ is now known as zul
hughessdhello12:09
hughessdif anyone can help, i would be very grateful12:10
hughessdi tried to upgrade from 10.04 to 12.04 but now my / isn't being recognized on boot12:10
wondermanits not recommended to upgrade distro right?12:17
wondermanNew release '12.04 LTS' available.12:17
wondermanRun 'do-release-upgrade' to upgrade to it.12:17
hughessdyes, i did that12:17
hughessdbut things didn't go as smoothly as i thought.12:18
hallynhm, it's supposed to not recommend until 12.04.112:22
hallynhughessd: i don't know that i can help, but what was your root fs on?  was it raid+lvm?12:22
hughessddef on RAID 012:24
hughessdbut don't know about lvm12:24
hughessdi have it booting int a liveUSB now12:24
hughessdDell PowerEdge 1950 Server12:24
hallyncool, ifyou're booted of usb that should help to file a bug with good details12:26
wondermanwell12:33
wondermanim not risking anything12:33
wondermani dont agree with the notice though, if its only just been released12:34
hughessdfrom what I read, it's still possible to safely upgrade to 12.0412:34
hughessdyou just have to make sure the dependancies are met12:34
hughessdhowever, i must have done something wrong12:34
hughessdbc my setup is busted as hell right now12:35
hughessdi have fscked al lthe disks, but everything is clear,12:35
hughessdthey just won't mount when I boot12:35
qman__it's supposed to work, but bugs happen12:36
hughessdyeah12:36
qman__based on the number of people I've seen complain, this has actually been pretty smooth12:36
hughessdim just trying to get my set up back to normal12:36
hughessddoes anyone have any suggestions for me?12:37
qman__well, without a more specific error message there's not a lot I can offer12:38
hughessdplease12:38
qman__first make sure it mounts live, and that your grub is configured sanely12:38
hughessdtell me what information i can give you12:38
qman__and that your uuids match up12:38
wondermanqman__: is a release upgrade straight forward with fully encrypted install?12:39
qman__wonderman, far as I know12:39
hughessdok, well, I boot and everything posts fine. the ubuntu sequence starts with the splash screen, but then after a sec it says "The disc drive for / is not member:ready yet or not present""12:39
qman__but I personally would not upgrade until at least a month after release, preferrably after .112:39
wondermanok12:40
hughessdit gives me the option of S (skip) or M (fix the error)12:40
hughessdso if choose S12:40
hughessdit skips /12:40
hughessdthen /tmp12:40
hughessdthen the swap partition and then hangs12:40
hughessdif i choose M12:40
hughessdi get dropped to a root shell, but i have to put in the password12:41
qman__ok12:41
hughessdthen i can get around like (almost normal)12:41
qman__from that root shell, is your / mounted?12:41
qman__or is it a generic shell12:41
hughessdit is mounted, that's what's weird12:41
hughessdand it its mounted RO12:41
hughessdso there must have been an error (or it thinks so)12:41
hughessdand remounted it like that12:41
qman__ok12:42
qman__first, cat /proc/mdstat to make sure it's ok12:42
qman__then try to remount rw, `mount -o remount,rw /`12:42
qman__then exit the shell and see if it boots12:42
qman__it may just be a race condition12:42
hughessdok, hang on while i try that12:43
hughessdim in a liveUSB right now12:43
hughessdfscking the discs12:43
qman__ok12:43
xnoxany reason why python-software-properties is not part of default -server install? (it is part of cloud-image)12:44
xnoxi was surprised to *not* have `add-apt-repository' on a server install =(12:45
hughessdcat /proc/mdstat12:47
hughessdPersonalities:12:47
hughessdunused devices: <none>12:48
qman__so your raid isn't showing up at all12:48
=== almaisan-away is now known as al-maisan
qman__are you using software raid 0?12:48
hughessdhm12:49
hughessdyes i believe so12:49
qman__because hardware raid and fakeraid are different12:49
hughessdis there a way to check?12:49
qman__how did you set it up?12:49
hughessdi inherited the setup from the previous tech guy12:49
qman__ok12:49
zulgood morning12:49
hughessdit says 1 VD found on host adapter12:49
qman__well, you can see if a fakeraid is running with `ls /dev/mapper/`12:49
hughessd1 VD handled by BIOS12:49
qman__or you can fdisk -l to see what you've got12:50
hughessdls /dev/mapper/12:50
hughessd"control"12:50
qman__no fakeraid then12:51
qman__fakeraids are assigned names in there, they look like random strings12:51
hughessdok12:51
hughessdfdisk -l spit out a lot12:51
qman__if you fdisk -l, it'll show you what your server sees12:51
qman__you should see each hard disk, and then for the raid you should see an additional device12:52
hughessd/dev/sda1 sda2 sda512:52
qman__or, if it's software raid, the disks will have partitions of type fd, linux raid autodetect12:52
hughessdits hardware im pretty sure. there is no type fd12:52
qman__ok, so it only shows one hard disk12:52
hughessdsda1 is linux, sda2 is extended, and sda5 is swap12:53
qman__but no sdb, sdc, or any other named things12:53
hughessdbut sda2 has a + after the blocksize12:53
hughessdnope, the command 'fdisk -l' only outputs one chunk of data, and 3 lines of mounted devices12:54
qman__ok, looks like it's a real hardware raid presenting as one disk, with a guided partitioning setup12:54
qman__really simple12:54
qman__go ahead and try remounting rw12:54
hughessdok12:56
footvillahey guys, having a serious issue with my ubuntu server12:56
hughessdi did 'mount -o remount, rw'12:56
qman__no space after the comma12:57
qman__mount -o remount,rw /12:57
hughessdok12:57
hughessddone12:57
qman__verify with 'mount', it'll be near the bottom12:57
qman__then see if you can touch a file, like /root/test12:57
hughessdhm12:57
qman__like /dev/sda1 mounted on / (rw)12:57
hughessdthis is odd12:58
hughessdi can touch a file12:58
hughessdand it sticks12:58
hughessdtouch /root/test12:58
hughessdls -l /root/test12:58
qman__ok, looks like it's working then12:58
hughessdshows my file12:58
hughessdBUT12:58
qman__if you exit the shell it will attempt to continue to boot12:58
hughessdmount12:58
hughessdhas sda1 still as RO12:59
qman__alright, try to edit the fstab12:59
qman__just open it with your favorite editor, then save and exit12:59
footvillaheres a recap of my issue http://paste.ubuntu.com/962314/13:00
hughessdshould i just comment the line out and give it defaults? or are there special commands for RAID13:01
hughessdsetups?13:01
qman__nothing special, you shouldn't have to make any changes unless it looks wrong13:01
qman__should have a UUID with a comment saying sda113:01
qman__I just want to see if the file is writable13:02
hughessdthere is a commented out line saying sda113:03
hughessdbut it says #commented out by dropbox13:03
hughessdfile can be written13:03
hughessdjust wrote it13:03
hughessdhm13:03
hughessdstrange13:03
qman__yeah, I'd try exiting the shell and see what happens13:03
hughessdif i exit it will reboot,13:03
qman__no, it will resume boot13:04
hughessdbut dollars to donuts it reverts13:04
qman__rebooting will probably not work13:04
qman__but exiting the shell doesn't reboot, it just continues where it left off13:04
qman__with your filesystem mounted rw13:04
hughessdi just typed exit, and it rebooted13:04
hughessdis it not supposed to do that?13:04
qman__no13:04
hughessdshit13:04
hughessddoesnt that point towards anything?13:05
qman__unless something changed with the new version, it's not13:05
hughessdok, so it rebooted back to the same point13:05
=== al-maisan is now known as almaisan-away
qman__ok, drop to shell, remount rw, then exit13:06
qman__see if it does it again13:06
qman__actually, the last time I was working in a rescue shell, I tried to reboot and it intercepted it and continued booting13:07
hughessdit got back to the splash screen, and not finding /.13:07
hughessdasks for S or M13:07
hughessdi choose M13:07
hughessdget a shell13:07
hughessdcat /etc/mtab show sda1 mounted RO13:07
hughessdmount -o remount,rw /13:08
hughessdexit13:08
hughessdflashed a message about how ureadahead is busy13:08
hughessdbut couldn't catch it all....13:08
qman__may not mean anything13:08
qman__did it get anywhere?13:09
=== dendroba` is now known as dendrobates
=== dendrobates is now known as dendro-afk
hughessdgrrr13:09
hughessdnope13:09
=== dendro-afk is now known as dendrobates
hughessdback to the same spash screen13:09
qman__ok, I'd check dmesg for anything that looks bad, like hardware errors13:10
qman__but that's probably not it13:10
qman__also, I'd try to manualy boot rescue mode from grub, hold shift while booting and it'll give you the menu13:11
qman__this really sounds like a race condition to me, like it's not waiting long enough for / to be ready, even though there's nothing wrong with it13:12
hughessdthat's what i was thinking (but didn't know the right words for...)13:12
qman__when it reboots, does the raid re-initialize (full reboot)?13:13
qman__if so, next thing to try would be holding shift to get a grub menu, waiting about 30 seconds, then booting the normal kernel13:13
hughessdhang on, still checking dmesg13:13
qman__just to give it more time to be ready13:13
hughessdi see a spot where it mounts sda5, then 'EXT3 on sda1, internal journal'13:14
qman__and if that works, you can reconfigure grub to, instead of booting instantly, wait X seconds and show the menu, then autoboot13:15
hughessdhm, something else weird in dmesg.13:16
hughessdafter it finds the hdd, it says "EXT3-fs: write access will be enabled during recovery"13:17
hughessdwhich suggests that it's turned off and they're already experienced soemthign that would break it13:17
hughessddoes this mean anything?13:19
hughessdsmbd respawning too fast, stopped13:20
qman__no, unimportant13:20
qman__I mean, it may be an issue later but for now it doesn't matter13:20
hughessdk13:21
hughessdcan't get teh grub thing to work13:22
hughessdwhen do i start pressing shift?13:22
qman__the odd part is that, without doing anything else, remounting rw works13:22
qman__basically just before your bios screen goes away13:22
hughessdand it doesn't stick13:22
qman__use left shift, press and hold13:22
hughessdgrub won't work13:24
hughessdit asks me to push f113:24
hughessdor f2 to change settings13:24
patdk-wk_that isn't grub, that is your bios :)13:24
hughessdi know13:24
patdk-wk_probably cause you held the key down too soon13:24
hughessdgrub only sits for 2 seconds13:24
med_utlemming, smoser : Looks like cloud-init is hardcoded to archive.ubuntu.com in cc_apt_update_upgrade.py . What's the best way to override that for an ARM cloud-init.  ARM needs to point at ports.ubuntu.com currently13:24
patdk-wk_so it thinks the keyboard is bad13:24
patdk-wk_so push f1, then hold shift13:25
hughessdi did13:25
hughessdand it just booted normal13:25
hughessdwell13:25
hughessdnormal back to the broken place it was before.13:25
patdk-wk_maybe try control? maybe your not on grub2?13:25
hughessdto fill you in, my /dev/sda1 isn't ready at boot time and is causing problems13:26
hughessdbut there isn't any errors or anything....13:26
patdk-wk_how can it not be ready?13:26
hughessdi dont know13:26
patdk-wk_that sounds like a bios/firmware issue13:26
patdk-wk_your bios or hba firmware is suppost to make sure it's ready13:27
qman__it remounts fine immediately with no changes13:27
qman__so it sounds like a timing problem13:27
qman__but that's as much as I know13:28
patdk-wk_maybe, just for the hell of it, change your sata cable?13:28
patdk-wk_might be throwing errors or timeouts13:28
hughessdhow do i check if the UUIDs are matching?13:28
qman__it's a hardware raid appearing as one disk13:28
qman__if the UUIDs didn't match you wouldn't get it mounted at all13:29
hughessdoh ok13:30
qman__if it's grub1 the keypress is escape, but it asks you to do it and gives you 3 seconds13:30
qman__and I really doubt it is since grub2 has been default since 9.1013:30
qman__well, I guess we need to reconfigure your bootloader from the rescue shell13:32
hughessdim editing menu.cfg right now13:33
hughessdbut that's just for my own sanity13:33
hughessdthere are a lot of old entries13:33
hughessdok,13:35
hughessdhow would i reconfigure the boot loader?13:35
qman__well, first find out what you have13:36
qman__if there's a /etc/grub.d, it's grub213:36
hughessdls /etc/grub.d/13:36
qman__got files in there?13:37
hughessd00_header  10_linux   20_memtest86+    30_os-prober 40_custom README13:37
qman__ok13:37
qman__edit /etc/default/grub13:37
hughessdhm13:38
hughessdno file there13:38
hughessdtouch it?13:38
qman__well, that's a problem13:39
qman__first, collect your UUID for / from /etc/fstab13:40
hughessdok13:41
qman__and create /etc/default/grub containing this: http://pastebin.com/TKV4Qcvp13:42
qman__but with your UUID13:42
=== dendrobates is now known as dendro-afk
qman__after that, run update-grub13:45
hughessdok13:47
hughessdreboot?13:47
qman__yes13:47
qman__it should now display the menu for 20 seconds before booting your default option13:47
hughessdhm13:49
hughessdthat's odd13:49
hughessdit still stuck for 2 secs and then went into the sequence13:49
IPDudeneed help setting up pptp or l2tp vpn server on ubuntu server 11.1013:52
IPDudeanyone here?14:01
hughessdi am here but i don't know anything about the things you asked14:02
hughessdim having troubles of my own getting my server to boot14:02
=== daker__ is now known as daker
footvillai have a softraid question14:24
hughessdqman_: any other ideas ?14:27
hughessdi got it to drop to initramfs14:27
hughessdbut that might be because I disabled the hd....14:28
footvillais there any way to transfer a raid 0 (mdadm) 2x 128gig sdd  ubuntu server to 1 large  1TB HD?14:42
qman__rsync14:42
qman__hughessd, initramfs is actually less useful14:43
hughessdyeah, im finding that out.14:43
hughessdthe UUIDs match up14:43
hughessdbut for some reason, grub isn't finding this time14:43
qman__if the grub menu didn't show up that means it didn't actually install14:43
qman__or update14:44
hughessdthat was the only thing taht changed14:44
hughessdhm14:44
hughessdhow can i get bcak to the other shell14:46
hughessd?14:46
hughessdwhy is it dropping to initramfs now?14:46
qman__it does that when it can't load the kernel14:46
hughessdhm, so before it could load the kernel?14:47
qman__yes14:47
qman__usually means it can't find it, or can't access the disk it's on14:47
=== txwikinger2 is now known as txwikinger
qman__honestly at this point I'd probably restore from backup, or if I don't have one, salvage my data and reinstall14:50
hughessdwell, it's tricky14:52
hughessdthis is an LTSP setup14:52
hughessdterminal server14:52
hughessdand so, remaking the system isn't just a reinstall,14:52
hughessdthere is a bunch of stuff that I don't know how to do, bc i didn't help set it up14:52
=== cmagina_ is now known as cmagina
hughessdand i don't want to have to reinstall everything14:53
hughessdhowever........14:53
hughessdi think you're right14:53
=== imbrandon is now known as imbrandon2
hughessdbtw, this is so weird14:53
qman__if you're getting dropped to initramfs and don't know why, it's usually pretty bad14:53
qman__there are some simple mistakes that can get you there but if you don't know what changed14:53
hughessdit's not waiting the 20 secs that we wanted it to,14:54
hughessdbut it's still going there14:54
hughessdsays, 'gave up waiting for boot device'14:54
hughessdand lists some common problems14:54
hughessdthe disk with the matching UUID isn't there in /dev/disk/by-uuid/14:55
qman__well, if you can get into the grub menu14:55
qman__you can manually specify /dev/sda1 instead of by uuid14:55
hughessdyou mean in fstab?14:55
qman__no, in grub14:55
hughessdoh ok14:56
hughessdill try to catch it before it times out14:56
qman__highlight the line you're booting, hit e, change root=UUID= to root=/dev/sda114:56
qman__if that gets you booted again then the UUID in grub is wrong14:56
hughessdthis is bad15:00
hughessd'/dev/sda1 does not exist!'15:00
hughessdhm15:00
hughessdso its going to initramfs, but if i mount /dev/sda1 in /tmp (or somewhere else), the old files are available.15:07
hughessdcan't figure out why its not finding the hdds15:08
qman__well, you could try chrooting and redoing grub from a live environment15:10
frankbanhallyn: hi, I was trying to make lxc-ip able to search intefaces. Unfortunately I don't have access to the sysfs mounted inside containers, so I can not retrieve the list of interfaces from /sys/class/net/. Maybe I could try using ioctl again.15:14
=== Resistance is now known as EvilResistance
hughessdqman_ :15:31
hughessdthank you for the suggestions and all your help15:31
hughessdi don't know much about chrooting, and am not sure that i won't make things worse.15:31
hughessdi think that I'll just have to wipe everything and start clean.15:32
=== patdk-wk_ is now known as patdk-wk
hallynfrankban: yes, ioctls would work, but are you sure you can't use /proc/<containerinitpid>/root/sys/class/net ?15:33
hallynreally, ioctls is probably better...  except harder to do through python :)15:33
frankbanhallyn: cool, I was looking at /var/lib/lxc/[name]/rootfs/sys/... didn't know about  /proc/<containerinitpid>/root/sys/. Thanks!15:35
frankbanhallyn: moreover, what do you think about this ui: lxc-ip -n name will search interfaces and show results like: eth0: ip\neth1: ip ...15:36
frankbanwhile lxc-ip -n name -i eth0 will only show the ip address of eth015:36
hallyni think that's best, yes15:36
frankbancool hallyn, thanks again15:37
hallynfrankban: will you be sending that for upstream lxc inclusion? :)15:37
hallynnp, thank you!15:37
frankbanhallyn: that would be great!15:38
=== steve_h is now known as hughessd
=== nxvl_ is now known as nxvl
excalibrRepository signed with key PGP key ID: 2EE7EF8216:32
excalibr^ how do you add this key to apt?16:32
uvirtbotexcalibr: Error: "how" is not a valid command.16:32
Piciexcalibr: sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 2EE7EF8216:33
excalibrthanks16:33
ZenMasterAnyone in here ever play with Cacti?16:39
hallynunbelievable.  preallocated qcow2 gave me the fastest write times.  did not expect that.16:40
=== vivek__ is now known as Vivek
=== Vivek is now known as Guest33258
=== Guest33258 is now known as Vivek
fifthechoAm I just missing something or has mkpasswd been removed from 12.04 LTS?16:54
EvilResistance!info mkpasswd precise16:56
ubottuPackage mkpasswd does not exist in precise16:56
EvilResistanceguess its not there anymore16:56
EvilResistanceaccording to packages.ubuntu.com, 'mkpasswd' only exists in Lucid right now16:57
SpamapSIt probably has a better equivilent16:58
fifthechoI have a bunch of automated VM deployment scripts that use it…and just wasn't expecting a standard GNU util that I've used for like 10 years to disappear.16:58
fifthechoI guess I'll just copy the binaries from a Lucid box into 12.04.16:59
SpamapSI have it on my precise box16:59
* SpamapS waits eons for dpkg -S to return16:59
SpamapSwhois: /usr/bin/mkpasswd16:59
sbeattiefifthecho: it's in the whois package. it got split out for just lucid to a separate package for reasons that I don't recall.16:59
SpamapSsbeattie: ugh, and we didn't do a proper Replaces ?17:00
fifthecho…that is possibly one of the strangest places to put it.17:00
SpamapSReplaces: mkpasswd17:00
SpamapSwe did17:00
SpamapSI don't know if its a "standard GNU utility"17:01
SpamapSsince whois owns it ;)17:01
Psi-JackAnyone here use Kerberos? I'm curious wether to go with MIT or Heimdal.17:03
SpamapSPsi-Jack: I haven't deployed kerberos i years, but "back in the day" heimdal was lauded for being more modern. I don't know if MIT caught up or surpassed it at some point though, that was maybe 6-7 years ago17:08
Psi-JackHeh17:09
Psi-JackI don't think it has, personally.17:09
Psi-JackHeimdal still has all the fully integrated Samba support, MIT still doesn't.17:09
jkyleI'm running into an issue in my pxeboot installs for 12.04 where the first reboot after install sticks at the grub boot menu (timeout is ignored). subsequent boots work as expected17:14
hattorihanzowhat might be a good channel to disscuss load balancing17:22
hattorihanzoload balancing a web app17:22
fifthechohattorihanzo: Might depend on what you're using LB for and what you're using for LB.17:22
=== matsubara is now known as matsubara-lunch
hattorihanzoa custom c written json rpc server17:28
=== tohuw is now known as Tohuw
jkylehattorihanzo: paid or free as in beer?17:32
jkyleif you've already solved the problem of consistency in backend data (db replication or what what not), dns load balancing with health tests and failovers are dead simple in Dynect17:32
hattorihanzopaid if its not 1k17:33
hattorihanzoim looking at haproxy17:33
jkylehaproxy is not bad either17:33
jkylehowever, what I like about the dns solution is you get failover as well as load balancing17:33
hattorihanzobut the app longpolls soo... configuring it to work without timing out is bugging me17:33
hattorihanzobut wont people who have dns cached still point to the failed server for a while17:34
jkylebut it depens on needs and intent, like fifthecho mentioned17:34
BilgeIs there some way I can get PHP 5.4 on Ubuntu 10.04.4 LTS17:34
jkylehattorihanzo: perhaps, but a minute or two of temporary outtage with a few customers due to dns caching is better than a single point of failure requiring a new deployment or fixing the system ;)17:35
hattorihanzoso does dynect use very short ttl's17:36
jkyleyou can configure dynect to serve multiple ip's too and set the ttl for what you'd like17:36
hattorihanzohave u used dynect?17:38
jkylehattorihanzo: extensively...for a very high profile, very large user base scenario17:38
hattorihanzohow about dynect lite17:39
hattorihanzo200 a month is pushing my budge17:39
jkylethey're solid. got a rest api for automating records that's solid. only down point is you can't do public/private views. seems like a hard problem though17:39
jkylehattorihanzo: I've used lite personally, but can't do a hard core feature analysis. I jsut used it for janky personal blogs and such17:40
jkylenever dug into it. shoot their customer service an email, they're responsive17:40
jkylehattorihanzo: it should be noted, you could do a lot of this yourself if you know bind9 well and a little scripting.17:40
jkylebut then you have a project, not a solution17:40
hattorihanzoyea17:41
TboatBKKHey all! Just setup 12.04, new to Ubuntu Server, can SSH over my local network, have static IP set, have port-forward and DynDNS setup, but can't access my server through the web address.  I believe it is either in my host file, or somewhere in the setting up of portforward.  Do I need to setup SMB before I am able to access my box through the webz?17:52
TboatBKKPossibly in my resolv.conf file (DNS settings) also17:53
SpamapSTboatBKK: SMB has nothing to do w/ the web17:54
SpamapSTboatBKK: what would you expect to see at http://yourserver/ ?17:54
TboatBKKan interface to allow me/roomates to login and access our files17:54
TboatBKKwhen i "hostname -f" i get temporary name error17:54
qman__have you installed this interface?17:55
TboatBKKi should be able to also "ssh user@host.net" right?17:55
qman__if you have port 22 forwarded, and your host.net resolves correctly, yes17:55
TboatBKKi dont believe my host.net is resolving.17:56
qman__though not necessarily from inside your LAN17:56
qman__depends on your router17:56
TboatBKKive portforwarded before, so it is something in my configuration/setup17:56
TboatBKKin the hosts file, would i use the external ip with the port, or the DNS address of my DynDNS host?17:57
qman__have you tried from the internet?17:57
qman__neither, the hosts file contains locally assigned addresses17:57
TboatBKKso just the local default 127.0.0.1 and then my static right my hostname right?17:58
qman__yes17:58
TboatBKKso X.X.X.X                hostname.host.net                     hostname?17:58
qman__it's a lot easier if you give us the actual values, it's not like anyone here is going to hack you, and we have your external IP anyway17:59
TboatBKK10.0.0.66        bkkcollection.sytes.net          BKKollection18:00
qman__yes, that's a sane hosts entry18:00
qman__that name does not resolve to an IP for me, if that's your actual dyndns18:01
TboatBKKhttp://bkkollection.sytes.net/18:01
qman__ok, that one resolves but does not open18:03
TboatBKKits a fresh server, literally have SSH setup and nothing else18:03
qman__port showing open18:04
qman__so your application is probably broken18:04
qman__well, there is no web server unless you installed one18:04
qman__ssh is showing filtered18:05
qman__probably not forwarded18:05
TboatBKKoh no those are the next steps, was just trying to get ssh setup so i can stop plugging my keyboard in from one computer to the other, and before work tomorrow so i can work on it from how18:05
TboatBKKthere*18:05
qman__you should be able to ssh 10.0.0.66 from your LAN18:05
qman__to do it from the internet though, you need port 22 forwarded18:06
TboatBKKcan ssh locally, was trying to get the internet to work, haha sorry, was original question, poorly communicated.  just added the port forward for SSH, not working, but may take a minute to go through router and dns host18:07
qman__dns doesn't care about your ports18:07
qman__it's just name translation18:07
qman__port 22 is still filtered18:07
qman__getting 8.23.224.90 as the IP, is that correct?18:08
qman__the IP you're connecting from has SSH open18:09
TboatBKKHow would I check my DNS hosts address, because that is what that is, not my actual router IP18:09
qman__I'm not sure what you're asking18:11
qman__but it seems to me your dynamic DNS is not configured correctly18:11
=== benji is now known as Guest45135
TboatBKKhaha just had my router logon appear, so i know the dynDNS works, just have to get the config right I guess18:12
qman__huh?18:13
qman__unless your server is available at 8.23.224.90, your dynamic DNS is the problem18:13
=== benji___ is now known as benji
TboatBKKhmm will keep playing around i guess.  If I am migrating a large bit of data from an old PC to this server, is git best? or should I just use an external HD?18:18
qman__only if it's already stored in a git repository somewhere18:22
qman__or you want it to be in a git repository18:22
qman__if you're just transferring files, use rsync18:22
qman__or scp, as appropriate18:22
jkyleTboatBKK: git is not want springs to mind for transferring data18:23
TboatBKKso HD over LAN?18:24
jkyleor the suggestions qman__ made18:24
qman__rsync works both locally attached and remote18:24
qman__it's probably what you want18:24
jkylersync avz /path/to/copy /path/copy/to18:25
TboatBKKok cool will look into that, thanks, it also seems that when I added my DNS server to my hosts, I placed it over my default, so that would explain why we were getting no connection haha.  thanks for all the help!18:26
qman__that doesn't make any sense18:27
qman__the hosts file only affects the local host's ability to do name lookups18:27
TboatBKKI wasn't getting any internet connection on the server18:27
TboatBKKjust have LAN access18:28
qman__and your DNS server doesn't need to be in your hosts file, it needs to be configured in resolv.conf, which these days is handled in /etc/network/interfaces18:28
qman__in fact, most of the time, you don't need to edit the hosts file at all18:29
TboatBKKeven if I have a static IP set?  the hosts should say 127.0.1.1 BKKollection, not 10.0.0.66 BKKollection?18:31
qman__ideally it should say the latter, but it will work either way18:32
qman__apache will complain if it's set to 127.0.1.118:32
qman__but still work18:32
TboatBKKmy /interfaces BTW:18:33
TboatBKKaddress  10.0.0.6618:33
TboatBKKnetmask  255.255.255.018:33
TboatBKKnetwork  10.0.0.018:33
TboatBKKbroadcast 10.0.0.25518:33
TboatBKKgateway 10.0.0.118:33
TboatBKKunable to update, so seems I don't have internet access after setting the static18:38
=== matsubara-lunch is now known as matsubara
=== dendro-afk is now known as dendrobates
plmHi all18:49
plmpeople, I did a installation of 12.4 server, but in boot process I can't see anything, show just in monitor that not support that resolution and show nothing. after boot now show too.. how I change that?18:50
qman__plm, during boot, press shift to load the grub menu, then edit the boot line18:53
qman__and use nomodeset18:53
plmqman__: thanks!18:53
qman__as in, add nomodeset to the end of the kernel line18:53
qman__this will only boot it once that way18:53
qman__you have to change that in grub and save it18:53
plmqman__: is just a file edit and save ?18:54
qman__not exactly18:54
qman__you have to edit it in /etc/default/grub, then run sudo update-grub18:54
plmqman__: ok18:54
plmthanks :-)18:54
qman__that should do it but you may need other parameters18:54
plmok, I'll test that first..18:55
=== dendrobates is now known as dendro-afk
eutheriai am currently using pfsense under kvm but i find freebsd based vm's a bit slow compared to running ubuntu, is there an ubuntu firewall type system like pfsense?19:21
plmqman__: I tried press shift and not works...19:28
plmqman__: show nothing.. not grub19:28
Guest68993I am using server 12.04 lts,  how do I keep my display from going dark??19:40
resnoGuest68993: a server with a desktop?19:43
TzunamiiHe probably means the screen blanking in the console19:47
Guest68993yes a server with GUI19:47
Guest68993would like to run a screen saver of the photos I have on the server19:48
Guest68993tzunamii, correct19:48
Guest68993I have turn screen off when inactive for:  "never"19:50
=== EvilResistance is now known as Resistance
=== dendro-afk is now known as dendrobates
Jeeves_Hi20:55
Jeeves_How do I make grub skip iscsi disks while updating?20:56
=== dendrobates is now known as dendro-afk
hallynis there a generic tag we can put on bugs to say they need translation?21:02
ZenMasterSo Ubuntu can be used to administer group policy just like Windows Active Dir with Domain Controller?21:07
SpamapShallyn: yes, its called 'translate.google.com' ;)21:17
* Resistance glances at SpamapS21:18
Resistancegoogle is evil21:19
* Resistance returns back to what he was working on21:19
hallynwhat he said :)21:20
jkyleZenMaster: ldap21:20
hallynbut anyway, it's ok, a later bug by the same guy asks how to uninstall :)21:20
Resistancehallyn:  you could poke the bugsquad about questions like that, or the bugs team21:22
Resistancethey might knkow what to do21:22
Resistancehallyn:  this is in the triage guide: https://wiki.ubuntu.com/Bugs/HowToTriage#Bug_reports_not_in_English21:23
SpamapSRight, google is super evil by giving us a free highly useful translation service which is perfectly usable in "incognito" mode.21:23
Resistancebasically it says to ask the poster of the bug to translate, or if you think its a critical bug, have the translations team translate it21:23
ResistanceSpamapS:  it gets the translations 50% wrong 95% of the time21:24
SpamapSThats generally enough to figure out the problem / mark it as dupe21:24
Dulcinhi, I'm not sure where to ask this, but: if i were to set a A record, with mail.domain.com, and set this as my smtp server, would it then go to the ip and look for MX records? or does it not work like this?21:29
Dulcinset this as my smtp server* in my mail client21:30
sarthorI am trying to configure LSM, http://anilraut.blogspot.com/2007/07/installing-lsm-linux-socket-monitor-on.html , Do not know how to install it, where to put this directory? Any friend already familier with LSM please Guide me?21:30
ResistanceDulcin:  normally mailservers for domains need to have MX entries21:31
Resistanceso in theory you could add MX entries for the mail.domain.tld21:31
Dulcinand if the mx records are set to domain.tld? does an A record with mail.domain.tld redirect it ?21:32
murdockI'm having trouble with accessing ports outside of my network. While on my home network, I can go to (servername):80 and access my webserver, but if I forward the port 80 to my server, it doesn't work with my dyndns domain (murderdock.dyndns.org:80). Is it possible to do this?21:48
mand0murdock, does it work with the IP address externally?21:54
sarthorI am trying to configure LSM, http://anilraut.blogspot.com/2007/07/installing-lsm-linux-socket-monitor-on.html , Do not know how to install it, where to put this directory? Any friend already familier with LSM please Guide me?21:55
murdockYou mean the ip address my ISP is giving me?21:56
mand0ya21:56
Resistancemand0:  are you behind a corporate firewall or a router?21:57
Resistanceoh wait21:57
mand0heh, it's murdock21:58
Resistanceah whoops21:58
Resistancei just hit m[tab] so...21:58
mand0he said home network21:58
Resistancewell the router needs to forward external traffic on port 80 inbound to the server then21:58
Resistanceotherwise you'll always get no traffic coming externally21:59
Resistanceto the server21:59
Resistancebah, broken enter key21:59
mand0he said he did. tho that could very well be the issue21:59
Resistancethat's more than likely the issue21:59
Resistance95% of the time (and I see this in Corporate networks too), people don't open the ports and send traffic correctly21:59
murdockNo, it's not corporate, it's my home setup. I had it working before on windows.22:04
* Resistance points out Windows and Linux are different22:04
Resistanceyou still need to do port forwarding in your router for port 8022:04
murdockI understand, and the port is forwarded.22:04
murdockThat's no different.22:04
Resistancethe other possibiliity is your ISP blocks port 80 inbound22:04
Resistancesome ISPs do that22:04
Resistance(mine doesn't, but hey i'm on a Business class internet since yesterday, so... :P)22:05
mand0try another port22:05
murdockThat's what I'm going to do. Now, for some reason, ssh isn't working.22:06
Resistancesounds like your system may be dying22:06
Resistanceor the internal ip is changing22:06
Resistance(which is entirely possible, given default home-router setups_22:06
murdockI can ping it, and it's the same IP as before.22:07
murdockIt was an old computer I got for free, I just thought I'd have some fun with it. I guess I'll just wait until I can build a decent one myself.22:07
murdockYeah, now the webmin isn't even working.22:07
Resistanceewww, did you say webmin?22:08
Resistance!webmin22:08
ubottuwebmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system.22:08
Resistancejust to put that out there ;P22:08
murdockhah.22:08
murdockI used linuxhomeserverguide.com or something to set it up.22:09
mand0just reinstall with the latest iso22:09
murdockIs there a sort of GUI like webmin, or should I just do everything terminal style?22:14
Resistanceterminal style is preferred nowadays, Linux sysadmins mostly need to know CLI22:14
mand0you're in #ubuntu-server. terminal style!22:14
* Resistance is on a GUI right now :P22:17
Resistancebut for remote administration I use CLI22:17
mand0i upgraded to 12.04 and now apticron is saying there are 144 packages pending an upgrade even tho they were already updated22:22
=== Lcawte is now known as Lcawte|Away
jkylewhat's the name for the package previously known as libmagick9-dev in 12.04?22:27
=== Leimon is now known as leimon
mand0oh, i needed to do sudo apt-get dist-upgrade22:35
leimonHey all, I have setup my server, but now I can't not update.  sources.list is fine, I can SSH into the server (only installed SSH on install)  Has a static IP address.22:35
mand0getting an error?22:36
leimonFailed to fetch, Temporary failure resolving 'us.archive.ubuntu.com'22:37
leimonroute returns22:38
leimonKernel IP routing table22:38
leimonDestination     Gateway         Genmask         Flags Metric Ref    Use Iface22:38
leimondefault         10.0.0.1        0.0.0.0         UG    100    0        0 eth022:38
leimon10.0.0.0        *               255.255.255.0   U     0      0        022:38
leimonping: unknown host google.com22:39
mand0what are you using for DNS?22:40
mand0cat /etc/resolv.conf22:41
leimon# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)22:42
leimon#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN22:42
leimonnameserver 127.0.0.122:42
leimonsearch hsd1.va.comcast.net22:42
mand0nameserver 8.8.8.8 (or whatever DNS you want) needs to be in there22:44
mand0assuming your server is not running bind22:44
leimon8.8.8.8? or what my ip is?22:45
mand08.8.8.8 is google's public DNS22:45
mand0and 8.8.4.422:45
leimonif im running no-ip, how do i find the server address?22:46
leimonor can i just use the google one no matter which dns host?22:47
leimoni want to be able to access my server outside my LAN22:51
leimonis http closed by default?22:52
leimonErr http://us.archive.ubuntu.com precise-updates InRelease22:54
leimon  22:54
leimonErr http://security.ubuntu.com precise-security Release.gpg22:54
leimon  Temporary failure resolving 'security.ubuntu.com'22:54
PiciDid you update your resolv.conf?22:55
leimonyes added the google ones22:56
leimonis there any command to restart it, i did a network restart22:56
qman__you probably overwrote it with a blank one22:58
qman__resolvconf, as it says, overwrites it22:58
qman__you have to add them to /etc/network/interfaces22:58
leimonadd what to interfaces?22:59
qman__your DNS servers22:59
leimonhow do you add them to interfaces instead?22:59
qman__see man resolvconf   http://www.linuxcertif.com/man/8/resolvconf/23:00
leimonadded them to interfaces, still not getting updates23:04
qman__do sudo ifdown eth0; sudo ifup eth023:04
qman__provided eth0 is your interface23:04
leimonwont that disconnect my ssh link?23:05
qman__not if you do it quick enough23:05
qman__helps if you put it in a script23:05
leimonstill nothing23:09
qman__can you ping 8.8.8.8?23:09
leimonyes i can23:11
qman__and if you cat /etc/resolv.conf, does it show the right nameservers?23:11
qman__if you run nslookup without arguments, it'll start interactively23:12
leimonim not sure, how do i figure my correct name server for my ISP?  I have gateway etc, is it just 10.0.0.X?  or is it the 75.75.75.75 i looked up for comcast?23:12
qman__8.8.8.8 is open to the public23:12
qman__it's google's DNS23:12
qman__I don't know what your ISP's DNS servers are, they would have given you that information23:13
qman__I also don't know if your router does DNS caching, you'd have to find out23:13
qman__but if you set it to 8.8.8.8, it should work23:13
leimonfor updating?23:13
qman__for internet access23:13
leimonstill nothing23:19
qman__dig google.com23:20
=== Guest69534 is now known as linlin
leimonunknown host23:21
qman__more importantly, who did it ask23:22
leimongoogle.com23:22
qman__no, that's what it asked23:22
leimonshould there be something in hosts for my isp?23:23
qman__no23:23
qman__if you can ping 8.8.8.8 you're online23:24
qman__you just don't have DNS23:24
qman__and if your nameserver is 8.8.8.8, you have a good configuration, and it's being blocked somewhere down the line23:24
qman__otherwise, your nameserver is not correctly configured23:24
qman__that's all there is to it23:25
leimonso i set my interfaces back to dhcp, still not getting anything23:26
leimonjust going to wipe and start over23:27
stgraberhallyn: just started to work on a lxc python binding, looks like it's really quite easy to do and would be quite useful to write good management tools23:51
stgraberhallyn: only problem is that lxc upstream will need to make liblxc public and version the api changes, but that shouldn't be to difficult to do23:52

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