=== martinst is now known as martins-afk [00:18] pikkaachu: strange my server logs UTC and uptime gives local time [00:19] oops === martins-afk is now known as martinst [00:53] Hello, I'm planning on running the Zabbix Server on my CentOS server, but would like to set my Ubuntu Server as a client so the server gets monitored also. Would this take alot of hardware resources? === markthomas is now known as markthomas|away === zz_DenBeiren is now known as DenBeiren === martinst is now known as martins-afk === martins-afk is now known as martinst === martinst is now known as martins-afk [03:18] if i use NIC (ethernet cards) with kvm in one guest can i use same card on another guest === johnlage is now known as JOHNLAGE === JOHNLAGE is now known as johnlage [03:33] no [03:47] Patrickdk: thanks [03:47] then can i use vlan on that card on guest ? [03:49] heh? [03:49] on guest? [03:49] why bother? [03:49] just attach that nic to a switch on the host os [03:50] then attach the kvm guest nics to that switch or vlan on that switch [03:50] or, just route everything from each guest to the nic [03:50] it's just normal networking basics, nothing fancy [03:51] ok ,thanks [05:43] So I've always configured SSH access with the entirety of a public key. Say in the manner which github has you add a new server to pull / push to a repo ..... and these are what I've pasted into ~/.ssh/authorized_keys [05:44] however with fingerprints ... am I generating that public key from the fingerprint ? [05:45] Hi, good morning. I'm not sure if this'd be the right place to ask, but I'm looking for a good starting point to learn about MySQL running on Ubuntu (specifically running on Ubuntu - not just general MySQL information) [05:48] Draggin, do you run ubuntu as your native OS? [05:48] have you ever SShed into a machine? [05:49] delinquentme: I do. And yes. I've been playing around with Linux for a few years (but I still consider myself very much a newbie) [05:49] It's just that MySQL seems to behave oddly on Ubuntu from what I've seen on other systems. [05:49] im not sure thats been my experience [05:50] im assuming you're taking in installing it? [05:50] taking = talking * [05:51] delinquentme: Firstly, it seems to be installed, but also not... :P Like Akonadi runs fine and claims to have found it, but when I run the command "sudo netstat -tap | grep mysql" as suggested by https://help.ubuntu.com/14.04/serverguide/mysql.html, I see nothing [05:52] What I really want to know, is things like - where does it store the configuration files, the database files,etc. Because there seem to be multiple locations with MySQL stuff in it, and I'm not sure what they all are. [05:52] I'm perfectly happy to read up about it all myself, but I'm not sure which resources to use... [05:53] im not sure what Akonadi is [05:53] delinquentme: Not to worry. Irrelevant really. Point was just that Akonadi finds a DB server and stores it info there [05:53] but typically you'd run maybe 4 - 10 actual commands to update all the prerequisite packages installed and then finally configure and install mysql [05:54] well i'd say see if you can log into the mysql server all on its own -- as whatever root user you configured it with [05:54] Now, I see that MySQL Server Core is installed, but not MySQL Server 5.5 [05:54] and typically you'd be providing applications a localhost:3306 [05:55] Ah, delinquentme - that's one of the issues. I haven't configured it. And this is where it gets confusing for me on Ubuntu. It was just already there after installation and I was never asked for a root password. This is contrary to my experience working with MySQL on other systems before [05:55] so Akonadi, I'd guess would be installing via that url with a login / password you create for it [05:56] yeah if you're looking at a fresh install 90% chance you're going to need to set a root password [05:57] https://help.ubuntu.com/12.04/serverguide/mysql.html [05:57] During the installation process you will be prompted to enter a password for the MySQL root user. [05:58] Right. But that's what I'm saying. Never was. Not during (K)Ubuntu installation. And after OS installation, MySQL just seems to be there already, without ever having asked for a root password [05:59] So now I'm trying to follow the first steps here : https://help.ubuntu.com/community/ApacheMySQLPHP#Set_mysql_root_password [06:00] But - and this is something that I've experienced on Ubuntu machine with MySQL all the time (being that I'm not that well-versed in Linux and MySQL, I probably just don't understand what the real issue is) - whenever I try logging into MySQL from the command line, I get this: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) [06:01] Draggin have you put any sensitive data in the db yet? [06:02] Nope [06:02] This is a completely clean install [06:02] Haven't been able to get to any databases yet :) [06:02] rip it out and reinstall [06:02] Which is what I'm planning on doing, but... [06:03] That's why I'd like to know where exactly what is stored for MySQL in Ubuntu. [06:03] Because there's /etc/mysql [06:04] /var/lib/mysql [06:04] etc. [06:05] So - without having to read the entire MySQL manual - where's a good place to learn about these basics? [06:11] Draggin, http://www.cyberciti.biz/faq/mysql-datadir-files-stored-unix-linux/ [06:22] hi anywya to resize mounted root lvm ext3 partition w/o single user? === liam_ is now known as Guest77493 [08:25] Good morning. === mist_ is now known as mist [09:20] I have a ZFS volume mounted over ISCSI on my Ubuntu 14.04 LTS Server. It is shared over Samba. When smbd is running, it prevents something from shutting down correctly so reboot/shutdown freezes the system. If I stop smbd service before reboot it works fine. Is there any way to have upstart shut down smbd before zfs-share? Any tip? [09:44] hi all, I have a weird issue where I cannot add read permission for other users to files using chmod. Not seen this behaviour before. http://paste.ubuntu.com/9487075/ any ideas? === zz_DenBeiren is now known as DenBeiren [10:32] gdi2k: does "chmod 644 vmlinuz*" do anything? [10:33] tomstorey, thanks, yes, that worked :) [10:34] crazy that +r doesn't [10:35] that may have changed the perms on the symlinks too, which would have removed the execute permissions from them [10:37] so to put them back, use chmod 777 [10:37] although, that gives everyone + dog write permissions, might not be a good thing :) [10:38] tomstorey, it's ok, I used it explicitly on the actual files, not symlinks, so all good I think [10:38] thanks! [10:39] cool :) [10:39] no idea why +r didnt work, im no filesystem guru [10:40] :/ [10:40] beer time, gn! ;) === Lcawte|Away is now known as Lcawte === Lcawte is now known as Lcawte|Away [12:18] I got a problem, I reconfigured the the utf-8 in irssi, and now I can't type öäå (swedish keyboard) neither in irssi nor in the system [12:18] there's no locale file either, (in /etc/default/) [12:28] s [12:38] coreycb, I think we can nail systemd in the first set of kilo uploads [12:38] coreycb, infact we could do it now [12:39] coreycb, http://paste.ubuntu.com/9488650/ [12:39] its pretty easy imho [12:54] coreycb, https://code.launchpad.net/~james-page/cinder/systemd-support/+merge/244574 [12:54] tested on my laptop === martins-afk is now known as martinst [14:12] Can't change language with loadkeys, i get: Couldn't get a file descriptor referring to the console [15:04] Is it possible to create a CNAME record on your local network without having a internal DNS Server? [15:07] how would you modify a dns record without a dns server? [15:08] I don't know, that's why i'm asking :) Can't you add a alias in the host files to let it work on local network? [15:09] that's not at all what you asked [15:09] if you think modifying the local hosts file is a good idea, who are we to stop you? [15:10] johncarper: We might be better able to help you if you describe the problem you are trying to solve, rather than asking if a particular solution is possible. :) [15:12] I just would like to change 192.168.0.x for example to s1.local that's not possible without a internal dns server? [15:12] johncarper: So that (for example) "ssh s1.local" would SSH in to 192.168.0.x? [15:13] yes [15:13] johncarper: on an entire network, you would need DNS for that, unless you can update /etc/hosts on every machine in the lan. [15:14] it is a small network with about 3 pc's, in this case this would be doable just by changing the hosts files? [15:14] and 2 servers [15:16] johncarper: If you're happy maintaining those 5 hosts files then that's viable, yes. [15:17] johncarper: it's not hard to set up dns server with dnsmasq. can even have the server use its /etc/hosts file for information :) [15:19] You could also look at Avahi. [15:19] Though my experience with it is fairly limited. [15:28] ok, thanks === Lcawte|Away is now known as Lcawte [16:13] can I fix an issue like this with puppet-apt module ? SystemError: E:Encountered a section with no Package: header, E:Problem with MergeList [16:23] YamakasY: I'm not sure specifically for puppet, but on a regular system you would purge the package lists in /var/lib/apt/lists. and refresh it with sudo apt-get update [16:32] genii: yap but I have to do 150 hosts or so === martinst is now known as martins-afk [16:37] YamakasY: do you get that error on one server or on 150? [16:38] bekks: to be hones on 45 === martins-afk is now known as martinst === markthomas|away is now known as markthomas === martinst is now known as martins-afk === martins-afk is now known as martinst === martinst is now known as martins-afk === Lcawte is now known as Lcawte|Away === keithzg_ is now known as keithzg === martins-afk is now known as martinst === markthomas is now known as markthomas|away === markthomas|away is now known as markthomas [22:28] hello [22:28] Anyone got idea how badly upgrade from 10.04.4 LTS to current LTS would break Plesk 9 (9.5.4) [22:31] (i fear the answer is horribly) [22:32] Yes, it will break horribly. [22:32] bekks, presumably with no chance of fixing it amirite? [22:33] because plesk isn't exactly fixable once it goes awry (and i hate it, soz ot but have to note my hate) [22:33] Correct. [22:33] on the other hand, running 10.04.4 LTS isn't super smart either [22:34] just now I wanted to do some stuff, I already see sources are acting up, stuff is missing, sigh [22:35] You'll have to update from 10.04 next year in April, since support will end. [22:35] yeah, that's why I am bringing it up [22:36] I'd reinstall 14.04 and I'd not install Plesk. [22:36] because right now I have some time, not that it's exactly spare time, but I'm in the middle of moving to new place, and right now I'm waiting and fixing some backlogged stuff [22:36] bekks: I hate plesk with all my heart, but company production server runs plesk [22:36] so I keep it at home server just to be able to experiment/find solutions before I bring them to production enviroment [22:36] (and trust me there are always issues with plesk) [22:37] I've been using plesk myself. [22:37] my condolences brother :( [22:37] kasad: You could always just turn the current state of your server into a virtual machine, and keep that to play around with. [22:39] yeah been thinking about that, that will take some time, company is in el cheapo mode, I work from home because I have better equipment at home, the downgraded from 4 dedicated servers to 1 vps, money issues. [22:39] and lately i've been having issues with diskspace (especially on my ssd) so I am not sure I have space to put VM on from where it will run at least semi-decently [22:40] but seems that will be the end solution anyway [22:40] "to put VM on"? [22:41] Yeah, it's worth working towards; and hell, VMs are great for that kind of experimentation anyways, since you can just snapshot/revert/repeat for testing. [22:41] hard drive space on my home pc (which is running windows 8.1 - another recent mandatory upgrade) [22:41] yeah keithzg, amen [22:41] * keithzg definitely understands the quandry of the company not having the money to through around, too [22:42] bekks: "to put VM on" - I am talking about my home setup, the only disk where I have space left, where there is currently my old win7 virtualized located [22:42] is running slow as hell (on sandybridge i7-2600k with 16GB Ram) [22:43] but bottleneck is small system SSD [22:43] Then you are doing it wrong :) My VMs run fast here, on a i5-2500 with 16GB RAM. [22:43] * kasad nods at keithzg with understanding, especially if zg stands for Zagreb [22:43] bekko: never had issues before this win7 vm [22:44] So it depends on your vm configuration. [22:44] kasad: heh, nope, it's just my last name (Zubot-Gephart) abbreviated. === ayr_ton is now known as ayr-ton [22:44] which is a bit too large for my ssd, because it includes 2 volumes (I was running out of space on my ssd while I was running win7, so I had to move some folders to another drive with junctions) [22:45] ah, :) [22:45] bekks: you mean like allocated memory, etc? [22:45] kasad: Yeah, storage access speed can really slow things down for VMs, but what are you using to run the VM? I've noticed KVM is *extremely* slow to run Windows VMs (especially without a lot of tweaking), but by contrast VirtualBox is fairly speedy. [22:46] keithzg: noticed same things, but in both direction, some stuff works extremely fast on VirtualBox, other on VMWare [22:46] kasad: I mean the entire vm configuration. [22:46] kasad: Which hypervisor do you use? [22:47] vmware [22:47] 10 [22:47] You mean: "VMware Workstation". [22:47] yes [22:47] There are various other VMware products ;) [22:47] well yeah, was typing with one hand, and gulping coffe :P [22:48] Vmware Workstation 10.0.2 build-1744117 to be precise [22:49] hey guys, i got this situation where im gonna have a few different virtualized server and about 20 or so people accessing them. I would like to do some sort of centralized auth..like ldap. [22:49] also, the vm in question (the one that runs slow is on separate hdd from all the others, and it's virtualized physical machine [22:49] i have a machine installed and have phpldap up and running. [22:49] (ie my pc before I had to mandatory upgrade to win 8.1 >_<) [22:50] kasad, what drivers are you using? [22:50] I had it virtualized and running before upgrade, and in win7 it was working like a charm, unity was working superfast, now it doesn't [22:50] like..if i remember right there is some drivers you install for p2v. [22:50] drivers? [22:50] um, i had a little trouble with virtualization [22:51] ya like kvm uses virtio drivers for network, hd that sort of thing...they are block level drivers. [22:51] so I ended up running some disk to .vdk [22:51] then converted to vmdk [22:51] much faster than the emulated drivers. [22:52] err, not vdk, the other format, gah my brain [22:52] yep thats called p2v... Physical 2 Virtual. [22:52] kasad: vmdk [22:52] no, that couldn't work [22:52] vds? [22:52] I know the other format, in the VirtualBox world, is .vdi [22:52] something older, something that worked in windows virtualpc if I recall correctly, I can't remember really [22:53] ya i dont mess with VMware..well not since i was certifed in it..hahaha... [22:53] kasad: Look it up, we dont know what you are using :) [22:53] that was the only way I found (tried the Virtualbox route too didn't worked) [22:53] then I converted it to vmdk without problems [22:53] The vbox route works fine here. [22:53] and before windows8.1 upgrade vm was running super fine [22:54] So blame it on W8.1 :) [22:54] I do! I blame most of my life on W8.1 [22:54] hmm dont know. I run win 8.1 on kvm. Works well enough to work. Especially with spice enabled [22:54] :D [22:54] grendal_prime: You run W8.1 as a guest, he runs it as a host ;) [22:54] vhd [22:55] yes, I am ashamed :( [22:55] i use it for Testout...lab sim. sound everything works fine....oooooo you use windows as a host? kinda a strange way of doing that. [22:55] but I have cygwin set up and make heavy use of it in my defense :P === martinst is now known as martins-afk [22:55] I had to, beause main project has about 20% of stuff in written in .net, or c# to be precise [22:56] Yeah I've always found Linux as host to work a lot better, although I have two of the programmers at my work set up with VirtualBox on Win8.1 machines and it seems to work fine as a host for them. [22:56] anyone else using phpopenldap for an auth server? [22:56] I begged to rewrite it all to node.js, because it's mostly db communication part [22:57] but boss is adamant about reusing ancient dll's from some previous project, and completely retarded system that is currently in place which is written in c# [22:57] kasad...thats the perfect situation to have a linux host..and serveral windows guests. [22:57] thats what I said [22:57] but no, I was given retail windows [22:57] and told that I have to use it as main os [22:57] ... [22:57] (kill me pls) [22:57] thats to bad. [22:58] Yeah I'm lucky that at my job they care about results, and don't really care as much how I get them. And being the entire IT department gives my argument for running Linux as my main OS some extra weight too, heh. [22:59] yeah you are lucky [22:59] * keithzg is thankful for it every day! [22:59] my boss, who has like 30 years experience programming [23:00] doesn't even allow us to use version control [23:00] ...oh my. [23:00] (we were begging, literally) [23:00] imagine when you beg for at lest subversion [23:00] beause git is "too complicated" and he "doesn't trust them" [23:00] then I found mercurial as middle ground, but still no [23:01] we tried running it among us few devs [23:01] but there's no point [23:01] becaues he with his million folders, copying and hacking away [23:01] always f**** up something [23:02] in 2+ years since project started, we lost code at least 10 times, couple times HUGE ammount of work [23:02] Yikes, I can't imagine life without version control. My boss, also with 30 years of programming experience, *also* refuses to use version control . . . but he isn't insane enough to force that upon everyone else! [23:02] he still thinks Borland C is the shizznit and talks daily about how he misses it [23:03] and he wrote the main js framework, and it was first js anything he wrote in his life (he wasn't writting much code in last 10 years, was too busy driving around in his plane, yacht, speedboat, you name it, even has a ultralight aircraft) [23:04] and he doesn't beleive in naming functions/classes/methods descriptively [23:04] so, for example InitGuiModalWindows becomes Init [23:05] *dialogs [23:06] it's fun, sometimes feels like you are playing roulette, will you catch part of framework that has zero documentation, and then you have basicaly to rewrite, or follow code execution line by line and de-obfuscate his stuff in order to understand wth is going on [23:06] life is good :P [23:06] Ughh. The classic "it worked fine in my day" attitude, when the way it was done back then was because it *had* to be done that way (due to limited resources, etc) [23:07] yeap [23:07] you nailed it [23:07] not that he is bad coder [23:07] he is talented, but messy and stubborn as hell [23:08] anyways, I don't worry too much lately, had some family health issues, and then had to travel from hospital to hospital w/my fiancee [23:09] and then we had to move to new apt (typing from floor now, still didn't assembled my desk) [23:09] and my salary is about month and 10 days late [23:09] and I think there is strong possiblity that we will end our relationship === genii is now known as EbenezerScrooge [23:10] thing is, he is trying to involve his son, with whom I am friends for like 12 years (who used to be the DJ with all the best gear and zillion records who never performed anywhere - that's how we met, I was giving him music production lessons - used to work in music studio) [23:11] and sonny boy contacted me, in the tone that we will be now working together on one part of project, like serious collab. every day [23:11] gave me tons of stuff to do, and beside that asked if there is free solution for something his pops was about to shell around 3 my salaries for) [23:12] so I find free solution, and can't reach him - he never mentioned or made a remark that I should keep everything secret from boss/his pops [23:12] so I called boss to stop him from wasting my 3 salaries when there is perfectly adequave (for this stage) free solution [23:12] and told him not to buy the s/w [23:13] and since then, he kinda started to ignore me, then came family or to be (too much) open fertility issue with my fiancee, therapy she was on didn't work, last try we had on that therapy went poopoo === EbenezerScrooge is now known as genii [23:15] and I went on journey from hospital to hospital, so I am unclear now if I am ever getting my salary, and if they are pissed on me because I did work that son of my boss was supposed to do and he found out, or they just vanished somewhere to chill [23:15] which is also a possiblity (comes along with the airplane and yacht) [23:15] Wow, that is pretty extreme office politics [23:16] but what worries me is that secretary who handles salaries is not returning my calls, and another programmer who is on project longer then me, is acting like he doesn't know anything about why ftp server with latest version is unavailable to me for the last couple weeks (and I know that he is the admin) [23:16] keithzg, yeah, it doesn't smell right at all [23:17] but I still can't beleive that it would be possible for them to get mad at me for that, like it was my fault he was dodging work and using me to finish his assignments, we know each other far too long [23:19] * kasad changes channel name to #Life-Problem-Rants [23:19] haha [23:19] s/problem/problems [23:20] Depending on where you live, they might be opening themselves up to a wrongful termination claim. [23:20] And/or trying to get you to quit yourself so they don't have to worry about it . . . [23:20] i live in worst possible country for that [23:20] so they can screw me whatever way they want [23:21] Damn. [23:21] and NDA was so brutal, and since we were friends for more then a decade I signed it out of goodwill, and there are two things there that are not healthy [23:22] one I can talk about is, it's mostly wording, it should have been changed, but basically it says that not only I can't use any parts of the code/techniques/etc which were developed for Company during my employmeent, but it's worded that way, that it implies that I can't even apply the knowledge i gained from all the research [23:23] and work [23:23] That seems of questionable legality, yeesh. [23:23] now, I am 99.99% sure, that if we terminate business relationship, it won't be an issue [23:23] but small part of me worries [23:24] I think this is an issue which is beyond the scope of asistance that can be had in this channel. [23:25] completely agreed genii [23:25] just ranting since there's no one with some actual issue that asked for help [23:25] plus I am waiting for some stuff to complete, idle hands ... [23:26] apogies if I broke chan rules [23:26] I'll shutup now [23:26] ehh, it's Friday :P [23:28] black Friday here, so much s*** piling up in my life atm that it's not even funny, and yet, I sometimes laugh :P [23:28] kasad: Since it's pretty quiet here right now as far as actual support issues, I did let you go on for a while without giving you an !offtopic warning :) [23:28] I have and ultralight as well..but i would let you use versioning. [23:28] hehehe [23:29] hahaha [23:29] genii :) thanks [23:29] anyone on the ldap server ? [23:30] * keithzg uses openldap, but barely touches it [23:30] not currently, nor recently, but i guess asking couldn't hurt [23:30] so keithzg do you use the php app to manage it? [23:31] Naw, I use Apache Directory Studio to control and edit things, so I probably can't help ya, sadly. [23:31] oh, is it easy to understand? [23:31] Pretty easy, yeah. [23:31] im not sold on any particular server..i just need to set something up. [23:32] how hard was it to set up? === genii is now known as EbenezerScrooge [23:34] for authentication? [23:34] Apache Directory wasn't hard at all to set up, just have to have administrator credentials for logging into your openldap setup. But you do have to have an OpenLDAP server set up and running already at least as a minimum. [23:35] Oh, its just a front end..well i mean there is the apache ldap server hmmm. I just downloaded the turnkey server it seems fairly simple and its up and working, I just, well setting things up to access it seems like a lot of work. [23:36] I have this in my apache playlist so it must have been useful at some point for something (I kinda have the goldfish syndrome) https://www.youtube.com/watch?v=ULmz_YuQ-Is (configuing openldap to authenticate users using apache dir. studio [23:37] I found it *relatively* easy to just install the openldap server and set an administrator account that could be logged in remotely. Then I connected with Apache Directory Studio, and from there added users. [23:37] What OSes/applications are you wanting to be authenticated against LDAP? [23:39] *crickets* [23:40] grendal_prime: ^ === EbenezerScrooge is now known as genii [23:42] someone doesn't use nickname highlighting/alert [23:43] or is driving his ultralight right now :P [23:43] hahah [23:43] i need new cloth for the ultralight. [23:44] can you imagine working on 600k+ lines of code project (not counting precompiled dll's that are overspill from previous projects and are unfortunately still used) without version control, and not even accepting bug tracker, only single google doc, which every dev can edit [23:47] grendal, keithzg asked ya what OSes/apps you want to auth. against LDAP [23:47] grendal_prime that is [23:48] Which I mostly ask because I *have* found it super-simple to get both Linux and Windows desktops to authenticate users based on a simple OpenLDAP server, but there are tons of gotchas and potential complications depending on quite what you want to do and how you want it to act, grendal_prime. [23:49] hey my WS is called Prime, but not after the robo-slposion porn that is transformers, after the alien from Peter F Hamilton's Commontwealth Saga (Pandora's Star and Judas Unchained) [23:49] damn, I wish I could reset my braiNand in order to read those books again [23:51] actually I wish more that I had so much free time that I could read two 600ish page books [23:51] how life learns us to be happy for small things we can't even have... [23:53] s/*/ How life teaches us to be happy about small things that we can't even have [23:53] now that sounds more like English, altho' I'm still unsure [23:53] did just get my dessert bike back up and running though! [23:54] sorry [23:54] phone...umm kasad i dont use version control myself. [23:54] grendal_prime and if you are one person working on project that can be fine [23:54] but if there's 12 [23:55] the only programming i do is php, its pretty much self documenting and i use virtual guests in three stages. dev, beta, production. [23:55] and boss is grabbing fodlers from everyone, merging stuff, overwriting tons of work already done, then depositing archives on ftp (not even sftp server) [23:56] hmm you should open a competing company. [23:56] sounds like you could "efficiency" him out of business. [23:56] I do the almost same (altho I do use at least mercurial if not git), with, well, I call them test, staging and production :P [23:57] yeah, if only I didn't sign that stupid NDA [23:58] note that I am talking about solo projects [23:59] sorrt keithzg to start with i want to set up an openfire server and have it auth against the ldap server [23:59] then i would like to reconfigure the filer to use it as well. I think i can get that to work via webmin. [23:59] !webmin | grendal_prime [23:59] grendal_prime: webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system.