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

=== arrrghhh is now known as arrrghhhAWAY
adam_gzul: no00:16
zuladam_g: lemme just finish dinner and ill do it00:16
adam_gzul: what needs to be done do it, exactly?00:18
zuladam_g:  add it to the lp:~ubuntu-core-dev/quantal/seeds basically00:18
zulthen magic00:18
adam_gzul: oh, i guess i can do it and send a merge proposal if you don't want to00:19
zuladam_g: probably faster if i just did it00:19
adam_gcool go for it. dont forget python-cliff-tablib too00:20
zulyou mean cliff-tablib00:22
zulactually i think cliff-tablib will be picked up automatically as well, anyways done00:24
=== cpg is now known as cpg|away
adam_gzul: nice, thanks00:33
smoserhallyn, that was quantal00:39
=== cpg|away is now known as cpg
=== dendro-afk is now known as dendrobates
hallynsmoser: can you file a bug?  i'ts supposed to do that (in the block starting at line 180)01:53
=== n0ts_off is now known as n0ts
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
=== n0ts is now known as n0ts_off
=== dendrobates is now known as dendro-afk
=== n0ts_off is now known as n0ts
blackshirthello05:44
AaronMickDeehi...05:45
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
=== Kiall is now known as zz_Kiall
koolhead17morning all07:19
=== zz_Kiall is now known as Kiall
Gargoylemorn'07:26
GargoyleSo I enabled logging in debug mode and CoreDumpDirectory, apache client process segfaulted about an hour ago and I have nothing useful in my log and no core dump.07:30
uvirtbotNew bug: #989841 in mysql-5.5 (main) "package mysql-server-5.5 5.5.22-0ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1" [Undecided,Expired] https://launchpad.net/bugs/98984107:36
uvirtbotNew bug: #1021573 in qemu-kvm (main) "package qemu-kvm 1.1~rc+dfsg-1ubuntu5 failed to install/upgrade" [High,Expired] https://launchpad.net/bugs/102157307:36
uvirtbotNew bug: #1045342 in mysql-5.5 (main) "partition by range on multiple col. primary key w/ no maxvalue restarts server (dup-of: 1033724)" [Undecided,New] https://launchpad.net/bugs/104534207:36
uvirtbotNew bug: #1046115 in cloud-init (main) "package lists are broken after first boot" [Undecided,New] https://launchpad.net/bugs/104611507:36
uvirtbotNew bug: #1046117 in lxc (universe) "btrfs via symlink not working" [Undecided,New] https://launchpad.net/bugs/104611707:36
adachi guys. how to add an existing user to a group?08:37
tinyhippogpasswd -a user group08:38
ffunengahello08:57
ffunengaI've found something in my /var/log/auth.log08:57
=== n0ts is now known as n0ts_off
ffunengaand I would like to ask for help08:58
ffunenga"Failed password for invalid user root from 202.138.126.128 port 39399 ssh2"08:58
ffunengaand that ip has failed more attempts every day08:59
=== n0ts_off is now known as n0ts
jamespagelynxman, a new snapshot of ipxe fixed my issue09:08
Troy^ffunenga: block that ip if it is from the same ip09:08
jamespagelynxman, wish I had spotted this before feature freeze....09:08
ffunengaTroy: I've user "sudo iptables -A INPUT -s  202.138.126.128 -j DROP"09:10
ffunengais there any tool to block any IP that tries to access the root account via ssh?09:10
RoyK!ufw09:11
ubottuUbuntu, like any other Linux distribution, has firewall capabilities built-in. The firewall is managed using the 'ufw' command - see https://help.ubuntu.com/community/UFW | An alternative to ufw is the 'iptables' command - See https://help.ubuntu.com/community/IptablesHowTo | GUI frontends such as Gufw (GNOME) and Guarddog (KDE from Lucid onwards) also exist.09:11
RoyK!denyhosts09:11
RoyKffunenga: denyhosts will block ip's from which illegal login attempts come09:12
RoyKffunenga: I use it on my servers09:12
RoyKffunenga: it's rather triggerhappy on failed root login attempts ;)09:12
ffunengaI didnt know ufw, it seems great. Ok I will now test denyhosts09:16
ffunengathanks09:16
Tellmarchffunenga, root is disable by default for ssh anyway09:16
RoyKufw is neat09:16
Tellmarchso there is no risk09:16
RoyKbut doesn§t support all of iptables' stuff09:16
RoyKTellmarch: it's not disabled by default, but by default, there's no root password, so ssh as root won't work. default ssh settings is to *allow* root login09:17
Tellmarchreally?09:18
Tellmarchwell, it's the same, no matter how long he tries, he won't find the password09:18
RoyKsshd will, by default, not allow login to an account without a password09:18
Tellmarchyou're right, PermitRootLogin yes.... I thought this was "no" in the past...09:18
RoyKbut if you set a root password, you will be allowed ssh in, unless you reconfigure sshd09:18
RoyKit's usually 'no' on my machines ;)09:19
ffunengaTellmarch: I've inserted a rule in /etc/ssh/sshd_config that only lets my user access the server: "AllowUser ffunenga"09:22
=== AaronMickDee_ is now known as AaronMickDee
Anomie21Trying to uninstall MySQL so I can reinstall but I keep getting this error Processing was halted because there were too many errors.09:29
Anomie21E: Sub-process /usr/bin/dpkg returned an error code (1)09:29
=== railsraider_ is now known as railsraider
=== n0ts_ is now known as n0ts__off
=== railsraider___ is now known as railsraider
=== n0ts__off is now known as n0ts
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
Sachin__does flock() work at thread level or process level/10:32
Sachin__does flock() work at thread level or process level?10:34
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
=== cpg is now known as cpg|away
koolhead17DavidLevin: around11:17
koolhead17Daviey:11:17
Davieykoolhead17:11:20
jamespagesmb, your cirrus driver symptoms look just like mine BTW - it certainly does not fail all of the time11:28
smbjamespage, Yeah, it fails when the cirrus module fails the VRAM setup. Just don't know why, yet.11:29
jamespagesmb, well if you need me to poke anything to help out just let me know11:32
smbjamespage, Sure, at least I know understand the random behaviour. Does not help when one had also wiggled around with boot options at the same time...11:33
xnoxwell it's always reproducible if I have full disk encryption.11:34
xnoxe.g server or desktop installer choose full-disk encryption.11:35
xnoxevery reboot. and me and slangasek did many reboots while trying to triange if it was grub/plymouth or kernel issue. and we deducted it to be kernel.11:36
xnoxevery boot fails.11:36
xnoxplus note that every other boot is possibly in grub's last-boot-failed code path so boot experience is the same.11:36
xnoxs/is the same/slightly different/ =)11:37
uvirtbotNew bug: #1046278 in ceph (main) "rest-bench always fails on initial execution" [Undecided,New] https://launchpad.net/bugs/104627811:51
smoserhallyn,12:19
smoserbug 104611712:19
uvirtbotLaunchpad bug 1046117 in lxc "btrfs via symlink not working" [Undecided,New] https://launchpad.net/bugs/104611712:19
=== dendro-afk is now known as dendrobates
=== n0ts is now known as n0ts_off
smoserhallyn, ping13:00
smoseri'm wondering how i get output of:13:01
smoser sudo lxc-start --name=$R-amd64 -- /sbin/init --verbose13:01
smoserrbasak, so i'm pretty sure that your issue is different than the lxc wone we were seeing13:04
smoseras in your case eth0 is comming up but events are somewhere etting lost13:04
rbasakIt seems that eth0 is being brought up after cloud-init-nonet has timed out13:04
smoserbut in the lxc case (that forced us to add 'start networking') it seems that the networking for the given nic never cam eup13:04
rbasakAnd that bringing eth0 up (or at least running ifup.d) is being blocked when cloud-init-nonet blocks.13:04
smoserrbasak, that makes sense.13:05
tdr112I wonder can anyone help me, i am installing from usb on a server i pick install ubuntu then i get a blank screen13:05
smoseri know that at one point we had a better undersanding of this problem (at least the lxc ase)13:05
=== n0ts_off is now known as n0ts
rbasaksmoser: one thing that concerns me is that I'm using hackery to generate the image in the first place, and I wonder if this is introducing a problem. How soon could you publish official armhf/highbank dailies to eliminate this?13:14
smoserwhat hackery are you using ?13:15
smosernothign you've shown me would cuase this.13:15
smoserso unless you've been lying to me.13:15
smoserhm..13:15
rbasakI'm using dannf's Makefile13:15
rbasakThat's it really13:15
smoserbut i should look again at dannf's make file i guess.13:15
smoserlink ?13:15
rbasakI modified it to use -proposed (for a highbank kernel fix I need)13:15
rbasaksmoser: https://code.launchpad.net/~racb/maas/maas.ubuntu.com.images-ephemeral-arm13:16
smoserdannf sure loves 'cat'13:18
rbasakYeah I did see a few extra ones in there13:18
smoseri really dont see anythign there that would cuase this13:19
smoserstgraber, sorry to always use you as my "hallyn isn't here fallback"13:21
smoserbut do you know how i can get output of init from 'lxc-start .... -- /sbin/init --verbose' ?13:22
smoseri'm basically getting nothing.13:22
=== n0ts is now known as n0ts_off
stgrabersmoser: hmm, that should work... I'd suggest pinging jodh as he's been using lxc quite a bit for upstart development and testing13:31
smoserstgraber, you'd expect that to just go right to the console that i'm looking at?13:31
stgraberyeah and I'd assume it'd also end up in some kind of log somewhere...13:32
smoserjodh seems not around :-(13:34
stgrabersmoser: gah, right, forgot, he's off until Monday...13:34
smoseri was testing quantal running precise13:35
smoseri will now test precise urnning precise13:35
* hallyn reads up13:36
smoserbut i swear that when i was debugging bug 800824 this used to work.13:36
uvirtbotLaunchpad bug 800824 in cloud-init "cloud-init-nonet times out in lxc" [High,Fix released] https://launchpad.net/bugs/80082413:36
hallynsmoser: how about 'lxc-start -c consoleoutput .... -- /sbin/init --verbose' ?13:37
hallynoh wait13:38
smoseri got the same result with --console=/tmp/out as was going to console13:38
hallynright13:39
hallyninit takes its arguments though env13:39
hallyni.e. we pass 'container=lxc' to init by doing putenv("container=lxc")13:41
=== caribou_ is now known as caribou
smoserhallyn, what?13:43
smoserinit says it takes arguments via cmdline13:43
smoserits cmdline13:43
hallynit takes them from the kernel's cmdline13:43
hallynthe kernel provides that to init through env13:43
koolhead17:)13:45
koolhead17Daviey: it was my stupidity13:45
koolhead17now nova/quantum13:45
koolhead17glance okey !!13:46
uvirtbotNew bug: #1046330 in php5 (main) "Incorrect crypt() function behavior" [Undecided,New] https://launchpad.net/bugs/104633014:01
=== n0ts_off is now known as n0ts
smoserhallyn,so are you saying what i want to do is impossible?14:18
smoserbecause i swear this used to work14:18
hallynsmoser: no.  I haven't gotten it to work.   BUT I think it has to do with how we're doing 'console' file now.14:20
smoseri swear it worked when i was debugging this bug the first time.14:21
smoserbut it seems broken in precise also14:21
uvirtbotNew bug: #1046340 in ntp (main) "ntp package missing logcheck exceptions file /etc/logcheck/ignore.d.server/ntp" [Undecided,New] https://launchpad.net/bugs/104634014:21
jamespageDaviey, hallyn: how would you guys feel about a new ipxe snapshot for quantal?14:22
jamespageI hit a bug yesterday with regards to IPXE iscsi san booting - its already reported upstream and is fixed in upstream git repo14:22
jamespagehowever it appears to be hard to say - "yeah - you need this commit"14:23
hallynjamespage: sounds good.  mind pushing it?14:23
jamespagehallyn, it will need a FFe really14:23
hallynwhy?  it sounds like it's broken14:23
hallynnot a feature14:23
jamespagewell it works for most use cases14:23
jamespageI'm sure there are lots of other new features since the snapshot from feb we currently have14:24
jamespage380 commits worth of stuff14:24
hallynbut oh i misunderstood14:24
jamespageto get up-to-date with HEAD14:24
jamespageif I could pick a specific commit for a patch I would had JFDI'ed it14:24
hallynright14:24
jamespage(after beta-1 of course as its seeded)14:24
hallynhave you asked in -release?14:24
jamespagenot yet14:25
jamespagebug 1045923 for reference14:25
uvirtbotLaunchpad bug 1045923 in ipxe "input/output error on iscsi sanboot from linux tgt" [Undecided,New] https://launchpad.net/bugs/104592314:25
hallynsmoser: yeah i can't even see the arguments in /proc/cmdline or /proc/1/cmdline in the container.14:27
tdr112hello all, I have been trying to use nomodeset to slove my boot problems with no luck14:30
hallynwhereas 'lxc-start -n qlvm1 -- /bin/bash -c /bin/ps -ef' does pass the arguments14:30
hallynso upstart seems to be (newly) dropping them14:30
tdr112anything else i could try14:30
Davieyjamespage: a newer ipxe sounds good imo14:37
jamespageDaviey, is 380 commits going to cause me grief for a FFe?14:37
jamespageI tested it locally for my problem and it works just fine14:38
Davieyjamespage: i don't think so.. if hallyn is happy from a kvm PoV.14:39
czajkowskitdr112: ello14:42
=== n0ts is now known as n0ts_off
jamespageDaviey, hallyn (+ anyone else): if I stick this in a PPA would you be OK to give it a sniff as well14:49
jamespage?14:49
hallynjamespage: sure, though i don't have any exotic tests or test recipes14:50
jamespagehallyn, just 'it didn't break kvm for me' would be good14:51
hallynwonder if lynxman in his new role woudl still have use for testing it14:53
czajkowskitdr112: what issue are you having ?14:56
tdr112on a new server i cant get ubuntu to install, i am getting a blank screen after grub , i have tried NOMODESET but that does not help14:58
=== n0ts_off is now known as n0ts
czajkowskimost odd14:59
czajkowskiDaviey: can you point tdr112 in the right direction please....14:59
tdr112to give more info its a dell r42015:00
tdr112booting from usb, I have tested the usb on another server and it boots to the installer fine15:01
hallynsmoser: do you find btrfs containers to actually be usable right now?15:01
hallyn(gauging importance of bug 1046117)15:01
uvirtbotLaunchpad bug 1046117 in lxc "btrfs via symlink not working" [Medium,Triaged] https://launchpad.net/bugs/104611715:01
hallynevery time i try btrfs i get corruption15:02
smoserhallyn, no15:03
smoserwell, i dont know.15:03
smoseri opened that bug15:03
smoserbecause dielete didn't work15:03
hallynright.  but if btrfs is unstable anyway then that bug becomes low priority :)15:04
hallynbut all right, fix should be simple.  I'l lstage it in ubuntu:lxc for now.15:04
hallynsmoser: setting up an oneiric container right now to see if it'll work with init --verbose15:05
smoserhallyn, well, both host and guest oneiric would be what i would have used15:06
smoseras there was no quantal host at that point15:06
skriteanyone running a mysql-cluster with also non-cluster tables in the same sql?15:06
hallynsmoser: yup, might nest if i have to :)15:07
lynxmanhallyn: I'd gladly :)15:07
smoserhallyn, i'd trust htat result about as much as btrfs (nested)15:08
hallynlynxman: \o/ thanks :)15:08
hallynsmoser: stgraber does it all the time15:08
hallynhave faith!15:08
josephtanyone know how to construct a menuentry for grub2 to boot an ubuntu-server iso?15:09
smosertdr112, it'd be "nomodeset", not the capital15:09
jamespagehallyn, lynxman: hold the line - just spotted another commit that might fix it - trying now...15:09
tdr112smoser: i did try it in lowercase15:09
smoserhttp://paste.ubuntu.com/1187381/15:09
smoseri add that into /etc/default/grub15:10
smoserand sudo update-grub15:10
smosertdr112, also, you can check if you're actually booting correctly or not. if you are seeing a grub prompt, its quite possible that you're booting up fine (getting network and everything) just blindly.15:12
smoserthen ssh in and poke around15:12
tdr112smoser: its a blank system , i dont think the installer will have an ssh server on it15:17
smoseroh. i see. this is off the cd install. i thought you were saying afterwards.15:21
smoserhow did you create the usb disk?15:21
smoserand from what iso?15:21
tdr112ubuntu-12.04.1-server-amd64.iso15:21
smoserhow did you create?15:22
tdr112using unetbootin15:22
smoseri've never used that. but i would suggest trying with usb-creator-gtk before anything else.15:25
tdr112ok thanks smoser will do15:26
jamespagehallyn, lynxman, Daviey: OK - so that second patch fixed my bug; I'll defer the new snapshot until next release...15:33
lynxmanjamespage: great \o/15:34
=== mcclurmc_away is now known as mcclurmc
tdr112smoser: bad live usb , working now thanks15:41
=== n0ts is now known as n0ts_off
hallynjamespage: cool, thanks much15:48
smosertdr112, good deal.15:48
uvirtbotNew bug: #1046397 in maas (main) "The DHCP config file does not get written." [Undecided,New] https://launchpad.net/bugs/104639716:01
=== matsubara is now known as matsubara-lunch
=== matsubara-lunch is now known as matsubara
zulsoren: ping16:50
=== Ursinha_ is now known as Guest65952
hallynstgraber: hm.  i didn't do it.  But I assume you'd want clear_config() to be exported through the api?17:12
hallyn(note, a package fixing all your woes should be built in ppa:serge-hallyn/virt.  i'm still testing)17:12
hallynyup, test.create("ubuntu") ends up with a nicely reloaded config17:14
=== n0ts_off is now known as n0ts
=== Ursinha-afk is now known as Ursula
stgraberhallyn: exporting clear_config() would be nice indeed. I don't have an immediate need for it, but that might change in the future.17:35
=== mcclurmc is now known as mcclurmc_away
hallynstgraber: I assume that would be deemed a new feature, alas17:38
hallynsimple enough to do though.17:38
hallynlet's let the current pending stuff settle a bit and then i'll export clear_config in my github tree17:39
stgraberhallyn: yeah, that'd be a new feature, so will just keep it in git for now17:40
=== dendrobates is now known as dendro-afk
lickalottgents,  installed /boot on sda.  i have an sdb, sdc and sdd available that i have mounted in fstab and shared out through nfs.  problem is....sometimes the mounts don't take because /boot randomly jumps to sdb.  can i make the system always use sda for the OS?17:46
=== n0ts is now known as n0ts_off
=== koolhead17|afk is now known as koolhead17
Tellmarchlickalott, you can give the mount throught the UUID instead of sda-d17:48
Tellmarchthis way it's always the same thing17:48
lickalotti just learned about blkid 10 mins ago, so i'm sure I could but I don't really understand how to do it.17:50
lickalottsame same? mount /dev/sdc1: UUID="81204814-775a-4ac8-923b-a6690381fe9b" /media/WHATEVER ?17:51
lickalottlemme google first17:52
skaetarosales, Daviey, utlemming,  could you take a pass and update what's making it in to Beta 1 (and noting the bits about to land right after), and any key bugs you want to warn folks about.  https://wiki.ubuntu.com/QuantalQuetzal/TechnicalOverview/Beta117:55
lickalottTellmarch, quick question....   right now sdb is the drive used for boot, swap, etc....  but it was installed against sda.  when I'm setting up fstab, do i want to use the UUID for sdb to mount 1 of my non-os drive?18:03
lickalott*drives18:03
Tellmarchsda, etc. can change18:03
Tellmarchwhile the UUID doesn't change18:03
Tellmarchso you make all the mounting without talking about sda, sdb, etc. at all18:04
Tellmarchthis way you have no problem18:04
Tellmarchyou say for instance, UUID 81204814-775a-4ac8-923b-a6690381fe9b will be in /boot, UUID (another) will be in /mnt/disk1, etc.18:04
Tellmarchthen no matter if it's called sda or sdb, it will be in the same place in your filesystem18:05
lickalottokay...i got ya now.18:05
lickalottthanks!18:05
=== dendro-afk is now known as dendrobates
lickalottcan I paste my fstab for you to look at?  i'm getting an error when i mount -a (mount.nfs: remote share not in 'host:dir' format)18:10
lickalotthttp://paste2.org/p/219461618:12
=== railsraider_ is now known as railsraider
=== cpg|away is now known as cpg
arosalesskaet: hello, I'll take a look and add any relevant bits18:48
skaetthanks arosales18:49
uvirtbotNew bug: #1045616 in bind9 (main) "DHCP server handing out DNS server addresses but DHCP client does not write these to resolv.conf" [Undecided,New] https://launchpad.net/bugs/104561619:02
lickalottTellmarch didn't work.  modified teh fstab, rebooted....no mounts19:34
smoserhallyn, around?19:45
smoseri've a questoin on lxc.conf19:45
smoserhttp://manpages.ubuntu.com/manpages/precise/man5/lxc.conf.5.html19:47
smoserthe moutn point section says:19:47
smoser the  path  of the rootfs mount point should be prefixed with  the  /usr/lib/lxc/root  default  path  or  the  value   of lxc.rootfs.mount if specified.19:48
hallynsmoser: yes, and while i'm here note that ppa:serge-hallyn/virt should have the fix for your btrfs lxc-destroysymlink woes19:48
smoserwhat does that mean?19:49
smoser/usr/lib/lxc/root seems wrong19:49
hallynsmoser: i think that's outdated19:49
hallynit's outdated in more ways than one19:49
hallyn/usr/lib/lxc/roto is wrong, and it is actually preferred to not prefix the path, rather make it relative19:49
hallyni.e. just 'dev/pts'19:49
smosercan i put an entry for / in there?19:50
smoseri want to mount / ro19:50
hallynhm.  no19:50
hallynif you're on quantal i'd recommend using a hook.  but you're probably not19:50
smoseri could be.19:50
smoseryou have documentation on "hook" ?19:50
hallynno manpage update for it yet, but documentation is in with the example in the package for now19:51
hallyni.e. /usr/share/lxc/hooks/mountcgroups19:52
=== nxvl_ is now known as nxvl
hallynsmoser: can you just specify /var/lib/lxc/q1/rootfs/ as the target?19:52
hallynor do you not know the container name at the place where you'd need it?19:52
hallynactually,19:52
smoseri could specify that as the target, sure. it'd be hacky, but i could do that.19:53
hallynthat, or you have to use /usr/lib/x86_64-linux-gnu/lxc19:54
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== glebihan_ is now known as glebihan
=== cpg is now known as cpg|away
=== AaronMickDee_ is now known as AaronMickDee
toabctli tried to find the virtual package "apache2-dev" on quantal but it's not available. it's available on precise and on debian. why is it not available on quantal? is this a bug?20:58
psionicsinHey guys. New to Ubuuntu Server. Trying to install it on our server at work due to us getting frustrated with FreeNAS constantly failing. However I'm stuck at the install process. For some reason network autoconfiguration has failed, even though it's connected directly to our router. I have the option of doing it manually or continuing without it. What should I do?20:58
=== cpg|away is now known as cpg
Tellmarchthe router has a DHCP enabled?20:59
Tellmarchit might be a hardware problem...20:59
Tellmarchi mean, it might be that the network card isn't handled by ubuntu correctly21:00
psionicsinTellmarch: Well I've tried both the onboard ethernet port, and the PCIe ethernet port in the server and I get the same thing. However if I attempt doing it on one of our workstations that's connected to the same router, it does the DHCP dance just fine and continues on. And our workstations are connected via onboard ethernet ports.21:02
psionicsinAnd might I add that our servers and workstations have the same hardware save for the servers having a crap ton of 2TB HDDs in them21:02
tgm4883psionicsin, have you attempted giving it a static IP?21:03
Tellmarchyou can try the manual configuration and see if you get network access this way21:04
Tellmarchbut if not, you might have to add a driver or something to recognize your hardware properly21:04
psionicsintgm4883: I'm currently in the very bieginning on installation stages. I still have an 8-16bit screen right now.21:04
psionicsinTellmarch: how would I go about doing it manually. i'm not sure what to look for.21:05
tgm4883psionicsin, so? it gave you the option to set it manually21:05
tgm4883IMO, all servers should have a static IP anyway21:05
Tellmarchmaybe you can switch to another console, and see the output of lspci (the line about the network adapter), and maybe dmesg | grep -i eth0 or something...21:05
Tellmarchsee if everything looks all right there21:06
psionicsintgm4883: Yes. Although I haven't selected it yet, the server always used the IP "192.168.1.68". It then asks for my router gateway. Since we use windows here I did ipconfig in my prompt to find the router gateway and subnet mask. However after all of that it asks for name server address. THIS is what I have no clue about,.21:08
TellmarchDNS?21:08
Tellmarchipconfig /all in windows will tell you the DNS used21:09
tgm4883psionicsin, it's asking about the DNS server, do 'ipconfig /all' in windows as Tellmarch has suggested21:09
tgm4883likely though, it's the same as your router21:09
Tellmarchthat depends, it's not the same for my server21:10
psionicsinYou guys are both right. I'm generally a Mac guy so I'm so lost lol. The DHCP server is also he router so I'm finding it hard to understand why it can't find something it's directly connected to21:11
psionicsinOk now I've made it to where it's asking me to enter the hostname for the system. freenas has been automatically filled in. 0_o21:12
tgm4883Tellmarch, while that is true, I sometimes make assumptions based on the technical level of who I'm talking to21:12
psionicsintgm4883, Tellmarch: Is it safe to enter anything into the hostname field? This is just what the server will be called over the network correct?21:13
Tellmarchyes, you can choose your name21:14
tgm4883psionicsin, my feeling is it is either A) bad cabling/port between the server and the router or B) the NIC in the server isn't recognized by Ubuntu21:14
tgm4883psionicsin, yes, but don't use underscore21:14
psionicsinTellmarch: why do you think that the name freenas populated that field before i could enter anything?21:14
tgm4883that is the most common mistake I see people do21:14
psionicsintgm4883: do you think cable length has to do with it having a hard time?21:15
tgm4883psionicsin, probably not21:15
tgm4883unless it is really long21:15
psionicsin100ft21:15
tgm4883eg. I think the limit is ~300 ft21:15
psionicsinok21:15
psionicsintgm4883: ok now it's asking for a domain name.Never encountered anything like this with freenas. What exactly is this asking of me?21:16
tgm4883psionicsin, in windows, when you do an 'ipconfig /all' do you see anything listed for "Primary DNS suffix"?21:17
psionicsintgm4883, no nothing is listed21:18
tgm4883then you can leave that blank21:18
psionicsintmg4883, now I just have a blank purple screen with a white bar at the bottom. no indication of anything going on.21:19
Tellmarchwell, the fact that the DHCP didn't work was a sign of trouble...21:20
Tellmarchcan you switch to another console (ctrl alt F2) ?21:20
Tellmarchand maybe start by ping www.google.com ?21:21
psionicsinTellmarch, did that. Says www.google.com is alive!21:22
Tellmarchso the network is working, at least...21:22
TellmarchI'm not sure what could block the install process then...21:23
tgm4883I don't recall what it does after network21:24
psionicsinTellmarch, right. I'm not too savvy on servers and unix/linux systems...but I'm sure a network problem wouldn't stop software from being installed. Seems weird.21:24
tgm4883which is odd, as I've installed 3 servers today21:24
tgm4883psionicsin, did you verify the checksum of the ISO you downloaded and burnt?21:24
psionicsinIs there anything I can type into this console to find out something>21:24
psionicsintgm4883 no...care to inform me how I do that lol?21:25
Tellmarchpsionicsin, well, the end of dmesg might tell something, sometimes...21:25
tgm4883psionicsin, are you running 12.04?21:25
Tellmarchlike if you see a big ERROR message... but it's not very likely21:25
tgm4883yea I'd probably just check dmesg or /var/log/syslog21:26
tgm4883see if it's trying to do something21:26
ehndei'm getting 403 forbidden on my web server...does this look correct?21:26
ehnde-rw-r--r-- 1 www-data www-data 49 Sep  5 16:27 index.html21:26
TellmarchI also seem to remember there was something in /var/log/installer or something like that21:26
Tellmarchehnde, yes, this should work... what are the permissions on the folder?21:27
ehndeTellmarch: folder permissions are drwxr-xr-x 2 www-data www-data21:27
tgm4883ehnde, is that still at /var/www/?21:27
ehndetgm4883: /srv/www21:28
tgm4883what are the permissions on /srv21:28
ehndeerr.../srv/<sitename>21:28
ehndetgm4883: permissions on /srv are drwxr-xr-x21:28
ehndethat doesn't look good :|21:28
Tellmarchif all the permissions in the tree are like this, it should work...21:29
tgm4883yea that looks like it should work21:29
psionicsintgm4883, Tellmarch: no big error messages at all from what I see. Near the end it's talking about eth0 and eth1 (0 is the PCIe card, 1 is onboard). A bunch of "link not ready"s and "link down"s. Ends with eth0 saying "link becomes ready" and then saying no IPV6 routers present.21:29
ehndemaybe i still see the 403 because of browser caching21:29
tgm4883we're assuming you pointed the apache site at /srv/www/sitename21:29
Tellmarchpsionicsin, so nothing wrong in dmesg... have you tried the installer log? less /var/log/installer i think21:30
tgm4883psionicsin, that all looks fine21:30
psionicsinTellmarch, says les not found21:30
psionicsinless*21:30
Tellmarchhmm nevermind i remembered wrong21:30
ehndemaybe the problem is group ownership21:30
Tellmarchduring the install it's in the syslog21:30
ehndenginx is running as 'nobody'21:31
Tellmarchbut everybody can read these files, including "nobody"21:32
psionicsintgm4883, I flipped back to the install screen right quick and still a blank purple screen.21:32
tgm4883try hitting enter?21:32
Tellmarchpsionicsin, you're not running the graphical installer, right?21:32
tgm4883Tellmarch, graphical installer doesn't prompt for IP information21:32
Tellmarch<haven't installed ubuntu server in too long...>21:33
psionicsinTellmarch I'm running the first option from the moment it booted the CD that said "Install Ubuntu Server". And yes version 12.0421:33
Tellmarchwhat was the last working step?21:34
Tellmarchit seems it should go hostname -> timezone -> disk....21:35
psionicsinhostname was the last step I beileve21:35
psionicsintgm4883, is regular Ubuntu capable of running as a ROCKSOLID NAS?21:35
tgm4883psionicsin, IDK, I don't do that21:35
tgm4883I would assume so21:35
psionicsinbecause freenas on this server has always been buggy. You look at it wrong and it drops the mount.21:36
Tellmarchregular ubuntu is capable of doing everything that ubuntu server does21:36
psionicsinTellmarch: Would you be able to guide me through installing regular ubuntu to a usb key and using the 4 2TB internals in a RAID5/Z@ config to share with everyone on the network?21:37
psionicsinZ2*21:38
Tellmarchno, I've never done that :-)21:38
Tellmarchbut all the packages available in ubuntu server are also in the regular ubuntu distribution21:39
Tellmarchthe difference is really that ubuntu server install less things by default, and the installer is different (not graphical for the server)21:39
psionicsinTellmarch, ahh ok...this is all so confusing for no reason lol21:39
tgm4883software raid?21:40
Tellmarchhttps://help.ubuntu.com/community/ServerFaq#What.27s_the_difference_between_desktop_and_server.3F21:40
Tellmarchthe difference is explained here21:40
psionicsintgm4883, yesh21:40
tgm4883I'm assuming so, since hardware raid would be configured before the OS21:40
xnoxtgm4883: short answer yes, long answer starts with 'it depends.....'21:41
tgm4883xnox, it depends?21:42
tgm4883regarding RAID or something else?21:42
xnoxtgm4883: depending what you count as OS: UEFI/bios, grub, initramfs or real root. Whether the "hardware raid" is actually external hardware raid, or something activated by dmraid/mdadm (e.g. Intel Rapid Storage, DDF, etc).21:43
xnoxtgm4883: and if your $rootfs is not on raid, you can for example spin it down and shutoff21:43
tgm4883xnox, does anyone actually consider dmraid/mdadm hardware raid?21:43
xnoxif dmraid/mdadm is using external metadata formats (as in _not_ LINUX_RAID_MEMBERS, then why not?!) how is Intel Rapid storage or the industry DDF standard any different from other hardware raids?21:44
* tgm4883 shrugs21:45
xnoxyou can setup Intel / DDF outside the OS (e.g. on the hardware controllers / bios) as well as from within mdadm/dmraid.21:45
xnoxit's just an on-disk format and API.21:45
tgm4883it's been awhile since I looked at any of that, and it was a bit confusing with hardware raid/software raid/ fake raid21:45
xnoxI think those names are a bit silly & misguided. With all the TRIM optimisations landing in the kernel and mdadm I am not sure which of the 'three' are better....21:46
psionicsinTellmarch: will I have any trouble installing to USB key? I've never messed with any version of Linux before.21:57
Tellmarchyou mean you want to run ubuntu from a USB key? in production? on a server?21:58
Tellmarchoh, it's just for the raid...21:58
Tellmarchonly trouble should be that it won't be as fast as running from a hard drive, obviously21:59
Tellmarchand well, i'm not sure if the installer does that easily in truth21:59
Tellmarchi know it's possible, but never did it22:00
tgm4883don't forget to backup your configuration as well22:00
psionicsinTellmarch, yes...just how other NAS's usually do22:00
tgm4883since if the usb drive dies, you don't have it replicated anywhere22:00
psionicsintgm4883 ok22:01
Tellmarchbe careful to install the bootload on the USB22:01
Tellmarchi'm not sure what else could be a problem...22:02
Tellmarchbootloader*22:02
Tellmarchwell, don't follow the installer proposed choices, he will want to install on the hard drives he can find22:02
Tellmarchyou'll have to tell him to use the USB drive22:02
psionicsinTellmarch gotcha22:04
psionicsinTellmarch ok so I selected "Install Ubuntu"...and it's like thinking or something. The Ubuntu 12.04 screen is up with 4 dots that turn white then orange. This system should be faster...22:08
Tellmarchhave you been waiting for long?22:08
psionicsin7min...?22:09
Tellmarchthat's long...22:09
psionicsinBoth these servers have AMD Athlon II X4 and 8GB of RAM on brand new gigabyte boards...this is crazy.22:09
Tellmarchwhat are you installing from?22:10
psionicsinCD. Freshly burned22:10
Tellmarchwell, ubuntu installer *is* slow, but i don't think it should be that slow22:10
=== arrrghhhAWAY is now known as arrrghhh
psionicsinTellmarch...looks like the cd/dvd drive stopped spinning...22:11
Tellmarch... is it possible that some hardware problem would cause both the FreeNas failures and ubuntu's difficulties to install?22:12
psionicsinTellmarch, possible? Yes. What hardware exactly...have no clue. I'm sure a network issue wouldn't stop a software install. And then I thought maybe the drive was bad...but it's reading everything fine. CPU is fine or else I'd experience dropouts. And RAM was checked ok 3 times today.22:14
psionicsinI'm gonna cry.22:14
psionicsinMy last hope is to use UniUSB to make a bootable USB Key22:15
arrrghhhpsionicsin, i've just read the last few lines, but it sounds like hardware is in question.  have you run memtest?22:17
psionicsinarrrghhh yes 3 times and everything came back ok. Love that name btw...just made that sound22:17
arrrghhh3 times...?22:18
arrrghhhhow long did you let it run?22:18
psionicsinmhm. Been at this since 10am. It's almost 630pm now22:18
arrrghhhhow long did you let memtest run.22:18
psionicsinarrrghhh wasn't keeping track, but around 1hr 15min each time22:19
arrrghhhok that's plenty22:19
arrrghhhno colors/errors?22:19
arrrghhhit should light up like a christmas tree if there's issues with RAM22:19
psionicsinNope. just white blocks22:19
psionicsinarrrghhh, I wonder if it's the mobo. although I can't actually test that.22:21
arrrghhhi went back to your original question22:21
arrrghhhseems you're having DHCP issues22:21
arrrghhhwhy can't you just skip that and manually configure it later?22:21
psionicsinWell I've skipped server and gone directly to regular Ubuntu and it won't even get to the install screen22:22
arrrghhhthis is new hardware?  nothing but freenas installed on it before?22:22
psionicsin4-5 months old. nothing but freenas before. but then we started getting red lights about failing HDDs. I pulled each and every one of them to check them against my workstation and everything came back clean. Figured FreeNAS was the issue so decided to switch NASs, OMV failed to install correctly, OpenFiler failed to install correctly. So going back to FreeNAS...that now failed to even get to the boot screen.22:24
psionicsinSo Ubuntu was my last hope OS wise22:25
psionicsinarrrghhh22:25
arrrghhhpsionicsin, i don't know much about freenas22:27
arrrghhhbut why didn't you check the disks in that box?22:27
arrrghhhodd22:27
psionicsinarrrghhh I did. pulled them and checked them in my workstation. all clean.22:27
arrrghhhno22:27
arrrghhhi mean left them in that box22:27
arrrghhhand figured out why they were complaining in that box.22:27
arrrghhhbut if you've ruled out the drives themselves... the only thing i could think of would be hardware22:28
arrrghhhs-ata/raid controller bad, etc22:28
psionicsinarrrghhh they were giving off smart failures on the storage side of fn22:28
arrrghhhdid you check to see what type of errors?22:29
arrrghhhsome errors are indicative of a bad cable for example22:29
psionicsinarrrghhh yes...it was saying that the SMART was failing. This is what the GUI was teling me. I'm not a console gy so error numbers and things were out of the question22:31
psionicsinOn 2 of the 4 drives22:31
psionicsinarrrghhh BUT...those drives shouldn't have anything to do with me installing an OS to a USB Key. Those are only used as storage and as such should have nothing to do with the install portion22:32
arrrghhhpsionicsin, well 'SMART was failing' is not anything i can use.22:32
arrrghhhpull the drives then22:33
psionicsinarrrghhh yeah I know :(22:33
arrrghhhinstalling ubuntu to a usb key?22:33
arrrghhhthat doesn't sound like a very good idea22:33
arrrghhhinstalling ubuntu from a usb key is one thing22:33
arrrghhhinstalling it to a usb key - probably not a good idea.  perhaps do-able, but not recommended.22:33
arrrghhhi guess those persistent installs from ubuntu desktop work pretty well22:34
arrrghhhperhaps you could use a similar concept on the server platform - never tried myself.22:34
psionicsinarrrghhh persistent installs?22:34
arrrghhhyou want to be able to plug in the usb key and boot anywhere, is that why you want to install the OS on a USB key?22:34
psionicsinarrrghhh no. We have 4-2TB hard drives that we want to use in an array. With FreeNAS and other NAS-only OSs, you install to a USB/CF card and run from there. I was hoping the same thing could be done with Ubuntu.22:36
psionicsin each server consists of a USB key, and 4-2TB HDDs22:36
arrrghhhhrm.  you'd think that would kill the key eventually with all that random read/write22:37
arrrghhhbut i guess it's not impossible.  have you tried pulling all the array'd drives and only leave the install usb key --> boot?22:37
psionicsinSome people have had it running for 4+ years I've heard. others died within 6-9 months22:37
arrrghhhalso, ubuntu server doesn't have a gui22:37
arrrghhhit's cli-only...22:37
arrrghhhpsionicsin, just be wary of it.22:38
psionicsinarrrghhh yeah tried all of that. I did see an improvement after unplugging the DVD drive. Weird.22:38
arrrghhhstandard usb keys are not like ssd's.22:38
arrrghhhimprovement after unplugging the dvd drive?  weren't you booting from that?22:38
psionicsinbrb...gonna look for another HDD...IF we have one22:38
arrrghhhok22:38
arrrghhhpsionicsin, just know that ubuntu server has no GUI.22:39
arrrghhhi don't want you to be disappointed after going through all this work only to be met with a cli login... haha22:39
psionicsinarrrghhh I've given up on server, I'm installing desktop currently22:49
psionicsinarrrghhh don't have a spare HDD...which means I'll have to use one of the 2TB...seems like a waste22:49
psionicsinarrrghhh What kind of RAID would I be able to achieve with just 3 2TB drives?22:50
arrrghhhpsionicsin, you could do raid522:51
arrrghhhbut it's not recommended putting the OS on a RAID array22:51
psionicsinarrrghhh no no no...the OS will be on a solitary 2TB drive. The rest of them will be in software raid for distribution accross the network22:52
arrrghhhhrm22:53
arrrghhhthat could work22:54
arrrghhhcertainly does seem a waste of that last 2tb drive, but hey22:54
arrrghhhyou haven't tried another usb key?22:54
arrrghhhor installing from a usb key have you?22:54
Tellmarchdon't you have a small SSD you could use for the OS?22:54
arrrghhh(if you suspect the optical drive)22:54
arrrghhhheh22:54
Tellmarchit would be faster than the USB, too :p22:54
arrrghhhTellmarch, i would hope he would start with the ssd if he had one of those just 'lying around'22:54
psionicsinarrrghhh would RAID 3 be better than 5? This server is used as a working server that 5-6 machines access. We're a photo studio so we're constantly reading and writing.22:54
arrrghhhhaha22:54
arrrghhhraid3 is useless22:55
psionicsinok22:55
psionicsinTellmarch: nope22:55
arrrghhhi've never even heard of anyone using it22:55
arrrghhhraid0, 1, 5 or sometimes 6.  6 is complex.22:56
arrrghhhthere's other variants, like raid10 - but meh.22:56
psionicsinarrrghhh we used to use RAID10 in FN7...switched to RAIDZ2 in FN8.22:57
SpamapSis 6 really complex?22:57
SpamapSnot to use22:57
arrrghhhno, but to setup22:58
SpamapSits just redundant parity22:58
arrrghhhraidz3?22:58
arrrghhher22:58
arrrghhhz222:58
SpamapSI've used 6.. and it was not any more complex than 522:58
arrrghhhnever heard of it.  i'm no RAID expert tho22:58
psionicsinwiki claimed z2 was basically a branch of 622:58
psionicsinarrrghhh ok I'm stuck at the Installation Type screen. I've wiped all drives of everything and all are empty yet when I click install now it tells me that there's no partition. I have to do that manually?22:59
arrrghhhyes23:00
arrrghhhthe installer should walk you thru that23:00
arrrghhhpsionicsin, oh.  raid-z anything isn't really RAID but a redundancy built off zfs.  that's cool23:03
arrrghhhbut not really possible in linux until all the zfs stuff makes it into the linux kernel and is stable23:03
=== cpg is now known as cpg|away
arrrghhhnot even sure where that's at23:03
psionicsinok23:04
=== arrrghhh is now known as arrrghhhAWAY
psionicsinarrrghhh what 2TB HDDs would you recommend for a production server? WD seems to fail a lot for us. Haven't tried Seagate yet. I have Samsung at home without any issues.23:11
Tellmarcharrrghhh, it's possible to install zfs in linux i think... it's not directly there because of license, that's all23:14
=== cpg|away is now known as cpg
=== cpg is now known as cpg|away
lickalottgents, not a total ubuntu-server question but i believe it is due to the NFS from the server...  I have "mapped network drives" on my winblows box from the server.  had a small issue with mounting today.  after i got the mount issue fixed i tried to access the mapped drives and it kills windows explorer.  I can't even right click on them to dc them.  Any ideas?23:34
SpamapSlickalott: do you mean NFS, or Samba?23:35
lickalottNFS23:35
SpamapSlickalott: I wasn't aware windows had an NFS client. :p23:35
lickalottwell....1 samba and 2 NFS but the samba dc'd no problem23:35
lickalottyes sir23:35
lickalottit's an add-on in win 7 Ultimate (and one other iirc)23:35
=== cpg|away is now known as cpg
lickalottSpamapS, just in case anyone else has this issue - command prompt > net use Z: /delete23:46
SpamapSlickalott: ty23:48

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