=== zz_DenBeiren is now known as DenBeiren [03:31] Hi team, [03:32] I am upgrading from 10.04 to 12.04.. but middle of installation after kernel upgrade, my system is rebooting with out any warning.. And once its boots I am getting kernel panic.. [03:34] This is happening on already existing system. I tried on a new machine with same set of hardware and configs. At this time, the upgrade went smoothly. [03:34] Any suggestion where should I check so that it will not reboot after kernel upgrade? [04:42] neonixcoder: were you able to capture any kernel messages? [04:44] yes sarnold.. [04:44] one min, let me write it down here.. [04:44] neonixcoder: can you pastebin them somehwere? [04:44] sure.. [04:44] my bad.. [04:44] will do that [04:45] Its a single line "kernel panic-not syncing: VFS: unable to mount root fs on unknown block(0,0)" [04:46] sarnold: I want to avoid it instead of correct it. Right now I am testing it in lab. [04:47] so in production, upgrade should go smooth [04:47] neonixcoder: hmm, do you need any 'funny' modules to mount your root filesystem on your hardware? [04:48] sarnold: I did not get you.. [04:48] do you have some kind of raid card, flash thing [04:49] using something other than onboard sata ports [04:57] pdtdk-lap:No such cards, but I install it on a small cf card [04:57] which is 2gb [04:58] hmm, reminds me of my pandaboard es; after roughly a year it started crashing under heavy io load and then eventually started crashing rouhgly once a day.. [04:59] replacing the sd card was sufficient to fix it [04:59] neonixcoder: can you try something like badblocks on the card on a different system? [05:07] sarnold:the funny part is.. I am able to upgrade on the same machine with same CF card which is a fresh install from 10.04 to 12.04 [05:07] sarnold:So I thought some where there could be a setting my old image where it reboots once kernel is update(I guess) === Wiched is now known as Guest55027 [05:09] neonixcoder: none that I can recall :/ [05:10] sarnold:hmm yes.. bit strange.. I will try to check if old image and fresh install have same settings in /etc/apt folder === CiPi is now known as cipi [05:19] okay.. sudo apt-get install php5-fpm is not processing the triggeres [05:20] i can man it but i cant finish the apt-get === cipi is now known as CiPi === ashleyd is now known as ashd === broder_ is now known as broder === PaulePan1er is now known as PaulePanter [05:38] sarnold: I just wondering how frequent linux write data to disk? [05:39] neonixcoder: that's quite complicated :) it'll write immediately when programs issue fsync or fdatasync calls; apt/dpkg do this extensively [05:40] immediately means less then a second? [05:40] bcz I just want to check logs which are written when upgrading my OS which is resulting me in kernel panic.. [05:40] yeah; it'l suspend the program execution until the writes have finished === CiPi is now known as cipi [05:41] neonixcoder: the fatrace program can do that [05:41] for an upgrade it'll be an amazing amount of output.. [05:42] let me check that.. === cipi is now known as CiPi [07:36] when i run cron to mv files to mounted backup partition i get error: sudo: no tty present and no askpass program specified [07:37] why are you tryiung to use sudo in cron? that won't go.. [07:41] sarnold: thanks, i tried to mv files to backup partition but it required authentication. [08:23] murcha: See first fix here https://www.shell-tips.com/2014/09/08/sudo-sorry-you-must-have-a-tty-to-run-sudo/ [08:24] fcefan: thanks [09:10] hi all,.. i'm trying to set up an rsync, but the transferspeed is way too slow [09:10] i'm getting 10MB between 2 dualGB nic machines [09:10] configged with LAG on the GB switch [09:11] the copy is local, so encryption is not really needed [09:11] any ideas? === Daviey_ is now known as Daviey [09:16] Good morning. [09:19] hey lordie [09:19] Hey DenBeiren, how are you? [09:19] gd gd [09:19] maybe you can help out with my "issue" here above? [09:21] Is that ram -> ram? [09:27] ? [09:29] !pm | DenBeiren [09:29] DenBeiren: Please ask your questions in the channel so that other people can help you, benefit from your questions and answers, and ensure that you're not getting bad advice. [09:29] i don't know if everybody is going to benefit from dutch ;-) [09:30] Ask the question in english. [09:31] i did :-) [09:31] just before you entered ;-) [09:31] DenBeiren: Yes, and I asked: Is that ram -> ram? [09:37] it's a synonogy share => a temp ubuntu share (to reconfig the syno) [09:38] What I am trying to rule out is external factors like disks. [09:38] when copying from a windows client to the temp samba i get 66 - 80 MB [09:39] the disks in the syno are brandnew [09:41] is there any service to restart to effect changes in visudo [09:43] DenBeiren: Do you have root access or ssh access on the synology? [09:43] yes, the rsync is running,.. only it's capping @ 10/11 MB [09:44] evy now and again i see it peaking to 24 - 66 - 30 [09:44] but stabilizing @ 10 [09:45] command used is the following: [09:45] I'll take that as a yes I have ssh access. Run a dd over ssh towards the synology's /dev/null [09:45] sudo rsync -avhzP admin@192.168.6.9:/volume1/Data /samba/allaccess/ [09:47] murcha: The sudoers file is read everytime when sudo is run, for as far as I know. [09:48] lordievader: just got a call,.. need to go,.. get back to this later,.. TIA [09:49] lordievader: when i change settings in visudo to allow a user and a script to run w/o sudo from cron, i get the same permission denied error [09:50] Without sudo? [09:50] You mean you allow it without a password? You still need sudo though. [09:52] yes when i run a script from cron automatically i get this error: sudo: no tty present and no askpass program specified [09:52] Could you pastebin your sudoers file? [09:52] sure [09:54] lordievader: here is the configuration: http://pastebin.com/0BPJ0xrC [09:56] It's about the classi-backup script? [09:58] lordievader: yes [09:58] Murcha, are you trying to invoke sudo in a cron ? [09:59] murcha: As what user are you invoking the script? [09:59] jerto: i want to run automatically the script through cron....but i get permission denied error [10:00] lordievader: office [10:00] Why not as root? [10:00] I suppose that the user office is in the group office? [10:00] yes [10:04] lordievader: i tried root user, again i get permisison denied error [10:05] Now that is interesting. Do you get the same when you run the script as root? [10:06] lordievader: no not at all, only i get when i try the script from cron. from terminal it is all ok. [10:07] Hmm, would it be environment variables. Could you pastebin the script? [10:12] lordievader: here is the script a simple mv: http://pastebin.com/ShAdLwhi [10:15] You are not specifiying an interpreter? [10:17] lordievader: oh it is here at the top #!/bin/bash [10:18] Ah, ok. Does it have execute permissions? [10:18] lordievader: yes 777 [10:22] Hmm, odd. [10:22] Do you have another user in the group office? [10:24] lordievader: i should check [10:25] lordievader: yea there is www-data [10:25] Can that user run the script correctly? [10:30] no it does not run the script [10:31] lordievader: ^ [10:35] Does not run the script, how? [10:37] i tried to run the script after login www-data user, but i get not found error [10:39] The path to the script is correct? Or is mv saying that. [10:40] lordievader: the path is correct [10:43] lordievader: i tried to run the script like sudo bash path/to/script it is running fine [10:43] ^ from www-data user [10:44] Okay, so that works... [10:56] lordievader: thanks! finally worked after creating the script under root user. [10:56] Still odd... [10:57] But okay, glad it works :) [10:57] :) [12:13] <_ruben> is there a way to have grub operational through both console and serial? [13:30] mfisch, hey - so https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1470120 covers the 2.3.2 update for ovs [13:30] Launchpad bug 1470120 in openvswitch (Ubuntu Vivid) "[SRU] openvswitch 2.3.2" [Medium,In progress] [13:30] took me a while to get it into wily due to some changes in behaviour in our testing; just working the SRU cogs now [13:31] med_, ^^ [13:35] mornign [13:35] thanks jamespage [13:37] med_, np - sorry for the lag === Luke_ is now known as Luke [14:36] how much ram does tar use [14:36] is it more cpu or ram [14:36] can I throttle it's ram usage? [14:38] can't imagine it uses either [14:38] unless you enable some kind of compression option [14:40] tar -zxcf so gunzip [14:42] -zcvf [14:42] friday [14:44] in case anyone was wondering it is very low memory and cpu intesive. [14:50] use a monitoring utility to answer your question [14:51] Kully3xf: ↑ [14:51] I figured it out - am not looking to figure it out on the fly, wanted to know before I ran the command [14:52] in case anyone wants to know it's cpu instensive and no ram [15:08] rbasak, mdeslaur : fyi, arges is approving the msyql updates now [15:11] with regards to Apache server, when I configure SSL, does the certificate file need to contain the entire chain or just the site's certificate? And is there a way to serve the CA chain (intermediate cert, root CA cert) without putting it in the main certificate file? [15:21] probably a better question: whatever I put in SSLCertificateFile, does that need the entire CA trust chain if I also provide SSLCertificateChainFile in the configuration for a vhost? [15:28] IIRC it is the entire trust chain. [15:29] I don't know if there's an alternate way to configure it. [15:29] No idea about SSLCertificateChainFile [15:29] Use "openssl s_client" with -verify and experiment ;) [15:32] well i think http://serverfault.com/questions/382633/difference-between-sslcertificatefile-and-sslcertificatechainfile answered it [15:32] that'll be the first test === markthomas is now known as markthomas|away [16:05] teward: This is how I configure domains, using symlinks to virtual-host home directories in order to make switching keys+certs not require any changes to the apache config. https://iam.tj/projects/misc/apache-ssl-config.txt [16:40] TJ-: erm... that's not what i was after, but OK [16:40] i needed to know what specifically was in the CertificateFile file [16:40] I.E. [16:40] does it need just the site cert or the entire chain [16:40] and i got that answer [16:41] in that server there's only one site anyways, so changing the config wouldn't affect others. [16:47] teward: I thought the example specifies that. The SSLCertificateFile contains *just* the site's certificate, any intermediate Certificates are in the SSLCertificateChainFile, and the root CA can be in that file, or in the usual /etc/ssl/certs/ [16:48] i couldn't glean that from your example, sorry. [16:48] (I'm tired :/) [16:49] teward: Hmmm, maybe I'm too familiar with it. "ssl/certs/iam.tj.pem -> iam.tj.Wosign.solo.2018-06-29.pem" "solo" is a bare cert with no supporting intermediates [16:49] ahh, OK. [16:49] TJ-: i come from nginx, not apache, and workplace uses apache on some things :/ [16:49] kinda inherited things on some of these services >.< [16:50] teward: I used to have the 'chain' in the domain's /home/ but that was silly since many domains may use the same CA, so the intermediates are now always in "/etc/ssl/certs/-chain.pem" which is referenced from the SSLCertificateChainFile [16:51] teward: The remainder of the layout is so I can easily replace certs/keys without making changes to the server config, so it's a non-root operation === yofel_ is now known as yofel === G_ is now known as G === shauno_ is now known as shauno [21:55] im installing ubuntu 14.04.2 server distribution but i cant get past the iscsi part i dont understand it i have unallocated disk in system and cant select it? [21:55] i found out that i shoud disable raid setting in bios [21:58] what does raid setting have to do with iscsi? [22:00] i dont know i just cant get thour the installation i have one sata drive and while instaling configure iscsi voluems and i cant get past it [22:00] i never seen it before [22:00] well, a sata disk isn't iscsi [22:00] so going into iscsi isn't going to help [22:00] i know [22:00] what options are on your bios? [22:00] first one you should pick is AHCI [22:00] if there is no option, then select RAID [22:00] ok it was set to ide [22:01] should i save it and try it? [22:01] you can attempt ide also [22:01] but I wouldn't want to use it, unless you have to [22:01] ide went to that iscsi thing [22:01] ok i will try to install it [22:02] how? [22:02] it can't see your disk [22:02] yeah but in bios it shows up [22:02] so? [22:02] set it back to AHCI or RAID [22:02] ok [22:02] and figure out why ubuntu can't see it [22:02] something is wrong [22:03] i booted ubuntu desktop and it sees it... [22:03] in live distro [22:24] ok it went good thanks alot man