=== Ivan___ is now known as jeffreylevesque === darkness is now known as Guest12011 === peter is now known as Guest66921 [01:41] just a curious: is possible to have a static ip in a interface eth0 and add a alias eth0:0 where eth0:0 is DHCP? === arrrghhh is now known as arrrghhhAWAY === CripperZ- is now known as cripperz [06:00] Good morning. [06:56] hi everyone [06:56] what version of iptables is in latest distro? [06:57] actually, in 12.04 [06:58] no matter how much i try, i can't get iprables wuth u32 to work to match packets. [06:59] it is in cat /proc/net/ip_tables_matches [06:59] but it fails to function [06:59] it won't even log === Suraya is now known as Kalki === Kalki is now known as Kalki- === Lcawte|Away is now known as Lcawte [09:58] hello. Apache tells me "client denied by server configuration" over and over again but I hardly don't know what is wrong. I checked if the folder is accessible. Apache runs as myuser:mygroup but still naggs me: https://gist.github.com/sourcerer-mike/35e5ed3e0b6eaec71b67 [10:05] back [10:08] LeMike: https://wiki.apache.org/httpd/ClientDeniedByServerConfiguration [10:08] LeMike: https://stackoverflow.com/questions/10351167/apache-client-denied-by-server-configuration [10:22] The deny rule blocks everyone no matter in which order. What the heck? o,O Thanks jpds === cripperz is now known as CripperZ- [10:32] how to create a text file from clipboard? [10:33] without pasting it to a text editor [10:35] Try `xsel --clipboard > foo.txt` [11:08] how does one restart networking via cli in ubuntu server 14.04? [11:08] init.d/script restart doesn't work, as well as service networking restart .. [11:08] :/ [11:10] ifdown/ifup ... [11:11] (never ever use the init script ... thats wrong) [11:14] hi guys, i'm wondering if there is a way to power on lan devices when normal power is lost but the ups still has some juice left [11:15] pds|2: sudo ifdown -a; sudo ifup -a [11:15] ++ [11:15] that would bring don't the network and reup it again [11:16] right [11:16] pds|2: Err, sorry that was for phaidros. [11:16] if the power has gone but you still have UPS the box will still be running as it was before [11:16] so why wouuld you need to do anything ? the box will not see the power drop [11:16] let me rething me question for a while :) [11:17] rethink * [11:18] if a certain device is hooked up with poe (power over ethernet) that comes through a switch, and i want to power on lan it when needed, i was wondering if i can pull the juice out of the ups [11:18] ogra_: why is the init script still there if it is for no use? [11:19] jpds: that works. [11:19] phaidros, it is of use ... it was never intended for enduser usage ... [11:19] other upstart jobs depends on the signales it sends etc ... [11:19] *depend [11:19] ogra_: I used it since ages in debian/ubuntu and it always worked brilliant :D [11:20] phaidros, calling that upstart job is like if you would remove and re-add the engine of your car every time you want to switch gears [11:20] as well as: "service networking restart" is not inteneded for direct use? [11:21] it tears down way more than you want ... on desktops it will kill the UI session because it kills dbus [11:21] ogra_: ic, so what is the correct short command to re-read network/interfaces? "sudo ifdown -a; sudo ifup -a" ?? nearly as intuitive as the initscript, or just "restart networking INTERFACE=eth0" .. [11:22] sudo ifdown -a; sudo ifup -a [11:23] ogra_: ok, thanks. but do you want to elaborate on the difference between ifdown/ifup and "service networking .." a bit more? [11:24] as well as: all the forums and everywhere in the web, the initscript or service command is recommended to do the job .. how can documentation fail that big time :D [11:24] phaidros, i did above ... killing the networking service will kill a lot more ... dbus, firewall setups etc [11:25] phaidros, nobody noticed it ... [11:25] hrhr [11:25] ogra_: just to clearify: initscript and service command trigger the same chain of killing? (dbus, firewall ..) or is there a difference between those as well? [11:26] there are no "initscripts" in ubuntu ... its an upstart job ... and yes, it is idnetical [11:28] ogra_: thanks [11:29] so, I learned something very basic after ~15yrs of debian and later ubuntu .. lol [11:29] heh :) [11:29] *shrug* [11:30] i think there are a few askubuntu entries where it was actually corrected ... [11:30] sadly nobody picked up correcting the wiki [11:30] after how many years?! :D [11:30] (which might be quite some effort given the many entries with the wrong info) [11:31] it was only noticeed bceaus people were wondering why their desktops crashed when following online instructions btw [11:31] *because [11:31] but then I have another basic one: how to deal with /etc/resolv.conf nowadays? it seems resolvconf is installed automatically, and it is not recommended to edit the /etc/resolv.conf file directly. two variants: remove resolvconf package, edit by hand. or, insert nameserver entry in /etc/network/interfaces? (I always did the first unti lnow :D [11:32] man resolvconf [11:32] ;) [11:32] grrr [11:32] :D [11:33] there are snippet files you can add bits to ... and resolvconf can also be managed via /etc/network/interfaces enatries ... (man interfaces ;) ) [11:33] yaya, reading already :D [11:35] I've got to confess, there went alot of magic into the interfaces config file over the time :) [11:36] how much of that is debian/ubuntu specific versus lsb conform? [11:36] yup ... and the switch to systemd will make it all obsolete one day [11:36] /etc/network/interfaces is a debianism i think [11:36] (someone correct me though ... i'm not 100% sure ) [11:37] ogra_: systemd it will be definitely? [11:38] .. why always Lennart's stuff .. :D [11:38] debian already switched ... and ubuntu doesnt have the resources to patch each and every init job in the archive ... so we have to follow suit and use debians default [11:38] ah, jessie has is default then. ooh, I expect upgrade hell :D [12:01] ogra_: it is, RHEL has something in /etc/sysconf.d or whatever it's called [12:01] right [12:01] phaidros: because Lennart is good at selling his stuff (and at least decent at designing it ;-)) [12:04] suggest me some good books on SAN === henkjan_ is now known as henkjan === sync0new is now known as sync0pate [13:01] Right.. I have a really weird SSL problem.. [13:02] I have purchased an SSL certificate for the www subdomain, and set it up in apache [13:02] I can connect fine to the www subdomain without SSL [13:02] and I can connect to other subdomains via SSL - but they give me a warning that the certificate is correct [13:02] but when I try to connect to the www subdomain with ssl.. it just times out [13:02] any idea? [13:05] Oh.. never mind.. it's bizarrely started working. === mjohnson151 is now known as mjohnson15 [13:45] jdstrand: what upgrades were your vm's doing when they got corrupted? p->t, t->u, or just a dist-upgrade? === moonligh- is now known as moonlight [13:56] hallyn: just -updates dist-upgrades. lucid-> lucid. precise->precise. trusty->trusty === arrrghhhAWAY is now known as arrrghhh === phuh is now known as Sunsetting === Pupeno_ is now known as Pupeno === Sunsetting is now known as phuh [16:12] back [16:14] hey guys i want to access a site on my server which at the moment doesnt have a domain name associated with it just yet to test out the functionality of the site as this came from another hosting provider im using one of my domains which points to the server and doing ~ to get a listing but it is not working any ideas what im doing wrong? she the domain not be associated with a vhost already? [16:17] anyone around? [16:19] eagles0513875, use the IP-address [16:19] SCHAAP137: the problem is rdns is set and i get taken back to my website that i have for that domain [16:21] domain should be irrelevant when u connect on the IP-address [16:21] ok [16:21] let me try in a private browser window [16:22] still end up at the website instead [16:22] run the server on a different port? [16:23] cant as i have a bunch of other sites running on it as well [16:24] ah ,ok, then it makes sense [16:24] meh i have another domain i can use for testing and i can quickly setup a vhost that isnt a problem === Lcawte is now known as Lcawte|Away === Lcawte|Away is now known as Lcawte === Lcawte is now known as Lcawte|Away [19:47] I made the mistake of upgrading to Ubuntu 14.04.01 LTS ... only to find Canonical's vmbuilder is dysfunctional ... and gone! So, I've scrambled all over looking for a replacement. I'm thinking the best of the bunch just now is libguestfs project's virt-builder/virt-syspre/virt-install. I sort of wish HashiCorp's (of Vagrant fame) packer (see http://packer.io) was about a year further along. Bummer. Does anyone know of anything better? It woul [19:49] u upgraded to 14.04 from which version? [19:50] vmdsch1, https://wiki.debian.org/VMBuilder [19:50] there is mention of a version u can grab from git [19:51] u could try building that one [20:53] when I open a basic python script in a browser (i have ubuntu-server with Gnome GUI) it doesn't serve the page, instead it pops up a dialog asking if i want to open the python script [20:54] jeffreylevesque, does the script write CGI headers? [20:55] how do i check? [20:55] all i have is #!/usr/bin/python [20:55] then print ('hi') [20:56] something like : print "Content-type:text/html\n\n"; [20:56] as seen in a perl CGI [20:57] should i have is #!/usr/bin/python? [20:57] jeffreylevesque, yes - she-bang line is needed [20:57] if i goto the browser and try to visit the page, it doesn't render in the browser. Instead, i get a popup "You have chosen to open: logic_loader.py' [20:58] then it prompts me to 'open with', or 'save file' [20:58] jeffreylevesque, executing a *.py is one thing, you might want *.py to render as text if there are no headers printed [21:00] jeffreylevesque, if you are in apache2? follow the pattern seen for *.php, *.cgi, *.pl in the /etc/apache2/sites-enabled/ [21:00] how do i get it to render the text, rather than popup [21:00] Are you opening it with something like file:// url or http://localhost url [21:00] yes sir [21:00] i have localhost [21:01] i am opening like '/machine-learning/python/logic_loader.py' [21:01] i am using LAMP in my ubuntu server 14.04 [21:01] so apache2 [21:03] initially i was trying
[22:01] Hi, is it possible to install ubuntu server from the desktop version into a secondary hard drive? The idea is to then move the hd from the desktop to the server and boot it. [22:03] zermanno, why not just install the server edition in the server? [22:03] or install the server edition on the 2nd hdd and move the 2nd hdd to the server... I'm not sure how or why the desktop version would be involved at all [22:04] arrrghhh, the server machine has not monitor nor keyboard, it is not in a place where it is easy to plug both or move the server. The only easy and simple thing that i can do is plugging hard drives [22:05] arrrghhh, if i can avoid moving all the stuff the better [22:05] zermanno, ya I would just install server edition fresh to the hdd going into the server, and before booting it move it to the server. should be fine... [22:05] Although I've never attempted that, I think it should work. May need to do some trickery with the networking, but hopefully not much... [22:06] zermanno: any ILO or other similar remote console tools available? [22:06] sarnold, no:( [22:07] arrrghhh, i thought about that but i am curious if i can install ubuntu on a hd without booting the install drive, i mean from the ubuntu dekstop, without rebooting [22:08] hmm uuid's may change as well so fstab will probably need tweaking [22:08] zermanno, sounds like you're trying to make it even more complicated than it already is lol [22:08] arrrghhh, yeah but ...why not? [22:09] arrrghhh, the uuid is machine dependent? [22:09] why make it more complicated than it needs to be? [22:09] is this the Italian way? :P [22:09] no but the uuid may change... I'm just trying to think of what could blow up with your moving hdd idea [22:10] arrrghhh, ahaha no, but, given is not a priority work i was looking to learn something [22:10] spend some times now to easy some future similar stuff [22:10] zermanno, ah I see. Well, I will bow out and see if someone else has any suggestions. I've never tried to do such a thing tho. [22:10] zermanno: debootstrap may get you there [22:11] i read some old stuff about installing debian this way using debootstrap [22:11] zermanno: using kvm with a raw disk may get you there [22:11] sarnold, i didn't think about that, ill try thanks [22:14] You can simply install to a drive, then install it in the server; to make the NIC be eth0 and work out of the box, rm /etc/udev/rules.d/70-persistent-net.rules before booting on new hardware [22:14] The uuids that matter are those of the filesystems and won't change [22:15] qman, thanks === SJrX is now known as SJr === yokel_ is now known as yokel