=== Lcawte is now known as Lcawte|Away [01:32] Hi! I'm having issues with MYSQL. [01:33] It's really slow, so i thought i would turn on the slow query log :) [01:33] But when i uncomment the following lines in my.cnf, it just hangs when starting the mysql server. [01:33] Also freezes. [01:33] log_slow_queries = /var/log/mysql/mysql-slow.log [01:33] long_query_time = 1 === FreezingAlt is now known as FreezingCold === zz_DenBeiren is now known as DenBeiren === markthomas is now known as markthomas|away === not_phunyguy is now known as phunyguy === Mr0rris0 is now known as nic778 === ValicekB_ is now known as ValicekB === Lcawte|Away is now known as Lcawte [10:50] is there a tool to clone my production server into a vagrant box? [11:52] my phpinfo shows I have no PDO driver. how can I add them without installing mysql? I got nginx php-fpm [11:53] hadifarnoud: no need the mysql client [11:53] otherwise there is nothing to link against for the pdo access [11:53] ikonia: sudo apt-get install php5-mysql ? [11:54] hadifarnoud: that will be the module [11:54] that should also depend on the mysql client/libs [11:54] that's all I want ikonia. no need for mysql server. [11:54] mysql client libs are fine === bilde2910|away is now known as bilde2910 === e^0 is now known as Guest62239 [14:18] i have setup pci-passthrought with kvm on ubuntu 14.04 ,i am some trouble with configure all nic with pci-passthrogth ,i am only able to add 1 interface (pci-e x1) but other intel interface (pci) not able to do passthrought [14:18] do nic has to be passthroguth capable ? [17:36] I want to copy a large amount of files directly to my server's home directory (*no into another folder and then move it*). How would I do this safely without messing up permissions permanently [17:36] wiehan: depends. [17:37] Walex, maybe I should just to it differently but what would be the best way of creating a writable share on my ubuntu-server [17:39] wiehan: that "writable share" is a bit of a generic thing. You goal depends on what is the source and what is the destination and what method of communication you can setup between the two. [17:40] Walex the source is a hard drive in my desktop which I have tons of multimedia files which I want to send to the ubuntu-server for example with samba, as I selected to already install that on the setup of the server [17:40] wiehan: one possible arrangement that can be descrbied vaguely as "writable share" is to setup NFS on the server exporting the destination directory, provide uid/gid mappings, and then mount the exported direcrtory on the client and copy with 'cp -a' [17:42] wiehan: is the source an NTFS filesystem or a POSIX-style one? Is it on a MS-Windows system or a UNIX-like one? Can you login by SSH or FTP into the Ubuntu server? Do you need to do uid/gid mapping or only preserver "other"-style permissions? [17:42] Walex it is a drive from a linux server [17:43] wiehan: copying "stuff" is easy, but your requirement is "without messing up permissions permanently" which implies preserving permissions and ownerships. [17:44] wiehan: then perhaps the easiest way if you can SSH between source and destination is to use 'rsync -e ssh -i -axHOAX ...' [17:44] wiehan: then perhaps the easiest way if you can SSH between source and destination is to use 'rsync -e ssh -i -axHOAX --numeric-ids ...' [17:46] Walex ty [17:47] wiehan: you don't need the last two "AX" options unless you use SELinux or something that needs extended attributes. [17:48] wiehan: you don't need the last two "AX" options unless you use SELinux or something that needs extended attributes or ACLs. === martinst is now known as martins-afk [19:54] HI I am using ubuntu 14.01. I do not understand the output of this command: dkg --print-foreign-architectures: i386 Thanks [20:06] zartoosh: you mean 14.10 and dpkg? :) [20:06] it helps to be precise when asking questions ;) [20:06] what do you expect to get from the command, and could you pastebin its output? [20:21] Sling, we are using 14.04. Our system is 64 bit, so I do not understand why it says i386 which is 32 bit? thanks [20:22] zartoosh: https://help.ubuntu.com/community/MultiArch [20:22] its so your 64-bit OS can handle 32-bit binaries [20:24] Sling, thanks, one more question what the option "print-foreign-architecture" means? [20:26] Sling, never mind, the answer is in the same page you pointed out. Thank you. [21:45] Hey guys, I was wondering if anyone had a simple suggestion for complete HDD backup/image, maybe as a cron job? [21:45] IMAGE > datetime-name.img in a cron job or something? [21:58] cluelessperson: you would have to do that while nothing is changing your HDD/image, of course (i.e. with the filesystems unmounted) [21:59] unless you have a layer below the block device that can handle this [22:02] JanC: hrm. :/ [22:02] Or use LVM and snapshots. === FreezingAlt is now known as FreezingCold [22:12] I'm trying to logout of ubuntu-server. I get "There are stopped jobs" [22:12] jobs -l shows stopped less /etc/passwd [22:12] What am I supposed to do about this? [22:47] bekks: "LVM" is one example of "a layer below the block device", of course :) [22:48] Nope. It is a layer above the block devices, since it uses block devices as storage backends :) [22:49] it's a layer between block devices (but below the one cluelessperson tried to backup) [22:49] but I'm sure you are aware of that