=== Ivan___ is now known as jeffreylevesque | ||
=== darkness is now known as Guest12011 | ||
=== peter is now known as Guest66921 | ||
plm | 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? | 01:41 |
---|---|---|
=== arrrghhh is now known as arrrghhhAWAY | ||
=== CripperZ- is now known as cripperz | ||
lordievader | Good morning. | 06:00 |
JernejL_Work | hi everyone | 06:56 |
JernejL_Work | what version of iptables is in latest distro? | 06:56 |
JernejL_Work | actually, in 12.04 | 06:57 |
JernejL_Work | no matter how much i try, i can't get iprables wuth u32 to work to match packets. | 06:58 |
JernejL_Work | it is in cat /proc/net/ip_tables_matches | 06:59 |
JernejL_Work | but it fails to function | 06:59 |
JernejL_Work | it won't even log | 06:59 |
=== Suraya is now known as Kalki | ||
=== Kalki is now known as Kalki- | ||
=== Lcawte|Away is now known as Lcawte | ||
LeMike | 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 | 09:58 |
tinoco | back | 10:05 |
jpds | LeMike: https://wiki.apache.org/httpd/ClientDeniedByServerConfiguration | 10:08 |
jpds | LeMike: https://stackoverflow.com/questions/10351167/apache-client-denied-by-server-configuration | 10:08 |
LeMike | The deny rule blocks everyone no matter in which order. What the heck? o,O Thanks jpds | 10:22 |
=== cripperz is now known as CripperZ- | ||
hxm | how to create a text file from clipboard? | 10:32 |
hxm | without pasting it to a text editor | 10:33 |
LeMike | Try `xsel --clipboard > foo.txt` | 10:35 |
phaidros | how does one restart networking via cli in ubuntu server 14.04? | 11:08 |
phaidros | init.d/script restart doesn't work, as well as service networking restart .. | 11:08 |
phaidros | :/ | 11:08 |
ogra_ | ifdown/ifup ... | 11:10 |
ogra_ | (never ever use the init script ... thats wrong) | 11:11 |
pds|2 | 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:14 |
jpds | pds|2: sudo ifdown -a; sudo ifup -a | 11:15 |
ogra_ | ++ | 11:15 |
pds|2 | that would bring don't the network and reup it again | 11:15 |
ogra_ | right | 11:16 |
jpds | pds|2: Err, sorry that was for phaidros. | 11:16 |
ikonia | if the power has gone but you still have UPS the box will still be running as it was before | 11:16 |
ikonia | so why wouuld you need to do anything ? the box will not see the power drop | 11:16 |
pds|2 | let me rething me question for a while :) | 11:16 |
pds|2 | rethink * | 11:17 |
pds|2 | 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 |
phaidros | ogra_: why is the init script still there if it is for no use? | 11:18 |
phaidros | jpds: that works. | 11:19 |
ogra_ | phaidros, it is of use ... it was never intended for enduser usage ... | 11:19 |
ogra_ | other upstart jobs depends on the signales it sends etc ... | 11:19 |
ogra_ | *depend | 11:19 |
phaidros | ogra_: I used it since ages in debian/ubuntu and it always worked brilliant :D | 11:19 |
ogra_ | 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 |
phaidros | as well as: "service networking restart" is not inteneded for direct use? | 11:20 |
ogra_ | it tears down way more than you want ... on desktops it will kill the UI session because it kills dbus | 11:21 |
phaidros | 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:21 |
ogra_ | sudo ifdown -a; sudo ifup -a | 11:22 |
phaidros | ogra_: ok, thanks. but do you want to elaborate on the difference between ifdown/ifup and "service networking .." a bit more? | 11:23 |
phaidros | 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 |
ogra_ | phaidros, i did above ... killing the networking service will kill a lot more ... dbus, firewall setups etc | 11:24 |
ogra_ | phaidros, nobody noticed it ... | 11:25 |
phaidros | hrhr | 11:25 |
phaidros | 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:25 |
ogra_ | there are no "initscripts" in ubuntu ... its an upstart job ... and yes, it is idnetical | 11:26 |
phaidros | ogra_: thanks | 11:28 |
phaidros | so, I learned something very basic after ~15yrs of debian and later ubuntu .. lol | 11:29 |
ogra_ | heh :) | 11:29 |
phaidros | *shrug* | 11:29 |
ogra_ | i think there are a few askubuntu entries where it was actually corrected ... | 11:30 |
ogra_ | sadly nobody picked up correcting the wiki | 11:30 |
phaidros | after how many years?! :D | 11:30 |
ogra_ | (which might be quite some effort given the many entries with the wrong info) | 11:30 |
ogra_ | it was only noticeed bceaus people were wondering why their desktops crashed when following online instructions btw | 11:31 |
ogra_ | *because | 11:31 |
phaidros | 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:31 |
ogra_ | man resolvconf | 11:32 |
ogra_ | ;) | 11:32 |
phaidros | grrr | 11:32 |
phaidros | :D | 11:32 |
ogra_ | there are snippet files you can add bits to ... and resolvconf can also be managed via /etc/network/interfaces enatries ... (man interfaces ;) ) | 11:33 |
phaidros | yaya, reading already :D | 11:33 |
phaidros | I've got to confess, there went alot of magic into the interfaces config file over the time :) | 11:35 |
phaidros | how much of that is debian/ubuntu specific versus lsb conform? | 11:36 |
ogra_ | yup ... and the switch to systemd will make it all obsolete one day | 11:36 |
ogra_ | /etc/network/interfaces is a debianism i think | 11:36 |
ogra_ | (someone correct me though ... i'm not 100% sure ) | 11:36 |
phaidros | ogra_: systemd it will be definitely? | 11:37 |
phaidros | .. why always Lennart's stuff .. :D | 11:38 |
ogra_ | 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 |
phaidros | ah, jessie has is default then. ooh, I expect upgrade hell :D | 11:38 |
ktosiek | ogra_: it is, RHEL has something in /etc/sysconf.d or whatever it's called | 12:01 |
ogra_ | right | 12:01 |
ktosiek | phaidros: because Lennart is good at selling his stuff (and at least decent at designing it ;-)) | 12:01 |
abhishek__ | suggest me some good books on SAN | 12:04 |
=== henkjan_ is now known as henkjan | ||
=== sync0new is now known as sync0pate | ||
sync0pate | Right.. I have a really weird SSL problem.. | 13:01 |
sync0pate | I have purchased an SSL certificate for the www subdomain, and set it up in apache | 13:02 |
sync0pate | I can connect fine to the www subdomain without SSL | 13:02 |
sync0pate | and I can connect to other subdomains via SSL - but they give me a warning that the certificate is correct | 13:02 |
sync0pate | but when I try to connect to the www subdomain with ssl.. it just times out | 13:02 |
sync0pate | any idea? | 13:02 |
sync0pate | Oh.. never mind.. it's bizarrely started working. | 13:05 |
=== mjohnson151 is now known as mjohnson15 | ||
hallyn | jdstrand: what upgrades were your vm's doing when they got corrupted? p->t, t->u, or just a dist-upgrade? | 13:45 |
=== moonligh- is now known as moonlight | ||
jdstrand | hallyn: just -updates dist-upgrades. lucid-> lucid. precise->precise. trusty->trusty | 13:56 |
=== arrrghhhAWAY is now known as arrrghhh | ||
=== phuh is now known as Sunsetting | ||
=== Pupeno_ is now known as Pupeno | ||
=== Sunsetting is now known as phuh | ||
tinoco | back | 16:12 |
eagles0513875 | 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:14 |
eagles0513875 | anyone around? | 16:17 |
SCHAAP137 | eagles0513875, use the IP-address | 16:19 |
eagles0513875 | SCHAAP137: the problem is rdns is set and i get taken back to my website that i have for that domain | 16:19 |
SCHAAP137 | domain should be irrelevant when u connect on the IP-address | 16:21 |
eagles0513875 | ok | 16:21 |
eagles0513875 | let me try in a private browser window | 16:21 |
eagles0513875 | still end up at the website instead | 16:22 |
SCHAAP137 | run the server on a different port? | 16:22 |
eagles0513875 | cant as i have a bunch of other sites running on it as well | 16:23 |
SCHAAP137 | ah ,ok, then it makes sense | 16:24 |
eagles0513875 | meh i have another domain i can use for testing and i can quickly setup a vhost that isnt a problem | 16:24 |
=== Lcawte is now known as Lcawte|Away | ||
=== Lcawte|Away is now known as Lcawte | ||
=== Lcawte is now known as Lcawte|Away | ||
vmdsch1 | 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:47 |
SCHAAP137 | u upgraded to 14.04 from which version? | 19:49 |
SCHAAP137 | vmdsch1, https://wiki.debian.org/VMBuilder | 19:50 |
SCHAAP137 | there is mention of a version u can grab from git | 19:50 |
SCHAAP137 | u could try building that one | 19:51 |
jeffreylevesque | 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:53 |
PryMar56 | jeffreylevesque, does the script write CGI headers? | 20:54 |
jeffreylevesque | how do i check? | 20:55 |
jeffreylevesque | all i have is #!/usr/bin/python | 20:55 |
jeffreylevesque | then print ('hi') | 20:55 |
PryMar56 | something like : print "Content-type:text/html\n\n"; | 20:56 |
PryMar56 | as seen in a perl CGI | 20:56 |
jeffreylevesque | should i have is #!/usr/bin/python? | 20:57 |
PryMar56 | jeffreylevesque, yes - she-bang line is needed | 20:57 |
jeffreylevesque | 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:57 |
jeffreylevesque | then it prompts me to 'open with', or 'save file' | 20:58 |
PryMar56 | jeffreylevesque, executing a *.py is one thing, you might want *.py to render as text if there are no headers printed | 20:58 |
PryMar56 | jeffreylevesque, if you are in apache2? follow the pattern seen for *.php, *.cgi, *.pl in the /etc/apache2/sites-enabled/ | 21:00 |
jeffreylevesque | how do i get it to render the text, rather than popup | 21:00 |
genii | Are you opening it with something like file:// url or http://localhost url | 21:00 |
jeffreylevesque | yes sir | 21:00 |
jeffreylevesque | i have localhost | 21:00 |
jeffreylevesque | i am opening like '/machine-learning/python/logic_loader.py' | 21:01 |
jeffreylevesque | i am using LAMP in my ubuntu server 14.04 | 21:01 |
jeffreylevesque | so apache2 | 21:01 |
jeffreylevesque | initially i was trying <form action='/machine-learning/python/logic_loader.py' method='get'> | 21:03 |
zermanno | 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:01 |
arrrghhh | zermanno, why not just install the server edition in the server? | 22:03 |
arrrghhh | 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:03 |
zermanno | 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:04 |
zermanno | arrrghhh, if i can avoid moving all the stuff the better | 22:05 |
arrrghhh | 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 |
arrrghhh | 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:05 |
sarnold | zermanno: any ILO or other similar remote console tools available? | 22:06 |
zermanno | sarnold, no:( | 22:06 |
zermanno | 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:07 |
arrrghhh | hmm uuid's may change as well so fstab will probably need tweaking | 22:08 |
arrrghhh | zermanno, sounds like you're trying to make it even more complicated than it already is lol | 22:08 |
zermanno | arrrghhh, yeah but ...why not? | 22:08 |
zermanno | arrrghhh, the uuid is machine dependent? | 22:09 |
arrrghhh | why make it more complicated than it needs to be? | 22:09 |
arrrghhh | is this the Italian way? :P | 22:09 |
arrrghhh | no but the uuid may change... I'm just trying to think of what could blow up with your moving hdd idea | 22:09 |
zermanno | arrrghhh, ahaha no, but, given is not a priority work i was looking to learn something | 22:10 |
zermanno | spend some times now to easy some future similar stuff | 22:10 |
arrrghhh | 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 |
sarnold | zermanno: debootstrap may get you there | 22:10 |
zermanno | i read some old stuff about installing debian this way using debootstrap | 22:11 |
sarnold | zermanno: using kvm with a raw disk may get you there | 22:11 |
zermanno | sarnold, i didn't think about that, ill try thanks | 22:11 |
qman__ | 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 |
qman__ | The uuids that matter are those of the filesystems and won't change | 22:14 |
zermanno | qman, thanks | 22:15 |
=== SJrX is now known as SJr | ||
=== yokel_ is now known as yokel |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!