Monday, 2012-08-27

*** nowen (~nowen@adsl-98-66-183-205.asm.bellsouth.net) has joined #wikid12:17
*** joevano has quit (Ping timeout: 256 seconds)12:20
*** nowen has quit (Remote host closed the connection)13:55
*** nowen (~nowen@adsl-98-66-183-205.asm.bellsouth.net) has joined #wikid13:59
*** joevano (~joevano@bzflag/developer/JoeVano) has joined #wikid15:38
*** nowen has quit (*.net *.split)17:06
*** nowen (~nowen@adsl-98-66-183-205.asm.bellsouth.net) has joined #wikid17:10
*** Mo (4084d7c2@gateway/web/freenode/ip.64.132.215.194) has joined #wikid19:04
Mohello19:04
nowenhi19:04
*** Mo is now known as Guest330019:04
Guest3300can i update the server19:04
nowenwhat version are you running now?19:04
Guest3300using yum update19:04
nowenhow do you do back ups?19:05
Guest3300i just backup the vm19:05
nowenthen I don't see why not19:05
Guest3300i'm running version 3.4.87-b103019:06
Guest3300i ran yum update and the server blew up19:06
Guest3300couldn't load kernel19:06
Guest3300so i restored a previous copy19:06
Guest3300which worked19:07
nowencan you create a clone for testing?19:07
Guest3300yes19:07
Guest3300then i will have to change ip settings19:08
nowenyes19:08
nowenbut better than testing on production, right?19:08
Guest3300of course, thats why i made a backup19:08
Guest3300we ran a vulnerability scan19:09
Guest3300it came back with ssh warning19:09
Guest3300we need to update the ssh version19:10
Guest3300will updating the server update the ssh version19:10
nowenyes, or you can run 'yum update openssh'19:10
Guest3300great19:12
Guest3300how can i check for ssh version on the server19:12
nowen'rpm -qa | grep openssh'19:12
Guest3300do i enter with the quote19:25
nowenno, no quotes19:26
Guest3300thanks19:28
nowenyou might have to run 'yum update openssh-server' or 'yum update openssh-*'19:29
Guest3300yum update openssh seems to work as well19:30
nowenit could be that re-booting the server and then updating the kernel would work19:30
Guest3300should i try updating the server wihout starting wikidcntrol19:31
nowenthat should not matter19:31
Guest3300i tried it and got can't load kernel... there were 300MB of updates as well19:32
nowendoes that happen every time you reboot?19:33
Guest3300yes i tried a few times19:33
Guest3300same thing19:33
Guest3300did not know how to backout19:33
nowenthat's not good19:34
Guest3300so restored the vhd from backup19:34
Guest3300not good is right19:34
Guest3300have you been successful in updating your machiens19:34
nowenyesa19:34
Guest3300same as steps as me?19:34
nowenI've never gotten it19:35
nowenwhat do you get when you run 'rpm -qa | grep kernel'19:35
Guest3300well i've restored a previous vhd file so i'm not sure19:36
Guest3300do you want me to run this on the current version19:36
nowenyes19:36
Guest3300i get a list of kernel files with versin numbers19:37
nowencan you post them to pastebin.com and then send the resulting url here?19:37
Guest3300how do i copy from the screen, is there a way to copy?19:38
nowenare you at the server's terminal or are you connected remotely?19:39
Guest3300terminal19:39
Guest3300i can connect remotely to wikid but am not sure if you can run commands on the server from wikid... can ou?19:40
nowenI cannot, but you can.19:43
Guest3300how do i run the commands from wikid19:45
nowennot sure I understand what you are asking - if you ssh to the server using a client such as putty on Windows, you should be able to run the command and paste the results into another app19:46
Guest3300i just typed it in19:49
Guest3300http://pastebin.com/QTK4GPXJ19:49
nowenawesome19:49
nowennow run 'uname -a'19:49
nowenyou can paste that here19:49
Guest3300[root@drwikid01 ~]# uname -a19:53
Guest3300Linux drwikid01.corp.globetax.com 2.6.18-274.3.1.el5PAE #1 SMP Tue Sep 6 20:56:05 EDT 2011 i686 i686 i386 GNU/Linux19:53
Guest3300that is what I get when running 'uname -a'19:57
nowenok19:58
nowenhold on a sec19:58
Guest3300ok19:58
nowencan you run 'more /etc/grub.conf'19:58
nowenand pastebin that?19:58
Guest3300ok just did here is the link http://pastebin.com/RcArykRt20:02
Guest3300keep in mind you are looking at the one without any updates20:02
Guest3300this is a working server20:02
nowenok - I suggest we run a test on a clone. it doesn't need an internet connection20:05
nowendo you know how to edit a file in linux?20:07
nowenI can also walk you throught20:08
nowenthrough it20:08
nowendo you see where it says 'default=2' in grub.conf.  I want you to change the 2 to 020:10
Guest3300ok20:11
Guest3300how do i do that20:11
Guest3300i should connect to the terminal right20:11
nowenyes - I suggest to your back up20:11
nowenthen run 'vim /etc/grub.conf'20:12
nowenhit the Ins key twice.20:13
nowenyou should see -- Replace -- at the bottom of the screen20:13
nowenuse the down arrow to get that line20:14
nowenand then the right arrow to get over the 220:14
nowenand hit 020:14
nowenthen type :wq20:14
Guest3300i just cloned the machine without any network access20:14
Guest3300would this work20:14
nowenyes20:14
Guest3300what line number shoudl I be on20:18
nowenbased on your pastebin, about 12.  it says "default=2"20:19
Guest3300got it and changed it to 0 i had to hit esc before :wq otherwise its still on edit mode20:19
Guest3300thanks20:20
nowenah yes20:20
nowenok - now reboot and see if it works20:20
Guest3300i will have to connect it to network right? also, i will need to change the ip as well20:21
Guest3300should i change the ip20:21
nowenno - I just want to test if this fixes the kernel issue20:22
nowenif it works, then you can do whatever20:22
Guest3300rebooting20:22
Guest3300however, please note this was a working version20:23
Guest3300did not have any issues with this one as I did not run any updates20:23
Guest3300i had the problem with the kernel after I ran updates20:23
nowen?20:24
nowenthen why are we doing this?20:24
nowenwell, try running 'yum update kernel' and then reboot20:24
Guest3300root20:25
Guest3300ok20:25
Guest3300thats what I said before20:25
Guest3300not sure what you were trying to do...i thought you were lowering the number then run the update20:25
nowenthe grub.conf file defines what kernel to boot20:26
Guest3300ah ok that makes sense now20:26
nowenusually it is set to 0.  not sure why yours is 2, but I am guessing that is why you are getting the error20:27
Guest3300anyway i'm running the update now lets seee what happens20:27
Guest3300its complete should i reboot20:28
nowenyes20:28
Guest3300thats what i did before and after the reboot started failing20:28
nowenyou edited the the grub.conf?20:28
Guest3300no20:29
Guest3300i am actually running this on prod backup server20:29
Guest3300looks like the server came back up20:30
Guest3300i will try to update ssh then update everything else20:30
Guest3300is this sound20:30
nowenyes, I think so20:31
Guest3300should i reboot after each update20:34
nowenonly kernel updates20:45
nowenhttp://wikidsystem-dl,com/wikid-server-enterprise-3.4.87.b1216-1.noarch.rpm20:46
nowenif you run 'wget http://wikidsystem-dl,com/wikid-server-enterprise-3.4.87.b1216-1.noarch.rpm'20:47
nowenthen 'rpm -Uvh wikid-server-enterprise-3.4.87.b1216-1.noarch.rpm'20:48
Guest3300got same error as before after 'yum update'20:56
nowenkernel error20:56
nowen?20:56
Guest3300i get 'switchroot: mount failed: no such file or directory20:57
Guest3300and20:57
Guest3300'Kernet panic - not synching: attempted to kill init!20:57
Guest3300any idea20:58
nowenis the default still 0 in grub.conf21:00
nowen?21:00
Guest3300i can't get to it21:01
nowenhmm21:05
nowenso, it's not booting21:06
Guest3300right21:08
noweni'm not sure what is going on. are you the only sysadmin on this box?21:08
nowenwhen you boot, do you see the list of possible kernels that are on the system?21:08
Guest3300yes21:09
Guest3300they are all updated version21:09
nowenthey are all the same?21:10
nowenare you the only sysadmin on this box?21:11
Guest3300yes21:12
nowenso, it looks like there are a number of different kernels, debug, xen, pae21:12
nowenis this on vmware?21:12
Guest3300hyperv21:13
nowenand did you install from our ISO?21:14
*** nowen has quit (Read error: Connection reset by peer)21:16
Guest3300yes21:16
Guest3300of course21:16
*** nowen (~nowen@adsl-98-66-183-205.asm.bellsouth.net) has joined #wikid21:22
nowensorry - lost power21:22
Guest3300ok21:23
Guest3300we'll have to pick up tomorrow21:23
nowenok21:23
Guest3300thanks21:23
nowenno problem.  talk to you tomorrow21:39
*** nowen has quit (Quit: Leaving.)21:49
*** vladdy has quit (Read error: Connection reset by peer)23:04
*** vladdy (~vladdy@194.242.5.47) has joined #wikid23:10

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