Synthead | is there a way to do a network install from the generic ubuntu server cd (14.04 LTS)? | 00:31 |
---|---|---|
Synthead | well, I ended posting it on askubuntu anyway http://askubuntu.com/questions/708356/how-can-i-install-from-network-sources-using-the-generic-ubuntu-server-cd | 01:08 |
roaksoax | 3/win 3 | 01:46 |
nacc | Synthead: do you mean making sure you're up to date during the install? or do you mean loading hte installer components over the network? | 02:10 |
=== CiPi is now known as cipi | ||
=== Lcawte|Away is now known as Lcawte | ||
=== cipi is now known as CiPi | ||
Voyage_ | Hi | 09:51 |
Voyage_ | http://oi65.tinypic.com/r8s2ux.jpg I have enabled headers and getting correct CORS in headers (access-control-allow-orig...*) but still I cannot access the inner dome or page height of an iframe in side a parent page. It says "Error: Permission denied to access property "document"" any clue? | 09:52 |
=== cpaelzer is now known as cpaelzer_afk | ||
=== cpaelzer_afk is now known as cpaelzer | ||
jak2000 | hi all i have a crontab task (with mysqldump command) when run the task thhe backup was generated in 0 bytes, but when run same command manually it generate the correct backup, any advice how to know why? thanks | 12:01 |
andol | jak2000: Any stderr output, captured by mail? Perhaps some PATH or other environment issue? | 12:08 |
andol | jak2000: Unless you have a local MTA setup, perhaps you can modify the script to write STDERR to a separate file? | 12:10 |
roaksoax | q/win 13 | 12:34 |
koolhead17 | hello world | 12:37 |
jak2000 | andol! | 13:25 |
jak2000 | i have full paths | 13:25 |
jak2000 | see please: http://pastie.org/10625270 | 13:27 |
jak2000 | andol? | 13:38 |
LzrdKing | how can i determine why a 12.04 server spontaneously rebooted? | 15:44 |
LzrdKing | logs look normal one moment, and then everything is starting up the next | 15:44 |
lordievader | Disk failure? | 15:49 |
LzrdKing | would that be logged anywhere? | 15:50 |
lordievader | Well that might be a problem ;) Suppose you want to write to the disk, but the disk failed... | 15:51 |
LzrdKing | the logging volume didn't fail | 15:51 |
lordievader | Hmm, I'd check SMART anyways. | 15:52 |
LzrdKing | yes, thats a good idea, thank you | 15:52 |
TJ- | power-loss would be the obvious candidate | 15:53 |
LzrdKing | TJ-: yes, but to only one server of many in a rack? | 15:53 |
LzrdKing | i'm not sure how the rack is powered, but i'd thikn there would be other issues too | 15:54 |
LzrdKing | i'll keep that in mind | 15:54 |
LzrdKing | but how could i tell if that was the issue? | 15:55 |
TJ- | LzrdKing: local PSU issues possibly. Does the server have IPMI? could remote-hands of accidentially nudged cables on that rack - or is it caged? etc | 16:03 |
LzrdKing | lordievader: Device does not support SMART | 16:03 |
LzrdKing | TJ-: yes it does | 16:04 |
TJ- | LzrdKing: anything in the logs of the *other* servers at the time that server died? | 16:04 |
LzrdKing | i'll look | 16:04 |
jge | good morning guys, happy friday. I have a question, I have a VM that takes long to boot up. It hangs saying the following: Waiting for network configuration, Up to 60 more seconds for network configuration .." | 16:04 |
jge | I use /etc/network/interfaces to configure networking | 16:05 |
LzrdKing | TJ-: IPMI might be able to indicate better what happened? | 16:05 |
lordievader | LzrdKing: Huh? Is it a non-standard disk? | 16:05 |
jge | not sure what could be causing this, Ubuntu Server 14.04 LTS | 16:05 |
TJ- | lordievader: could be behind RAID controller | 16:06 |
nacc | jge: so eventually it does come up w/ networking? | 16:06 |
TJ- | jge: that times out if the network isn't available; check the config, are you trying to automount remote network file-systems? | 16:07 |
LzrdKing | yes, its an SMC RAID | 16:07 |
lordievader | Ah, that explains it indeed. | 16:08 |
jge | nacc: yep it comes up fine | 16:09 |
jge | TJ-: nope | 16:09 |
jge | this is what my /etc/network/interfaces looks like:http://pastie.org/private/jcat5qnhb3debzh4fodxuw | 16:11 |
jge | very simple, I'm wondering if it's because the next hop for that static route is on a different subnet | 16:11 |
jge | I'll remove it and test | 16:12 |
jge | ha, that did it! | 16:13 |
jge | freaking booted in seconds :D | 16:13 |
LzrdKing | i have a laptop that hangs there for a while too, i should look at that | 16:16 |
TJ- | jge for the reasoning of that message see /etc/init/failsafe.conf | 16:18 |
jge | TJ-: will do, thank you. | 16:25 |
=== cpaelzer is now known as cpaelzer_afk | ||
=== cpaelzer_afk is now known as cpaelzer | ||
pod_ | When ever I try to boot into ubuntu I keep getting this error http://postimg.org/image/yi2biav9n/ | 17:11 |
nacc | pod_: and it doesn't boot? or do some devices not work? do you have a USB hub? | 17:12 |
pod_ | I am using a desktop and only using the usb ports that are on my motherboard. | 17:13 |
pod_ | Ubuntu is already installed on my hard drive | 17:14 |
nacc | pod_: is your concern the messages themselves, or is something specifically not working? | 17:14 |
pod_ | I am just trying to fix the error | 17:16 |
nacc | pod_: I believe that is indicating an issue with a USB hub, including possibly the one on your mobo. Could be insufficient power (if it was external, e.g.) for the load, etc. Does it happen w/o anything plugged into the USB ports on the motherboard? Do any of the USB ports on your machine work? | 17:18 |
pod_ | Yeah I tried booting back into Ubuntu when only the keyboard plugged in and still get the same error. | 17:19 |
pod_ | When ever I use debian all the ports work fine | 17:20 |
nacc | pod_: ok, and do your devices work? e.g., your usb keyboard? | 17:20 |
nacc | pod_: what version of Ubuntu and what version of Debian? | 17:20 |
=== cpaelzer is now known as cpaelzer_afk | ||
pod_ | ubuntu 14.04 and debian 8.1 | 17:21 |
nacc | pod_: 14.04.3 or 14.04.0? that is, which kernel probably matters, as 8.1 uses 3.16.7 (I think) and 14.04.0 used 13.13 (and each .x update has bumped that, so for instance, 14.04.3 is on 3.19 | 17:25 |
nacc | if Debian 8.1 worked without the errors, I would guess it's just a kernel fix and I'd try the latest 14.04.3 release | 17:25 |
nacc | if possible | 17:25 |
pod_ | Okay I'll wipe the older ubuntu and install newer ubuntu | 17:26 |
nacc | pod_: so you were on an older ubuntu before? shouldn't be ncessary to wipe it, just boot the live image and see if it works? | 17:27 |
LzrdKing | TJ-: ilo has nothing useful logged either | 17:27 |
pod_ | I upgraded from 12.04 | 17:28 |
patdk-wk | nacc, it only bumped it if you started with 14.04.2 as the install base | 17:29 |
patdk-wk | not if you upgraded to 14.04.3 | 17:29 |
LzrdKing | is there a way to run a raid utility without rebooting? | 17:29 |
nacc | patdk-wk: good point, sorry | 17:29 |
patdk-wk | not sure why a raid utility would needa reboot | 17:31 |
patdk-wk | unless it requires dos/windows | 17:31 |
pod_ | Software raid | 17:31 |
nacc | patdk-wk: my understanding was that 14.04(.0) was 3.13 based, 14.04.2 was 3.16 based, 14.04.3 was 3.19 based, and 14.04.4 will be 4.2 based? although those may be specific packages you pick to install from the HWE stack | 17:32 |
LzrdKing | i don't know, i've only ever seen raid info come up during a boot when it says siomehting like "press F2 to configure" | 17:33 |
patdk-wk | nacc, that is true | 17:34 |
patdk-wk | but you have to INSTALL 14.04.2 from a iso for HWE to be enabled | 17:34 |
nacc | patdk-wk: ah i see what you're saying | 17:34 |
nacc | patdk-wk: yep, makes sense | 17:34 |
patdk-wk | or enable it yourself | 17:35 |
patdk-wk | for me personally, hwe has been nothing but problems | 17:35 |
nacc | patdk-wk: like what? | 17:35 |
patdk-wk | due to kernel dmks build issues | 17:35 |
nacc | ah | 17:35 |
nacc | external modules? | 17:35 |
patdk-wk | external to the kernel | 17:35 |
nacc | yeah, sorry, that's what i meant | 17:35 |
patdk-wk | the packages dkms packages don't maintain kernel compatability with HWE kernels | 17:35 |
patdk-wk | so using open-vm-tools, xtables, ..., can cause you lots of issues | 17:36 |
patdk-wk | though, open-vm-tools is better lately though | 17:36 |
nacc | well, the (upstream) kernel doesn't guarantee API or ABI compatability release-to-release; that's probably the biggest issue? | 17:36 |
patdk-wk | yes | 17:36 |
pod_ | I had to fix a broken part of the kernel from a old verison of ubuntu to fix error 71 | 17:36 |
patdk-wk | and I had an issue with libc and hwe kernel | 17:38 |
patdk-wk | but that is so esoteric, I didn't dig into it much, once I found it was a libc issue | 17:38 |
patdk-wk | but that is the other kernel api/abi problem | 17:39 |
nacc | patdk-wk: interesting, i haven't personally seen those problems, but i bet a bug would be appreciated :) | 17:40 |
patdk-wk | I thought about it, but reproducing it, by not me, would be impossible :) | 17:41 |
patdk-wk | so I didn't bother | 17:41 |
nacc | heh | 17:41 |
patdk-wk | it's a closed source binary, that I have heavily hacked | 17:42 |
nacc | ah | 17:42 |
patdk-wk | and is failing on an exec call to run sendmail | 17:42 |
patdk-wk | or rather, it works, but stdin isn't working right | 17:42 |
patdk-wk | but in all other cases, it works | 17:42 |
=== sarnold_ is now known as sarnold | ||
=== Lcawte is now known as Lcawte|Away | ||
Razva | hey folks! I would like to test the Unbuntu Cloud (MAAS, Juju, Landscape etc) on a couple of lased bare-metal servers. note that these servers don't offer a vlan, so all I have is external IPv4 IPs. can I work this out, or do I need to have everything in the same place? I'm reading about MAAS right now, and from my understanding it needs to be all in the same network, as MAAS is basically | 19:14 |
Razva | setting up LAN IPs via DHCP? | 19:14 |
sarnold | Razva: indeed, maas does pxe via dhcp. probably your ISP won't be impressed if you start offering dhcp over the internet :) | 19:15 |
Razva | sarnold yyyup. :) ok, so what's the solution in my case? | 19:16 |
Razva | I really don't have 5 PCs at home in order to test it out, nor a powerful PC to install/run eveyrthing virtualized. | 19:16 |
Razva | so I was thinking to buy 5 cheap (kimsufi) bare-metal servers and start playing | 19:17 |
dlb | can someone help me with kvm? I have a 64 bit 14.04.3 install but kvm keeps making 32 bit vms. --arch is set for amd64. Any thoughts on what to look at? | 19:17 |
sarnold | dlb: are you perchance running 32bit guests by accident? | 19:18 |
dlb | I am trying to build the guests. When I build them, they are 32 bit. I expected 64 bit. | 19:19 |
sarnold | Razva: you may wish to try in #maas .. my best guess is something like set up an openvpn or ipsec vpn over your five cheap hosts, and virtualize a machine on each or something. it's not a great idea. hehe. | 19:19 |
dlb | The host is 64 bit | 19:19 |
Razva | sarnold already did, nobody is replying right now. :| | 19:20 |
Razva | is MAAS mandatory? | 19:21 |
sarnold | Razva: no | 19:21 |
sarnold | Razva: maas can make deploying openstack more convenient, since you can use juju to deploy the openstack software to the hardware; but you can certainly install openstack by hand on the machines | 19:22 |
sarnold | Razva: I hope kimsufi has some way to firewall those machines off from the internet; I slightly doubt openstack services are intended to be exposed on the public routable internet :) | 19:23 |
Razva | sarnold it's just some test machines, I won't store any data | 19:24 |
Razva | yeah so the whole idea was to use ubuntu cloud as I'm an OpenStack newb :| | 19:25 |
sarnold | Razva: good start; I'm just not convinced thta the services are sufficiently defensive about their inputs :/ | 19:25 |
Razva | will Autopilot work, or is that MAAS dependant? | 19:26 |
sarnold | I think it requires maas | 19:28 |
Razva | darn | 19:32 |
Razva | so at this point basically ubuntu cloud is "useless" in my case? | 19:32 |
Razva | because Autopilot is the main reason to use the ubuntu cloud vs "standard openstack" | 19:32 |
sarnold | Razva: that might be the case. perhaps you can still use e.g. juju with the charms to deploy openstack if you use the ssh provider to juju.. | 19:40 |
sarnold | autopilot may not work for you but you might still be spared the difficulty of setting up openstack services manually :) | 19:42 |
Razva | sarnold true... is there any manual of some sort, that will spare me of setting up? | 19:51 |
sarnold | Razva: not that I know of; I think it's mostly assumed that if you're interested in openstack, you've got the hardware on site to make it happen :/ | 19:53 |
sarnold | Razva: so putting together something a bit piecemeal out of cheap servers already on a cloud provider is a bit off the well-worn path. | 19:54 |
sarnold | Razva: this looks like The Guide for using juju with the ssh provider: https://jujucharms.com/docs/1.24/config-manual | 19:54 |
sarnold | Razva: you may need to read the autopilot script to figure out which specific settings it's using for which services, and you can find the service charms at e.g. https://jujucharms.com/q/?tags=openstack | 19:55 |
Razva | I'm curious, how do you handle mutiple physical locations in this case? | 19:57 |
sarnold | you'd define different availability zones | 19:57 |
Razva | ok, but how can MAAS allocate IPs into a totally different physical location? | 19:58 |
Razva | you need to have vlans between physical locations or...? | 19:58 |
sarnold | I think each availability zone would have its own MAAS configurations; if one is flooded or vaporized or whatever, you wouldn't want services in the others to die as a result | 19:59 |
Razva | aha, so you have more MAAS configs into the same Landscape/Autopilot? | 19:59 |
sarnold | hmmmmm, I wonder, I forgot that autopilot is now integrated into landscape. :/ I wonder if I've been on the wrong foot this whole conversation. (I'm sorry, it'd been ~six months since I last looked into autopilot...) | 20:01 |
sarnold | I wonder if the "new" autopilot still requires brand new machines or if you can use landscape to add existing machines into a cloud.. | 20:02 |
Razva | any idea where should I ask? | 20:04 |
Razva | http://askubuntu.com/questions/708608/playing-with-ubuntu-cloud-on-different-machines-without-vlan | 20:04 |
sarnold | jcastro_: http://askubuntu.com/questions/708608/playing-with-ubuntu-cloud-on-different-machines-without-vlan ^^^ | 20:05 |
Razva | oh, so I can run it in vSphere locally on my "medium-sized i7 PC"? | 20:14 |
jcastro_ | on it | 20:15 |
Razva | yeah, on it | 20:15 |
Razva | just installed vSphere (free) so brb reboot | 20:16 |
sarnold | maybe; I saw int eh virtualized bit that there's a 8gigs memory suggestion/requirement for the machines.. and while that probably doesn't actually mean 40 gigs, it might not run great if you've only got e.g. 16 available .. | 20:16 |
Razva | sarnold I just want to see how it works...that's all... | 20:16 |
jcastro_ | I think these days we can smoosh it onto like three servers | 20:22 |
jcastro_ | zul: heya, is all your lxd/openstack stuff landed somewhere? That might be an interesting option | 20:28 |
jcastro_ | sarnold: wow, you're not going to believe how simple the answer is | 20:32 |
jcastro_ | http://openstack.astokes.org/ | 20:32 |
sarnold | jcastro_: dude. | 20:39 |
geetar | Can someone help me determine why I cannot set up a print server on a ubuntu server? "nmap" from a wireless laptop does not see the open 631 port but "nmap" from the server itself reports that the port is open. | 20:39 |
jcastro_ | sarnold: I know right, dude look at the video: https://www.youtube.com/watch?v=1eUoamVBzFI | 20:40 |
sarnold | geetar: check netstat -lntp, make sure it's bound to a public IP address or * | 20:40 |
jcastro_ | openstack on a nuc | 20:40 |
sarnold | jcastro_: I just watched the w hole thing. insane. | 20:40 |
sarnold | any idea how much RAM's in that? | 20:40 |
nacc | sarnold: quick googling indicate some models have capacity up to 16G, the latest ones seem expandable to 32G | 20:42 |
sarnold | nacc: it feels like a lot to ask of an 8gig machine but 16.. maybe. hehe. :) | 20:43 |
nacc | http://www.intel.com/content/www/us/en/nuc/overview.html | 20:43 |
nacc | sarnold: yeah :) | 20:43 |
nacc | might try that out when I reinstall my 32G box at home | 20:44 |
geetar | sarnold: I guess I am doing it wrong, what do you mean "bound" to a public ip address? | 20:54 |
geetar | sarnold: otherwise I do not understand the output. | 20:55 |
sarnold | geetar: sockets are 'bound' to an <IP,port> pair; that lets you run one webserver locally on 127.0.0.1:80 but a different webserver on 192.168.1.2:80 and a third on 10.0.0.1:80. | 20:57 |
sarnold | geetar: so this is checking if cups is configured to only listen on e.g.127.0.0.1, in which case it won't be visible off the machine, or if it is bound toa specific IP that you're not talking with, or if it is bound to that port on any IP.. | 20:58 |
sarnold | geetar: this lets you know if you need to fix the firewall configuration on a machine or router or if you need to fix the daemon configuration | 20:58 |
geetar | sarnold: ah, so I don't understand the output. The result of "netstat -lntp" on the server is at http://paste.ubuntu.com/13942789/. Note I can ping the server from the laptop. | 21:07 |
sarnold | geetar: on my system cups is listening on 631, it looks like the same for yours, lines 14 and 27 | 21:08 |
geetar | sarnold: Same for mine. So, could it be the router is blocking 631 traffic? | 21:09 |
sarnold | geetar: is your router perhaps forbidding wireless connections from communicating with wired? try connecting to port 22 or port 80 to see if this is unique to this service or computer.. | 21:09 |
sarnold | geetar: are you using iptables or ufw or similar firewall on this system? | 21:10 |
geetar | sarnold: port 80 works, I have a wiki on the server. | 21:11 |
geetar | sarnold: that I can access from wireless. | 21:11 |
geetar | sarnold: I will see if it is iptables or ufw. I was thinking it was the router, but it should not be if I can access the wiki. Thanks for helping me think it through. | 21:13 |
zul | jcastro_, yes we have bundles for them | 21:13 |
sarnold | geetar: it might still be the router.. hehe. lots of fun places for a firewall to live. ;) | 21:13 |
geetar | sarnold: drats. | 21:14 |
jcastro_ | zul: I found the single node installer, I'm good | 21:31 |
jcastro_ | zul: that thing is brilliant btw | 21:31 |
geetar | sarnold: The first problem was the firewall as you suspected. I fixed that and got into the CUPS webpage. Still not printing because no admin access through browser but I think I can fix that. Why did nmap run on the server report that its 631 port was open if it was blocked by its firewall? | 21:35 |
sarnold | geetar: the firewall probably only blocked packets coming into the ethernet cards or leaving via the ethernet cards; when run locally, they go over the lo interface, which is only rarely firewalled | 21:36 |
geetar | sarnold: thanks again | 21:36 |
sarnold | (well, I don't think I've _ever_ seen lo firewalled; it's possible, though. :) | 21:37 |
soahccc | when I install fail2ban does it do something out of the box? I only want it to do something custom not SSH, etc. | 21:51 |
RoyK | soahccc: iirc it does ssh out of the box - but it's easy to configure it to do whatever you want | 21:53 |
patdk-wk | well, it will detect | 21:53 |
patdk-wk | but if it blocks properly, based on whatever firewall your using | 21:53 |
patdk-wk | you might need to adjust it | 21:53 |
soahccc | RoyK: yeah if you know regex :) I'm afraid I ban all requests | 21:54 |
RoyK | soahccc: then learn regex ;) | 21:54 |
RoyK | soahccc: it's not too hard | 21:54 |
RoyK | soahccc: setup a VM first and try a bit before you go in production | 21:55 |
soahccc | RoyK: where is the fun in that ;) nginx + path + status code, can't be that hard | 21:56 |
=== Lcawte|Away is now known as Lcawte | ||
soahccc | I hope fail2ban tails the file after reading it once :S It takes forever to parse my little 4 GB access log | 22:38 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!