[01:32] <halvors> Hi! I'm having issues with MYSQL.
[01:33] <halvors> It's really slow, so i thought i would turn on the slow query log :)
[01:33] <halvors> But when i uncomment the following lines in my.cnf, it just hangs when starting the mysql server.
[01:33] <halvors> Also freezes.
[01:33] <halvors> log_slow_queries        = /var/log/mysql/mysql-slow.log
[01:33] <halvors> long_query_time         = 1
[10:50] <hadifarnoud> is there a tool to clone my production server into a vagrant box?
[11:52] <hadifarnoud> my phpinfo shows I have no PDO driver. how can I add them without installing mysql? I got nginx php-fpm
[11:53] <ikonia> hadifarnoud: no need the mysql client
[11:53] <ikonia> otherwise there is nothing to link against for the pdo access
[11:53] <hadifarnoud> ikonia: sudo apt-get install php5-mysql ?
[11:54] <ikonia> hadifarnoud: that will be the module
[11:54] <ikonia> that should also depend on the mysql client/libs
[11:54] <hadifarnoud> that's all I want ikonia. no need for mysql server.
[11:54] <hadifarnoud> mysql client libs are fine
[14:18] <samba35> 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] <samba35> do nic has to be passthroguth capable ?
[17:36] <wiehan> 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] <Walex> wiehan: depends.
[17:37] <wiehan> 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] <Walex> 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] <wiehan> 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] <Walex> 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] <Walex> 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] <wiehan> Walex it is a drive from a linux server
[17:43] <Walex> wiehan: copying "stuff" is easy, but your requirement is "without messing up permissions permanently" which implies preserving permissions and ownerships.
[17:44] <Walex> wiehan: then perhaps the easiest way if you can SSH between source and destination is to use 'rsync -e ssh -i -axHOAX ...'
[17:44] <Walex> 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] <wiehan> Walex ty
[17:47] <Walex> wiehan: you don't need the last two "AX" options unless you use SELinux or something that needs extended attributes.
[17:48] <Walex> wiehan: you don't need the last two "AX" options unless you use SELinux or something that needs extended attributes or ACLs.
[19:54] <zartoosh> HI I am using ubuntu 14.01.  I do not understand the output of this command: dkg --print-foreign-architectures: i386     Thanks
[20:06] <Sling> zartoosh: you mean 14.10 and dpkg? :)
[20:06] <Sling> it helps to be precise when asking questions ;)
[20:06] <Sling> what do you expect to get from the command, and could you pastebin its output?
[20:21] <zartoosh> 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] <Sling> zartoosh: https://help.ubuntu.com/community/MultiArch
[20:22] <Sling> its so your 64-bit OS can handle 32-bit binaries
[20:24] <zartoosh> Sling, thanks, one more question what the option "print-foreign-architecture" means?
[20:26] <zartoosh> Sling, never mind, the answer  is in the same page you pointed out. Thank you.
[21:45] <cluelessperson> Hey guys, I was wondering if anyone had a simple suggestion for complete HDD backup/image, maybe as a cron job?
[21:45] <cluelessperson> IMAGE > datetime-name.img   in a cron job or something?
[21:58] <JanC> cluelessperson: you would have to do that while nothing is changing your HDD/image, of course (i.e. with the filesystems unmounted)
[21:59] <JanC> unless you have a layer below the block device that can handle this
[22:02] <cluelessperson> JanC: hrm. :/
[22:02] <bekks> Or use LVM and snapshots.
[22:12] <cluelessperson> I'm trying to logout of ubuntu-server.  I get "There are stopped jobs"
[22:12] <cluelessperson> jobs -l   shows   stopped  less /etc/passwd
[22:12] <cluelessperson> What am I supposed to do about this?
[22:47] <JanC> bekks: "LVM" is one example of "a layer below the block device", of course  :)
[22:48] <bekks> Nope. It is a layer above the block devices, since it uses block devices as storage backends :)
[22:49] <JanC> it's a layer between block devices (but below the one cluelessperson tried to backup)
[22:49] <JanC> but I'm sure you are aware of that