Wednesday, 2012-09-26

*** nowen (~nowen@adsl-98-66-183-205.asm.bellsouth.net) has joined #wikid12:19
*** Mo__ (4084d7c2@gateway/web/freenode/ip.64.132.215.194) has joined #wikid15:25
Mo__hi15:29
nowenhi15:29
Mo__im trying to update one of the wikid server with yum update15:29
Mo__it updated everything however when i reboot i get the old 'switchroot: mount failed'15:30
Mo__and 'kernel panic - ny synching'15:30
nowenisn this the same15:30
Mo__you had pointed me to an article b4 and i tried it15:30
nowenisn't this the same issue you had before?15:30
Mo__it does not work15:30
Mo__i've noticed that when i reboot15:30
Mo__the server by default tries to load 'centOS.........el5PAE15:31
Mo__if i load the updated kernel... with CentOS........el5 only it seems to work15:31
nowenso, do you want to remove the el5PAE kernel?15:32
Mo__so my question is how can i force it to load (CentOS (2.6.18-308.13.1.el5) and NOT el5PAE15:33
nowenI suggest removing that kernel15:33
Mo__I guess yes I don't need that do i15:33
nowenrunning 'rpm -qa | grep kernel' will tell you what kernels are installed15:33
nowenthen you want to run ' yum remove kernel..el5PAE - or whatever the rpm command returns for the PAE kernel15:34
Mo__i just type in such as '2.6.18-308.13.1.el5PAE'  or do i have to type the whole thing including CEntOS15:38
nowenwhatever is returned, I think, exactly.15:39
Mo__looks like its removing all versions of PAE15:43
Mo__it removed everything BUT el5PAE15:45
nowenthat's not good.15:45
nowendon't reboot15:45
nowenrun the rpm command again15:45
Mo__i guess i missed the - after the el5PAE15:46
nowencan you not cut and paste?15:46
Mo__that is a MINUS right???15:46
nowenyou need to access the VM via Putty, then you can cut and paste15:46
Mo__yes15:46
Mo__so what do i do now15:47
Mo__restore from backup15:47
Mo__snapshot?15:47
nowentry 'yum install kernel'15:47
Mo__booting to an older version of el5pae15:48
nowenwait15:49
nowenthat's not what I said15:49
Mo__i know but its too late i rebooted15:49
nowendid you try yum install kernel????15:49
Mo__trying now15:49
Mo__looks like its installing15:50
nowenplease stop rebooting the server.  it is not necessary15:50
Mo__ok its installed15:51
Mo__NOT rebooting anymore15:51
nowenthank you!15:51
nowenrun the 'rpm -qa | grep kernel15:51
nowen'15:51
nowencommand15:51
Mo__ok15:52
nowenis the pae kernel gone?15:52
Mo__no15:52
nowenok15:52
Mo__i will have to reissue the above command with the MINUS15:53
nowencan you cut and paste from the terminal?15:53
Mo__last time i missed the minus15:53
Mo__should i go ahead15:53
Mo__and try15:53
noweni recommend you first figure out how to cut and paste from the terminal.  Typing is not a sustainable option.15:54
Mo__ok using putty15:54
Mo__now15:54
nowenok - paste the listing of PAE kernels here15:54
Mo__also when you paste it the program automatically executes the command15:55
nowenhmm, sounds like you are also getting the return15:55
Mo__kernel-devel-2.6.18-194.el515:56
nowenmine looks like this: kernel-PAE-2.6.18-194.el515:56
nowenand this: kernel-PAE-devel-2.6.18-194.el515:56
Mo__kernel-debug-2.6.18-274.3.1.el515:56
Mo__do you want all listing or just the PAE ones15:57
nowenso, you should be able to remove them by running "yum remove kernel-PAE* "15:57
Mo__copied and pasted without quotes15:58
nowenok15:58
nowenyou should also get a confirmation, y/N15:59
nowenit should say "remove these two packages" or some such15:59
Mo__ok now i see a list of kernels that have PAE at end15:59
Mo__there are 6 packages15:59
nowenok15:59
Mo__i have a y/n option16:00
nowenand all of them have PAE?16:00
Mo__hit y?16:00
Mo__Yes. PAE and PAE-devel16:00
nowenand there are non-pae kernels installed?16:01
Mo__yes i would guess so16:01
nowenthen y16:01
Mo__its running now16:02
nowenafter it runs, run the rpm -qa command.  you should be able to scroll up to see the command history16:03
Mo__no PAE anymore16:03
nowenok16:04
nowennow, I recommend rebooting to check and see if it works16:04
Mo__ok rebooting16:06
Mo__how do update the system without PAE... i ran yum update to update all16:06
nowennow that it is not installed, it should not update16:07
Mo__ok16:07
noweneach time you do yum update, a list of packages is listed for review16:07
nowenreview it for any pae packages16:07
Mo__reboot finish but same ressult kernel panic16:08
nowenI think you need to redo the steps in http://www.sudonym.com/398/kernel-panic-after-yum-update-centos-with-hyper-v-linux-integration-components/16:09
Mo__looks like i have restore from snapshot as the old kernels without PAE are missing16:12
Mo__i see el5xen16:13
Mo__and el5debug16:13
Mo__is it possibe to boot to one of these and redo the steps from the link16:14
nowenif you hit the space bar at the grub boot screen, you'll be able to choose the kernel to boot16:15
Mo__ok16:23
Mo__looks like its booting without panicking16:24
Mo__no more panic attacks16:24
Mo__i would like to upgrade the wikid16:24
Mo__can you please provide the commands again16:25
nowenok16:27
nowenwill you copy them down this time?16:27
Mo__:-)16:27
Mo__i was going to copy the chat session last time16:28
Mo__but somethig happened and i lost it16:28
nowen# wget http://wikidsystems-dl.com/wikid-server-enterprise-3.5.0.b1352-1.noarch.rpm16:28
nowen# rpm -Uvh wikid-server-enterprise-3.5.0.b1352-1.noarch.rpm16:28
nowennot too bad16:33
Mo__do i need a reboot16:36
Mo__after the upgrade?16:37
nowenno16:37
Mo__i did stop wikidctl16:37
nowenyes, run wikidctl start16:37
Mo__starting wikidctl16:38
nowenthe only time you need to reboot linux is when you want to upgrade the kernel16:38
nowenif you want to update everything but the kernel:  "yum --exclude=kernel update"16:39
nowenshould work16:39
Mo__great16:40
Mo__i think i'm up16:40
Mo__i will have to register some new users and test16:40
Mo__also test with some existing users.16:40
Mo__do i need anything else besides saving this chat session for COMMANDS reference16:41
Mo__:-)16:41
nowenI don't think so16:41
nowen'_16:41
nowen:)16:41
Mo__Thanks a lot... appreciate the help16:41
nowennp16:42
*** Mo__ has quit (Quit: Page closed)18:21
*** Mo (4084d7c2@gateway/web/freenode/ip.64.132.215.194) has joined #wikid19:35
MoHi19:35
MoI'm back19:35
nowenhi19:35
nowenwelcome back :)19:35
*** Mo is now known as Guest1271619:36
Guest12716since the upgrade this morning...guess what the example.jsp page changed19:36
Guest12716i have to redit it19:36
Guest12716but i did create a copy of the example.jsp19:37
Guest12716now i can't get to it.19:37
nowendidn't you wipe that vm?19:37
Guest12716no19:37
Guest12716i did this last week when you showed me how to copy19:38
nowenyes, but didn't you revert to an older vm today?19:38
Guest12716no i did not have to19:39
nowenyou just need to change the defaultservercode to your WiKID server domain code and the localhost passphrase to your passphrase19:39
Guest12716upgrading or updatig shouldn't delete the page should it?19:39
Guest12716yea i know what to change now19:40
nowenyes, if the page is updated19:40
Guest12716but i was just wondering i copied the example page to adduser.jsp19:40
nowenvim /opt/WiKID/tomcat/webapps/WiKIDAdmin/example.jsp19:40
nowenahh19:40
Guest12716so adduser.jsp is gone now19:40
nowenwe should have copied it to another directory19:41
Guest12716that one should not have been deleted or updated right?19:41
Guest12716oh19:41
nowenthis time do 'cp example.jsp adduser.jsp; cp adduser.jsp /root/adduser.jsp'19:41
nowenthen you'll have a copy in /root19:41
Guest12716should i restart wikid19:45
Guest12716still getting same19:46
nowenyes, the pages are cached by tomcat19:46
Guest12716ok that worked... thanks again19:48
nowennp19:48
joevanonowen: where do I put my passhrase in that file? I am trying to mess with it so I understand what you guys are talking about20:16
nowenaround line 5120:16
nowen        wc = new wClient("127.0.0.1", 8388, Config.getValue("BASEPATH") + "private/localhost.p12", "passphrase",20:16
nowenchange passphrase to your localhost passphrase20:17
joevanook that is what I thought... I was confused by the comment that said ti change it in both places20:17
nowenhmm.20:18
joevanocomment in the page a couple of lines below*20:18
nowenthe comment is supposed to say "DO NOT CHANGE CHANGEIT"20:18
nowenor some such20:18
joevano        // NOTE:  The passphrase above "changeit" is the default passphrase for the CA trust store as delivered20:18
joevano        // by Sun with Java.  If you change this value you will also need to change the passphrase used to20:19
joevano        // encrypt the CACertStore fi20:19
joevano       // encrypt the CACertStore file.  You must change both if you change either.20:19
nowenyeah, it used to say something else20:20
nowenlike, "don't change this ever" :(20:20
nowenbecause it was very confusing as you have found out20:20
joevano;-)20:21
joevanohmm connection not successfully established20:30
nowendid you restart wikid?  the old page gets cached20:30
joevanoyes20:30
nowenhmm20:30
nowencheck the WiKIDAdmin logs20:31
joevanoah... good idea, you should work support20:31
nowenlol20:31
nowenI do ;-)20:31
joevano"couldn't validate the client certificate"20:34
joevanobad passphrase?20:34
nowensounds like it20:34
nowenremember, the localhost.p12 doesn't necessarily have the same passphrase as the intca20:34
joevanoah20:37
Guest12716hi again20:37
Guest12716quick question20:37
nowenok20:37
Guest12716i may have asked this before and probably wasnt satisfied with the answer... hence can't remember...20:38
Guest12716my company has several laptops that are shared...20:38
nowenok20:38
Guest12716how do i go about using these shared laptops with wikid20:38
nowendo the users login with different usernames?20:39
Guest12716No20:39
Guest12716same user name20:39
nowenwell, that's another security issue. I can't remember - is this for PCI compliance?20:40
Guest12716no... just want the users who borrow the laptop connect to the network20:41
nowenthey would have to use a smart phone token20:41
Guest12716but the laptops themselved have to registered on wikid, right?20:43
nowenno20:43
joevanonowen: used keytool to verify the passphrase on both the intca and localhost keys and it is correct20:44
Guest12716so can i connect to the network using pin generated by an iphone which is then entered into a laptop that was never registered on wikid?20:44
joevanodo I have to escape any special charaters?20:44
nowenjoevano: I don't think so20:44
nowenbut maybe20:44
joevanok... ill do some looking20:44
nowenGuest12716: yes.  WiKID is only validating the OTP.20:45
Guest12716ok20:47
nowenGuest12716: this section of our website might help: http://www.wikidsystems.com/learn-more/technology/overview20:48
Guest12716but whatever device is used to generate the otp must be registered right?20:50
nowencorrect20:50
Guest12716ok20:50
Guest12716great20:51
Guest12716ok so how does the otp connect to username... if i generate otp... i can't login as anyone but myself... correct??20:55
nowenGuest12716: yes, remember the username is part of the registration20:56
Guest12716yup... that is the connection20:57
Guest12716great...20:57
Guest12716is the token available for android devices?20:57
nowenyes20:57
nowenI have to check out soon - it's a soccer day for my son20:58
Guest12716great... np... hope they win... enjoy the game!!!20:59
nowenGuest12716: thanks21:00
nowenjoevano: is your passphrase still in double-quotes?21:00
*** Guest12716 has quit (Quit: Page closed)21:01
nowenjoevano: let's touch base tomorrow, same bat channel ;)21:03
joevanonowen sounds like a plan...21:03
nowenlater21:04
*** nowen has quit (Quit: Leaving.)21:04

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