/srv/irclogs.ubuntu.com/2015/02/14/#ubuntu-server.txt

=== Lcawte is now known as Lcawte|Away
halvorsHi! I'm having issues with MYSQL.01:32
halvorsIt's really slow, so i thought i would turn on the slow query log :)01:33
halvorsBut when i uncomment the following lines in my.cnf, it just hangs when starting the mysql server.01:33
halvorsAlso freezes.01:33
halvorslog_slow_queries        = /var/log/mysql/mysql-slow.log01:33
halvorslong_query_time         = 101:33
=== 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
hadifarnoudis there a tool to clone my production server into a vagrant box?10:50
hadifarnoudmy phpinfo shows I have no PDO driver. how can I add them without installing mysql? I got nginx php-fpm11:52
ikoniahadifarnoud: no need the mysql client11:53
ikoniaotherwise there is nothing to link against for the pdo access11:53
hadifarnoudikonia: sudo apt-get install php5-mysql ?11:53
ikoniahadifarnoud: that will be the module11:54
ikoniathat should also depend on the mysql client/libs11:54
hadifarnoudthat's all I want ikonia. no need for mysql server.11:54
hadifarnoudmysql client libs are fine11:54
=== bilde2910|away is now known as bilde2910
=== e^0 is now known as Guest62239
samba35i 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 passthrought14:18
samba35do nic has to be passthroguth capable ?14:18
wiehanI 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 permanently17:36
Walexwiehan: depends.17:36
wiehanWalex, maybe I should just to it differently but what would be the best way of creating a writable share on my ubuntu-server17:37
Walexwiehan: 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:39
wiehanWalex 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 server17:40
Walexwiehan: 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:40
Walexwiehan: 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
wiehanWalex it is a drive from a linux server17:42
Walexwiehan: copying "stuff" is easy, but your requirement is "without messing up permissions permanently" which implies preserving permissions and ownerships.17:43
Walexwiehan: then perhaps the easiest way if you can SSH between source and destination is to use 'rsync -e ssh -i -axHOAX ...'17:44
Walexwiehan: then perhaps the easiest way if you can SSH between source and destination is to use 'rsync -e ssh -i -axHOAX --numeric-ids ...'17:44
wiehanWalex ty17:46
Walexwiehan: you don't need the last two "AX" options unless you use SELinux or something that needs extended attributes.17:47
Walexwiehan: you don't need the last two "AX" options unless you use SELinux or something that needs extended attributes or ACLs.17:48
=== martinst is now known as martins-afk
zartooshHI I am using ubuntu 14.01.  I do not understand the output of this command: dkg --print-foreign-architectures: i386     Thanks19:54
Slingzartoosh: you mean 14.10 and dpkg? :)20:06
Slingit helps to be precise when asking questions ;)20:06
Slingwhat do you expect to get from the command, and could you pastebin its output?20:06
zartooshSling,  we are using 14.04. Our system is 64 bit, so I do not understand why it says i386 which is 32 bit? thanks20:21
Slingzartoosh: https://help.ubuntu.com/community/MultiArch20:22
Slingits so your 64-bit OS can handle 32-bit binaries20:22
zartooshSling, thanks, one more question what the option "print-foreign-architecture" means?20:24
zartooshSling, never mind, the answer  is in the same page you pointed out. Thank you.20:26
cluelesspersonHey guys, I was wondering if anyone had a simple suggestion for complete HDD backup/image, maybe as a cron job?21:45
cluelesspersonIMAGE > datetime-name.img   in a cron job or something?21:45
JanCcluelessperson: you would have to do that while nothing is changing your HDD/image, of course (i.e. with the filesystems unmounted)21:58
JanCunless you have a layer below the block device that can handle this21:59
cluelesspersonJanC: hrm. :/22:02
bekksOr use LVM and snapshots.22:02
=== FreezingAlt is now known as FreezingCold
cluelesspersonI'm trying to logout of ubuntu-server.  I get "There are stopped jobs"22:12
cluelesspersonjobs -l   shows   stopped  less /etc/passwd22:12
cluelesspersonWhat am I supposed to do about this?22:12
JanCbekks: "LVM" is one example of "a layer below the block device", of course  :)22:47
bekksNope. It is a layer above the block devices, since it uses block devices as storage backends :)22:48
JanCit's a layer between block devices (but below the one cluelessperson tried to backup)22:49
JanCbut I'm sure you are aware of that22:49

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!