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