RealTechTalk (RTT) - Linux/Server Administration/Related

We have years of knowledge with technology, especially in the IT (Information Technology) industry. 

realtechtalk.com will always have fresh and useful information on a variety of subjects from Graphic Design, Server Administration, Web  Hosting Industry and much more.

This site will specialize in unique topics and problems faced by web hosts, Unix/Linux administrators, web developers, computer technicians, hardware, networking, scripting, web design and much more. The aim of this site is to explain common problems and solutions in a simple way. Forums are ineffective because they have a lot of talk, but it's hard to find the answer you're looking for, and as we know, the answer is usually not there. No one has time to scour the net for forums and read pages of irrelevant information on different forums/threads. RTT just gives you what you're looking for.

  • Migrate Centos 7 from Single HDD to mdadm RAID 10 array:




    3 arrays:
    md0  = /boot ext4
    *(note md0 this must be --level 1 and --metadata=0.90 or it will not boot/work)
    md1 = swap
    md2 = / ext4

    all mounted in /mnt/


    #install grub2-tools so we can install it
    yum -y install grub2-tools grub2-efi-modules

    lack of efi modules gives the following error (if you didn't install the above): grub2-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist. Please specify --target or --directory.


    mkswap /dev/md1
    Setting up swapspace version 1, size = 31440892 KiB
    no label, UUID=a30ab8dd-f462-4dab-940d-6658bcae4395

    get the UUIDs of each array:

    blkid /dev/md0
    blkid /dev/md1
    blkid /dev/md2

    /dev/md0: UUID="5b51dbfb-f361-48c3-bfdf-5da171e4577c" TYPE="ext4"
    /dev/md1: UUID="a30ab8dd-f462-4dab-940d-6658bcae4395" TYPE="swap"
    /dev/md2: UUID="8f411f86-3816-409b-b291-ebe1a7a170ef" TYPE="ext4"

    mount /dev/md0 /mnt/md0
    rsync -Pha /boot/ /mnt/md0/
    mount /dev/md2 /mnt/md2
    #we need to virtually mount the md0 boot in the root of md2/boot so we can configure everything properly for grub/boot


    rsync -Pha --exclude="/boot/*" --exclude="/sys/*" --exclude=/proc/* --exclude=/mnt/* / /mnt/md2

    mount -o loop /mnt/md0 /mnt/md2/boot

    Change /mnt/md2 to your mounted root /

    mount=/mnt/md2
    for bind in dev sys proc; do
    mount -o bind /$bind /$mount/$bind
    done

     chroot /mnt/md2

    mdadm --detail --scan > /etc/mdadm.conf
    
    dracut --mdadmconf --fstab --add="mdraid" --filesystems "xfs ext4 ext3 tmpfs devpts sysfs proc" --add-drivers="raid1 raid10" --force 

    Install grub2:

    [root@localhost ~]# grub2-install /dev/sdb1
    Installing for x86_64-efi platform.
    Installation finished. No error reported.
    [root@localhost ~]# grub2-install /dev/sdc1
     

    Update initramfs + grub

    grub2-mkconfig

    #something went wrong as it doesn't boot


  • How to change reserved blocks in Linux partition


    user@box:~$ sudo tune2fs -l /dev/md99
    [sudo] password for user:
    tune2fs 1.42.9 (4-Feb-2014)
    Filesystem volume name:   <nuser>
    Last mounted on:          /mnt/md50
    Filesystem UUID:          976a8655-2619-4587-878c-dab07f7b7652
    Filesystem magic number:  0xEF53
    Filesystem revision #:    1 (dynamic)
    Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent flex_bg sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
    Filesystem flags:         signed_directory_hash
    Default mount options:    user_xattr acl
    Filesystem state:         clean
    Errors behavior:          Continue
    Filesystem OS type:       Linux
    Inode count:              244187136
    Block count:              1953473536
    Reserved block count:     97673676
    Free blocks:              665750586
    Free inodes:              213815139
    First block:              0
    Block size:               4096
    Fragment size:            4096
    Reserved GDT blocks:      558
    Blocks per group:         32768
    Fragments per group:      32768
    Inodes per group:         4096
    Inode blocks per group:   256
    RAID stride:              128
    RAID stripe width:        1048320
    Flex block group size:    16
    Filesystem created:       Wed Dec 28 16:17:14 2016
    Last mount time:          Fri Jun 23 12:48:18 2017
    Last write time:          Fri Jun 23 12:48:18 2017
    Mount count:              22
    Maximum mount count:      -1
    Last checked:             Wed Dec 28 16:17:14 2016
    Check interval:           0 (<nuser>)
    Lifetime writes:          1565 GB
    Reserved blocks uid:      0 (user root)
    Reserved blocks gid:      0 (group root)
    First inode:              11
    Inode size:              256
    Required extra isize:     28
    Desired extra isize:      28
    Journal inode:            8
    Default directory hash:   half_md4
    Directory Hash Seed:      2474f801-44c2-4fe1-8809-34759b56a2fb
    Journal backup:           inode blocks

    user@box:~$ sudo tune2fs -l /dev/md99|grep -i reserved
    Reserved block count:     97673676
    Reserved GDT blocks:      558
    Reserved blocks uid:      0 (user root)
    Reserved blocks gid:      0 (group root)

    Solution change to 2% reserved blocks instead of 5%

    The -m2 means 2% change that to the percentage you want.

    sudo tune2fs -m2 /dev/md99
    tune2fs 1.42.9 (4-Feb-2014)
    Setting reserved blocks percentage to 2% (39069470 blocks)


     


  • Reading package lists... Done W: GPG error: http://ppa.launchpad.net trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D46F45428842CE5E


    Still looking for the solution


  • Centos 7 A start job is running for dev-mapper-clx2droot.device (8min 44s / no limit)


    This error is usually because of some sort of encryption in this case a Seagate enclosure with encryption (even though not enabled) did not allow this hard drive to boot.


  • USB 3.0 External HDD Enclosure Seagate UAS problems - [sdd] tag#1 CDB: Write(16) 8a 00 00 00 00 01 70 04 08 68 00 00 00 08 00 00


     

    This is a 8TB Seagate external USB 3.0 device apparently newer kernels use a module called "UAS" instead of "USB Storage" which causes issues as a lot of devices are not properly supported in UAS mode by the kernel driver.  The solution some say is to disable UAS specifically for your USB device but I'd rather just disable UAS altogether.

     
    Solution blacklist UAS: *do not do this it does not work and just causes your USB 3.0 device to stop working!

    sudo vi /etc/modprobe.d/blacklist.conf

    blacklist uas

     Then reboot

    Real Solution:

    lsusb

    Bus 004 Device 003: ID 0bc2:ab38 Seagate RSS LLC
    Bus 004 Device 002: ID 0bc2:ab45 Seagate RSS LLC

    echo options usb-storage quirks=0bc2:ab38:u | sudo tee /etc/modprobe.d/blacklist_uas00.conf
    echo options usb-storage quirks=0bc2:ab45:u | sudo tee /etc/modprobe.d/blacklist_uas01.conf

    sudo update-initramfs -u

    Error example:

    [107277.010389] INFO: task jbd2/md99-8:5142 blocked for more than 120 seconds.
    [107277.010406]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [107277.010411] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [107277.010417] jbd2/md99-8     D ffff880f594b3ae8     0  5142      2 0x00000000
    [107277.010429]  ffff880f594b3ae8 ffff8810084a3300 ffff881008655940 ffff880f594b4000
    [107277.010437]  0000000000000000 7fffffffffffffff ffff88102fff0c68 ffffffff81804cc0
    [107277.010444]  ffff880f594b3b00 ffffffff81804585 ffff88102fc96e00 ffff880f594b3ba8
    [107277.010451] Call Trace:
    [107277.010471]  [] ? bit_wait+0x50/0x50
    [107277.010480]  [] schedule+0x35/0x80
    [107277.010489]  [] schedule_timeout+0x237/0x2d0
    [107277.010497]  [] ? md_make_request+0xec/0x240
    [107277.010508]  [] ? ktime_get+0x3c/0xb0
    [107277.010514]  [] ? bit_wait+0x50/0x50
    [107277.010521]  [] io_schedule_timeout+0xa6/0x110
    [107277.010528]  [] bit_wait_io+0x1b/0x60
    [107277.010535]  [] __wait_on_bit+0x60/0x90
    [107277.010541]  [] ? bit_wait+0x50/0x50
    [107277.010548]  [] out_of_line_wait_on_bit+0x72/0x80
    [107277.010558]  [] ? autoremove_wake_function+0x40/0x40
    [107277.010568]  [] __wait_on_buffer+0x32/0x40
    [107277.010577]  [] jbd2_journal_commit_transaction+0x1702/0x1970
    [107277.010586]  [] kjournald2+0xbb/0x230
    [107277.010593]  [] ? prepare_to_wait_event+0xf0/0xf0
    [107277.010599]  [] ? commit_timeout+0x10/0x10
    [107277.010607]  [] kthread+0xc9/0xe0
    [107277.010613]  [] ? kthread_park+0x60/0x60
    [107277.010620]  [] ret_from_fork+0x3f/0x70
    [107277.010626]  [] ? kthread_park+0x60/0x60
    [107996.987561] INFO: task jbd2/md99-8:5142 blocked for more than 120 seconds.
    [107996.987575]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [107996.987579] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [107996.987584] jbd2/md99-8     D ffff880f594b3ae8     0  5142      2 0x00000000
    [107996.987594]  ffff880f594b3ae8 ffff88100989cc80 ffff881008655940 ffff880f594b4000
    [107996.987601]  0000000000000000 7fffffffffffffff ffff88102ffef4e0 ffffffff81804cc0
    [107996.987606]  ffff880f594b3b00 ffffffff81804585 ffff88102fc16e00 ffff880f594b3ba8
    [107996.987611] Call Trace:
    [107996.987629]  [] ? bit_wait+0x50/0x50
    [107996.987636]  [] schedule+0x35/0x80
    [107996.987644]  [] schedule_timeout+0x237/0x2d0
    [107996.987651]  [] ? md_make_request+0xec/0x240
    [107996.987660]  [] ? ktime_get+0x3c/0xb0
    [107996.987665]  [] ? bit_wait+0x50/0x50
    [107996.987670]  [] io_schedule_timeout+0xa6/0x110
    [107996.987676]  [] bit_wait_io+0x1b/0x60
    [107996.987681]  [] __wait_on_bit+0x60/0x90
    [107996.987686]  [] ? bit_wait+0x50/0x50
    [107996.987692]  [] out_of_line_wait_on_bit+0x72/0x80
    [107996.987700]  [] ? autoremove_wake_function+0x40/0x40
    [107996.987709]  [] __wait_on_buffer+0x32/0x40
    [107996.987716]  [] jbd2_journal_commit_transaction+0x1702/0x1970
    [107996.987724]  [] kjournald2+0xbb/0x230
    [107996.987730]  [] ? prepare_to_wait_event+0xf0/0xf0
    [107996.987734]  [] ? commit_timeout+0x10/0x10
    [107996.987741]  [] kthread+0xc9/0xe0
    [107996.987746]  [] ? kthread_park+0x60/0x60
    [107996.987752]  [] ret_from_fork+0x3f/0x70
    [107996.987756]  [] ? kthread_park+0x60/0x60
    [121425.085756] sd 11:0:0:0: [sdd] tag#27 uas_eh_abort_handler 0 uas-tag 28 inflight: CMD OUT
    [121425.085774] sd 11:0:0:0: [sdd] tag#27 CDB: Write(16) 8a 00 00 00 00 03 41 02 9d 88 00 00 00 18 00 00
    [121425.086060] sd 11:0:0:0: [sdd] tag#20 uas_eh_abort_handler 0 uas-tag 21 inflight: CMD OUT
    [121425.086069] sd 11:0:0:0: [sdd] tag#20 CDB: Write(16) 8a 00 00 00 00 03 40 c2 9c 00 00 00 00 08 00 00
    [121425.086336] sd 11:0:0:0: [sdd] tag#19 uas_eh_abort_handler 0 uas-tag 20 inflight: CMD OUT
    [121425.086343] sd 11:0:0:0: [sdd] tag#19 CDB: Write(16) 8a 00 00 00 00 03 40 a2 9c 10 00 00 00 10 00 00
    [121436.561626] INFO: task kworker/u33:3:32394 blocked for more than 120 seconds.
    [121436.561641]       Tainted: P           OE   4.4.0-64-generic #85~14.04.1-Ubuntu
    [121436.561645] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [121436.561650] kworker/u33:3   D ffff8806fbd677c8     0 32394      2 0x00000000
    [121436.561669] Workqueue: writeback wb_workfn (flush-9:99)
    [121436.561675]  ffff8806fbd677c8 ffffffff81e13500 ffff880586b62640 ffff8806fbd68000
    [121436.561681]  ffff88080820f8ec ffff880586b62640 00000000ffffffff ffff88080820f8f0
    [121436.561686]  ffff8806fbd677e0 ffffffff81804585 ffff88080820f8e8 ffff8806fbd677f0
    [121436.561692] Call Trace:
    [121436.561706]  [] schedule+0x35/0x80
    [121436.561714]  [] schedule_preempt_disabled+0xe/0x10
    [121436.561721]  [] __mutex_lock_slowpath+0x95/0x110
    [121436.561734]  [] ? __make_request+0x92b/0xcc0 [raid10]
    [121436.561740]  [] mutex_lock+0x1f/0x2f
    [121436.561747]  [] __jbd2_log_wait_for_space+0xc3/0x1e0
    [121436.561753]  [] add_transaction_credits+0x282/0x2a0
    [121436.561760]  [] ? make_request+0x7e/0x110 [raid10]
    [121436.561765]  [] start_this_handle+0x17b/0x3e0
    [121436.561772]  [] ? kmem_cache_alloc+0x1e2/0x200
    [121436.561776]  [] ? jbd2__journal_start+0x87/0x1f0
    [121436.561781]  [] jbd2__journal_start+0xe9/0x1f0
    [121436.561787]  [] ? ext4_writepages+0x41d/0xcd0
    [121436.561794]  [] __ext4_journal_start_sb+0x6d/0xf0
    [121436.561798]  [] ext4_writepages+0x41d/0xcd0
    [121436.561807]  [] do_writepages+0x1e/0x30
    [121436.561811]  [] __writeback_single_inode+0x45/0x340
    [121436.561817]  [] writeback_sb_inodes+0x26b/0x5c0
    [121436.561822]  [] __writeback_inodes_wb+0x86/0xc0
    [121436.561827]  [] wb_writeback+0x252/0x2e0
    [121436.561832]  [] wb_workfn+0x238/0x3d0
    [121436.561841]  [] process_one_work+0x150/0x3f0
    [121436.561847]  [] worker_thread+0x11a/0x470
    [121436.561853]  [] ? rescuer_thread+0x310/0x310
    [121436.561859]  [] kthread+0xc9/0xe0
    [121436.561864]  [] ? kthread_park+0x60/0x60
    [121436.561869]  [] ret_from_fork+0x3f/0x70
    [121436.561874]  [] ? kthread_park+0x60/0x60
    [121455.076853] sd 11:0:0:0: [sdd] tag#21 uas_eh_abort_handler 0 uas-tag 22 inflight: CMD OUT
    [121455.076870] sd 11:0:0:0: [sdd] tag#21 CDB: Write(16) 8a 00 00 00 00 03 41 a2 9e 50 00 00 00 08 00 00
    [121455.077158] scsi host11: uas_eh_bus_reset_handler start
    [121455.093345] sd 11:0:0:0: [sdd] tag#0 uas_zap_pending 0 uas-tag 1 inflight: CMD
    [121455.093357] sd 11:0:0:0: [sdd] tag#0 CDB: Write(16) 8a 00 00 00 00 03 44 62 9d 98 00 00 00 08 00 00
    [121455.093368] sd 11:0:0:0: [sdd] tag#1 uas_zap_pending 0 uas-tag 2 inflight: CMD
    [121455.093375] sd 11:0:0:0: [sdd] tag#1 CDB: Write(16) 8a 00 00 00 00 03 44 c2 9e 28 00 00 00 10 00 00
    [121455.093384] sd 11:0:0:0: [sdd] tag#2 uas_zap_pending 0 uas-tag 3 inflight: CMD
    [121455.093391] sd 11:0:0:0: [sdd] tag#2 CDB: Write(16) 8a 00 00 00 00 03 54 a2 98 80 00 00 00 18 00 00
    [121455.093399] sd 11:0:0:0: [sdd] tag#3 uas_zap_pending 0 uas-tag 4 inflight: CMD
    [121455.093406] sd 11:0:0:0: [sdd] tag#3 CDB: Write(16) 8a 00 00 00 00 03 54 a3 96 48 00 00 00 60 00 00
    [121455.093414] sd 11:0:0:0: [sdd] tag#4 uas_zap_pending 0 uas-tag 5 inflight: CMD
    [121455.093421] sd 11:0:0:0: [sdd] tag#4 CDB: Write(16) 8a 00 00 00 00 00 00 04 0f 58 00 00 00 48 00 00
    [121455.093430] sd 11:0:0:0: [sdd] tag#5 uas_zap_pending 0 uas-tag 6 inflight: CMD
    [121455.093436] sd 11:0:0:0: [sdd] tag#5 CDB: Write(16) 8a 00 00 00 00 01 6e 24 08 08 00 00 00 08 00 00
    [121455.093445] sd 11:0:0:0: [sdd] tag#6 uas_zap_pending 0 uas-tag 7 inflight: CMD
    [121455.093451] sd 11:0:0:0: [sdd] tag#6 CDB: Write(16) 8a 00 00 00 00 01 6e 44 08 08 00 00 00 08 00 00
    [121455.093460] sd 11:0:0:0: [sdd] tag#7 uas_zap_pending 0 uas-tag 8 inflight: CMD
    [121455.093466] sd 11:0:0:0: [sdd] tag#7 CDB: Write(16) 8a 00 00 00 00 01 6e 64 08 08 00 00 00 08 00 00
    [121455.093475] sd 11:0:0:0: [sdd] tag#8 uas_zap_pending 0 uas-tag 9 inflight: CMD
    [121455.093481] sd 11:0:0:0: [sdd] tag#8 CDB: Write(16) 8a 00 00 00 00 01 6e 84 08 10 00 00 00 08 00 00
    [121455.093490] sd 11:0:0:0: [sdd] tag#9 uas_zap_pending 0 uas-tag 10 inflight: CMD
    [121455.093497] sd 11:0:0:0: [sdd] tag#9 CDB: Write(16) 8a 00 00 00 00 01 6e a4 08 08 00 00 00 08 00 00
    [121455.093506] sd 11:0:0:0: [sdd] tag#10 uas_zap_pending 0 uas-tag 11 inflight: CMD
    [121455.093513] sd 11:0:0:0: [sdd] tag#10 CDB: Write(16) 8a 00 00 00 00 01 6e e4 08 08 00 00 00 08 00 00
    [121455.093521] sd 11:0:0:0: [sdd] tag#26 uas_zap_pending 0 uas-tag 12 inflight: CMD
    [121455.093528] sd 11:0:0:0: [sdd] tag#26 CDB: Write(16) 8a 00 00 00 00 03 44 42 a8 e8 00 00 00 18 00 00
    [121455.093537] sd 11:0:0:0: [sdd] tag#11 uas_zap_pending 0 uas-tag 13 inflight: CMD
    [121455.093544] sd 11:0:0:0: [sdd] tag#11 CDB: Write(16) 8a 00 00 00 00 01 6f 04 08 08 00 00 00 08 00 00
    [121455.093552] sd 11:0:0:0: [sdd] tag#13 uas_zap_pending 0 uas-tag 14 inflight: CMD
    [121455.093559] sd 11:0:0:0: [sdd] tag#13 CDB: Write(16) 8a 00 00 00 00 01 6f 84 08 20 00 00 00 08 00 00
    [121455.093568] sd 11:0:0:0: [sdd] tag#14 uas_zap_pending 0 uas-tag 15 inflight: CMD
    [121455.093575] sd 11:0:0:0: [sdd] tag#14 CDB: Write(16) 8a 00 00 00 00 03 43 62 a8 50 00 00 00 08 00 00
    [121455.093583] sd 11:0:0:0: [sdd] tag#15 uas_zap_pending 0 uas-tag 16 inflight: CMD
    [121455.093590] sd 11:0:0:0: [sdd] tag#15 CDB: Write(16) 8a 00 00 00 00 01 6f 84 15 68 00 00 00 18 00 00
    [121455.093598] sd 11:0:0:0: [sdd] tag#16 uas_zap_pending 0 uas-tag 17 inflight: CMD
    [121455.093605] sd 11:0:0:0: [sdd] tag#16 CDB: Write(16) 8a 00 00 00 00 01 6f c4 08 38 00 00 00 08 00 00
    [121455.093613] sd 11:0:0:0: [sdd] tag#17 uas_zap_pending 0 uas-tag 18 inflight: CMD
    [121455.093620] sd 11:0:0:0: [sdd] tag#17 CDB: Write(16) 8a 00 00 00 00 01 6f c4 08 58 00 00 00 08 00 00
    [121455.093628] sd 11:0:0:0: [sdd] tag#18 uas_zap_pending 0 uas-tag 19 inflight: CMD
    [121455.093635] sd 11:0:0:0: [sdd] tag#18 CDB: Write(16) 8a 00 00 00 00 01 6f c4 11 c0 00 00 00 10 00 00
    [121455.093643] sd 11:0:0:0: [sdd] tag#22 uas_zap_pending 0 uas-tag 23 inflight: CMD
    [121455.093650] sd 11:0:0:0: [sdd] tag#22 CDB: Write(16) 8a 00 00 00 00 03 43 82 ad b8 00 00 00 10 00 00
    [121455.093659] sd 11:0:0:0: [sdd] tag#23 uas_zap_pending 0 uas-tag 24 inflight: CMD
    [121455.093665] sd 11:0:0:0: [sdd] tag#23 CDB: Write(16) 8a 00 00 00 00 03 43 a2 a2 30 00 00 00 08 00 00
    [121455.093674] sd 11:0:0:0: [sdd] tag#24 uas_zap_pending 0 uas-tag 25 inflight: CMD
    [121455.093681] sd 11:0:0:0: [sdd] tag#24 CDB: Write(16) 8a 00 00 00 00 03 44 02 9e 68 00 00 00 08 00 00
    [121455.093689] sd 11:0:0:0: [sdd] tag#25 uas_zap_pending 0 uas-tag 26 inflight: CMD
    [121455.093696] sd 11:0:0:0: [sdd] tag#25 CDB: Write(16) 8a 00 00 00 00 03 44 22 9e c8 00 00 00 08 00 00
    [121455.093704] sd 11:0:0:0: [sdd] tag#12 uas_zap_pending 0 uas-tag 27 inflight: CMD
    [121455.093711] sd 11:0:0:0: [sdd] tag#12 CDB: Write(16) 8a 00 00 00 00 01 6f 44 08 08 00 00 00 08 00 00
    [121455.093720] sd 11:0:0:0: [sdd] tag#28 uas_zap_pending 0 uas-tag 29 inflight: CMD
    [121455.093727] sd 11:0:0:0: [sdd] tag#28 CDB: Write(16) 8a 00 00 00 00 03 43 42 9f d8 00 00 00 08 00 00
    [121455.165513] usb 4-1.1: reset SuperSpeed USB device number 3 using xhci_hcd
    [121455.183329] scsi host11: uas_eh_bus_reset_handler success
    [121486.107814] sd 11:0:0:0: [sdd] tag#28 uas_eh_abort_handler 0 uas-tag 29 inflight: CMD OUT
    [121486.107832] sd 11:0:0:0: [sdd] tag#28 CDB: Write(16) 8a 00 00 00 00 01 6f c4 11 c0 00 00 00 10 00 00
    [121486.108119] sd 11:0:0:0: [sdd] tag#27 uas_eh_abort_handler 0 uas-tag 28 inflight: CMD OUT
    [121486.108128] sd 11:0:0:0: [sdd] tag#27 CDB: Write(16) 8a 00 00 00 00 01 6f c4 08 58 00 00 00 08 00 00
    [121486.108387] sd 11:0:0:0: [sdd] tag#26 uas_eh_abort_handler 0 uas-tag 27 inflight: CMD OUT
    [121486.108395] sd 11:0:0:0: [sdd] tag#26 CDB: Write(16) 8a 00 00 00 00 01 6f c4 08 38 00 00 00 08 00 00
    [121486.108672] sd 11:0:0:0: [sdd] tag#25 uas_eh_abort_handler 0 uas-tag 26 inflight: CMD OUT
    [121486.108679] sd 11:0:0:0: [sdd] tag#25 CDB: Write(16) 8a 00 00 00 00 01 6f 84 15 68 00 00 00 18 00 00
    [121486.108949] sd 11:0:0:0: [sdd] tag#24 uas_eh_abort_handler 0 uas-tag 25 inflight: CMD OUT
    [121486.108956] sd 11:0:0:0: [sdd] tag#24 CDB: Write(16) 8a 00 00 00 00 01 6f 84 08 20 00 00 00 08 00 00
    [121486.109220] sd 11:0:0:0: [sdd] tag#23 uas_eh_abort_handler 0 uas-tag 24 inflight: CMD OUT
    [121486.109227] sd 11:0:0:0: [sdd] tag#23 CDB: Write(16) 8a 00 00 00 00 01 6f 44 08 08 00 00 00 08 00 00
    [121486.109493] sd 11:0:0:0: [sdd] tag#22 uas_eh_abort_handler 0 uas-tag 23 inflight: CMD OUT
    [121486.109500] sd 11:0:0:0: [sdd] tag#22 CDB: Write(16) 8a 00 00 00 00 01 6f 04 08 08 00 00 00 08 00 00
    [121486.109770] sd 11:0:0:0: [sdd] tag#21 uas_eh_abort_handler 0 uas-tag 22 inflight: CMD OUT
    [121486.109777] sd 11:0:0:0: [sdd] tag#21 CDB: Write(16) 8a 00 00 00 00 01 6e e4 08 08 00 00 00 08 00 00
    [121512.083064] sd 11:0:0:0: [sdd] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT
    [121512.083083] sd 11:0:0:0: [sdd] tag#0 CDB: Write(16) 8a 00 00 00 00 01 6f e4 08 18 00 00 00 08 00 00
    [121512.083361] scsi host11: uas_eh_bus_reset_handler start
    [121512.096423] sd 11:0:0:0: [sdd] tag#1 uas_zap_pending 0 uas-tag 2 inflight: CMD
    [121512.096433] sd 11:0:0:0: [sdd] tag#1 CDB: Write(16) 8a 00 00 00 00 01 70 04 08 68 00 00 00 08 00 00
    [121512.096441] sd 11:0:0:0: [sdd] tag#2 uas_zap_pending 0 uas-tag 3 inflight: CMD
    [121512.096447] sd 11:0:0:0: [sdd] tag#2 CDB: Write(16) 8a 00 00 00 00 01 a3 a4 0e d8 00 00 00 08 00 00
    [121512.096454] sd 11:0:0:0: [sdd] tag#3 uas_zap_pending 0 uas-tag 4 inflight: CMD
    [121512.096460] sd 11:0:0:0: [sdd] tag#3 CDB: Write(16) 8a 00 00 00 00 01 a4 e4 0f 50 00 00 00 20 00 00
    [121512.096466] sd 11:0:0:0: [sdd] tag#4 uas_zap_pending 0 uas-tag 5 inflight: CMD
    [121512.096472] sd 11:0:0:0: [sdd] tag#4 CDB: Write(16) 8a 00 00 00 00 01 a5 a4 0f d0 00 00 00 10 00 00
    [121512.096479] sd 11:0:0:0: [sdd] tag#5 uas_zap_pending 0 uas-tag 6 inflight: CMD
    [121512.096484] sd 11:0:0:0: [sdd] tag#5 CDB: Write(16) 8a 00 00 00 00 03 44 e2 a5 68 00 00 00 10 00 00
    [121512.096491] sd 11:0:0:0: [sdd] tag#6 uas_zap_pending 0 uas-tag 7 inflight: CMD
    [121512.096496] sd 11:0:0:0: [sdd] tag#6 CDB: Write(16) 8a 00 00 00 00 03 45 02 9d e8 00 00 00 10 00 00
    [121512.096503] sd 11:0:0:0: [sdd] tag#7 uas_zap_pending 0 uas-tag 8 inflight: CMD
    [121512.096509] sd 11:0:0:0: [sdd] tag#7 CDB: Write(16) 8a 00 00 00 00 03 45 22 9f 70 00 00 00 08 00 00
    [121512.096515] sd 11:0:0:0: [sdd] tag#8 uas_zap_pending 0 uas-tag 9 inflight: CMD
    [121512.096521] sd 11:0:0:0: [sdd] tag#8 CDB: Write(16) 8a 00 00 00 00 01 70 04 14 a8 00 00 00 20 00 00
    [121512.096527] sd 11:0:0:0: [sdd] tag#9 uas_zap_pending 0 uas-tag 10 inflight: CMD
    [121512.096533] sd 11:0:0:0: [sdd] tag#9 CDB: Write(16) 8a 00 00 00 00 01 70 24 08 00 00 00 00 08 00 00
    [121512.096540] sd 11:0:0:0: [sdd] tag#10 uas_zap_pending 0 uas-tag 11 inflight: CMD
    [121512.096545] sd 11:0:0:0: [sdd] tag#10 CDB: Write(16) 8a 00 00 00 00 01 71 44 0f 08 00 00 00 08 00 00
    [121512.096552] sd 11:0:0:0: [sdd] tag#11 uas_zap_pending 0 uas-tag 12 inflight: CMD
    [121512.096558] sd 11:0:0:0: [sdd] tag#11 CDB: Write(16) 8a 00 00 00 00 01 71 64 08 00 00 00 00 08 00 00
    [121512.096565] sd 11:0:0:0: [sdd] tag#12 uas_zap_pending 0 uas-tag 13 inflight: CMD
    [121512.096570] sd 11:0:0:0: [sdd] tag#12 CDB: Write(16) 8a 00 00 00 00 01 71 64 08 48 00 00 00 08 00 00
    [121512.096577] sd 11:0:0:0: [sdd] tag#13 uas_zap_pending 0 uas-tag 14 inflight: CMD
    [121512.096582] sd 11:0:0:0: [sdd] tag#13 CDB: Write(16) 8a 00 00 00 00 01 71 64 0e e8 00 00 00 08 00 00
    [121512.096589] sd 11:0:0:0: [sdd] tag#14 uas_zap_pending 0 uas-tag 15 inflight: CMD
    [121512.096595] sd 11:0:0:0: [sdd] tag#14 CDB: Write(16) 8a 00 00 00 00 01 71 84 08 10 00 00 00 08 00 00
    [121512.096602] sd 11:0:0:0: [sdd] tag#15 uas_zap_pending 0 uas-tag 16 inflight: CMD
    [121512.096608] sd 11:0:0:0: [sdd] tag#15 CDB: Write(16) 8a 00 00 00 00 01 71 a4 08 08 00 00 00 08 00 00
    [121512.096614] sd 11:0:0:0: [sdd] tag#16 uas_zap_pending 0 uas-tag 17 inflight: CMD
    [121512.096620] sd 11:0:0:0: [sdd] tag#16 CDB: Write(16) 8a 00 00 00 00 01 71 c4 08 10 00 00 00 08 00 00
    [121512.096626] sd 11:0:0:0: [sdd] tag#17 uas_zap_pending 0 uas-tag 18 inflight: CMD
    [121512.096632] sd 11:0:0:0: [sdd] tag#17 CDB: Write(16) 8a 00 00 00 00 01 71 e4 08 08 00 00 00 08 00 00
    [121512.096638] sd 11:0:0:0: [sdd] tag#18 uas_zap_pending 0 uas-tag 19 inflight: CMD
    [121512.096644] sd 11:0:0:0: [sdd] tag#18 CDB: Write(16) 8a 00 00 00 00 01 72 24 08 08 00 00 00 08 00 00
    [121512.096650] sd 11:0:0:0: [sdd] tag#19 uas_zap_pending 0 uas-tag 20 inflight: CMD
    [121512.096656] sd 11:0:0:0: [sdd] tag#19 CDB: Write(16) 8a 00 00 00 00 01 72 24 0e b0 00 00 00 08 00 00
    [121512.096662] sd 11:0:0:0: [sdd] tag#20 uas_zap_pending 0 uas-tag 21 inflight: CMD
    [121512.096668] sd 11:0:0:0: [sdd] tag#20 CDB: Write(16) 8a 00 00 00 00 01 72 44 08 10 00 00 00 08 00 00
    [121512.167694] usb 4-1.1: reset SuperSpeed USB device number 3 using xhci_hcd
    [121512.185477] scsi host11: uas_eh_bus_reset_handler success
    [132065.991699] Chrome_ChildThr[4808]: segfault at 0 ip 00007f398c01dcb5 sp 00007f3989ff1b90 error 6 in libxul.so (deleted)[7f398b3ab000+3ee7000]
    [151980.070549] systemd-hostnamed[7174]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
     


  • Centos 7 Cudaminer Nvidia setup guide


    I am using a GTX 1060 but replace the download for the driver with the correct/current version for your particular card by visiting: http://www.nvidia.com/Download/index.aspx?lang=en-us

     

    yum install automake curl openssl-devel libcurl-devel gcc gcc-c++


    yum -y install kernel-devel-`uname -r`

    yum -y install unzip
    #the uname -r command is important it installs the kernel-devel source for your exact running kernel
    #otherwise usually you will be running an older kernel and kernel-devel alone would install a newer kernel-devel which the driver cannot use (you need matching running kernel and kernel-devel for it to work)
    wget http://us.download.nvidia.com/XFree86/Linux-x86_64/375.66/NVIDIA-Linux-x86_64-375.66.run
    bash NVIDIA-Linux-x86_64-375.66.run

     
      ERROR: Unable to find the kernel source tree for the currently running kernel.  Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, 
             be sure you have the 'kernel-source' or 'kernel-devel' RPM installed.  If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option.      

                                                                                                                          OK 

    #get nvidia opencl
    #cuda tools

    #visit
    https://developer.nvidia.com/cuda-downloads

    wget https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda_8.0.61_375.26_linux-run

    bash cuda_8.0.61_375.26_linux-run

    -------------------------------------------------------------
     Do you accept the previously read EULA?
    accept/decline/quit: accept

    Install NVIDIA Accelerated Graphics Driver for Linux-x86_64 375.26?
    (y)es/(n)o/(q)uit: yes

    Do you want to install the OpenGL libraries?
    (y)es/(n)o/(q)uit [ default is yes ]: yes

    Do you want to run nvidia-xconfig?
    This will update the system X configuration file so that the NVIDIA X driver
    is used. The pre-existing X configuration file will be backed up.
    This option should not be used on systems that require a custom
    X configuration, such as systems with multiple GPU vendors.
    (y)es/(n)o/(q)uit [ default is no ]: yes

    Install the CUDA 8.0 Toolkit?
    (y)es/(n)o/(q)uit: yes

    Enter Toolkit Location
     [ default is /usr/local/cuda-8.0 ]: yes

    Toolkit location must be an absolute path.
    Enter Toolkit Location
     [ default is /usr/local/cuda-8.0 ]:

    Do you want to install a symbolic link at /usr/local/cuda?
    (y)es/(n)o/(q)uit: yes

    Install the CUDA 8.0 Samples?
    (y)es/(n)o/(q)uit: yes

    Enter CUDA Samples Location
     [ default is /root ]: /usr/local/cuda/samples

    Installing the NVIDIA display driver...

    Installing the CUDA Toolkit in /usr/local/cuda-8.0 ...
    Missing recommended library: libGLU.so
    Missing recommended library: libXi.so
    Missing recommended library: libXmu.so


    Installing the CUDA Samples in /usr/local/cuda/samples ...
    Copying samples to /usr/local/cuda/samples/NVIDIA_CUDA-8.0_Samples now...
    cp: cannot copy a directory, ‘/usr/local/cuda-8.0/bin/../samples/NVIDIA_CUDA-8.0_Samples’, into itself, ‘/usr/local/cuda/samples/NVIDIA_CUDA-8.0_Samples/NVIDIA_CUDA-8.0_Samples’
    Finished copying samples.

    ===========
    = Summary =
    ===========

    Driver:   Installed
    Toolkit:  Installed in /usr/local/cuda-8.0
    Samples:  Installed in /usr/local/cuda/samples, but missing recommended libraries

    Please make sure that
     -   PATH includes /usr/local/cuda-8.0/bin
     -   LD_LIBRARY_PATH includes /usr/local/cuda-8.0/lib64, or, add /usr/local/cuda-8.0/lib64 to /etc/ld.so.conf and run ldconfig as root

    To uninstall the CUDA Toolkit, run the uninstall script in /usr/local/cuda-8.0/bin
    To uninstall the NVIDIA Driver, run nvidia-uninstall

    Please see CUDA_Installation_Guide_Linux.pdf in /usr/local/cuda-8.0/doc/pdf for detailed information on setting up CUDA.

    Logfile is /tmp/cuda_install_6358.log



    #get cudaminer
    #https://github.com/cbuchner1/CudaMiner/wiki/Howto-Compile-cudaminer

    wget https://github.com/cbuchner1/CudaMiner/archive/master.zip -O cudaminer.zip

    unzip cudaminer.zip

    cd CudaMiner-master

    ./autogen.sh

    configure.ac:103: error: possibly undefined macro: AC_MSG_ERROR
          If this token and others are legitimate, please use m4_pattern_allow.
          See the Autoconf documentation.
     

    ./configure: line 6211: syntax error near unexpected token `,'
    ./configure: line 6211: `LIBCURL_CHECK_CONFIG(, 7.15.2, ,'
     

    cd /usr/lib64

    ln -s libcurl.so libcurl-gnutls.so
    ln -s libcurl.so.4 libcurl-gntuls.so.4

    cd /root/CudaMiner

    ./autogen.sh

    ./configure

    make

    ons=-v -I./compat/jansson -o wrapnvml.o -c wrapnvml.cu
    /bin/sh: nvcc: command not found
    make[2]: *** [wrapnvml.o] Error 127
    make[2]: Leaving directory `/root/CudaMiner-master'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/CudaMiner-master'
    make: *** [all] Error 2
     

    export PATH=$PATH:/usr/local/cuda/bin  make  nvcc -g -O2 -Xptxas "-abi=no -v" -arch=compute_10 --maxrregcount=64 --ptxas-options=-v -I./compat/jansson -o wrapnvml.o -c wrapnvml.cu
    nvcc fatal : Value 'compute_10' is not defined for option 'gpu-architecture'
    make[2]: *** [wrapnvml.o] Error 1
    make[2]: Leaving directory `/root/CudaMiner-master'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/CudaMiner-master'
    make: *** [all] Error 2

    sed -i s/arch=compute_10/arch=sm_30/g Makefile

    make

     

    cudaminer

     

    /root/CudaMiner-master/cudaminer: error while loading shared libraries: libcudart.so.8.0: cannot open shared object file: No such file or directory
     

    ln -s /usr/local/cuda-8.0/lib64/libcudart.so.8.0 /usr/lib64/

     

    #now it works


  • USB 3.0 PCI x1 Card Review VIA VL805 on Linux Review and Experience


     

     

     

     

     

    This is a VIA made VL805 USB 3.0 Chipset with 4-ports and MOLEX powered.  First of all this unit was cheap at about only 9 USD with fast shipping.  My biggest concern was if this was a quality unit and would it really give you full USB 3.0 speeds (some people reported with similar cards that for some weird reason they were only getting 50MB/s perhaps they were not using a fast enough device).

    lspci from Linux output:

    0000:05:00.0 USB controller: VIA Technologies, Inc. VL805 USB 3.0 Host Controller (rev 01)

    In my case I was using a Seagate 8TB USB 3.0 drive, the maximum speed is about 184-185 MB/s and I was able to achieve this speed over this USB 3.0 card just fine.  This is a nice upgrade considering with USB 2.0 I was only getting 39MB/s before!
     

    Performance


    sudo dd if=/dev/sdd of=/dev/null bs=1M count=5000 skip=15000
    5000+0 records in
    5000+0 records out
    5242880000 bytes (5.2 GB) copied, 27.6761 s, 189 MB/s

     

    *Update here is a test on an ADATA 256GB SSD (normally it is around 500MB/s when plugged in as SATA).

    197MB/s is fairly disappointing but I am not sure if the USB to SATA adapter enclosure is the issue or not.  However this system is running PCI 1.1 which may be part of the issue.  I believe this is a X1 card and that would limit the speed to 200MB/s I believe (which is basically the result we see).

     

    sudo dd if=/dev/sde of=/dev/null bs=1M count=5000
    5000+0 records in
    5000+0 records out
    5242880000 bytes (5.2 GB) copied, 26.6155 s, 197 MB/s

    I actually confirmed it that this X1 card is limited to 200MB/s.  The way I tested was to take both USB 3.0 drives connected to it and do a dd (we know the speed results alone are 189MB/s and 197MB/s separately).

    However when doing both drives at once they both get about 100MB/s each proving the available bandwidth is just 200MB/s total.

    5000+0 records in
    5000+0 records out
    5242880000 bytes (5.2 GB) copied, 49.4117 s, 106 MB/s
    5000+0 records in
    5000+0 records out
    5242880000 bytes (5.2 GB) copied, 51.2366 s, 102 MB/s

    [1]-  Done                    sudo dd if=/dev/sde of=/dev/null bs=1M count=5000 skip=10000
    [2]+  Done                    sudo dd if=/dev/sdd of=/dev/null bs=1M count=5000


    I haven't done anything more extensive but I am sure it is up to the full 5gbit per second spec of USB 3.0

    Value

    Excellent value for just $9 USD shipped you get an instant 4-port upgrade with USB 3.0 ports.

    I just realized this but you can pay about $13 to order a USB 3.1 (10gbit) card from China vs the $9 USD within North America option.  The USB 3.1 card from China also has SATA power and an internal USB port which is nice.

    Honestly if I could wait I would have done this but is it a big deal?  Not really because devices I have do not exceed the 5gbit bandwidth.

     

    Pros/Cons

    Others have complained about this, I was very nervous I would break the MOLEX connector off the board.  Molex connectors usually don't go in easily, I was very careful to try an hold the connector on the board in place while shoving in the molex power connector but even then I was worried I would break it off.  Some have complained of this issue.  I am not sure if the power is needed but would assume definitely for powered devices like HDDs it will help.

    I wish this were a x4 Card as this would have given 800MB/s of bandwidth instead.

    Conclusion

    This is a solid and reilable buy with a VIA chipset and a quick, cheap and easy way to get USB 3.0 ports especially if you have none or just need more!


  • rsync run as root sudo without password


    This is a common issue, what if a issue shouldn't have root but you want to use that user to make a full backup of a system?  They of course need root access.

    You can actually just give them passwordless sudo access to rsync in /etc/sudoers:

    sudo vi /etc/sudoers

    yourusername ALL = NOPASSWD: /usr/bin/rsync
     

    Here is how you would execute rsync:

    The key thing for the remote host is to use:

    --rsync-path="sudo rsync"

    This (above) executes rsync on the remote host as root.

    To run rsync locally with root privileges you also need to start it with "sudo rsync" as shown below.

    sudo rsync -e 'ssh -i /home/yourlocalusername/.ssh/id_rsa' --rsync-path="sudo rsync" -Phaz remoteuser@remotehost.com /remote/path /local/path

    It is also important to use the -e swtich as above if you are depending on a key to login (which most will be):

    'ssh -i /home/yourlocalusername/.ssh/id_rsa'

    You are basically specifying your keyfile location so that root doesn't use its own since you are likely not using root's ssh public key (and shouldn't be!)


  • Why won't my Linux Mint boot after I manually installed a new kernel?


    Why won't my Linux Mint boot after I manually installed a new kernel?
    eg.
    apt-get install linux-image-newerone

    Do this

     


    dpkg -l|grep linux-image|grep extra
    ii  linux-image-extra-3.16.0-38-generic                         3.16.0-38.52~14.04.1                                amd64        Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP

    If you get a result you need the extra kernel because during install Linux detected some drivers to make your system run were in the "extra" kernel package (I stronlgy disagree with this separation as it is easy to break your system now!).

    Here's how to fix it.
     

     

    1.) For the exact kernel version eg. 3.19.0-80.88~14.04.1 (you can remove anything after the third dot .)

     

    kernlversion=3.19.0-80
     

    2.) Set the variable like above and run the following command:

     

    sudo apt-get install linux-image-headers-$kernelversion linux-image-extra-$kernelversion
     


  • cudaminer freezes Linux Mint taints kernel


    When running cudaminer once it tries to initialize the card the entire screen freezes.  The computer itself is still running but the Xorg is done for, you cannot even switch to another console window and must reboot (even an mdm or Xorg restart does not help).

    At first cudaminer will give you these errors:

    stratrum_recv_line failed

    ...retry after 15 seconds

    GPU #0: Geforce 210 with compute capability 1.2

    GPU #0: interactive: 1, text-cache:0 single-alloc:0

    GPU #0: 32 hash / 4.0 MB per warp.

    Once GPU#0 shows up the screen freezes and you can check the kern log and see the following driver tainting issues


    Jun 15 00:23:52 localhost kernel: [47044.332646] BUG: unable to handle kernel NULL pointer dereference at 0000000000000058
    Jun 15 00:23:52 localhost kernel: [47044.332656] IP: [<ffffffffc0b21dad>] _nv001302rm+0xd/0xb0 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.332878] PGD 461ad6067 PUD 7d98b4067 PMD 0
    Jun 15 00:23:52 localhost kernel: [47044.332883] Oops: 0000 [#1] SMP
    Jun 15 00:23:52 localhost kernel: [47044.332888] Modules linked in: nvidia_uvm(POE) i2c_dev forcedeth pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) bnep rfcomm bluetooth 6lowpan_iphc binfmt_misc dm_crypt snd_hda_codec_rea
    ltek snd_hda_codec_generic snd_hda_codec_hdmi hp_wmi sparse_keymap snd_hda_intel snd_hda_controller snd_hda_codec nvidia(POE) dm_multipath snd_hwdep snd_pcm scsi_dh snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_ti
    mer kvm_amd kvm parport_pc drm snd ppdev serio_raw soundcore wmi amd64_edac_mod shpchp i2c_nforce2 edac_core edac_mce_amd k10temp mac_hid lp parport raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq raid0 mul
    tipath linear dm_mirror dm_region_hash dm_log raid10 raid1 hid_generic usbhid hid uas usb_storage mptsas mpt2sas mptscsih psmouse mptbase raid_class firewire_ohci scsi_transport_sas firewire_core pata_acpi crc_itu_t sata_nv pata_amd [last
     unloaded: forcedeth]
    Jun 15 00:23:52 localhost kernel: [47044.332952] CPU: 5 PID: 24838 Comm: cudaminer Tainted: P           OE 3.16.0-38-generic #52~14.04.1-Ubuntu
    Jun 15 00:23:52 localhost kernel: [47044.332957] Hardware name: Hewlett-Packard HP xw9400 Workstation/0A1Ch, BIOS 786D6 v04.03 12/10/2009
    Jun 15 00:23:52 localhost kernel: [47044.332960] task: ffff8808001065e0 ti: ffff8806550dc000 task.ti: ffff8806550dc000
    Jun 15 00:23:52 localhost kernel: [47044.332962] RIP: 0010:[<ffffffffc0b21dad>]  [<ffffffffc0b21dad>] _nv001302rm+0xd/0xb0 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.333101] RSP: 0018:ffff8806550dfb30  EFLAGS: 00010286
    Jun 15 00:23:52 localhost kernel: [47044.333103] RAX: ffff881002756608 RBX: 0000000000000000 RCX: ffff8807f9854008
    Jun 15 00:23:52 localhost kernel: [47044.333105] RDX: 0000000000000000 RSI: 00000000ffff50f1 RDI: 0000000000000000
    Jun 15 00:23:52 localhost kernel: [47044.333107] RBP: ffff880801ed5bb0 R08: 0000000000000000 R09: 000000ff32340000
    Jun 15 00:23:52 localhost kernel: [47044.333109] R10: 0000000000000000 R11: ffffffffc0cd2d00 R12: 0000000000000000
    Jun 15 00:23:52 localhost kernel: [47044.333111] R13: 0000000000010000 R14: ffff8808026b0008 R15: 0000000000001274
    Jun 15 00:23:52 localhost kernel: [47044.333114] FS:  00007f1059ac2700(0000) GS:ffff88102fc80000(0000) knlGS:0000000000000000
    Jun 15 00:23:52 localhost kernel: [47044.333116] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
    Jun 15 00:23:52 localhost kernel: [47044.333118] CR2: 0000000000000058 CR3: 000000045b4bf000 CR4: 00000000000007e0
    Jun 15 00:23:52 localhost kernel: [47044.333120] Stack:
    Jun 15 00:23:52 localhost kernel: [47044.333122]  00000000000007f9 00000000000007f9 ffff8807f9854090 ffffffffc0b21cb9
    Jun 15 00:23:52 localhost kernel: [47044.333126]  00000000000007f9 ffffffffc099b1f8 ffff880801ed5d48 ffff880496026408
    Jun 15 00:23:52 localhost kernel: [47044.333129]  0000000000000000 0000000000010000 ffff8808026b0008 ffffffffc0997110
    Jun 15 00:23:52 localhost kernel: [47044.333132] Call Trace:
    Jun 15 00:23:52 localhost kernel: [47044.333272]  [<ffffffffc0b21cb9>] ? _nv012259rm+0x9/0x20 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.333399]  [<ffffffffc099b1f8>] ? _nv005327rm+0x4b8/0x570 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.333526]  [<ffffffffc0997110>] ? _nv005146rm+0x520/0xb40 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.333652]  [<ffffffffc099706c>] ? _nv005146rm+0x47c/0xb40 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.333777]  [<ffffffffc0993619>] ? _nv005144rm+0xf9/0x220 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.333902]  [<ffffffffc09935a2>] ? _nv005144rm+0x82/0x220 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.333992]  [<ffffffffc0c9f81c>] ? _nv000889rm+0x1a1c/0x1cf0 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334081]  [<ffffffffc0c9f05c>] ? _nv000889rm+0x125c/0x1cf0 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334171]  [<ffffffffc0c9fc04>] ? _nv000793rm+0x114/0x1b0 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334261]  [<ffffffffc0ca5c9a>] ? _nv000700rm+0xda/0xf0 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334341]  [<ffffffffc0cfd5c9>] ? _nv000789rm+0x1f9/0x8b0 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334419]  [<ffffffffc0d07d03>] ? rm_ioctl+0x73/0x100 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334497]  [<ffffffffc0d164ce>] ? nvidia_ioctl+0x13e/0x460 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334576]  [<ffffffffc0d225af>] ? nvidia_frontend_ioctl+0x2f/0x70 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334652]  [<ffffffffc0d2260d>] ? nvidia_frontend_unlocked_ioctl+0x1d/0x30 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334660]  [<ffffffff811e7360>] ? do_vfs_ioctl+0x2e0/0x4c0
    Jun 15 00:23:52 localhost kernel: [47044.334663]  [<ffffffff811e75c1>] ? SyS_ioctl+0x81/0xa0
    Jun 15 00:23:52 localhost kernel: [47044.334670]  [<ffffffff8176da4d>] ? system_call_fastpath+0x1a/0x1f
    Jun 15 00:23:52 localhost kernel: [47044.334672] Code: 09 d0 83 e0 01 c3 0f 1f 84 00 00 00 00 00 8b 76 24 e9 08 00 00 00 0f 1f 84 00 00 00 00 00 41 54 45 31 e4 53 48 89 fb 48 83 ec 08 <83> 7f 58 04 74 5e 81 fe f1 e3 00 00 74 48 77 36 81 fe a0 50 00
    Jun 15 00:23:52 localhost kernel: [47044.334702] RIP  [<ffffffffc0b21dad>] _nv001302rm+0xd/0xb0 [nvidia]
    Jun 15 00:23:52 localhost kernel: [47044.334837]  RSP <ffff8806550dfb30>
    Jun 15 00:23:52 localhost kernel: [47044.334839] CR2: 0000000000000058
    Jun 15 00:23:52 localhost kernel: [47044.334843] ---[ end trace f255d62811b2b79b ]---


  • Linux Mint Intel Screen Tearing Horizontal Line Solution Fix


    sudo mkdir -p /etc/X11/xorg.conf.d/

    sudo vi /etc/X11/xorg.conf.d/20-intel.conf
     

    Type "i" and enter the following:

    Section "Device"
      Identifier      "Intel Graphics"
      Driver          "intel"
      Option          "TearFree"          "true"
    EndSection

    Be sure to use this guide with the correct quotes " (if they have a nice curve to them they are wrong and will cause your graphics/Xorg to not work).

    You don't even need to restart your whole computer but you could just hit "Control + Alt + Backspace"

    If you have an error when restarting you probably have the wrong curved quotes from somewhere else.

     

    [1010978.161] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [1010978.161] Parse error on line 1 of section InputClass in file /etc/X11/xorg.conf.d/20-intel.conf
        The Section keyword requires a quoted string to follow it.

    [1010978.161] (EE) Problem parsing the config file
    [1010978.161] (EE) Error parsing the config file
    [1010978.161] (EE)
    Fatal server error:
    [1010978.162] (EE) no screens found(EE)
    [1010978.162] (EE)

    The above is happening once again due to wrong quotes coming from some bulletin boards and Wordpress blogs.  Make sure your quotes are straight like this " and not curved.  If they are just delete manually and requote and restart.

    sudo service mdm restart


  • process_usershare_file: stat of /var/lib/samba/usershares/dump failed. Permission denied - samba error solution


    [2017/06/12 21:14:04.991169,  0] ../source3/param/loadparm.c:3259(process_usershare_file)
      process_usershare_file: stat of /var/lib/samba/usershares/dump failed. Permission denied


    Issue was the parent directory needed chmod 755


  • imagemagick pdf convert error solution - **** Warning: can't process font stream, loading font by the name. Can't find CMap Identity-UTF16-H building a CIDDecoding resource. Warning: falling back to Identity ordering **** Error reading a conte



       **** Warning: can't process font stream, loading font by the name.
    Can't find CMap Identity-UTF16-H building a CIDDecoding resource.
    Warning: falling back to Identity ordering
       **** Error reading a content stream. The page may be incomplete.
       **** File did not complete the page properly and may be damaged.

       **** This file had errors that were repaired or ignored.
       **** The file was produced by:
       **** >>>> Microsoft: Print To PDF <<<<
       **** Please notify the author of the software that produced this
       **** file that it does not conform to Adobe's published PDF
       **** specification.

    Can't find CMap Identity-UTF16-H building a CIDDecoding resource.



    Solution

    Basically the Microsoft PDF system is non-standard and ImageMagick can't support it.  The simple solution is to just open with another program and then go "File -> Print" and choose to print to a .pdf.  That .pdf can then be converted with ImageMagick to .jpg.


  • php read file into variable


    php read file into variable

    $content = file_get_contents(home.html);


    Otherwise if you want to get the source code of the PHP file, it's the same as a .txt file:


    $content = file_get_contents('/path/to/phpfile.php');

    You can also get from URLs:

    $content = file_get_contents('http://someurl.com/file.txt');


  • USB Device/MP3 Player not working properly and can't browse the device filesystem? Check the cable twice and again!


    Here is a simple MP3 player and now there's a reason to understand why the supplied cable has some kind of capacitor and is very short.  These devices can be VERY finicky and any voltage fluctuation or difference is enough to cause issues.

     

    Take for example the error messages from Linux Mint:

    [804829.895414] usb 1-1: USB disconnect, device number 11
    [806961.109030] usb 1-1: new high-speed USB device number 12 using xhci_hcd
    [806961.237468] usb 1-1: New USB device found, idVendor=0781, idProduct=74f0
    [806961.237481] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [806961.237488] usb 1-1: Product: Clip Jam
    [806961.237494] usb 1-1: Manufacturer: SanDisk
    [806961.237500] usb 1-1: SerialNumber:
    [806961.239253] usb-storage 1-1:1.0: USB Mass Storage device detected
    [806961.239844] scsi host9: usb-storage 1-1:1.0
    [806962.237543] scsi 9:0:0:0: Direct-Access     SanDisk  Clip Jam              PQ: 0 ANSI: 0 CCS
    [806962.237901] scsi 9:0:0:1: Direct-Access     SanDisk  Clip Jam              PQ: 0 ANSI: 0 CCS
    [806962.238743] sd 9:0:0:0: Attached scsi generic sg1 type 0
    [806962.239280] sd 9:0:0:1: Attached scsi generic sg2 type 0
    [806962.241345] sd 9:0:0:0: [sdb] 8179712 1024-byte logical blocks: (8.38 GB/7.80 GiB)
    [806962.241711] sd 9:0:0:0: [sdb] Write Protect is off
    [806962.241721] sd 9:0:0:0: [sdb] Mode Sense: 00 c0 00 00
    [806962.241896] sd 9:0:0:0: [sdb] Write cache: disabled, read cache: disabled, doesn't support DPO or FUA
    [806962.245053] sd 9:0:0:1: [sdc] Attached SCSI removable disk
    [806962.248674]  sdb:
    [806962.250838] sd 9:0:0:0: [sdb] Attached SCSI removable disk
    [806962.544147] FAT-fs (sdb): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [807005.992800] usb 1-1: USB disconnect, device number 12
    [807005.996567] sd 9:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
    [807005.996575] sd 9:0:0:0: [sdb] tag#0 CDB: Write(10) 2a 00 00 0b ad 38 00 00 78 00 00 00
    [807005.996578] blk_update_request: I/O error, dev sdb, sector 1530480
    [807005.997266] sd 9:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
    [807005.997274] sd 9:0:0:0: [sdb] tag#0 CDB: Write(10) 2a 00 00 0b ad b0 00 00 78 00
    [807005.997277] blk_update_request: I/O error, dev sdb, sector 1530720

    What was wrong?

    It may look like a problem with your device, your OS config or even the USB port but more often than not it was the cable!  I had two three-foot Tronsmart cables, 1 of them worked fine and the other didn't with this device.  The way I found this out was by swapping the cables for fun and also by trying the device on other units.

    When a device receives power by a pluggable USB cable you should always stick to the factory cable or use one that is the same length or shorter and of very high quality (even though these thick 18AWG gauge Tronsmart cables have worked fine for other uses!)


  • Centos/Linux Bash Script Warning when exiting/logging out of bash/shell/terminal for scripts running in the background


    This is mainly the case on Centos but applies to other distros and situations.  If you are running programs in the background with the &, at least in Centos it is usually not honored and if you quit or are disconnected the backgrounded programs will be sent sighup and be shut down. 

    The simplest way around this instead of using & is to start any programs or commands with "nohup"

    Eg.

    nohup yourscript.sh


  • Wifi Antenna Extension Cable is called RP-SMA


    This sounds silly but if you don't know you don't know and the cable name is "RP-SMA" and allows you to extend your wifi antenna as long as the cable goes.


  • Nvidia Linux Mint/Ubuntu screentearing horizontal line solution


    Finally after ages I found the solution which is on many pages on the net but not obvious and should have been standard or more common info!

    Instant Solution:

    Type this into the terminal (unfortunately the driver config menu doesn't have the option as itis hidden):

    nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceCompositionPipeline = On }"

    Make permanent

     

    Click "Save to X configuration File", choose your name and you can then edit your xorg.conf file.

     

    Edit vi /etx/X11/xorg.conf

    Change the metamodes option like so:


        Option "metamodes" "nvidia-auto-select +0+0 { ForceCompositionPipeline = On }"


        Option "metamodes" "nvidia-auto-select +0+0 { ForceCompositionPipeline = On }"
     

     

     

    Sources:

    https://forums.linuxmint.com/viewtopic.php?f=56&t=174237#p906436

    https://www.reddit.com/r/linuxmint/comments/4rnwdl/screen_tearing_on_linux_mint_18/

    http://www.thelinuxrain.com/articles/got-tearing-with-proprietary-nvidia-try-this


  • Openshot 2.2 is very unstable always crashing in Linux Mint 18.1!


    Jun  1 15:45:42 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:45:42 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02949.MP4
    Jun  1 15:45:57 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:      ui_util:WARNING Icon theme media-playback-start not found. Will use backup icon.
    Jun  1 15:45:57 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     timeline:INFO Adjusting max size of preview image: PyQt5.QtCore.QRect(199, 0, 700, 394)
    Jun  1 15:46:00 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:46:00 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02947.MP4
    Jun  1 15:46:03 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:46:03 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02945.MP4
    Jun  1 15:46:15 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:46:15 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02944.MP4
    Jun  1 15:46:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO auto_save_project
    Jun  1 15:46:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO Auto save project file: /home/videoeditor/.openshot_qt/backup/backup.osp
    Jun  1 15:46:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO Saved project /home/videoeditor/.openshot_qt/backup/backup.osp
    Jun  1 15:48:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:48:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02943.MP4
    Jun  1 15:48:28 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:48:28 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02942.MP4
    Jun  1 15:48:32 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:48:32 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02941.MP4
    Jun  1 15:49:37 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:49:37 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02940.MP4
    Jun  1 15:49:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO auto_save_project
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Missing folder chosen by user:
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO Removed missing file: MAH02931.MP4
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO 2.3.3
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO 0.1.6
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO refreshFrame
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO self.player.Position(): 1
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO Loaded project /home/videoeditor/.openshot_qt/backup/backup.osp
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:      ui_util:WARNING Icon theme media-playback-start not found. Will use backup icon.
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Update item:
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO updating clip properties model.
    Jun  1 15:49:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     timeline:INFO Adjusting max size of preview image: PyQt5.QtCore.QRect(57, 0, 700, 394)
    Jun  1 15:49:55 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO next_tip
    Jun  1 15:49:55 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO hide_tips
    Jun  1 15:49:55 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO process tutorial dialogs
    Jun  1 15:49:55 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO currentChanged
    Jun  1 15:49:55 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO updateSelection
    Jun  1 15:49:56 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO next_tip
    Jun  1 15:49:56 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO hide_tips
    Jun  1 15:49:56 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO process tutorial dialogs
    Jun  1 15:49:58 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO minimize tutorial
    Jun  1 15:50:00 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO next_tip
    Jun  1 15:50:00 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO hide_tips
    Jun  1 15:50:00 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO process tutorial dialogs
    Jun  1 15:50:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:      ui_util:WARNING Icon theme media-playback-start not found. Will use backup icon.
    Jun  1 15:50:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     timeline:INFO Adjusting max size of preview image: PyQt5.QtCore.QRect(199, 0, 700, 394)
    Jun  1 15:50:08 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:      ui_util:WARNING Icon theme media-playback-start not found. Will use backup icon.
    Jun  1 15:50:08 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     timeline:INFO Adjusting max size of preview image: PyQt5.QtCore.QRect(57, 0, 700, 394)
    Jun  1 15:50:09 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO minimize tutorial
    Jun  1 15:50:09 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:     tutorial:INFO minimize tutorial
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02931.MP4
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '591308176', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127938, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02931.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': '59AOWGIS67', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12117281, 'width': 1440, 'video_length': '11700', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 390.378662109375, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02940.MP4
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '56977067', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 128015, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02940.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'V2DXYCQM42', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12142964, 'width': 1440, 'video_length': '1125', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 37.525333404541016, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:46 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02941.MP4
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '44797255', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127576, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02941.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'WV8HPZ1PBI', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12136271, 'width': 1440, 'video_length': '885', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 29.525333404541016, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02942.MP4
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '111530097', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127880, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02942.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'E2UN7I8V6L', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12127203, 'width': 1440, 'video_length': '2205', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 73.55733489990234, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:47 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02943.MP4
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '636059856', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127976, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02943.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': '0K85PPMU6U', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12117748, 'width': 1440, 'video_length': '12585', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 419.90399169921875, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02944.MP4
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '148728621', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 128002, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02944.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'IY1BL5N7VI', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12128982, 'width': 1440, 'video_length': '2940', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 98.09066772460938, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:48 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02945.MP4
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '263124685', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127936, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02945.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'PH9UX5J6B6', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12120429, 'width': 1440, 'video_length': '5205', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 173.65333557128906, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02947.MP4
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '50935248', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 128055, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02947.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'JVBM7W41SK', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12151489, 'width': 1440, 'video_length': '1005', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 33.51466751098633, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:49 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02949.MP4
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '86582811', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127994, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02949.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'NX17O22YSH', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12139833, 'width': 1440, 'video_length': '1710', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 57.04533386230469, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02950.MP4
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '19158616', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127915, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02950.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'HUXWXMTL9F', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12249264, 'width': 1440, 'video_length': '375', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 12.501333236694336, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02951.MP4
    Jun  1 15:51:50 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '838458848', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127965, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02951.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'OCEITZNUTP', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12117486, 'width': 1440, 'video_length': '16590', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 553.5360107421875, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02952.MP4
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '185838518', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127995, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02952.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'IFM6JXX05R', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12124268, 'width': 1440, 'video_length': '3675', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 122.60266876220703, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02953.MP4
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '576987037', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127972, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02953.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': '6355G6GXN7', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12119014, 'width': 1440, 'video_length': '11415', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 380.864013671875, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:51 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02955.MP4
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '233657236', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127931, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02955.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'T40SO3RLKV', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12125912, 'width': 1440, 'video_length': '4620', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 154.13333129882812, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02972.MP4
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '134169762', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 128003, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02972.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': 'JPEYVKY2GR', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12116223, 'width': 1440, 'video_length': '2655', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 88.57599639892578, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:51:52 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO Adding file: /home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02991.MP4
    Jun  1 15:51:53 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['files'] values: {'file_size': '191235053', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 30000, 'num': 1}, 'audio_stream_index': 1, 'fps': {'den': 1001, 'num': 30000}, 'audio_bit_rate': 127965, 'acodec': 'aac', 'path': '/home/videoeditor/Desktop/MixedJustRight/May27-2017,Kidtopia/PiecesToUse /MAH02991.MP4', 'channel_layout': 3, 'pixel_ratio': {'den': 3, 'num': 4}, 'id': '91ICF38EH3', 'pixel_format': 0, 'vcodec': 'h264', 'top_field_first': True, 'video_stream_index': 0, 'type': 'FFmpegReader', 'video_bit_rate': 12129778, 'width': 1440, 'video_length': '3780', 'display_ratio': {'den': 9, 'num': 16}, 'audio_timebase': {'den': 48000, 'num': 1}, 'sample_rate': 48000, 'height': 1080, 'channels': 2, 'duration': 126.12266540527344, 'media_type': 'video', 'has_audio': True, 'has_video': True} add: True partial: False remove: False
    Jun  1 15:51:53 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:51:53 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:51:53 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  files_model:INFO updating files model.
    Jun  1 15:51:53 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: [mp3 @ 0x37aafa0] Skipping 0 bytes of junk at 176.
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: [mp3 @ 0x37aafa0] Estimating duration from bitrate, this may be inaccurate
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['clips'] values: {'alpha': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'layer': 4, 'id': 'YULMPWLLGA', 'file_id': 'PNYUJMSA23', 'anchor': 0, 'display': 0, 'channel_mapping': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'location_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'time': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'perspective_c2_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c1_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'end': 176.61387634277344, 'crop_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'crop_height': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'channel_filter': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'position': 11.04, 'crop_width': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c2_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'crop_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'reader': {'file_size': '7064731', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 24, 'num': 1}, 'audio_stream_index': 0, 'fps': {'den': 1, 'num': 24}, 'audio_bit_rate': 320000, 'acodec': 'mp3', 'path': '/home/videoeditor/Desktop/MixedJustRight/Main Music Folder/So_Bueno.mp3', 'channel_layout': 3, 'pixel_ratio': {'den': 1, 'num': 1}, 'pixel_format': -1, 'vcodec': '', 'top_field_first': True, 'video_stream_index': -1, 'type': 'FFmpegReader', 'video_bit_rate': 0, 'width': 720, 'video_length': '4238', 'display_ratio': {'den': 1, 'num': 1}, 'audio_timebase': {'den': 14112000, 'num': 1}, 'sample_rate': 44100, 'height': 480, 'channels': 2, 'duration': 176.61387634277344, 'has_audio': True, 'has_video': False}, 'effects': [], 'perspective_c3_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c3_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c4_x': {'Points': [{'interpola
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: tion': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c4_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'start': 0, 'has_audio': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'scale_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'shear_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'shear_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'scale': 1, 'volume': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'perspective_c1_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'gravity': 4, 'location_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'title': 'So_Bueno.mp3', 'rotation': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'duration': 176.61387634277344, 'scale_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'image': '/usr/lib/python3/dist-packages/openshot_qt/images/AudioThumbnail.png', 'wave_color': {'alpha': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 255}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'red': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 0}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'blue': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 255}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'green': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 123}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}}, 'waveform': False, 'has_video': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}} add: True partial: False remove: False
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO {'alpha': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'layer': 4, 'id': 'YULMPWLLGA', 'file_id': 'PNYUJMSA23', 'anchor': 0, 'display': 0, 'channel_mapping': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'location_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'time': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'perspective_c2_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c1_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'end': 176.61387634277344, 'crop_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'crop_height': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'channel_filter': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'position': 11.04, 'crop_width': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c2_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'crop_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'reader': {'file_size': '7064731', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 24, 'num': 1}, 'audio_stream_index': 0, 'fps': {'den': 1, 'num': 24}, 'audio_bit_rate': 320000, 'acodec': 'mp3', 'path': '/home/videoeditor/Desktop/MixedJustRight/Main Music Folder/So_Bueno.mp3', 'channel_layout': 3, 'pixel_ratio': {'den': 1, 'num': 1}, 'pixel_format': -1, 'vcodec': '', 'top_field_first': True, 'video_stream_index': -1, 'type': 'FFmpegReader', 'video_bit_rate': 0, 'width': 720, 'video_length': '4238', 'display_ratio': {'den': 1, 'num': 1}, 'audio_timebase': {'den': 14112000, 'num': 1}, 'sample_rate': 44100, 'height': 480, 'channels': 2, 'duration': 176.61387634277344, 'has_audio': True, 'has_video': False}, 'effects': [], 'perspective_c3_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c3_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c4_x': {'Points': [{'interpolation': 2, 'co': {'X': 1,
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  'Y': -1}}]}, 'perspective_c4_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'start': 0, 'has_audio': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'scale_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'shear_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'shear_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'scale': 1, 'volume': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'perspective_c1_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'gravity': 4, 'location_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'title': 'So_Bueno.mp3', 'rotation': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'duration': 176.61387634277344, 'scale_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'image': '/usr/lib/python3/dist-packages/openshot_qt/images/AudioThumbnail.png', 'wave_color': {'alpha': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 255}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'red': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 0}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'blue': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 255}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'green': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 123}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}}, 'waveform': False, 'has_video': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}}
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO updating clip properties model.
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO refreshFrame
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO self.player.Position(): 1
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO main::addSelection: item_id: , item_type: effect, clear_existing: True
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO main::addSelection: item_id: YULMPWLLGA, item_type: clip, clear_existing: True
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO dragLeaveEvent - Undo drop
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO actionRemoveClip_trigger
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['clips', {'id': 'YULMPWLLGA'}] values: None add: False partial: False remove: True
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:52:01 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Update item:
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO updating clip properties model.
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: [mp3 @ 0x3828680] Skipping 0 bytes of junk at 176.
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: [mp3 @ 0x3828680] Estimating duration from bitrate, this may be inaccurate
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['clips'] values: {'alpha': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'layer': 2, 'id': '30QJH7GOVN', 'file_id': 'PNYUJMSA23', 'anchor': 0, 'display': 0, 'channel_mapping': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'location_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'time': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'perspective_c2_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c1_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'end': 176.61387634277344, 'crop_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'crop_height': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'channel_filter': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'position': 13.28, 'crop_width': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c2_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'crop_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'reader': {'file_size': '7064731', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 24, 'num': 1}, 'audio_stream_index': 0, 'fps': {'den': 1, 'num': 24}, 'audio_bit_rate': 320000, 'acodec': 'mp3', 'path': '/home/videoeditor/Desktop/MixedJustRight/Main Music Folder/So_Bueno.mp3', 'channel_layout': 3, 'pixel_ratio': {'den': 1, 'num': 1}, 'pixel_format': -1, 'vcodec': '', 'top_field_first': True, 'video_stream_index': -1, 'type': 'FFmpegReader', 'video_bit_rate': 0, 'width': 720, 'video_length': '4238', 'display_ratio': {'den': 1, 'num': 1}, 'audio_timebase': {'den': 14112000, 'num': 1}, 'sample_rate': 44100, 'height': 480, 'channels': 2, 'duration': 176.61387634277344, 'has_audio': True, 'has_video': False}, 'effects': [], 'perspective_c3_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c3_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c4_x': {'Points': [{'interpola
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: tion': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c4_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'start': 0, 'has_audio': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'scale_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'shear_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'shear_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'scale': 1, 'volume': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'perspective_c1_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'gravity': 4, 'location_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'title': 'So_Bueno.mp3', 'rotation': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'duration': 176.61387634277344, 'scale_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'image': '/usr/lib/python3/dist-packages/openshot_qt/images/AudioThumbnail.png', 'wave_color': {'alpha': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 255}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'red': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 0}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'blue': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 255}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'green': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 123}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}}, 'waveform': False, 'has_video': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}} add: True partial: False remove: False
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO {'alpha': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'layer': 2, 'id': '30QJH7GOVN', 'file_id': 'PNYUJMSA23', 'anchor': 0, 'display': 0, 'channel_mapping': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'location_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'time': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'perspective_c2_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c1_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'end': 176.61387634277344, 'crop_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'crop_height': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'channel_filter': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'position': 13.28, 'crop_width': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c2_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'crop_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'reader': {'file_size': '7064731', 'has_single_image': False, 'interlaced_frame': False, 'video_timebase': {'den': 24, 'num': 1}, 'audio_stream_index': 0, 'fps': {'den': 1, 'num': 24}, 'audio_bit_rate': 320000, 'acodec': 'mp3', 'path': '/home/videoeditor/Desktop/MixedJustRight/Main Music Folder/So_Bueno.mp3', 'channel_layout': 3, 'pixel_ratio': {'den': 1, 'num': 1}, 'pixel_format': -1, 'vcodec': '', 'top_field_first': True, 'video_stream_index': -1, 'type': 'FFmpegReader', 'video_bit_rate': 0, 'width': 720, 'video_length': '4238', 'display_ratio': {'den': 1, 'num': 1}, 'audio_timebase': {'den': 14112000, 'num': 1}, 'sample_rate': 44100, 'height': 480, 'channels': 2, 'duration': 176.61387634277344, 'has_audio': True, 'has_video': False}, 'effects': [], 'perspective_c3_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c3_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'perspective_c4_x': {'Points': [{'interpolation': 2, 'co': {'X': 1,
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  'Y': -1}}]}, 'perspective_c4_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'start': 0, 'has_audio': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'scale_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'shear_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'shear_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'scale': 1, 'volume': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'perspective_c1_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}, 'gravity': 4, 'location_y': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'title': 'So_Bueno.mp3', 'rotation': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 0}}]}, 'duration': 176.61387634277344, 'scale_x': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': 1}}]}, 'image': '/usr/lib/python3/dist-packages/openshot_qt/images/AudioThumbnail.png', 'wave_color': {'alpha': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 255}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'red': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 0}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'blue': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 255}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}, 'green': {'Points': [{'interpolation': 0, 'handle_left': {'X': 0.5, 'Y': 1}, 'co': {'X': 1, 'Y': 123}, 'handle_right': {'X': 0.5, 'Y': 0}, 'handle_type': 0}]}}, 'waveform': False, 'has_video': {'Points': [{'interpolation': 2, 'co': {'X': 1, 'Y': -1}}]}}
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO updating clip properties model.
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO refreshFrame
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO self.player.Position(): 1
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO main::addSelection: item_id: , item_type: effect, clear_existing: True
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO main::addSelection: item_id: 30QJH7GOVN, item_type: clip, clear_existing: True
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Update item: clip
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Update frame to 1
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO updating clip properties model.
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Getting properties for frame 1: OrderedDict([('alpha', {'interpolation': 2, 'name': 'Alpha', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('anchor', {'interpolation': 2, 'name': 'Anchor', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': True, 'name': 'Canvas'}, {'value': 1, 'selected': False, 'name': 'Viewport'}]}), ('channel_filter', {'interpolation': 2, 'name': 'Channel Filter', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 10, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('channel_mapping', {'interpolation': 2, 'name': 'Channel Mapping', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 10, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('duration', {'interpolation': 2, 'name': 'Duration', 'memo': '', 'value': 176.61387634277344, 'closest_point_x': -1, 'points': 0, 'readonly': True, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices': []}), ('has_audio', {'interpolation': 2, 'name': 'Enable Audio', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('has_video', {'interpolation': 2, 'name': 'Enable Video', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('end', {'interpolation': 2, 'name': 'End', 'memo': '', 'value': 176.61387634277344, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices':
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: []}), ('display', {'interpolation': 2, 'name': 'Frame Number', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 3, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': True, 'name': 'None'}, {'value': 1, 'selected': False, 'name': 'Clip'}, {'value': 2, 'selected': False, 'name': 'Timeline'}, {'value': 3, 'selected': False, 'name': 'Both'}]}), ('gravity', {'interpolation': 2, 'name': 'Gravity', 'memo': '', 'value': 4, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 8, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': False, 'name': 'Top Left'}, {'value': 1, 'selected': False, 'name': 'Top Center'}, {'value': 2, 'selected': False, 'name': 'Top Right'}, {'value': 3, 'selected': False, 'name': 'Left'}, {'value': 4, 'selected': True, 'name': 'Center'}, {'value': 5, 'selected': False, 'name': 'Right'}, {'value': 6, 'selected': False, 'name': 'Bottom Left'}, {'value': 7, 'selected': False, 'name': 'Bottom Center'}, {'value': 8, 'selected': False, 'name': 'Bottom Right'}]}), ('id', {'interpolation': 2, 'name': 'ID', 'memo': '30QJH7GOVN', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': True, 'min': -1, 'max': -1, 'previous_point_x': -1, 'keyframe': False, 'type': 'string', 'choices': []}), ('location_x', {'interpolation': 2, 'name': 'Location X', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('location_y', {'interpolation': 2, 'name': 'Location Y', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('position', {'interpolation': 2, 'name': 'Position', 'memo': '', 'value': 13.279999732971191, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': Fa
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: lse, 'type': 'float', 'choices': []}), ('rotation', {'interpolation': 2, 'name': 'Rotation', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -360, 'max': 360, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('scale', {'interpolation': 2, 'name': 'Scale', 'memo': '', 'value': 1, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 3, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': False, 'name': 'Crop'}, {'value': 1, 'selected': True, 'name': 'Best Fit'}, {'value': 2, 'selected': False, 'name': 'Stretch'}, {'value': 3, 'selected': False, 'name': 'None'}]}), ('scale_x', {'interpolation': 2, 'name': 'Scale X', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('scale_y', {'interpolation': 2, 'name': 'Scale Y', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('shear_x', {'interpolation': 2, 'name': 'Shear X', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('shear_y', {'interpolation': 2, 'name': 'Shear Y', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('start', {'interpolation': 2, 'name': 'Start', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices': []}), ('time', {'interpolation': 2, 'name': 'Time', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []})
    Jun  1 15:52:02 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: , ('layer', {'interpolation': 2, 'name': 'Track', 'memo': '', 'value': 2, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 20, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': []}), ('volume', {'interpolation': 2, 'name': 'Volume', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('wave_color', {'interpolation': 0, 'red': {'interpolation': 0, 'name': 'Red', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'name': 'Wave Color', 'closest_point_x': 1, 'value': 0, 'points': 1, 'green': {'interpolation': 0, 'name': 'Green', 'memo': '', 'value': 123, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'readonly': False, 'blue': {'interpolation': 0, 'name': 'Blue', 'memo': '', 'value': 255, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'min': 0, 'keyframe': True, 'previous_point_x': 1, 'memo': '', 'type': 'color', 'max': 255, 'choices': []}), ('waveform', {'interpolation': 2, 'name': 'Waveform', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 1, 'selected': False, 'name': 'Yes'}, {'value': 0, 'selected': True, 'name': 'No'}]})])
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO Dropping item on timeline - item_id: 30QJH7GOVN, item_type: clip
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: project_data:INFO _set key: ['clips', {'id': '30QJH7GOVN'}] values: {'layer': 4, 'position': 0, 'end': 176.61387634277344, 'id': '30QJH7GOVN', 'image': '/usr/lib/python3/dist-packages/openshot_qt/images/AudioThumbnail.png', 'start': 0} add: False partial: False remove: False
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO SortItems
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: timeline_webview:INFO UpdateLayerIndex
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO {'layer': 4, 'position': 0, 'end': 176.61387634277344, 'id': '30QJH7GOVN', 'image': '/usr/lib/python3/dist-packages/openshot_qt/images/AudioThumbnail.png', 'start': 0}
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO updating clip properties model.
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Getting properties for frame 1: OrderedDict([('alpha', {'interpolation': 2, 'name': 'Alpha', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('anchor', {'interpolation': 2, 'name': 'Anchor', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': True, 'name': 'Canvas'}, {'value': 1, 'selected': False, 'name': 'Viewport'}]}), ('channel_filter', {'interpolation': 2, 'name': 'Channel Filter', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 10, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('channel_mapping', {'interpolation': 2, 'name': 'Channel Mapping', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 10, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('duration', {'interpolation': 2, 'name': 'Duration', 'memo': '', 'value': 176.61387634277344, 'closest_point_x': -1, 'points': 0, 'readonly': True, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices': []}), ('has_audio', {'interpolation': 2, 'name': 'Enable Audio', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('has_video', {'interpolation': 2, 'name': 'Enable Video', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('end', {'interpolation': 2, 'name': 'End', 'memo': '', 'value': 176.61387634277344, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices':
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: []}), ('display', {'interpolation': 2, 'name': 'Frame Number', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 3, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': True, 'name': 'None'}, {'value': 1, 'selected': False, 'name': 'Clip'}, {'value': 2, 'selected': False, 'name': 'Timeline'}, {'value': 3, 'selected': False, 'name': 'Both'}]}), ('gravity', {'interpolation': 2, 'name': 'Gravity', 'memo': '', 'value': 4, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 8, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': False, 'name': 'Top Left'}, {'value': 1, 'selected': False, 'name': 'Top Center'}, {'value': 2, 'selected': False, 'name': 'Top Right'}, {'value': 3, 'selected': False, 'name': 'Left'}, {'value': 4, 'selected': True, 'name': 'Center'}, {'value': 5, 'selected': False, 'name': 'Right'}, {'value': 6, 'selected': False, 'name': 'Bottom Left'}, {'value': 7, 'selected': False, 'name': 'Bottom Center'}, {'value': 8, 'selected': False, 'name': 'Bottom Right'}]}), ('id', {'interpolation': 2, 'name': 'ID', 'memo': '30QJH7GOVN', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': True, 'min': -1, 'max': -1, 'previous_point_x': -1, 'keyframe': False, 'type': 'string', 'choices': []}), ('location_x', {'interpolation': 2, 'name': 'Location X', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('location_y', {'interpolation': 2, 'name': 'Location Y', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('position', {'interpolation': 2, 'name': 'Position', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'flo
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: at', 'choices': []}), ('rotation', {'interpolation': 2, 'name': 'Rotation', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -360, 'max': 360, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('scale', {'interpolation': 2, 'name': 'Scale', 'memo': '', 'value': 1, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 3, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': False, 'name': 'Crop'}, {'value': 1, 'selected': True, 'name': 'Best Fit'}, {'value': 2, 'selected': False, 'name': 'Stretch'}, {'value': 3, 'selected': False, 'name': 'None'}]}), ('scale_x', {'interpolation': 2, 'name': 'Scale X', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('scale_y', {'interpolation': 2, 'name': 'Scale Y', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('shear_x', {'interpolation': 2, 'name': 'Shear X', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('shear_y', {'interpolation': 2, 'name': 'Shear Y', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('start', {'interpolation': 2, 'name': 'Start', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices': []}), ('time', {'interpolation': 2, 'name': 'Time', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('layer', {'int
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: erpolation': 2, 'name': 'Track', 'memo': '', 'value': 4, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 20, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': []}), ('volume', {'interpolation': 2, 'name': 'Volume', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('wave_color', {'interpolation': 0, 'red': {'interpolation': 0, 'name': 'Red', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'name': 'Wave Color', 'closest_point_x': 1, 'value': 0, 'points': 1, 'green': {'interpolation': 0, 'name': 'Green', 'memo': '', 'value': 123, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'readonly': False, 'blue': {'interpolation': 0, 'name': 'Blue', 'memo': '', 'value': 255, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'min': 0, 'keyframe': True, 'previous_point_x': 1, 'memo': '', 'type': 'color', 'max': 255, 'choices': []}), ('waveform', {'interpolation': 2, 'name': 'Waveform', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 1, 'selected': False, 'name': 'Yes'}, {'value': 0, 'selected': True, 'name': 'No'}]})])
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:  main_window:INFO updateStatusChanged
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO refreshFrame
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO self.player.Position(): 1
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Update frame to 1
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO updating clip properties model.
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Getting properties for frame 1: OrderedDict([('alpha', {'interpolation': 2, 'name': 'Alpha', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('anchor', {'interpolation': 2, 'name': 'Anchor', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': True, 'name': 'Canvas'}, {'value': 1, 'selected': False, 'name': 'Viewport'}]}), ('channel_filter', {'interpolation': 2, 'name': 'Channel Filter', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 10, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('channel_mapping', {'interpolation': 2, 'name': 'Channel Mapping', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 10, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('duration', {'interpolation': 2, 'name': 'Duration', 'memo': '', 'value': 176.61387634277344, 'closest_point_x': -1, 'points': 0, 'readonly': True, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices': []}), ('has_audio', {'interpolation': 2, 'name': 'Enable Audio', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('has_video', {'interpolation': 2, 'name': 'Enable Video', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('end', {'interpolation': 2, 'name': 'End', 'memo': '', 'value': 176.61387634277344, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices':
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: []}), ('display', {'interpolation': 2, 'name': 'Frame Number', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 3, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': True, 'name': 'None'}, {'value': 1, 'selected': False, 'name': 'Clip'}, {'value': 2, 'selected': False, 'name': 'Timeline'}, {'value': 3, 'selected': False, 'name': 'Both'}]}), ('gravity', {'interpolation': 2, 'name': 'Gravity', 'memo': '', 'value': 4, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 8, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': False, 'name': 'Top Left'}, {'value': 1, 'selected': False, 'name': 'Top Center'}, {'value': 2, 'selected': False, 'name': 'Top Right'}, {'value': 3, 'selected': False, 'name': 'Left'}, {'value': 4, 'selected': True, 'name': 'Center'}, {'value': 5, 'selected': False, 'name': 'Right'}, {'value': 6, 'selected': False, 'name': 'Bottom Left'}, {'value': 7, 'selected': False, 'name': 'Bottom Center'}, {'value': 8, 'selected': False, 'name': 'Bottom Right'}]}), ('id', {'interpolation': 2, 'name': 'ID', 'memo': '30QJH7GOVN', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': True, 'min': -1, 'max': -1, 'previous_point_x': -1, 'keyframe': False, 'type': 'string', 'choices': []}), ('location_x', {'interpolation': 2, 'name': 'Location X', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('location_y', {'interpolation': 2, 'name': 'Location Y', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('position', {'interpolation': 2, 'name': 'Position', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'flo
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: at', 'choices': []}), ('rotation', {'interpolation': 2, 'name': 'Rotation', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -360, 'max': 360, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('scale', {'interpolation': 2, 'name': 'Scale', 'memo': '', 'value': 1, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 3, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': False, 'name': 'Crop'}, {'value': 1, 'selected': True, 'name': 'Best Fit'}, {'value': 2, 'selected': False, 'name': 'Stretch'}, {'value': 3, 'selected': False, 'name': 'None'}]}), ('scale_x', {'interpolation': 2, 'name': 'Scale X', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('scale_y', {'interpolation': 2, 'name': 'Scale Y', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('shear_x', {'interpolation': 2, 'name': 'Shear X', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('shear_y', {'interpolation': 2, 'name': 'Shear Y', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('start', {'interpolation': 2, 'name': 'Start', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices': []}), ('time', {'interpolation': 2, 'name': 'Time', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('layer', {'int
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: erpolation': 2, 'name': 'Track', 'memo': '', 'value': 4, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 20, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': []}), ('volume', {'interpolation': 2, 'name': 'Volume', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('wave_color', {'interpolation': 0, 'red': {'interpolation': 0, 'name': 'Red', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'name': 'Wave Color', 'closest_point_x': 1, 'value': 0, 'points': 1, 'green': {'interpolation': 0, 'name': 'Green', 'memo': '', 'value': 123, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'readonly': False, 'blue': {'interpolation': 0, 'name': 'Blue', 'memo': '', 'value': 255, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'min': 0, 'keyframe': True, 'previous_point_x': 1, 'memo': '', 'type': 'color', 'max': 255, 'choices': []}), ('waveform', {'interpolation': 2, 'name': 'Waveform', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 1, 'selected': False, 'name': 'Yes'}, {'value': 0, 'selected': True, 'name': 'No'}]})])
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO refreshFrame
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: preview_thread:INFO self.player.Position(): 1
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Update frame to 1
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO updating clip properties model.
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: properties_model:INFO Getting properties for frame 1: OrderedDict([('alpha', {'interpolation': 2, 'name': 'Alpha', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('anchor', {'interpolation': 2, 'name': 'Anchor', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': True, 'name': 'Canvas'}, {'value': 1, 'selected': False, 'name': 'Viewport'}]}), ('channel_filter', {'interpolation': 2, 'name': 'Channel Filter', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 10, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('channel_mapping', {'interpolation': 2, 'name': 'Channel Mapping', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 10, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('duration', {'interpolation': 2, 'name': 'Duration', 'memo': '', 'value': 176.61387634277344, 'closest_point_x': -1, 'points': 0, 'readonly': True, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices': []}), ('has_audio', {'interpolation': 2, 'name': 'Enable Audio', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('has_video', {'interpolation': 2, 'name': 'Enable Video', 'memo': '', 'value': -1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'int', 'choices': []}), ('end', {'interpolation': 2, 'name': 'End', 'memo': '', 'value': 176.61387634277344, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices':
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: []}), ('display', {'interpolation': 2, 'name': 'Frame Number', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 3, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': True, 'name': 'None'}, {'value': 1, 'selected': False, 'name': 'Clip'}, {'value': 2, 'selected': False, 'name': 'Timeline'}, {'value': 3, 'selected': False, 'name': 'Both'}]}), ('gravity', {'interpolation': 2, 'name': 'Gravity', 'memo': '', 'value': 4, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 8, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': False, 'name': 'Top Left'}, {'value': 1, 'selected': False, 'name': 'Top Center'}, {'value': 2, 'selected': False, 'name': 'Top Right'}, {'value': 3, 'selected': False, 'name': 'Left'}, {'value': 4, 'selected': True, 'name': 'Center'}, {'value': 5, 'selected': False, 'name': 'Right'}, {'value': 6, 'selected': False, 'name': 'Bottom Left'}, {'value': 7, 'selected': False, 'name': 'Bottom Center'}, {'value': 8, 'selected': False, 'name': 'Bottom Right'}]}), ('id', {'interpolation': 2, 'name': 'ID', 'memo': '30QJH7GOVN', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': True, 'min': -1, 'max': -1, 'previous_point_x': -1, 'keyframe': False, 'type': 'string', 'choices': []}), ('location_x', {'interpolation': 2, 'name': 'Location X', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('location_y', {'interpolation': 2, 'name': 'Location Y', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('position', {'interpolation': 2, 'name': 'Position', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'flo
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: at', 'choices': []}), ('rotation', {'interpolation': 2, 'name': 'Rotation', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -360, 'max': 360, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('scale', {'interpolation': 2, 'name': 'Scale', 'memo': '', 'value': 1, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 3, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 0, 'selected': False, 'name': 'Crop'}, {'value': 1, 'selected': True, 'name': 'Best Fit'}, {'value': 2, 'selected': False, 'name': 'Stretch'}, {'value': 3, 'selected': False, 'name': 'None'}]}), ('scale_x', {'interpolation': 2, 'name': 'Scale X', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('scale_y', {'interpolation': 2, 'name': 'Scale Y', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('shear_x', {'interpolation': 2, 'name': 'Shear X', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('shear_y', {'interpolation': 2, 'name': 'Shear Y', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': -1, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('start', {'interpolation': 2, 'name': 'Start', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': -1, 'keyframe': False, 'type': 'float', 'choices': []}), ('time', {'interpolation': 2, 'name': 'Time', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 5184000, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('layer', {'int
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: erpolation': 2, 'name': 'Track', 'memo': '', 'value': 4, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 20, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': []}), ('volume', {'interpolation': 2, 'name': 'Volume', 'memo': '', 'value': 1, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}), ('wave_color', {'interpolation': 0, 'red': {'interpolation': 0, 'name': 'Red', 'memo': '', 'value': 0, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'name': 'Wave Color', 'closest_point_x': 1, 'value': 0, 'points': 1, 'green': {'interpolation': 0, 'name': 'Green', 'memo': '', 'value': 123, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'readonly': False, 'blue': {'interpolation': 0, 'name': 'Blue', 'memo': '', 'value': 255, 'closest_point_x': 1, 'points': 1, 'readonly': False, 'min': 0, 'max': 255, 'previous_point_x': 1, 'keyframe': True, 'type': 'float', 'choices': []}, 'min': 0, 'keyframe': True, 'previous_point_x': 1, 'memo': '', 'type': 'color', 'max': 255, 'choices': []}), ('waveform', {'interpolation': 2, 'name': 'Waveform', 'memo': '', 'value': 0, 'closest_point_x': -1, 'points': 0, 'readonly': False, 'min': 0, 'max': 1, 'previous_point_x': -1, 'keyframe': False, 'type': 'int', 'choices': [{'value': 1, 'selected': False, 'name': 'Yes'}, {'value': 0, 'selected': True, 'name': 'No'}]})])
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: [mp3 @ 0x7fb418005de0] Skipping 0 bytes of junk at 176.
    Jun  1 15:52:05 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: [mp3 @ 0x7fb418005de0] Estimating duration from bitrate, this may be inaccurate
    Jun  1 15:52:08 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO currentChanged
    Jun  1 15:52:08 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: files_listview:INFO updateSelection
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: Caught signal 11 (SIGSEGV)
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: ---- Unhandled Exception: Stack Trace ----
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:   /usr/lib/x86_64-linux-gnu/libopenshot.so.11 ( openshot::FFmpegReader::Close()           + 0x53c )  [0x7fb4a10f4f2c]
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:   /usr/lib/x86_64-linux-gnu/libopenshot.so.11 ( openshot::FFmpegReader::Seek(long)        + 0x678 )  [0x7fb4a10f6698]
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:   /usr/lib/x86_64-linux-gnu/libopenshot.so.11 ( openshot::FFmpegReader::GetFrame(long)    + 0xa6f )  [0x7fb4a10fd71f]
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:   /usr/lib/x86_64-linux-gnu/libopenshot.so.11 ( openshot::FrameMapper::GetOrCreateFrame(long)  + 0x2ea )  [0x7fb4a111904a]
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:   /usr/lib/x86_64-linux-gnu/libopenshot.so.11 (                                           + 0x9be26)  [0x7fb4a111be26]
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:   /usr/lib/x86_64-linux-gnu/libgomp.so.1 (                                           + 0xf43e)  [0x7fb49dcba43e]
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:   /lib/x86_64-linux-gnu/libpthread.so.0 (                                           + 0x76ba)  [0x7fb4b7b8f6ba]
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]:   /lib/x86_64-linux-gnu/libc.so.6 ( clone                                     + 0x6d  )  [0x7fb4b78c582d]
    Jun  1 15:52:10 videoeditor-desktop org.mate.panel.applet.MintMenuAppletFactory[1882]: ---- End of Stack Trace ----
    Jun  1 15:55:55 videoeditor-desktop systemd[1]: Started Session 7 of user videoeditor.
    Jun  1 15:55:55 videoeditor-desktop console-kit-daemon[1735]: (process:11183): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
    Jun  1 15:55:55 videoeditor-desktop console-kit-daemon[1735]: missing action
     


  • Apache SSL very slow response with Firefox Freezes/Loads Very slow when checking self-signed SSL certificate


    I was sure this was a Centos bug with OpenSSL, Apache, MySQL or even PHP.  I tried everything but nothing helped.  One clue is that if you check the Apache logs you will see nothing in the access logs until minutes later (this means Firefox has not even passed your request to the remote Apache/htttpd server).

    When even accepting the invalid certificate message that would show up minutes later when trying to "View the Certificate" Firefox would freeze.  This bug is present in even the latest Firefox 53.

    Eventually I realized it was just with Firefox and I suspected it was related to the self-signed SSL certificate even though I've had no problems before.

    This is the key there is a weird Firefox bug where it cannot handle multiples of the exact same certificate so for example if you are generating completely standard OpenSSL certificates by hitting "Enter" all the way through this will be an issue.  There are also some embeded devices and appliances which do this.

    What is the solution:

    This is certainly a Firefox bug but it's also bad and poor practice to generate generic/default OpenSSL certificates.  The solution was to remake the self-signed SSL certificate by entering proper information.  Probably even entering a different CName or organization etc to make the cert unique would be all it would take.

    Here is a discussion on the bug in Mozilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1056341


  • Track 01: 34 of 1726 MB written (fifo 100%) [buf 99%] 3.6x.Errno: 5 (Input/output error), write_g1 scsi sendcmd: cmd timeout after 1.897 (40) s CDB: 2A 00 00 00 44 A9 00 00 1F 00 resid: 6144 cmd finished after 1.897s timeout 40s write track da


    These errors believe it or not are simply because of not being the root user or running with sudo! However if you didn't know to try as root you'd think there was a problem with your burner or disc  Essentially it looks like without root you cannot send the required scsi commands to continue writing.  I think cdrecord should have built-in tests or safeguards to see if it has the permissions to run the required commands.

    I guess for more advanced users the idea is similar that you cannot do a dd from a device without being root usually.

    cdrecord -v linuxmint-18.1-cinnamon-64bit.iso
    wodim: No write mode specified.
    wodim: Assuming -tao mode.
    wodim: Future versions of wodim may have different drive dependent defaults.
    TOC Type: 1 = CD-ROM
    wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
    Device was not specified. Trying to find an appropriate drive...
    Looking for a DVD-R drive to store 1726.31 MiB...
    Detected DVD-R drive: /dev/sr0
    Using /dev/cdrom of unknown capabilities
    scsidev: '/dev/cdrom'
    devname: '/dev/cdrom'
    scsibus: -2 target: -2 lun: -2
    Linux sg driver version: 3.5.27
    Wodim version: 1.1.11
    Driveropts: 'burnfree'
    SCSI buffer size: 64512
    Device type    : Removable CD-ROM
    Version        : 0
    Response Format: 2
    Capabilities   :
    Vendor_info    : 'HL-DT-ST'
    Identification : 'BD-RE WP50NB40  '
    Revision       : '1.00'
    Device seems to be: Generic mmc2 DVD-R/DVD-RW.
    Current: 0x0011 (DVD-R sequential recording)
    Profile: 0x0043 (BD-RE)
    Profile: 0x0042 (BD-R random recording)
    Profile: 0x0041 (BD-R sequential recording)
    Profile: 0x0040 (BD-ROM)
    Profile: 0x002B (DVD+R/DL)
    Profile: 0x001B (DVD+R)
    Profile: 0x001A (DVD+RW)
    Profile: 0x0016 (DVD-R/DL layer jump recording)
    Profile: 0x0015 (DVD-R/DL sequential recording)
    Profile: 0x0014 (DVD-RW sequential recording)
    Profile: 0x0013 (DVD-RW restricted overwrite)
    Profile: 0x0012 (DVD-RAM)
    Profile: 0x0011 (DVD-R sequential recording) (current)
    Profile: 0x0010 (DVD-ROM)
    Profile: 0x000A (CD-RW)
    Profile: 0x0009 (CD-R)
    Profile: 0x0008 (CD-ROM)
    Profile: 0x0002 (Removable disk)
    Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
    Driver flags   : SWABAUDIO BURNFREE
    Supported modes: PACKET SAO
    Drive buf size : 2293760 = 2240 KB
    Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
    communication breaks or freezes immediately after that.
    FIFO size      : 12582912 = 12288 KB
    Track 01: data  1726 MB       
    Total size:     1982 MB (196:24.96) = 883872 sectors
    Lout start:     1982 MB (196:26/72) = 883872 sectors
    Current Secsize: 2048
    HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction.
    Blocks total: 2298496 Blocks current: 2298496 Blocks remaining: 1414624
    Speed set to 11080 KB/s
    Starting to write CD/DVD at speed   8.0 in real unknown mode for single session.
    Last chance to quit, starting real write in    0 seconds. Operation starts.
    Waiting for reader process to fill input buffer ... input buffer ready.
    Performing OPC...
    Starting new track at sector: 0
    Track 01:   34 of 1726 MB written (fifo 100%) [buf  99%]   3.6x.Errno: 5 (Input/output error), write_g1 scsi sendcmd: cmd timeout after 1.897 (40) s
    CDB:  2A 00 00 00 44 A9 00 00 1F 00
    resid: 6144
    cmd finished after 1.897s timeout 40s
    
    write track data: error after 35997696 bytes
    wodim: A write error occured.
    wodim: Please properly read the error message above.
    Errno: 12 (Cannot allocate memory), test unit ready scsi sendcmd: no error
    CDB:  00 00 00 00 00 00
    status: 0x0 (GOOD STATUS)
    cmd finished after 0.000s timeout 40s
    Writing  time:   54.507s
    Average write speed  28.3x.
    Min drive buffer fill was 99%
    Fixating...
    Errno: 12 (Cannot allocate memory), flush cache scsi sendcmd: no error
    CDB:  35 00 00 00 00 00 00 00 00 00
    status: 0x0 (GOOD STATUS)
    cmd finished after 0.000s timeout 120s
    Trouble flushing the cache
    wodim: Cannot fixate disk.
    Fixating time:    0.000s
    Errno: 12 (Cannot allocate memory), prevent/allow medium removal scsi sendcmd: no error
    CDB:  1E 00 00 00 00 00
    status: 0x0 (GOOD STATUS)
    cmd finished after 0.000s timeout 40s
    wodim: fifo had 758 puts and 568 gets.
    wodim: fifo was 0 times empty and 336 times full, min fill was 97%.
    
    

    Solution

    Simply run cdrecord again as root or with sudo:

    cdrecord -v linuxmint-18.1-cinnamon-64bit.iso


  • Transaction Check Error: file /usr/lib64/php/modules/fileinfo.so conflicts between attempted installs of php-pecl-fileinfo-1.0.4-2.el6.rf.x86_64 and php-common-5.3.3-49.el6.x86_64 solution


    Transaction Check Error:
      file /usr/lib64/php/modules/fileinfo.so conflicts between attempted installs of php-pecl-fileinfo-1.0.4-2.el6.rf.x86_64 and php-common-5.3.3-49.el6.x86_64

    solution you can't install php-pecl-fileinfo it seems to be incompatble with the php5.3 being installed:

    yum --exclude=php-pecl-fileinfo --skip-broken --disablerepo=epel install php-*


  • Intel NUC J3455 Linux Support Ubuntu/Linux Mint Issues


    I get the following error "Installer Crashed" on 18.1 MATE 64-bit when installing by NFS/PXE.  Yet it was able to at least detect and use my NIC (perhaps the driver was only activated because of PXE/NFS being used)?

    When using 18.1 Cinnamon on CD the NIC does not work but the installer did succeed.  However it doesn't work right, I can't login graphically and get some Cinnamon OOM error but how can this be with 8GB of RAM straight from login?


  • Linux Mint Install Netboot PXE Guide Howto


    *Update so this doesn't work it must be something to do with the path of nfs or something else but the installer fails with "Installer crashed" at the end whereas with the CD/USB it works.

    This assumes you've already installed and configured a separate PXE/DHCP server somewhere else and your /tftpboot directory is setup.

    This is for Linux Mint 18.1 but generally applies to most versions although you may have tro change things like "casper" according to the code name of the current release in the directory specifications below.

    This work occurs on the source tftp/pxe/dhcp server of course.

    Assumptions/things to change

    Check the IP 192.168.1.43 (change to your tftp/nfs server).

    Step 1 - Setup Working Paths in /tftpboot

    mkdir -p /tftpboot/images/linuxmintmount
    mkdir -p /tftpboot/images/linuxmint18

    cd /tftpboot/images/
    wget http://download-url.com/linuxmint-18.1-mate-64bit.iso

     

    Step 2 - Mount and copy appropriate files from .iso into /tftpboot


    mount -o loop -t iso9660 linuxmint-18.1-mate-64bit.iso linuxmintmount/
    cp -rp linuxmintmount/* linuxmint18

    Step 3 - Setup your boot menu

    vi /tftpboot/pxelinux.cfg/default

    default menu.c32
    prompt 0
    timeout 300
    ONTIMEOUT local

    MENU TITLE PXE Menu
    menu separator
    LABEL LinuxMint 18
    KERNEL images/linuxmint18/casper/vmlinuz
    APPEND root=/dev/nfs boot=casper netboot=nfs nfsroot=192.168.1.43:/tftpboot/images/linuxmint18 initrd=images/linuxmint18/casper/initrd.lz nosplash --

    Step 4 - Setup NFS

    yum -y install nfs-utils

    Specify the network range you want to access to the tftpboot over nfs or it will fail.

    ln -s /tfpboot /srv/

    vi /etc/exports

    /srv/tftpboot    192.168.1.0/24(rw,root_squash,sync,no_subtree_check)

    Setup your exports properly or you'll get this log error:

    uxmint18): unmatched host
    May 30 19:36:46 localhost rpc.mountd[3480]: refused mount request from 192.168.1.51 for /tftpboot/images/linuxmint18 (/tftpboot/images/linuxmint18): unmatched host

     

    Things to double check

    Make sure your firewall is off on the pxe server.


  • xdebug easiest howto get going


    Just make sure you have php-xdebug installed and edit your php.ini:

    [xdebug]
    xdebug.profiler_enable = 0
    xdebug.profiler_enable_trigger = 1

    xdebug.profiler_output_dir = "/tmp/xdebug/"
    xdebug.output_name = "cachegrind.out.%t-%s"

    Also make and set permissions on /tmp/xdebug:

    mkdir /tmp/xdebug

    chmod 777 /tmp/xdebug

    After that simply load the output files into "kcachegrind" on your Desktop.

     


  • [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) - Apache Error Solution


    Does this mean? [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)

    Basically it means you created your SSL Certificate as a CA the wrong way, usually with this command:

    openssl req -new -x509 -nodes -days 1530 -out server.crt -keyout server.key
     

    How can you fix it and do it properly?

    Step 1.) Make a new Private KeyCreate server pass key:

    openssl genrsa -des3 -passout pass:x -out server.pass.key 2048
    Create private key
    openssl rsa -passin pass:x -in server.pass.key -out server.key
    remove server.pass.key (not needed after you have your private key)
    rm server.pass.key
    
    Step 2.) Generate your CSR
    
    Use the newly created server.key (Private Key) to generate your CSR).
    
    openssl req -new -key server.key -out server.csr

    Step 3.) Create .CRT using your CSR

    openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
    
    

     


  • Windows 2012 Essentials r2 error - "system_thread_exception_not_handled (srv.sys)"


    I'm getting this error randomly but suspect it is an update or application conflict.  It also takes ages for this "collection" to happen.

     

    "system_thread_exception_not_handled (srv.sys)"


  • Coolermaster CM Storm Enable LED Backlight in Fedora/Ubuntu/Mint Linux Howto - MB24 Keyboard and MS2K Mouse


    Just type the following in the bash/terminal shell to enable the blue LED light on the Coolermaster CM Storm keyboard:

    xset led 3

    To make it automatic and permanent execute the following as root:

    echo "xset led 3" >> /etc/rc.local
     

    This is a fairly nice gaming keyboard which I bought because I type very quickly and the cheap standard keyboards simply can't keep up!

     


  • wget how to resume download!


    It's very simple you just use the "-c" switch and wget will resume the file (make sure you are in the same directory) or specify -O /path/to/partialdownload.zip

    wget -c http://someurl/file.zip


  • strange vi errors in Linux Mint/Ubuntu line 58: E488: Trailing characters: t_Sbet line 63: E171: Missing :endif


    This happens on any file an even just typing "vi" whereas it never happened before.  I suspect an update or environment variable is causing this issue

    When entering vi I get this weird stuff

    line   58:
    E488: Trailing characters: t_Sbet
    line   63:
    E171: Missing :endif

    When exiting vi I get this weird stuff

      t_Sb=^[[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m


  • MySQL Add multiple IPs for remote user including root howto


    To grant the IP 192.168.2.4 to user mysqlguy

    GRANT ALL ON *.* TO 'mysqlguy'@'192.168.2.4';

    To allow any IP for mysqlguy just use the wildcard % character


    GRANT ALL ON *.* TO 'mysqlguy'@'%';

    Also note it is normal and fine to have multiple entries in the mysql table.


  • cPanel error Access denied for user 'root'@'localhost' when adding remote MySQL IP address solution


    Error while connecting to MYSQL: (XID 4ea7s9) Access denied for user 'root'@'localhost' (using password: YES) at /usr/local/cpanel/Cpanel/Mysql.pm line 181
    

    Solution

    This error occurs because the /root/.my.cnf has the wrong/outdated password for MySQL root user.  Simply edit /root/.my.cnf with the correct user. This normally happens if you update outside of cPanel.

     

     


  • Text Editors - Top Linux Ubuntu/Debian/Mint Options


    1.) gedit/pluma

    both very good the only thing I wish is that there was an autosave for unsaved documents!  The only other competitor which is similar but I prefer less is kwrite (although I think kwrite may have proper autosave)

    pluma seems to be a renamed gedit yet gedit is still installable on Linux Mint)
     

    2.) kwrite/kate

    very similar to gedit/pluma but doesn't seem as nice and smooth

     

    3.) leafpad

    very basic like Microsoft Notepad Text Editor

    4.) Scribes

    again more for coding seems heavy duty/slow to load and weird

    5.) Cream

    seems ancient and a basic code editor


  • Linux shows my drive as being dead is it really? Buffer I/O error on device sdb, logical block 0 sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00


    Normally the below would indicate a failing or failed drive.  In this case the SATA port was unplugged and sometimes the Linux kernel/motherboard even with AHCI just don't play nice and can't handle it.

    What happened is I plugged in a new drive after removing another one.  However the log shows that after the old drive was plugged in the Linux kernel kept complaining thinking the drive was there but not responding properly.  This continued even with reseating the new drive.
    So if you've removed an old drive/dead drive and the port doesn't work on the new one, don't assume your new drive is DOA.  Instead reboot or try a new SATA port to be sure.

    May 23 15:01:03 box2 kernel: __ratelimit: 1401 callbacks suppressed
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 20 00
    May 23 15:01:03 box2 kernel: __ratelimit: 1402 callbacks suppressed
    May 23 15:01:03 box2 kernel: end_request: I/O error, dev sdb, sector 0
    May 23 15:01:03 box2 kernel: __ratelimit: 1471 callbacks suppressed
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 0
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 1
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 2
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 3
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
    May 23 15:01:03 box2 kernel: end_request: I/O error, dev sdb, sector 0
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 0
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 3a 38 60 28 00 00 08 00
    May 23 15:01:03 box2 kernel: end_request: I/O error, dev sdb, sector 976773160
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 122096645
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 3a 38 60 28 00 00 08 00
    May 23 15:01:03 box2 kernel: end_request: I/O error, dev sdb, sector 976773160
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 122096645
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 20 00
    May 23 15:01:03 box2 kernel: end_request: I/O error, dev sdb, sector 0
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 0
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 1
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:03 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
    May 23 15:01:03 box2 kernel: end_request: I/O error, dev sdb, sector 0
    May 23 15:01:03 box2 kernel: Buffer I/O error on device sdb, logical block 0
    May 23 15:01:07 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:07 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 20 00
    May 23 15:01:07 box2 kernel: end_request: I/O error, dev sdb, sector 0
    May 23 15:01:07 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:07 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
    May 23 15:01:07 box2 kernel: end_request: I/O error, dev sdb, sector 0
    May 23 15:01:07 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:07 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 3a 38 60 28 00 00 08 00
    May 23 15:01:07 box2 kernel: end_request: I/O error, dev sdb, sector 976773160
    May 23 15:01:07 box2 kernel: sd 3:0:0:0: [sdb]  Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    May 23 15:01:07 box2 kernel: sd 3:0:0:0: [sdb] CDB: Read(10): 28 00 3a 38 60 28 00 00 08 00
    May 23 15:01:07 box2 kernel: end_request: I/O error, dev sdb, sector 976773160
    

    As we can see the same drive comes up fine on another port.

    However the drive was working fine and kept throwing errors like above so a reboot was required. This is the first time I've seen an issue like this.  It seems like the other port's issue affected the entire bus from working with any new device.

     

     


  • use ffmpeg to watermark videos if mencoder/bmovl fail


    If you have this problem: http://realtechtalk.com/mencoder_bmovl_error_vf_bmovl_Unknown_command_Ignoring_-1860-articles

    Then ffmpeg is for you.  Go here if you are using Linux Mint and cannot find or install it to use an external PPA.

    Easy solution and how to use ffmpeg to watermark:

    ffmpeg -i  yourvideo.mp4 -i yourwatermark.jpg -filter_complex "overlay=10:10" outputfile.mp4

    Source: another great ffmpeg watermark tutorial


  • mencoder bmovl error vf_bmovl: Unknown command: ''. Ignoring.


    Based on this tutorial: http://www.linuxjournal.com/content/overlay-images-video-using-mplayer-and-mencoder

    mencoder -oac pcm -ovc raw -vf bmovl=0:0:tfifo -o $output $file


    vf_bmovl: Unknown command: ''. Ignoring.  

    If you get this error use ffmpeg instead and follow this quick/easy tutorial

    Full script as follows does not work on mencoder on Linux Mint 17:

    MEncoder 1.1-4.8 (C) 2000-2012 MPlayer Team
     

     

    #!/bin/bash
    #does work error
    #vf_bmovl: Unknown command: ''. Ignoring.

    watermark=$1
    watermark="FINAL.jpg"
    watermark_height=600
    watermark_width=500
    file=$2
    output=$file-watermark.mp4
    if [ -z "$watermark" ] || [ -z "$file" ]; then
       echo "Usage $0 watermarkfile.jpg file.mp4"
       exit 1
    fi
    #convert watermark to rgba
    convert $watermark tlogo.rgba
    #Copy logo to fifo
    rm -f tfifo
    mkfifo tfifo

    (echo "RGBA32 500 600 0 0 0 1" ; cat tlogo.rgba ) >tfifo &
    mencoder -oac pcm -ovc raw -vfm bmovl=0:0:$watermark -o $output $file


    rm -f tfifo
    rm -f tlogo.rgba

     


  • Linux Mint/Ubuntu/Debian Nvidia driver becomes slow graphics performance issue


    I've had this issue since Ubuntu 9 and now even on Linux Mint 17 no matter what latest version of the Nvidia proprietary driver that I use.  It just becomes slower and slower and only gets better after rebooting or restarting Xorg.

    Someone here has it as well

    https://askubuntu.com/questions/822449/graphics-becomes-slow-after-a-while/917886

    It's very frustrating that this issue has been recurring with all OS's, drivers and different Nvidia cards I've had with no resolution.  I am almost considering going ATI if that driver doesn't have the slowdown issue

     

     

     

     


  • Linux Mint missing ffmpeg solution to install from Ubuntu PPA


    This is very annoying that ffmpeg is missing from Linux Mint!  They have ffmpeg2theora which is a totally different codec and does not work as ffmpeg does at all (it is basically totally different).

    However on Linux Mint 17 I was able to use a Ubuntu PPA and sucessfully install ffmpeg!

    https://launchpad.net/~mc3man/+archive/ubuntu/trusty-media

    Adding this PPA to your system

    You can update your system with unsupported packages from this untrusted PPA by adding ppa:mc3man/trusty-media to your system's Software Sources. (Read about installing)

    sudo add-apt-repository ppa:mc3man/trusty-media
    sudo apt-get update

    Solution Now Install ffmpeg!
          

    sudo apt-get install ffmpeg


  • phpBB3 slow and internal dummy connection


    Using Apache 2.2 and PHP 5.6 PHPBB3 is very slow to respond.  Actually for some reason it takes so long to even register a log entry in access_log as in several seconds or a few minutes later it shows up in Apache.  All other vhosts and Apache access stops working and freezes until the request to access PHPBB3 slowly completes.

    It seems to randomly be slow if you stop using it whether for posting or reading the forums.  I've migrated to different machines including SSD and the problem has not changed at all.  Some have posted that the internal dummy connection means Apache is killing off dead workers.

    I've never had an issue like this with any PHP app except PHPBB3


    80.38.44.5 - whichuser [19/May/2017:03:23:37 -0400] "GET /forums/cron.php?cron_type=cron.task.core.tidy_warnings HTTP/1.1" 200 43 "https://192.168.5.8/forums/posting.php?f=4&mode=edit&p=25&t=24&sid=71000a75c63243f82054d4717c6316bf" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0"
    127.0.0.1 - - [19/May/2017:03:23:42 -0400] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.15 (CentOS) (internal dummy connection)"


    127.0.0.1 - - [19/May/2017:03:26:23 -0400] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.15 (CentOS) (internal dummy connection)"

     

    this issue is accompanied by a delay in any logging activity of a few minutes and then suddenly it loads the destination page and a cron script:

    192.168.1.29 - whichuser [25/May/2017:01:50:15 -0400] "POST /phpBB3/ucp.php?mode=login&sid=b5a1c0e5f9bb2a9474e8ceaee3f21c8e HTTP/1.1" 302 - "https://192.168.1.144/phpBB3/viewtopic.php?f=4&t=31&sid=f9b1b31d209b729fda25227ccc27d2e7" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0"
    192.168.1.29 - whichuser [25/May/2017:01:50:15 -0400] "GET /phpBB3/viewtopic.php?f=4&t=31&sid=713b30d33575fcedca22f04c9d3d7739 HTTP/1.1" 200 27900 "https://192.168.1.144/phpBB3/viewtopic.php?f=4&t=31&sid=f9b1b31d209b729fda25227ccc27d2e7" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0"
    192.168.1.29 - whichuser [25/May/2017:01:50:16 -0400] "GET /phpBB3/cron.php?cron_type=cron.task.core.tidy_cache HTTP/1.1" 200 43 "https://192.168.1.144/phpBB3/viewtopic.php?f=4&t=31&sid=713b30d33575fcedca22f04c9d3d7739" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0"
    127.0.0.1 - - [25/May/2017:01:50:22 -0400] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.15 (CentOS) (internal dummy connection)"


  • check if Apache uses worker MPM or prefork MPM




    apachectl -l
    Compiled in modules:
      core.c
      prefork.c
      http_core.c
      mod_so.c



    It is "prefork.c" so in httpd.conf these settings are what you would use (if you use worker.c it won't have any impact):

    <IfModule prefork.c>
    StartServers      2
    MinSpareServers   5
    MaxSpareServers   20
    ServerLimit      300
    MaxClients       300
    #MaxRequestsPerChild  0
    MaxRequestsPerChild 100
    </IfModule>


  • text to speech for Linux


    espeak - is horrible and sounds very old and robotic
    echo "hello there"|espeak

    #don't know how to use
    mbrola and plugins
    cicero

    jovie just seems to be a graphical interface to espeak

    There is also sbreader/sapi

    Google's Text To Speech Works Quite Well

    #!/bin/bash
    say() { local IFS=+;/usr/bin/mplayer -ao alsa -really-quiet -noconsolecontrols "http://translate.google.com/translate_tts?ie=UTF-8&client=tw-ob&q=$*&tl=en"; }
    say $*

    How to use the script:

    ./script.sh "hello there my name is John"

    The above produces an error by plays just fine:

    mplayer: could not connect to socket
    mplayer: No such file or directory


  • How to convert xlsx/xls Excel file into csv


    A lot of times these files seem to lag and be incredibly slow even if just a few dozens rows of data.

    Here is how you can convert it with "gnumeric":

    ssconvert file.xlsx file.csv
     

    You may get lots of weird errors like this but the conversion seems to work fine:

    (ssconvert:15244): GLib-GObject-WARNING **: g_object_set_valist: object class 'SheetObjectImage' has no property named 'style'

    (ssconvert:15244): GLib-GObject-WARNING **: g_object_set_valist: object class 'SheetObjectImage' has no property named 'style'

    (ssconvert:15244): GLib-GObject-WARNING **: g_object_set_valist: object class 'SheetObjectImage' has no property named 'style'

    (ssconvert:15244): GLib-GObject-WARNING **: g_object_set_valist: object class 'SheetObjectImage' has no property named 'style'

    (ssconvert:15244): GLib-GObject-WARNING **: g_object_set_valist: object class 'SheetObjectImage' has no property named 'style'

    (ssconvert:15244): GLib-GObject-WARNING **: g_object_set_valist: object class 'SheetObjectImage' has no property named 'style'

    (ssconvert:15244): GLib-GObject-WARNING **: g_object_set_valist: object class 'SheetObjectImage' has no property named 'style'


  • Linux bash script how to generate a random password using /dev/urandom


    This command will generate a random password using all letters and numbers that is 20 characters wrong based on /dev/urandom (for the most truly random output).

    echo `< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-20};echo;`


  • ssh forward multiple ports in the same connection and command even works with NAT!


    You can actually just pass multiple "-L" statements to achieve this.

    An example is as below:

    ssl -L 80:192.168.10.5:80 -L 443:192.168.10.5:443 -L 2068:192.168.10.5:2068 -L 8192:192.168.10.5:8192  user@remotehost.com
     

    The above essentially is saying forward ports 80,443,2068,8192 to the remote IP of 192.168.10.5 (even though it is behind NAT).  Essentially SSH will do the NAT part even if there is no NAT translation/ masquerade on the target.

    Remember the port number on the left is the local port number you will access by and the number on the right is the destination IP's port


  • How to create openssl md5 password hash to use in /etc/shadow using bash


    Very useful in embedded and other non-standard deployments.  The above makes a random salt of 14 random characters from /dev/urandom (you can change the -14 to whatever number of characters you want for your salt).

    openssl passwd -1 -salt `< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-14};echo;` YourPassword

    Output:

    $1$eW-ScuyL$f/iKMJ5mbJ..7bSzvX6EO0
     

     


  • Avocent DSR8020 KVM/IP - Network Connect Error - Solution


    This error is commonly due to Java security or TLS settings but there is a second issue with forwarded ports that also causes it.

     

    1. Java Security/TLS Settings issue:

    This article has the solution to change them all in Linux automatically

    2. Port Forwarding Issue if your Avocent DSR is behind NAT/private IP

    One would assume if you can get to the interface successfully via port 80/443 that all would be well but it's not enough.

    Actually a port scan shows the following ports are open on the DSR:

    PORT     STATE SERVICE
    80/tcp   open  http
    443/tcp  open  https
    2068/tcp open  advocentkvm
    3211/tcp open  avsecuremgmt
    3871/tcp open  avocent-adsap
    8192/tcp open  sophos
    

    You could forward all above ports but for normal functionality they are not required unless you are using the Avocent software I believe.

    Forward these ports to your private IP of the Avocent DSR:

    80,443,2068,8192

    An example in iptables of how to forward the ports:

    -s 192.168.5.4/32 #this is the only public IP that can access it (you can do away with this line if you want any remote IP to have access but for security this is recommended.  I find the unit itself tends to crash from attacks/hacking attempts when left wide open to the public.

    iptables -A PREROUTING -t nat -s 192.16.5.4/32 -d 103.2.5.2/32 -p tcp -m multiport --dports 80,443,2068,8192,3871,3211 -j DNAT --to 192.168.10.5

    The same portforwarding can also be achieved with OpenSSH like this:

    *Replace 192.168.10.5 with the NAT IP of your Avocent DSR unit

    ssl -L 80:192.168.10.5:80 -L 443:192.168.10.5:443 -L 2068:192.168.10.5:2068 -L 8192:192.168.10.5:8192  user@remotehost.com
     

    Other related Avocent DSR issues

    http://realtechtalk.com/Avocent_Unable_to_load_resource_avctVideojar-1646-articles

    http://realtechtalk.com/Avocent_8020_KVM_Java_Icedtea_Viewer_-1702-articles


  • PHP Parse error: syntax error, unexpected '[' in phpBB3/vendor/react/promise/src/functions.php on line 15


    The solution is simple this happens if you don't meet the requirements.  In my case PHP 5.4 was required but I had PHP 5.3 installed.  Once I installed a newer version the install of PHPBB was successful.


  • tar extraction changes ownership of /root directory


    I have a tar and when extracting it changes /root to a uid and gid of the source server which is bad especially for /root!

    You can get around this by extracting as follows:

    Add the -o switch which means "--no-same-owner"

    tar -o -zxvf sometar.tar.gz


  • Centos 7 Migration Guide from Centos 6


    Centos 7 is no cakewalk, there are many fundamental features and basic utilities that are missing or even completely renamed or different!

    List of utilities and how to get them:

     

    ifconfig

    yum -y install net-tools

    killall

    yum -y install psmisc

     

     


  • ubuntu Linux colour dropper picker


    gpick is a great and simple tool now that I now how to use it

    sudo apt-get install gpick

    The trick is to find "the swatch"

    I was in a rush and was frustrated that it wouldn't work how I expected and I had to memorize the hex code of the color my mouse was over.

    There is something it tells you to do which is "Click on the swatch area" (click onthe honeycomb graphic area that is the swatch) and then whenever you hit the "spacebar" the code will be recorded on the right side for you to copy and refer to later. 


  • zip warning: name not matched: in Linux Solution


    There are usually two reasons for this.

    #1 The most common is that you need to enable the -r (recursive) flag with zip to make it recurse into directories.

    So the solution is to use -r

    zip -r somefile.zip yourfiles

    #2 If you are using bash scripting based on ls without the full path or for some other reason the full path is missing, zip looks for the files in the current directory so this will always fail.

    filelist=`ls -1 thedirectory`

    The problem is that ls just lists the files off as if it were in the current directory and this is why zip is complaining (essentially the files do not exist to zip because it is being told to look in the wrong/current directory).

    If this is your issue you can correct it like so:

     

    filelist=`ls -1d thedirectory/*`

    You add the "-d" switch and also /* at the end of the directory.

     


  • ls in Linux with full directory path with files howto


    Normally an ls will just produce the actual contents of the current or target directory eg.

    ls mydir

    myfile1

    myfile2

    myfile3

    But what if you need to find the full or relative path to another program that cares whether that be zip or etc.?

    You need the "-d" switch and the asterisk inside the actual directory.

    ls -d mydir/*

    mydir/myfile1

    mydir/myfile2

    mydir/myfile3

     


  • bash how to check if a symlink exists as a file or directory


    To check if a file/directory is a symlink in bash:

    if [ -L /some/path/file ]; then

    echo "OK we're a symlink"

    fi

     

    That's all there is to it.


  • css .ul and .li how to remove the identation padding/margin from list items?


    A common mistake is people think you should tell the li padding to be 0px but this is wrong.

    All you need is the following code in line:

    <ul style="margin:0px">

    <li>your item</li>

    <li>your item</li>

    </ul>

    In a css class:

    .yourclass {

    ul.margin: 0px;

    }


  • how to extract .xz file in Linux Centos/Debian/Ubuntu


    tar -xvJf somefile.tar.xz

    It is very annoying that so many are now using the .xz archive format as standard instead of .tar.gz but nevertheless above is how you would extract it with the "J" flag (not lower case j as that is for bz).


  • Linux how to whois query other gTLDs such as .club solution


    whois in Linux is incredibly out of date and does not seem to recognize most new TLDs domains, but there is a quick and easy tip/hack/tweak for this.

    An example of new TLD's site as .review .site .club

    whois somesite.club

    No whois server is known for this kind of object.
     

    bash to the rescue

    Now I did try to apply this in .bashrc but DO NOT!  I think the * wildcard or something else in the code causes a recursive infinite loop that will slow or cash your computer. (I am not kidding I had a load of 1000!).

    1.) The bash script (finds the whois server for the .tld and queries it):

    #!/bin/bash
    server=$1
    whois -h `whois "$1" -h whois.iana.org| grep whois:| sed -e s/whois:\s*//` "$1"

    2.) Save it to a file in your home ~/whoisserver.sh

    3.) Edit ~/.bashrc

    Add the following:

    function whois() { /home/yourdir/whoisserver.sh $1; }

    To apply instantly in your current shell/bash:

    source .bashrc

    The reason I used a function is because it supports variables whereas a bash "alias" does not.


  • How to verify SSL SHA-1 Certificate Fingerprnit Signature of your mail/web server to avoid hijacking/man-in-the-middle attacks


    This is especially helpful if you run your own servers.  If you are presented with an error message or warning that the signature has changed or does not match the IP/domain you are connecting to you always want to verify manually.

    So your e-mail/web client will show you an SHA-1 fingerprint like this:

    "Could not verify this certificate because the issuer is unkown" or other reasons such as a mismatch in IP/domain.

    It will also show you the "SHA1 fingerprint".   Copy this and compare below with the results of your actual server certificate.

    How to verify it against the actual certificate on your server?:

    openssl x509 -fingerprint -in /pathto/your-certificate.crt -noout

    SHA1 Fingerprint=CD:32:57:8A:66:18:71:87:81:B8:A5:F6:2E:52:3D:15:C5:A9:41:06

    How to manually fetch the SHA1 certificate straight from the server to compare?

    openssl s_client -showcerts -connect yourdomain.com:port 2>/dev/null|openssl x509 -fingerprint -noout

    Conclusion

    This is an important and good way to verify that you are actually talking to who you think you are and that there is no direct interception or Middleman attack.


  • Linux Ubuntu Mint how to view RAW image files .arw?


    I just use "ufraw" and it does the trick perfectly. Now I wish I could figure out how to batch convert them into .jpg with ImageMagick (it seems support for .raw is not guaranteed or it has to be compiled in).

    apt-get install ufraw


  • ecryptfs errors


    ecryptfs-mount-private
    Enter your login passphrase:
    Inserted auth tok with sig [ee16d84] "into the user session keyring
    mount: No such file or directory"


    [  156.118113] ecryptfs_mount: kern_path() failed
    [  156.118431] Reading sb failed; rc = [-2]
    [  164.233055] traps: mate-notificati[3472] trap int3 ip:7f43d7002c13 sp:7fff162c6600 error:0
    [  166.017061] ecryptfs_mount: kern_path() failed
    [  166.017323] Reading sb failed; rc = [-2]

    The reason for this is that you don't have the .Private directory for your user symlinked from /home/.ecryptfs/user/.Private to your home directory or .Private does not exist (common mistake when migrating ecryptfs data to another system).

    Solution:

    rsync -Phaz /home/.ecryptfs/yourusername/.Private ~


  • What happens when you unplug 1 or more devices from an mdadm RAID array to simulate a failure in Linux Ubuntu/Centos/Debian?



    In short the two drives in the array were /dev/sdd and /dev/sde.  The kernel sees they were unplugged and have gone down as you can see below.
    mdadm caught the first one being unplugged /dev/sde and disabled the missing drive.  However when the final drive that was part of the array is unplugged it didn't notice at all.  Instead it complains about an IO error later for drives that the kernel knows do not exist anymore.

    [45817.162728] ata4: exception Emask 0x10 SAct 0x0 SErr 0x1810000 action 0xe frozen
    [45817.162744] ata4: SError: { PHYRdyChg LinkSeq TrStaTrns }
    [45817.162757] ata4: hard resetting link
    [45817.162763] ata4: nv: skipping hardreset on occupied port
    [45817.875776] ata4: SATA link down (SStatus 0 SControl 300)
    [45822.876730] ata4: hard resetting link
    [45822.876743] ata4: nv: skipping hardreset on occupied port
    [45823.188801] ata4: SATA link down (SStatus 0 SControl 300)
    [45823.188825] ata4: limiting SATA link speed to 1.5 Gbps
    [45828.189782] ata4: hard resetting link
    [45828.189796] ata4: nv: skipping hardreset on occupied port
    [45828.501840] ata4: SATA link down (SStatus 0 SControl 300)
    [45828.501862] ata4.00: disabled
    [45828.501889] ata4: EH complete
    [45828.501917] ata4.00: detaching (SCSI 4:0:0:0)
    [45828.507327] sd 4:0:0:0: [sde] Synchronizing SCSI cache
    [45828.507413] sd 4:0:0:0: [sde]
    [45828.507419] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    [45828.507425] sd 4:0:0:0: [sde] Stopping disk
    [45828.507443] sd 4:0:0:0: [sde] START_STOP FAILED
    [45828.507448] sd 4:0:0:0: [sde]
    [45828.507451] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    [45828.513870] md/raid10:md2: Disk failure on sde3, disabling device.
    [45828.513870] md/raid10:md2: Operation continuing on 1 devices.
    [45828.515601] md/raid1:md0: Disk failure on sde1, disabling device.
    [45828.515601] md/raid1:md0: Operation continuing on 1 devices.
    [45828.515699] md/raid1:md1: Disk failure on sde2, disabling device.
    [45828.515699] md/raid1:md1: Operation continuing on 1 devices.
    [45828.550897] RAID1 conf printout:
    [45828.550907]  --- wd:1 rd:2
    [45828.550914]  disk 0, wo:1, o:0, dev:sde1
    [45828.550919]  disk 1, wo:0, o:1, dev:sdd1
    [45828.550922] RAID1 conf printout:
    [45828.550926]  --- wd:1 rd:2
    [45828.550929]  disk 0, wo:1, o:0, dev:sde2
    [45828.550933]  disk 1, wo:0, o:1, dev:sdd2
    [45828.557889] RAID1 conf printout:
    [45828.557891] RAID1 conf printout:
    [45828.557898]  --- wd:1 rd:2
    [45828.557901]  disk 1, wo:0, o:1, dev:sdd2
    [45828.557908]  --- wd:1 rd:2
    [45828.557913]  disk 1, wo:0, o:1, dev:sdd1
    [45828.564720] RAID10 conf printout:
    [45828.564742]  --- wd:1 rd:2
    [45828.564749]  disk 0, wo:1, o:0, dev:sde3
    [45828.564751]  disk 1, wo:0, o:1, dev:sdd3
    [45828.569892] RAID10 conf printout:
    [45828.569895]  --- wd:1 rd:2
    [45828.569898]  disk 1, wo:0, o:1, dev:sdd3
    [45828.584569] md: unbind

    [45828.584599] md: unbind

    [45828.601887] md: export_rdev(sde2)
    [45828.606689] md: unbind

    [45828.609925] md: export_rdev(sde1)
    [45828.625934] md: export_rdev(sde3)
    [45853.787165] ata3: exception Emask 0x10 SAct 0x0 SErr 0x1910000 action 0xe frozen
    [45853.787181] ata3: SError: { PHYRdyChg Dispar LinkSeq TrStaTrns }
    [45853.787194] ata3: hard resetting link
    [45853.787199] ata3: nv: skipping hardreset on occupied port
    [45854.502904] ata3: SATA link down (SStatus 0 SControl 300)
    [45859.503897] ata3: hard resetting link
    [45859.503910] ata3: nv: skipping hardreset on occupied port
    [45859.815936] ata3: SATA link down (SStatus 0 SControl 300)
    [45859.815959] ata3: limiting SATA link speed to 1.5 Gbps
    [45864.816953] ata3: hard resetting link
    [45864.816970] ata3: nv: skipping hardreset on occupied port
    [45865.128991] ata3: SATA link down (SStatus 0 SControl 300)
    [45865.129016] ata3.00: disabled
    [45865.129049] ata3: EH complete
    [45865.129082] ata3.00: detaching (SCSI 3:0:0:0)
    [45865.134492] sd 3:0:0:0: [sdd] Synchronizing SCSI cache
    [45865.134606] sd 3:0:0:0: [sdd]
    [45865.134612] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
    [45865.134618] sd 3:0:0:0: [sdd] Stopping disk
    [45865.134638] sd 3:0:0:0: [sdd] START_STOP FAILED
    [45865.134643] sd 3:0:0:0: [sdd]
    [45865.134647] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK


    [46361.713303] Buffer I/O error on device md2, logical block 0
    [46361.713321] Buffer I/O error on device md2, logical block 1
    [46361.713333] Buffer I/O error on device md2, logical block 2
    [46361.713343] Buffer I/O error on device md2, logical block 3
    [46361.713352] Buffer I/O error on device md2, logical block 0
    [46361.713374] Buffer I/O error on device md2, logical block 177343231
    [46361.713383] Buffer I/O error on device md2, logical block 177343231
    [46361.713479] Buffer I/O error on device md2, logical block 0
    [46361.713491] Buffer I/O error on device md2, logical block 1
    [46361.713500] Buffer I/O error on device md2, logical block 2


    See below it believes the last drive (sdd) to be unplugged is still plugged in!


    Personalities : [raid10] [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4]
    md0 : active raid1 sdd1[2]
          20955008 blocks super 1.2 [2/1] [_U]
       
    md1 : active raid1 sdd2[1]
          2097088 blocks [2/1] [_U]
       
    md2 : active raid10 sdd3[2]
          709372928 blocks super 1.2 512K chunks 2 far-copies [2/1] [_U]
          bitmap: 0/6 pages [0KB], 65536KB chunk

     


  • Migrating from Linux Mint 17.2 mdadm RAID array to a new one (because I upgraded to larger drives).



    1.) Replicate the number of partitions in your new drives.
    gdisk /dev/sda
    gdisk /dev/sdb

    I created 3 partitions of the same same size.
    partition #1: +1G (/boot)
    partition #2: +60G (swap)
    partition #3: rest of it (/)

    #note if you are using GPT/gdisk you need to create separate a partition at least 1MB in size (in my case I would a 4th partition and mark it type ef02).

    Note again do not make my mistake.  You cannot just mark your grub /boot partition as ef02, it will not boot (despite grub2 not complaining during install).


    gdisk /dev/sdc
    GPT fdisk (gdisk) version 0.8.8

    Partition table scan:
      MBR: protective
      BSD: not present
      APM: not present
      GPT: present

    Found valid GPT with protective MBR; using GPT.

    Command (? for help): t
    Partition number (1-3): 1
    Current type is 'Linux filesystem'
    Hex code or GUID (L to show codes, Enter = 8300): ef02
    Changed type of partition to 'BIOS boot partition'

    Command (? for help): wq

    Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
    PARTITIONS!!




    2.) Create 3 new mdadm arrays that are suitable:


    Note the first mdadm array is my boot so I use RAID 1 and metadata=0.90 (or it will not be able to read/boot)


    mdadm --create /dev/md51 --metadata=0.90 --level 1 --raid-devices 2 /dev/sdb1 /dev/sdc1
    mdadm --create /dev/md52 --level 10 --layout f2 --raid-devices 2 /dev/sdb2 /dev/sdc2
    mdadm --create /dev/md53 --level 10 --layout f2 --raid-devices 2 /dev/sdb3 /dev/sdc3


    Note md51=/boot
         md52=swap
         md53=/
    3.) Create appropraite filesystems:

    mkfs.ext4 /dev/md51
    mkswap /dev/md52
    mkfs.ext4 /dev/md53

    Note md51=/boot
         md52=swap
         md53=/

    4.) Mount them and prepare to migrate

    I am going to use /mnt/newinstall as the staging ground.

    #make staging dir
    mkdir -p /mnt/newinstall
    #make boot and / inside stage:


    #mount them
    mount /dev/md53 /mnt/newinstall/
    mkdir -p /mnt/newinstall/boot
    mount /dev/md51 /mnt/newinstall/boot


    5.) Migrate with rsync

    I am going to omit /media/* and /mnt/* to avoid copying other mounted devices

    *If you have ecryptfs you will want to exclude /home/user if mounted so you don't copy both encrypted and decrypted files (doubling your storage usage and also exposing an unencrypted copy of your data).


    rsync -Pha --exclude=/proc/* --exclude=/sys/* --exclude=/home/user/* --exclude=/media/* --exclude=/mnt/* / /mnt/newinstall/
    #rsync the .ecryptfs info to your user or you will lose access be unable to auto-mount it

    rsync -Phaz /home/user/.ecryptfs /mnt/newinstall/home/user

    rsync -Phaz /home/user/.Private /mnt/newinstall/home/user

    6.) chroot and prepare environment.
    mount=/mnt/newinstall
    for bind in dev sys proc; do
    mount -o bind /$bind /$mount/$bind
    done

    chroot /mnt/newinstall
    grub-install /dev/sda
    grub-install /dev/sdb
    update-grub



    #update mdadm
    #backup
    cp /etc/mdadm/mdadm.conf /etc/mdadm/mdadm.conf-`date +%Y-%m-%d-%s`
    mdadm --detail --brief --scan > /etc/mdadm/mdadm.conf



    #update /etc/fstab /boot, /, and swap, with the right blkid
    vi /etc/fstab

    UUID=1119d26-da8e-4317-a5cb-834402b90501 /               ext4    errors=remount-ro 0       1
    UUID=22296bff-79c5-4d19-b343-e21d10c5fe9b TYPE=ext4 /boot           ext4    defaults        0       2
    UUID=44423ded-5e6b-4f16-9ca9-b8ef69ce00ed none            swap    sw              0       0


    blkid /dev/md51
    blkid /dev/md52
    blkid /dev/md53

    Note md51=/boot
         md52=swap
         md53=/

    #update initramfs

    update-initramfs -u


  • Linux how to reformat html file code solution


    The solution is simply "tidy"/Tidy-HTML.  It will take your poorly formatted HTML code (and I mean files that span just a few lines that are unreadable) and fix it up.

    Note the command below does everything in place.  *Make sure you take a backup of all .html files*

    It also seems to break html5 code/templates so beware.

    tidy -im yourfile.html

    An automated way in bash:

    cd /your/website/directory

    for html in `find .|grep ".html$"`; do

    tidy -im $html

    done


  • ENOM how to do a 301 redirect to another domain/site


    Just manage your domain in Enom and choose "Host Records"

    Choose "URL Redirect" as the record type.

    As shown below choose the URL and add "?redir_mode=301" to the end of it.

    To test the 301 and make sure it is a 301 (unlike Godaddy which really did a 302 when I chose 301!).

     


  • ENOM TRANSFER passwords do not match - solution


    The "passwords do not match" implies or makes it appear that your auth code is wrong but actually you have to click "View additional settings" and then see there are 2 password fields to manage the domain once it is transferred (the password is typed twice for confirmation).  Simply fill out a password twice or remove the first password fields contents and all will be well.

     

    The Solution:

    Fix the issue with the "Access Password".  Either remove the first password field's contents or type your password in both fields.


  • Linux how to check http headers using bash/curl for SEO


    What code is being returned or where is a URL/domain redirecting you to?  Curl makes this easy and simple:

    curl -I yourdomain.com


  • mdadm: CREATE group disk not found Incrementally started RAID arrays. Incrementally starting RAID arrays...


    mdadm won't boot in Ubuntu/Mint/Debian anymore.

    You just get the following in a loop:

    mdadm: CREATE group disk not found
    
    Incrementally started RAID arrays.
    
    Incrementally starting RAID arrays...
    
    mdadm: CREATE group disk not found
    
    Incrementally started RAID arrays.
    
    Incrementally starting RAID arrays...
    
    mdadm: CREATE group disk not found
    
    Incrementally started RAID arrays.
    
    Incrementally starting RAID arrays...
    
    mdadm: CREATE group disk not found
    
    Incrementally started RAID arrays.
    
    Incrementally starting RAID arrays...

    Solution

    In Linux Mint 17.2 which is based on Ubuntu/Debian the issue was I am using the 3.0 Kernel, but I upgraded the kernel to a 4.4.

    Simply "hold shift" before the grub boot screen and boot your old 3.0 kernel and remove the 4.4 to boot again.

    There is definitely some bug or incompatibility that was introduced, it may be in the initramfs etc.. but this is a quick fix in case you can't boot.


  • Linux SAMBA does not work with symlinks


    At first I thought it's just not possible but there is actually an option that can be enabled to make symlinks work with Samba.

    Then I put this under the [global] section
    Note: It's "wide links" and not "wide symlinks" (some other sites have incorrect info which was a frustrating waste of time :))
     

    Add this to your smb.conf

    follow symlinks = yes
    wide links = yes
    unix extensions = no


     


  • How to Execute PHP in .html files with Apache in Linux Centos/Debian/Ubuntu etc


    Add this to the .htaccess file

    #right/working:

    AddType application/x-httpd-php .html .htm
     

    #wrong (won't work in many cases):
    AddHandler application/x-httpd-php5 .html .htm


  • mdadm how to recover from failed drive


    Remove the failed partition /dev/sde1

     mdadm --manage /dev/md99 -r /dev/sde1
    mdadm: hot removed /dev/sde1 from /dev/md99

     

    Now add another drive back to replace it:


     # mdadm --manage /dev/md99 -a /dev/sdf1
    mdadm: added /dev/sdf1

     

    A "cat /proc/mdstat" should show it resyncing if all is well.


  • yum Packages skipped because of dependency problems:


    Solution:

    yum -y install --skip-broken package-you-want-to-install

    Packages skipped because of dependency problems:
        php56w-mysql-5.6.30-1.w6.x86_64 from webtatic
    Error:  Multilib version problems found. This often means that the root
           cause is something else and multilib version checking is just
           pointing out that there is a problem. Eg.:
          
             1. You have an upgrade for apr which is missing some
                dependency that another package requires. Yum is trying to
                solve this by installing an older version of apr of the
                different architecture. If you exclude the bad architecture
                yum will tell you what the root cause is (which package
                requires what). You can try redoing the upgrade with
                --exclude apr.otherarch ... this should give you an error
                message showing the root cause of the problem.
          
             2. You have multiple architectures of apr installed, but
                yum can only see an upgrade for one of those arcitectures.
                If you don't want/need both architectures anymore then you
                can remove the one with the missing update and everything
                will work.
          
             3. You have duplicate versions of apr installed already.
                You can use "yum check" to get yum show these errors.
          
           ...you can also use --setopt=protected_multilib=false to remove
           this checking, however this is almost never the correct thing to
           do as something else is very likely to go wrong (often causing
           much more problems).
          
           Protected multilib versions: apr-1.3.9-5.el6_2.i686 != apr-1.5.2-2.x86_64
    Error: Protected multilib versions: apr-util-1.3.9-3.el6_0.1.i686 != apr-util-1.5.4-2.x86_64


  • Using a proxy with yum in Centos 6


    Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
    12: Timeout on http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
    Error: Cannot find a valid baseurl for repo: base



    You would think this should be fine and simple like using a proxy with most other software?
    However you would be severely mistaken to think like I did!

    First of all yum CANNOT even use a SOCKS server, it only supports http://!
    Fine, so we will set one in yum.conf like so: proxy=http://somehost:8080

    Another way is to set an all_proxy or http_proxy environment variable (this saves you from adding the proxy to yum itself but beware it means all operations are proxied):

    export all_proxy="http://someurl:8080"
    #or
    export http_proxy="http://someurl:8080"


    Let's do a yum update:

    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
    12: Timeout on http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
    Error: Cannot find a valid baseurl for repo: base


    The problem is that due to Squid's caching nature you will never get a proper result so the mirror list operation will always fail.

    How can you fix it?
    It's a pain, you have to go to your repos and comment out all the "mirrorlist" lines and uncomment "baseurl" lines (be sure to backup the .conf/repo before you do this).

    It is really too bad there is no "seamless" way of proxying yum.


  • How Do you Open/Extract .WARC Internet Archive Files on Linux Ubuntu/Mint/Centos?


    Get the python "warc extractor" from here.  WARC just seems to be such an unnecessary and complicated format.  Why not use tar, rar, zip etc...?

     

    ./warc-extractor.py -dump content !http:content-type:pdf yourfile.warc

  • How To Disable htaccess inheritance or exclude a directory


    The only real way us to do the following in the root of your site's .htaccess

    RewriteRule ^somedirectory-not-to-inherit/.*$ - [L]


  • root/home directory has ownership changed to the wrong user/owner mysteriously


    I figured out what caused this but don't have the solution just yet.  I would deploy a certain script from a .tar.gz to some servers and found that /root was always owned by user and group "1000.1000".  This corresonded to the user who made the .tar.gz.

    For some reason when extract normally with "tar -zxvf file.tar.gz" it impacts the parent directories ownership.  There must be some recursion going on or possibly the .tar.gz but I haven't found the solution.

    The solution is here.


  • mdadm and lvm how to completely disable and remove vg/pv/lv


    In short the solution is just to use vgremove for the actual /dev/mapper device:

    vgremove /dev/mapper/backups-backuplv


     

    box mnt # mdadm --manage /dev/md8 --stop
    mdadm: Cannot get exclusive access to /dev/md8:Perhaps a running process, mounted filesystem or active volume group?
    box mnt # lv
    lvchange     lvconvert    lvcreate     lvdisplay    lvextend     lvm          lvmchange    lvmconf      lvmdiskscan  lvmdump      lvmsadc      lvmsar       lvreduce     lvremove     lvrename     lvresize     lvs          lvscan
    box mnt # pvdisplay
      --- Physical volume ---
      PV Name               /dev/md8
      VG Name               backups
      PV Size               7.28 TiB / not usable 4.00 MiB
      Allocatable           yes
      PE Size               4.00 MiB
      Total PE              1907688
      Free PE               20251
      Allocated PE          1887437
      PV UUID               IDnmlM-2r3q-McwV-y2at-djxK-DvPM-sFqlTo
      
    box mnt # pvchange --help
      pvchange: Change attributes of physical volume(s)

    pvchange
        [-a|--all]
        [-A|--autobackup y|n]
        [-d|--debug]
        [-f|--force]
        [-h|--help]
        [-t|--test]
        [-u|--uuid]
        [-x|--allocatable y|n]
        [--metadataignore y|n]
        [-v|--verbose]
        [--addtag Tag]
        [--deltag Tag]
        [--version]
        [PhysicalVolumePath...]

    box mnt # pvchange --help^C
    box mnt # pvremove /dev/md8
      PV /dev/md8 belongs to Volume Group backups so please use vgreduce first.
      (If you are certain you need pvremove, then confirm by using --force twice.)
    box mnt # vgdisplay
      --- Volume group ---
      VG Name               backups
      System ID            
      Format                lvm2
      Metadata Areas        1
      Metadata Sequence No  2
      VG Access             read/write
      VG Status             resizable
      MAX LV                0
      Cur LV                1
      Open LV               0
      Max PV                0
      Cur PV                1
      Act PV                1
      VG Size               7.28 TiB
      PE Size               4.00 MiB
      Total PE              1907688
      Alloc PE / Size       1887437 / 7.20 TiB
      Free  PE / Size       20251 / 79.11 GiB
      VG UUID               DwxSxL-UmcV-TyjM-TUa1-ef4w-lrK5-cipxiI
      
    box mnt # vgremove /dev/^C
    box mnt # ls /dev/m
    mapper/  mcelog   md/      md0      md0p1    md1      md1p1    md2      md20     md2p1    md8      md99     mem      mpt2ctl 
    box mnt # ls /dev/m
    mapper/  mcelog   md/      md0      md0p1    md1      md1p1    md2      md20     md2p1    md8      md99     mem      mpt2ctl 
    box mnt # ls /dev/mapper/
    backups-backuplv  control          
    box mnt # vgremove /dev/mapper/backups-backuplv
      Invalid volume group name: backups/backuplv
      Run `vgremove --help' for more information.
    box mnt # vgremove /dev/mapper/backups
    Do you really want to remove volume group "backups" containing 1 logical volumes? [y/n]: y
    Do you really want to remove and DISCARD active logical volume backuplv? [y/n]: y
      Logical volume "backuplv" successfully removed
      Volume group "backups" successfully removed
    box mnt #
     


  • sshd[10470]: Authentication refused: bad ownership or modes for directory /root


    This can be a case of bad permissions or modes as the error says.  Normally one would assume permissions but often a script may change ownership of /root to something else.

    This was the case half the time I've encountered this.

    So in short make sure ownership is correct

    chown -R root.root /root


  • LG Phoenix 2 Escape Disable AT&T Phonebook/Contacts Error Message


    A friend has this issue where you try to go to contacts and you get a message saying you need to enable data (basically if you are not really on the AT&T network).

    The Solution - You can disable this by the following code in the dialer:

    *#*#2666#*#*


  • mdadm frozen and doesn't realize array is dead/missing failed due to unplugged drives


    This was a surprising bug but I unplugged all drives for an array md127.  At first it was just 1 drive and mdadm seemed to notice this.  I unplugged the second drive taking the array offline but mdadm did not realize it was offline and still showed a non-existent disk as being part of it.  This created problems trying to unmount it or even to stop this array with mdadm freezing. 

    As for how to fix it I can only think of making sure you are not in a mounted path of the array, unmount it and then manually stop the array but this didn't seem to work until the hung task kicked in.

    mdadm --manage /dev/md127 --stop

     

    The resulting kernel messages are what followed:

     

    8586.047108] EXT4-fs error (device md127): __ext4_get_inode_loc:3932: inode #12058625: block 48234528: comm pool: unable to read itable block
    [48586.047119] EXT4-fs (md127): previous I/O error to superblock detected
    [48586.047207] Buffer I/O error on device md127, logical block 0
    [48586.047216] lost page write due to I/O error on md127
    [48586.248009] md: super_written gets error=-19, uptodate=0
    [48594.634065] md: super_written gets error=-19, uptodate=0
    [48594.634173] Buffer I/O error on device md127, logical block 91258880
    [48594.634186] lost page write due to I/O error on md127
    [48594.634221] JBD2: Error -5 detected when updating journal superblock for md127-8.
    [48594.634286] Buffer I/O error on device md127, logical block 91258880
    [48594.634299] lost page write due to I/O error on md127
    [48594.634329] JBD2: Error -5 detected when updating journal superblock for md127-8.
    [48594.635892] EXT4-fs (md127): previous I/O error to superblock detected
    [48594.635974] Buffer I/O error on device md127, logical block 0
    [48594.635984] lost page write due to I/O error on md127
    [48594.837653] md: super_written gets error=-19, uptodate=0
    [48851.459776] init: smbd main process (1204) killed by TERM signal
    [48966.998219] Buffer I/O error on device md127, logical block 0
    [48966.998241] Buffer I/O error on device md127, logical block 0
    [48966.998267] Buffer I/O error on device md127, logical block 183110512
    [48966.998277] Buffer I/O error on device md127, logical block 183110512
    [48966.998295] Buffer I/O error on device md127, logical block 183110526
    [48966.998304] Buffer I/O error on device md127, logical block 183110526
    [48966.998315] Buffer I/O error on device md127, logical block 0
    [48966.998329] Buffer I/O error on device md127, logical block 1
    [48966.998337] Buffer I/O error on device md127, logical block 1
    [48966.998357] Buffer I/O error on device md127, logical block 183110527
    [49172.119413] md: md20 stopped.
    [49172.193601] md: bind<sdf1>
    [49184.251750] quiet_error: 124 callbacks suppressed
    [49184.251764] Buffer I/O error on device md127, logical block 183110512
    [49184.251778] Buffer I/O error on device md127, logical block 183110512
    [49184.251799] Buffer I/O error on device md127, logical block 183110526
    [49184.251808] Buffer I/O error on device md127, logical block 183110526
    [49184.251823] Buffer I/O error on device md127, logical block 0
    [49184.251831] Buffer I/O error on device md127, logical block 0
    [49184.251846] Buffer I/O error on device md127, logical block 1
    [49184.251854] Buffer I/O error on device md127, logical block 1
    [49184.251869] Buffer I/O error on device md127, logical block 183110527
    [49184.251877] Buffer I/O error on device md127, logical block 183110527
    [49210.081588] INFO: task mdadm:16228 blocked for more than 120 seconds.
    [49210.081605]       Tainted: P           OE 3.16.0-38-generic #52~14.04.1-Ubuntu
    [49210.081610] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [49210.081616] mdadm           D ffff88080fd530c0     0 16228  15783 0x00000004
    [49210.081627]  ffff88005539fc70 0000000000000082 ffff880804045180 ffff88005539ffd8
    [49210.081635]  00000000000130c0 00000000000130c0 ffff880804721460 ffff88005539fd98
    [49210.081642]  ffff88005539fda0 7fffffffffffffff ffff880804045180 0000000000000000
    [49210.081649] Call Trace:
    [49210.081668]  [<ffffffff817699f9>] schedule+0x29/0x70
    [49210.081677]  [<ffffffff81768dd9>] schedule_timeout+0x229/0x2a0
    [49210.081687]  [<ffffffff81087ef6>] ? __queue_work+0x136/0x320
    [49210.081694]  [<ffffffff810881aa>] ? __queue_delayed_work+0xaa/0x1a0
    [49210.081701]  [<ffffffff81088509>] ? try_to_grab_pending+0xa9/0x160
    [49210.081709]  [<ffffffff8176a4f6>] wait_for_completion+0xa6/0x160
    [49210.081718]  [<ffffffff810a1550>] ? wake_up_state+0x20/0x20
    [49210.081728]  [<ffffffff811fc97f>] writeback_inodes_sb_nr+0x7f/0xb0
    [49210.081735]  [<ffffffff811fc9d5>] writeback_inodes_sb+0x25/0x30
    [49210.081745]  [<ffffffff812039cd>] sync_filesystem+0x2d/0xa0
    [49210.081753]  [<ffffffff8120af24>] fsync_bdev+0x24/0x60
    [49210.081764]  [<ffffffff81366183>] blkdev_ioctl+0x433/0x7b0
    [49210.081772]  [<ffffffff8120a5c1>] block_ioctl+0x41/0x50
    [49210.081779]  [<ffffffff811e7360>] do_vfs_ioctl+0x2e0/0x4c0
    [49210.081788]  [<ffffffff811d96c5>] ? SYSC_newfstat+0x25/0x30
    [49210.081795]  [<ffffffff811e75c1>] SyS_ioctl+0x81/0xa0
    [49210.081804]  [<ffffffff8176da4d>] system_call_fastpath+0x1a/0x1f
    [49210.866657] quiet_error: 260 callbacks suppressed
    [49210.866670] Buffer I/O error on device md127, logical block 183110512
    [49210.866685] Buffer I/O error on device md127, logical block 183110512
    [49210.866705] Buffer I/O error on device md127, logical block 183110526
    [49210.866715] Buffer I/O error on device md127, logical block 183110526
    [49210.866729] Buffer I/O error on device md127, logical block 0
    [49210.866738] Buffer I/O error on device md127, logical block 0
    [49210.866753] Buffer I/O error on device md127, logical block 1
    [49210.866762] Buffer I/O error on device md127, logical block 1
    [49210.866777] Buffer I/O error on device md127, logical block 183110527
    [49210.866786] Buffer I/O error on device md127, logical block 183110527
    [49218.834738] md127: detected capacity change from 750020722688 to 0
    [49218.834759] md: md127 stopped.
    [49218.834776] md: unbind<sdc1>
    [49218.839214] md: export_rdev(sdc1)
    [49275.360612] init: smbd main process (16150) killed by TERM signal
    [49330.104883] INFO: task mdadm:16228 blocked for more than 120 seconds.
    [49330.104892]       Tainted: P           OE 3.16.0-38-generic #52~14.04.1-Ubuntu
    [49330.104895] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [49330.104898] mdadm           D ffff88080fd530c0     0 16228  15783 0x00000004
    [49330.104904]  ffff88005539fc70 0000000000000082 ffff880804045180 ffff88005539ffd8
    [49330.104908]  00000000000130c0 00000000000130c0 ffff880804721460 ffff88005539fd98
    [49330.104911]  ffff88005539fda0 7fffffffffffffff ffff880804045180 0000000000000000
    [49330.104916] Call Trace:
    [49330.104929]  [<ffffffff817699f9>] schedule+0x29/0x70
    [49330.104933]  [<ffffffff81768dd9>] schedule_timeout+0x229/0x2a0
    [49330.104939]  [<ffffffff81087ef6>] ? __queue_work+0x136/0x320
    [49330.104942]  [<ffffffff810881aa>] ? __queue_delayed_work+0xaa/0x1a0
    [49330.104946]  [<ffffffff81088509>] ? try_to_grab_pending+0xa9/0x160
    [49330.104949]  [<ffffffff8176a4f6>] wait_for_completion+0xa6/0x160
    [49330.104955]  [<ffffffff810a1550>] ? wake_up_state+0x20/0x20
    [49330.104960]  [<ffffffff811fc97f>] writeback_inodes_sb_nr+0x7f/0xb0
    [49330.104963]  [<ffffffff811fc9d5>] writeback_inodes_sb+0x25/0x30
    [49330.104969]  [<ffffffff812039cd>] sync_filesystem+0x2d/0xa0
    [49330.104973]  [<ffffffff8120af24>] fsync_bdev+0x24/0x60
    [49330.104979]  [<ffffffff81366183>] blkdev_ioctl+0x433/0x7b0
    [49330.104983]  [<ffffffff8120a5c1>] block_ioctl+0x41/0x50
    [49330.104987]  [<ffffffff811e7360>] do_vfs_ioctl+0x2e0/0x4c0
    [49330.104992]  [<ffffffff811d96c5>] ? SYSC_newfstat+0x25/0x30
    [49330.104995]  [<ffffffff811e75c1>] SyS_ioctl+0x81/0xa0
    [49330.104999]  [<ffffffff8176da4d>] system_call_fastpath+0x1a/0x1f
    [49488.994434] md/raid10:md20: active with 1 out of 2 devices
    [49488.994492] md20: detected capacity change from 0 to 750020722688
    [49489.014456]  md20: unknown partition table
    [49505.301904] EXT4-fs (md20): recovery complete
    [49505.319010] EXT4-fs (md20): mounted filesystem with ordered data mode. Opts: (null)
    [49524.680801] systemd-hostnamed[16729]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
    [49570.151706] INFO: task mdadm:16228 blocked for more than 120 seconds.
    [49570.151723]       Tainted: P           OE 3.16.0-38-generic #52~14.04.1-Ubuntu
    [49570.151728] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [49570.151734] mdadm           D ffff88080fd530c0     0 16228  15783 0x00000004
    [49570.151745]  ffff88005539fc80 0000000000000082 ffff880804045180 ffff88005539ffd8
    [49570.151753]  00000000000130c0 00000000000130c0 ffff880804721460 ffff88005539fda8
    [49570.151761]  ffff88005539fdb0 7fffffffffffffff ffff880804045180 0000000000000000
    [49570.151768] Call Trace:
    [49570.151787]  [<ffffffff817699f9>] schedule+0x29/0x70
    [49570.151796]  [<ffffffff81768dd9>] schedule_timeout+0x229/0x2a0
    [49570.151806]  [<ffffffff81087ef6>] ? __queue_work+0x136/0x320
    [49570.151813]  [<ffffffff810881aa>] ? __queue_delayed_work+0xaa/0x1a0
    [49570.151820]  [<ffffffff8108857d>] ? try_to_grab_pending+0x11d/0x160
    [49570.151828]  [<ffffffff8176a4f6>] wait_for_completion+0xa6/0x160
    [49570.151837]  [<ffffffff810a1550>] ? wake_up_state+0x20/0x20
    [49570.151846]  [<ffffffff811fca85>] sync_inodes_sb+0xa5/0x1c0
    [49570.151857]  [<ffffffff812039fb>] sync_filesystem+0x5b/0xa0
    [49570.151865]  [<ffffffff8120af24>] fsync_bdev+0x24/0x60
    [49570.151876]  [<ffffffff81366183>] blkdev_ioctl+0x433/0x7b0
    [49570.151883]  [<ffffffff8120a5c1>] block_ioctl+0x41/0x50
    [49570.151891]  [<ffffffff811e7360>] do_vfs_ioctl+0x2e0/0x4c0
    [49570.151899]  [<ffffffff811d96c5>] ? SYSC_newfstat+0x25/0x30
    [49570.151906]  [<ffffffff811e75c1>] SyS_ioctl+0x81/0xa0
    [49570.151915]  [<ffffffff8176da4d>] system_call_fastpath+0x1a/0x1f
    [49690.175082] INFO: task mdadm:16228 blocked for more than 120 seconds.
    [49690.175099]       Tainted: P           OE 3.16.0-38-generic #52~14.04.1-Ubuntu
    [49690.175104] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [49690.175110] mdadm           D ffff88080fd530c0     0 16228  15783 0x00000004
    [49690.175121]  ffff88005539fc80 0000000000000082 ffff880804045180 ffff88005539ffd8
    [49690.175129]  00000000000130c0 00000000000130c0 ffff880804721460 ffff88005539fda8
    [49690.175136]  ffff88005539fdb0 7fffffffffffffff ffff880804045180 0000000000000000
    [49690.175144] Call Trace:
    [49690.175164]  [<ffffffff817699f9>] schedule+0x29/0x70
    [49690.175172]  [<ffffffff81768dd9>] schedule_timeout+0x229/0x2a0
    [49690.175182]  [<ffffffff81087ef6>] ? __queue_work+0x136/0x320
    [49690.175190]  [<ffffffff810881aa>] ? __queue_delayed_work+0xaa/0x1a0
    [49690.175197]  [<ffffffff8108857d>] ? try_to_grab_pending+0x11d/0x160
    [49690.175205]  [<ffffffff8176a4f6>] wait_for_completion+0xa6/0x160
    [49690.175214]  [<ffffffff810a1550>] ? wake_up_state+0x20/0x20
    [49690.175224]  [<ffffffff811fca85>] sync_inodes_sb+0xa5/0x1c0
    [49690.175234]  [<ffffffff812039fb>] sync_filesystem+0x5b/0xa0
    [49690.175242]  [<ffffffff8120af24>] fsync_bdev+0x24/0x60
    [49690.175253]  [<ffffffff81366183>] blkdev_ioctl+0x433/0x7b0
    [49690.175261]  [<ffffffff8120a5c1>] block_ioctl+0x41/0x50
    [49690.175268]  [<ffffffff811e7360>] do_vfs_ioctl+0x2e0/0x4c0
    [49690.175277]  [<ffffffff811d96c5>] ? SYSC_newfstat+0x25/0x30
    [49690.175284]  [<ffffffff811e75c1>] SyS_ioctl+0x81/0xa0
    [49690.175293]  [<ffffffff8176da4d>] system_call_fastpath+0x1a/0x1f
    [49810.198423] INFO: task mdadm:16228 blocked for more than 120 seconds.
    [49810.198438]       Tainted: P           OE 3.16.0-38-generic #52~14.04.1-Ubuntu
    [49810.198443] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [49810.198449] mdadm           D ffff88080fd530c0     0 16228  15783 0x00000004
    [49810.198461]  ffff88005539fc80 0000000000000082 ffff880804045180 ffff88005539ffd8
    [49810.198469]  00000000000130c0 00000000000130c0 ffff880804721460 ffff88005539fda8
    [49810.198476]  ffff88005539fdb0 7fffffffffffffff ffff880804045180 0000000000000000
    [49810.198483] Call Trace:
    [49810.198503]  [<ffffffff817699f9>] schedule+0x29/0x70
    [49810.198512]  [<ffffffff81768dd9>] schedule_timeout+0x229/0x2a0
    [49810.198522]  [<ffffffff81087ef6>] ? __queue_work+0x136/0x320
    [49810.198530]  [<ffffffff810881aa>] ? __queue_delayed_work+0xaa/0x1a0
    [49810.198537]  [<ffffffff8108857d>] ? try_to_grab_pending+0x11d/0x160
    [49810.198545]  [<ffffffff8176a4f6>] wait_for_completion+0xa6/0x160
    [49810.198554]  [<ffffffff810a1550>] ? wake_up_state+0x20/0x20
    [49810.198563]  [<ffffffff811fca85>] sync_inodes_sb+0xa5/0x1c0
    [49810.198574]  [<ffffffff812039fb>] sync_filesystem+0x5b/0xa0
    [49810.198582]  [<ffffffff8120af24>] fsync_bdev+0x24/0x60
    [49810.198593]  [<ffffffff81366183>] blkdev_ioctl+0x433/0x7b0
    [49810.198601]  [<ffffffff8120a5c1>] block_ioctl+0x41/0x50
    [49810.198608]  [<ffffffff811e7360>] do_vfs_ioctl+0x2e0/0x4c0
    [49810.198617]  [<ffffffff811d96c5>] ? SYSC_newfstat+0x25/0x30
    [49810.198624]  [<ffffffff811e75c1>] SyS_ioctl+0x81/0xa0
    [49810.198638]  [<ffffffff8176da4d>] system_call_fastpath+0x1a/0x1f
     


  • Unable to mount location Failed to retrieve share list from server: No such file or directory solution


    Cannot even "Browse Network" when clicking on "Windows Network"

    Unable to mount location
    Failed to retrieve share list from server: No such file or directory

    logs:

    [2017/02/14 00:16:44.271314,  0] ../source3/nmbd/nmbd.c:58(terminate)
      Got SIGTERM: going down...
    [2017/02/13 17:35:41.797944,  0] ../lib/util/become_daemon.c:124(daemon_ready)
      STATUS=daemon 'nmbd' finished starting up and ready to serve connections
    [2017/02/14 01:36:51.984161,  0] ../source3/libsmb/nmblib.c:873(send_udp)
      Packet send failed to 192.168.1.255(138) ERRNO=Invalid argument
    [2017/02/14 01:36:51.984314,  0] ../source3/libsmb/nmblib.c:873(send_udp)
      Packet send failed to 192.168.1.255(137) ERRNO=Invalid argument
    [2017/02/14 01:36:51.984353,  0] ../source3/nmbd/nmbd_packets.c:179(send_netbios_packet)
      send_netbios_packet: send_packet() to IP 192.168.1.255 port 137 failed
    [2017/02/14 01:36:51.984390,  0] ../source3/nmbd/nmbd_nameregister.c:582(register_name)
      register_name: Failed to send packet trying to register name __MSBROWSE__<01>

     

    Solution

    • problem was a missing share (share mount point was not active or mounted due to drives being dead/disconnected) in /etc/samba/smb.conf
    • had to fix it and restart nmbd and smbd manually (restarting samba itself for some reason did nothing).

    sudo service nmbd restart
    sudo service smbd restart

     


  • mdadm how to make inactive array active


    This happens when you assemble array it doesn't mean it will be active for many reasons:

    md20 : inactive sdf1[2](S)
          732442488 blocks super 1.2

    Solution:

     sudo mdadm --manage /dev/md20  --run


  • ImageMagick how to trim white space automatically in Linux


    convert -trim yourimage.png

    That's all there is to it, very simple, clean and quick!


  • curl: (1) Protocol "https not supported or disabled in libcurl"


    This seems to only happen from a bash script but it's not clear why it works from the terminal but not from a bash script.


  • Centos 5 OpenSSL does not support TLS 1.2 Apache Error


    [Thu Jan 26 14:13:31 2017] [notice] caught SIGTERM, shutting down
    [Thu Jan 26 14:14:00 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Thu Jan 26 14:14:00 2017] [error] Server certificate is expired: 'Server-Cert'
    [Thu Jan 26 14:14:00 2017] [notice] SSL FIPS mode disabled
    [Thu Jan 26 14:14:07 2017] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Thu Jan 26 14:14:07 2017] [error] Server certificate is expired: 'Server-Cert'
    [Thu Jan 26 14:14:07 2017] [notice] SSL FIPS mode disabled



    Stopping httpd:                                            [  OK  ]
    Starting httpd: Syntax error on line 101 of /etc/httpd/conf.d/ssl.conf:
    SSLProtocol: Illegal protocol 'TLSv1.2'
                                                               [FAILED]

    Solution

    Edit ssl.conf and remove the TLSv1.2 line.  Upgrade to Centos 6 or a newer distro for TLS 1.2 support which is much more secure .


  • DRBD Split-brain solution


    Uh oh

    [17925926.174277] block drbd0: Handshake successful: Agreed network protocol version 96
    [17925926.174325] block drbd0: conn( WFConnection -> WFReportParams )
    [17925926.174342] block drbd0: Starting asender thread (from drbd0_receiver [1682])
    [17925926.174432] block drbd0: data-integrity-alg: <not-used>
    [17925926.174581] block drbd0: drbd_sync_handshake:
    [17925926.174586] block drbd0: self 2AAE66AF9252D6DB:2815BF75CBEA0687:E303F24CF2826E13:E302F24CF2826E13 bits:73000 flags:0
    [17925926.174591] block drbd0: peer 24F1983D580A1E83:2815BF75CBEA0686:E303F24CF2826E12:E302F24CF2826E13 bits:93874 flags:0
    [17925926.174596] block drbd0: uuid_compare()=100 by rule 90
    [17925926.174602] block drbd0: helper command: /sbin/drbdadm initial-split-brain minor-0
    [17925926.180872] block drbd0: meta connection shut down by peer.
    [17925926.181041] block drbd0: conn( WFReportParams -> NetworkFailure )
    [17925926.181055] block drbd0: asender terminated
    [17925926.181058] block drbd0: Terminating asender thread
    [17925926.207698] block drbd0: helper command: /sbin/drbdadm initial-split-brain minor-0 exit code 0 (0x0)
    [17925926.207704] block drbd0: Split-Brain detected but unresolved, dropping connection!
    [17925926.207876] block drbd0: helper command: /sbin/drbdadm split-brain minor-0
    [17925926.209653] block drbd0: helper command: /sbin/drbdadm split-brain minor-0 exit code 0 (0x0)
    [17925926.209659] block drbd0: conn( NetworkFailure -> Disconnecting )
    [17925926.209668] block drbd0: error receiving ReportState, l: 4!
    [17925926.209839] block drbd0: Connection closed
    [17925926.209846] block drbd0: conn( Disconnecting -> StandAlone )
    [17925926.209862] block drbd0: receiver terminated
    [17925926.209865] block drbd0: Terminating receiver thread


    [root@box18 ~]# cat /proc/drbd
    version: 8.3.13 (api:88/proto:86-96)
    GIT-hash: 83ca112086600faacab2f157bc5a9324f7bd7f77 build by root@sighted, 2012-10-09 12:47:51
     0: cs:WFConnection ro:Secondary/Unknown ds:UpToDate/DUnknown A r-----
        ns:0 nr:0 dw:983961744 dr:1225316590 al:3645772 bm:110268 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:1619916
    [root@box18 ~]# drbdadm connect r0
    DRBD module version: 8.3.13
       userland version: 8.3.16
    preferably kernel and userland versions should match.
    0: Failure: (125) Device has a net-config (use disconnect first)
    Command 'drbdsetup 0 net ipv4:192.168.5.2.18:7788 ipv4:192.168.5.2.17:7788 A --set-defaults --create-device --after-sb-0pri=discard-least-changes --after-sb-1pri=consensus' terminated with exit code 10


    [root@box18 ~]# drbdadm connect r0
    DRBD module version: 8.3.13
       userland version: 8.3.16
    preferably kernel and userland versions should match.
    0: Failure: (125) Device has a net-config (use disconnect first)
    Command 'drbdsetup 0 net ipv4:192.168.5.2.18:7788 ipv4:192.168.5.2.17:7788 A --set-defaults --create-device --after-sb-0pri=discard-least-changes --after-sb-1pri=consensus' terminated with exit code 10
     

    Solution


    drbdadm disconnect r0

    drbdadm -- --discard-my-data connect r0



    #On the main active node


    drbdadm connect r0
     cat /proc/drbd
    version: 8.3.13 (api:88/proto:86-96)
    GIT-hash: 83ca112086600faacab2f157bc5a9324f7bd7f77 build by root@sighted, 2012-10-09 12:47:51
     0: cs:SyncSource ro:Primary/Secondary ds:UpToDate/Inconsistent A r-----
        ns:3580 nr:0 dw:1597648248 dr:12347577 al:12090 bm:58295 lo:13 pe:169 ua:85 ap:1 ep:1 wo:b oos:3289420
        [>....................] sync'ed:  0.2% (3289420/3290212)K
        finish: 1:08:31 speed: 792 (792) K/sec


    #on the dead node that is rejoining


     cat /proc/drbd
    version: 8.3.13 (api:88/proto:86-96)
    GIT-hash: 83ca112086600faacab2f157bc5a9324f7bd7f77 build by root@sighted, 2012-10-09 12:47:51
     0: cs:SyncTarget ro:Secondary/Primary ds:Inconsistent/UpToDate A r-----
        ns:0 nr:151088 dw:984106508 dr:1225316590 al:3645772 bm:110390 lo:61 pe:0 ua:2 ap:0 ep:3 wo:b oos:3170888
        [>....................] sync'ed:  3.8% (3170888/3290212)K
        finish: 0:11:48 speed: 4,472 (3,508) want: 20,480 K/sec
     


  • How to Properly Secure SSL/TLS Apache Settings against Heartbleed Poodle (TLS) Poodle (SSLv3) FREAK BEAST CRIME


    Many users still are not aware but simply patching OpenSSL does not secure you against many known and easy to exploit attacks that will render your encryption useless by an attacker.

    Use the following setings in /etc/httpd/conf.d/ssl.conf
     

    SSLCipherSuite "EECDH+ECDSA+AESGCM EECDH+aRSA+AESGCM EECDH+ECDSA+SHA384 EECDH+ECDSA+SHA256 EECDH+aRSA+SHA384 EECDH+aRSA+SHA256 EECDH EDH+aRSA !CAMELLIA !SEED !3DES !RC4 !aNULL !eNULL !LOW !MD5 !EXP !PSK !SRP !DSS"
    SSLProtocol -all +TLSv1.2 -SSLv3 -SSLv2

    The above passed all tests on RapidSSL https://cryptoreport.rapidssl.com/checker/views/certCheck.jsp

    Vulnerabilities checked:
    • Heartbleed
    • Poodle (TLS)
    • Poodle (SSLv3)
    • FREAK
    • BEAST
    • CRIME

    Essentially what the above does is disable all known exploitable/weak ciphers and forces only TLS1.2 which is the only known secure version of TLS at this moment.  The settings above protect you against the listed vulnerabilities (just make sure you have a recent enough OpenSSL version that does support TLS 1.2, older distributions such as Centos 5 do not).


  • K9 Mail Android Cannot See or View E-mails Disappear after reading - with Dovecot server. Solution


    This actually only happened after an e-mail server ran out of space due to run away log files.  Normal Desktop clients were not affected.   It appeared to be a bug in K9 mail but even reinstalling/wiping all settings did not fix it (read e-mails would still not reappear).

    This is moreso a bug in Dovecot where it probably messes up the index files.

    How do you fix this in Dovecot/your e-mail server?

    You need to delete the dovecot index and related files so they can be rebuilt.  Note if you have a lot of e-mails and a Desktop client this will force it to redownload all e-mails (possibly thousands or more for some users).  But it is the only way I could fix the issue in my K9 Mail Android client.

    cd /var/spool/mail/yourdomain/youraccount/Maildir/.yourfolder

    #Backup dovecot files

    mkdir 00-dovecotbk

    #delete dovecot files

    rm -rf dovecot.*

     


  • The folder contents could not be displayed connection refused - solution


    This happened while updating Linux Mint/Debian/Ubuntu on a remote SMB/Samba share.

    Solution

    After waiting for updates to complete things will work normally but it really is strange that the service actually stops working or is disabled for so long during the update.  It is likely the update process stops the serivce and only restarts after the update is complete.


  • Setting Up System for First Use... Please Wait... - WHMCS Installer


    This happens sometimes that it takes a fair amount of time for some WHMCS installations but it usually ends up completing eventually.


  • ERROR 2013 (HY000): Lost connection to MySQL server during query


    The solution is simple but strange, if you copy your /var/lib/mysql directory to another server and think it will work, be sure to check if you have /var/log/mysql and binary log files.  If you do, the server will not work and will give you errors like below and crash without the proper log files.

    UPDATE user SET password=password("newpass") WHERE user='root';
    flush privileges;

    ERROR 2013 (HY000): Lost connection to MySQL server during query

    No connection. Trying to reconnect...
    Connection id:    1
    Current database: *** NONE ***

    Database changed



    /var/log/mysqld.log output:

    As we can see it is crashing and also looking for non-existent logfiles.




    170116  2:31:44  InnoDB: Started; log sequence number 4 1641421037
    170116  2:31:44 [Note] /usr/libexec/mysqld: ready for connections.
    Version: '5.1.73'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source distribution
    170116  2:31:45  InnoDB: Assertion failure in thread 140102772668160 in file handler/ha_innodb.cc line 875
    InnoDB: Failing assertion: cset == 0
    InnoDB: We intentionally generate a memory trap.
    InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
    InnoDB: If you get repeated assertion failures or crashes, even
    InnoDB: immediately after the mysqld startup, there may be
    InnoDB: corruption in the InnoDB tablespace. Please refer to
    InnoDB: http://dev.mysql.com/doc/refman/5.1/en/forcing-innodb-recovery.html
    InnoDB: about forcing recovery.
    07:31:45 UTC - mysqld got signal 6 ;
    This could be because you hit a bug. It is also possible that this binary
    or one of the libraries it was linked against is corrupt, improperly built,
    or misconfigured. This error can also be caused by malfunctioning hardware.
    We will try our best to scrape up some info that will hopefully help
    diagnose the problem, but since we have already crashed,
    something is definitely wrong and this may fail.

    key_buffer_size=16384
    read_buffer_size=262144
    max_used_connections=0
    max_threads=151
    thread_count=0
    connection_count=0
    It is possible that mysqld could use up to
    key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 49909 K  bytes of memory
    Hope that's ok; if not, decrease some variables in the equation.

    Thread pointer: 0x0
    Attempting backtrace. You can use the following information to find out
    where mysqld died. If you see no messages after this, something went
    terribly wrong...
    stack_bottom = 0 thread_stack 0x20000
    /usr/libexec/mysqld(my_print_stacktrace+0x29) [0x8509f9]
    /usr/libexec/mysqld(handle_fatal_signal+0x483) [0x6a3f13]
    /lib64/libpthread.so.0(+0xf7e0) [0x7f6c44f1c7e0]
    /lib64/libc.so.6(gsignal+0x35) [0x7f6c435505e5]
    /lib64/libc.so.6(abort+0x175) [0x7f6c43551dc5]
    /usr/libexec/mysqld() [0x72d7ab]
    /usr/libexec/mysqld(dict_mem_table_add_col+0x20e) [0x7605de]
    /usr/libexec/mysqld(dict_load_table+0x99e) [0x75bf8e]
    /usr/libexec/mysqld(dict_load_table_on_id+0x403) [0x75cd13]
    /usr/libexec/mysqld(row_purge_step+0x39c) [0x7b360c]
    /usr/libexec/mysqld(que_run_threads+0x55b) [0x7a255b]
    /usr/libexec/mysqld(trx_purge+0x332) [0x7cc902]
    /usr/libexec/mysqld(srv_master_thread+0x708) [0x7c5298]
    /lib64/libpthread.so.0(+0x7aa1) [0x7f6c44f14aa1]
    /lib64/libc.so.6(clone+0x6d) [0x7f6c43606aad]
    The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
    information that should help you find out what is causing the crash.
    170116 02:31:45 mysqld_safe Number of processes running now: 0
    170116 02:31:45 mysqld_safe mysqld restarted
    170116  2:31:45 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead.
    170116  2:31:45  InnoDB: Initializing buffer pool, size = 8.0M
    170116  2:31:45  InnoDB: Completed initialization of buffer pool
    InnoDB: The log sequence number in ibdata files does not match
    InnoDB: the log sequence number in the ib_logfiles!
    170116  2:31:45  InnoDB: Database was not shut down normally!
    InnoDB: Starting crash recovery.
    InnoDB: Reading tablespace information from the .ibd files...
    InnoDB: Restoring possible half-written data pages from the doublewrite
    InnoDB: buffer...
    InnoDB: In a MySQL replication slave the last master binlog file
    InnoDB: position 0 6823363, file name bin.000001
    InnoDB: Last MySQL binlog file position 0 611287495, file name /var/log/mysql/bin.000118
    170116  2:31:45  InnoDB: Started; log sequence number 4 1641421037
    170116  2:31:45 [Note] /usr/libexec/mysqld: ready for connections.
    Version: '5.1.73'  socket: '/var/lib/mysql/mysql.sock'  port: 3306  Source distribution

    The solution

    Make sure you copy /var/log/mysql as well.


  • if script bash check if socket file (mysql.sock) exists


    The "-S" switch is important as it works with sockets if you use "-f" it will not detect the socket file is there.

     

    if [ ! -S "/var/lib/mysql/mysql.sock" ]; then

     echo "Socket does not exist, restarting"

     service mysqld restart

    fi


  • ioncube loader install howto on PHP/Centos


    Disclaimer, before starting this I do not like ioncube, it is great to protect your source code, but a big pain to setup this extension since it has to be done manually.  Further, fi you do a PHP update ioncube may no longer work, causing important sites or services to not work (I wish authors would take another approach).

    1.) Download from here: https://www.ioncube.com/loaders.php

    2.) Extract the contents and copy the appropriate .so file somewhere.

    If you want to be sure of what file to use, you can use the load wizard php file and it will tell you exactly which one to use and copy.

    3.) Edit /etc/php.ini and add the following line (of course edit the path to suit your situation):

    zend_extension = /usr/lib64/php/modules/ioncube_loader_lin_7.0.so
     

    Errors from the loader wizard:

    ionCube installation : missing zend_extension

    This means you didn't add the zend_extension line above in step#3 to your php.ini file


  • apc_shm_attach: shmat failed: in Unknown on line 0 & apc_shm_create: shmget(0, 67108864, 914) failed PHP Solution


    PHP Fatal error:  PHP Startup: apc_shm_create: shmget(0, 67108864, 914) failed: Invalid argument. It is possible that the chosen SHM segment size is higher than the operation system allows. Linux has usually a default limit of 32MB per segment. in Unknown on line 0
    PHP Fatal error:  PHP Startup: apc_shm_attach: shmat failed: in Unknown on line 0

    This error is not at all fun because it actually prevents Apache/httpd from starting or working at all. It will die during restart

    [root@phpbox stats]# service httpd status
    httpd dead but subsys locked


    Solution - Increase shmmax value in sysctl.conf to 256MB:

    Edit /etc/sysctl.conf

    kernel.shmmax  = 268435456



    sysctl -p


  • MySQLD Server shutdown remotely unexpectedly


    170110  5:35:23 [Note] /usr/libexec/mysqld: Normal shutdown

    170110  5:35:23 [Note] Event Scheduler: Purging the queue. 0 events
    170110  5:35:23  InnoDB: Starting shutdown...
    170110  5:35:24  InnoDB: Shutdown completed; log sequence number 0 12765401
    170110  5:35:24 [Note] /usr/libexec/mysqld: Shutdown complete

    170110 05:35:24 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

    This could be an accidental shutdown or the work of hackers which is something that I have before.  Finding the cause is another issue as there is no MySQL logging of when and what user initiated the shutdown.


  • cPanel Install Error kernel ipv6 module support solution


    2017-01-12 14:25:36  529 (ERROR): The installer was unable to verify that your kernel supports IPv6.
    2017-01-12 14:25:36  530 (ERROR): The message received when trying to create an IPv6 socket was Address already in use

    2017-01-12 14:25:36  531 (ERROR): Please ensure that the ipv6 module is enabled and loaded in your kernel.
    2017-01-12 14:25:36  532 (FATAL): Exiting...

    Solution

    This happened in the middle of an install that I restarted.  The only way to fix it was to restart the VPS/Server as certainly even older kernels support IPV6.


  • bash count length of string and characters


    variable="abc hello"

    How do you count it (note blank/white space counts as a character too)?

    echo "${#variable}"

    9


  • PayPal Subscription Howto Creation Automatic Payments Manual


    An easy way to pay companies and friends/family since PayPal does not have an option when sending money to make it a subscription:

    • "business" = The e-mail or PayPal ID of the person/organization to pay to.
    • a3 The recurring amount "eg. 115" will be 115 USD
    • p3 The time period (eg. 2)
    • t3 Unit of time period m=monthly,w=weekly,y=yearly
    • item_name = "the note/product service reason you are paying handy for both you and the receiver to remember what it is payment for"


    Just use this code and insert into an html file.

    <form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_xclick-subscriptions">
    <input type="hidden" name="business" value="emailofperson@hotmail.com">
    <input type="hidden" name="a3" value="115">
    <input type="hidden" name="p3" value="2">
    <input type="hidden" name="t3" value="w">
    <input type="hidden" name="currency_code" value="USD">
    <input type="hidden" name="item_name" value="Notes/nameofproduct">
    <input type="hidden" name="amount" value="115">
    <input type="hidden" name="src" value="1">
    <input type="image" src="" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
    </form>


  • bind/named rndc: connect failed: 127.0.0.1#953: connection refused (solution)


    service named status
    rndc: connect failed: 127.0.0.1#953: connection refused
    named (pid  10557) is running...


    Check /var/log/messages:
    Jan  4 17:06:22 storagebox named[10753]: none:0: open: /etc/rndc.key: permission denied
    Jan  4 17:06:22 storagebox named[10753]: couldn't add command channel 127.0.0.1#953: permission denied
    Jan  4 17:06:22 storagebox named[10753]: none:0: open: /etc/rndc.key: permission denied
    Jan  4 17:06:22 storagebox named[10753]: couldn't add command channel ::1#953: permission denied


    Solution:

    chown named.named /etc/rndc.key
    service named restart
    service named status

    It is all good now!

    version: 9.8.2rc1-RedHat-9.8.2-0.47.rc1.el6_8.3
    CPUs found: 8
    worker threads: 8
    number of zones: 20
    debug level: 0
    xfers running: 0
    xfers deferred: 0
    soa queries in progress: 0
    query logging is OFF
    recursive clients: 0/0/1000
    tcp clients: 0/100
    server is up and running
    named (pid  11067) is running...


  • PYCURL ERROR 22 - The requested URL returned error: 404 Not Found Solution


    # yum -y install qemu-kvm
    Loaded plugins: fastestmirror
    Setting up Install Process
    Loading mirror speeds from cached hostfile
     * base: mirror.lzu.edu.cn
     * elrepo: ftp.utexas.edu
     * epel: ftp.jaist.ac.jp
     * extras: mirrors.aliyun.com
     * openvz-kernel-rhel6: mirror.fdcservers.net
     * openvz-utils: mirror.fdcservers.net
     * updates: mirrors.nwsuaf.edu.cn
    Resolving Dependencies
    --> Running transaction check
    ---> Package qemu-kvm.x86_64 2:0.12.1.2-2.491.el6_8.3 will be installed
    http://mirror.fdcservers.net/openvz/kernel/branches/rhel6-2.6.32/current/repodata/91e2997c1b30cadc1c17b524b44d4e3f65af4215-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
    Trying other mirror.
    To address this issue please refer to the below knowledge base article

    https://access.redhat.com/articles/1320623

    If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.

    http://openvz.mirror.ausnetservers.net.au/kernel/branches/rhel6-2.6.32/current/repodata/91e2997c1b30cadc1c17b524b44d4e3f65af4215-filelists.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
    Trying other mirror.

    Solution

    yum clean all


  • grep only certain file types howto


    This can save a lot of time, otherwise grep will go through an entire directory recursively searching every type of file but what if you are sure you only need to search txt or php files?

    grep -r -i --include=*.php "what you are searching for" /the/path/to/search


  • MySQL Allow Access from Remote Host IP and Update All Users


    Change Host="192.168.5.99" with the remote IP allowed (this is of course more secure but also cumbersome if your IP changes).  You could also have a single layer of protection that specifies the IP via firewall or both (of course both are far mor secure).

    UPDATE user SET Host="192.168.5.99" where Host="localhost"
    or for any/wildcard
    UPDATE user SET Host="%" where Host="localhost"