*** nowen (~nowen@adsl-98-66-183-205.asm.bellsouth.net) has joined #wikid | 12: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 #wikid | 13:59 | |
*** joevano (~joevano@bzflag/developer/JoeVano) has joined #wikid | 15:38 | |
*** nowen has quit (*.net *.split) | 17:06 | |
*** nowen (~nowen@adsl-98-66-183-205.asm.bellsouth.net) has joined #wikid | 17:10 | |
*** Mo (4084d7c2@gateway/web/freenode/ip.64.132.215.194) has joined #wikid | 19:04 | |
Mo | hello | 19:04 |
---|---|---|
nowen | hi | 19:04 |
*** Mo is now known as Guest3300 | 19:04 | |
Guest3300 | can i update the server | 19:04 |
nowen | what version are you running now? | 19:04 |
Guest3300 | using yum update | 19:04 |
nowen | how do you do back ups? | 19:05 |
Guest3300 | i just backup the vm | 19:05 |
nowen | then I don't see why not | 19:05 |
Guest3300 | i'm running version 3.4.87-b1030 | 19:06 |
Guest3300 | i ran yum update and the server blew up | 19:06 |
Guest3300 | couldn't load kernel | 19:06 |
Guest3300 | so i restored a previous copy | 19:06 |
Guest3300 | which worked | 19:07 |
nowen | can you create a clone for testing? | 19:07 |
Guest3300 | yes | 19:07 |
Guest3300 | then i will have to change ip settings | 19:08 |
nowen | yes | 19:08 |
nowen | but better than testing on production, right? | 19:08 |
Guest3300 | of course, thats why i made a backup | 19:08 |
Guest3300 | we ran a vulnerability scan | 19:09 |
Guest3300 | it came back with ssh warning | 19:09 |
Guest3300 | we need to update the ssh version | 19:10 |
Guest3300 | will updating the server update the ssh version | 19:10 |
nowen | yes, or you can run 'yum update openssh' | 19:10 |
Guest3300 | great | 19:12 |
Guest3300 | how can i check for ssh version on the server | 19:12 |
nowen | 'rpm -qa | grep openssh' | 19:12 |
Guest3300 | do i enter with the quote | 19:25 |
nowen | no, no quotes | 19:26 |
Guest3300 | thanks | 19:28 |
nowen | you might have to run 'yum update openssh-server' or 'yum update openssh-*' | 19:29 |
Guest3300 | yum update openssh seems to work as well | 19:30 |
nowen | it could be that re-booting the server and then updating the kernel would work | 19:30 |
Guest3300 | should i try updating the server wihout starting wikidcntrol | 19:31 |
nowen | that should not matter | 19:31 |
Guest3300 | i tried it and got can't load kernel... there were 300MB of updates as well | 19:32 |
nowen | does that happen every time you reboot? | 19:33 |
Guest3300 | yes i tried a few times | 19:33 |
Guest3300 | same thing | 19:33 |
Guest3300 | did not know how to backout | 19:33 |
nowen | that's not good | 19:34 |
Guest3300 | so restored the vhd from backup | 19:34 |
Guest3300 | not good is right | 19:34 |
Guest3300 | have you been successful in updating your machiens | 19:34 |
nowen | yesa | 19:34 |
Guest3300 | same as steps as me? | 19:34 |
nowen | I've never gotten it | 19:35 |
nowen | what do you get when you run 'rpm -qa | grep kernel' | 19:35 |
Guest3300 | well i've restored a previous vhd file so i'm not sure | 19:36 |
Guest3300 | do you want me to run this on the current version | 19:36 |
nowen | yes | 19:36 |
Guest3300 | i get a list of kernel files with versin numbers | 19:37 |
nowen | can you post them to pastebin.com and then send the resulting url here? | 19:37 |
Guest3300 | how do i copy from the screen, is there a way to copy? | 19:38 |
nowen | are you at the server's terminal or are you connected remotely? | 19:39 |
Guest3300 | terminal | 19:39 |
Guest3300 | i can connect remotely to wikid but am not sure if you can run commands on the server from wikid... can ou? | 19:40 |
nowen | I cannot, but you can. | 19:43 |
Guest3300 | how do i run the commands from wikid | 19:45 |
nowen | not 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 app | 19:46 |
Guest3300 | i just typed it in | 19:49 |
Guest3300 | http://pastebin.com/QTK4GPXJ | 19:49 |
nowen | awesome | 19:49 |
nowen | now run 'uname -a' | 19:49 |
nowen | you can paste that here | 19:49 |
Guest3300 | [root@drwikid01 ~]# uname -a | 19:53 |
Guest3300 | Linux 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/Linux | 19:53 |
Guest3300 | that is what I get when running 'uname -a' | 19:57 |
nowen | ok | 19:58 |
nowen | hold on a sec | 19:58 |
Guest3300 | ok | 19:58 |
nowen | can you run 'more /etc/grub.conf' | 19:58 |
nowen | and pastebin that? | 19:58 |
Guest3300 | ok just did here is the link http://pastebin.com/RcArykRt | 20:02 |
Guest3300 | keep in mind you are looking at the one without any updates | 20:02 |
Guest3300 | this is a working server | 20:02 |
nowen | ok - I suggest we run a test on a clone. it doesn't need an internet connection | 20:05 |
nowen | do you know how to edit a file in linux? | 20:07 |
nowen | I can also walk you throught | 20:08 |
nowen | through it | 20:08 |
nowen | do you see where it says 'default=2' in grub.conf. I want you to change the 2 to 0 | 20:10 |
Guest3300 | ok | 20:11 |
Guest3300 | how do i do that | 20:11 |
Guest3300 | i should connect to the terminal right | 20:11 |
nowen | yes - I suggest to your back up | 20:11 |
nowen | then run 'vim /etc/grub.conf' | 20:12 |
nowen | hit the Ins key twice. | 20:13 |
nowen | you should see -- Replace -- at the bottom of the screen | 20:13 |
nowen | use the down arrow to get that line | 20:14 |
nowen | and then the right arrow to get over the 2 | 20:14 |
nowen | and hit 0 | 20:14 |
nowen | then type :wq | 20:14 |
Guest3300 | i just cloned the machine without any network access | 20:14 |
Guest3300 | would this work | 20:14 |
nowen | yes | 20:14 |
Guest3300 | what line number shoudl I be on | 20:18 |
nowen | based on your pastebin, about 12. it says "default=2" | 20:19 |
Guest3300 | got it and changed it to 0 i had to hit esc before :wq otherwise its still on edit mode | 20:19 |
Guest3300 | thanks | 20:20 |
nowen | ah yes | 20:20 |
nowen | ok - now reboot and see if it works | 20:20 |
Guest3300 | i will have to connect it to network right? also, i will need to change the ip as well | 20:21 |
Guest3300 | should i change the ip | 20:21 |
nowen | no - I just want to test if this fixes the kernel issue | 20:22 |
nowen | if it works, then you can do whatever | 20:22 |
Guest3300 | rebooting | 20:22 |
Guest3300 | however, please note this was a working version | 20:23 |
Guest3300 | did not have any issues with this one as I did not run any updates | 20:23 |
Guest3300 | i had the problem with the kernel after I ran updates | 20:23 |
nowen | ? | 20:24 |
nowen | then why are we doing this? | 20:24 |
nowen | well, try running 'yum update kernel' and then reboot | 20:24 |
Guest3300 | root | 20:25 |
Guest3300 | ok | 20:25 |
Guest3300 | thats what I said before | 20:25 |
Guest3300 | not sure what you were trying to do...i thought you were lowering the number then run the update | 20:25 |
nowen | the grub.conf file defines what kernel to boot | 20:26 |
Guest3300 | ah ok that makes sense now | 20:26 |
nowen | usually it is set to 0. not sure why yours is 2, but I am guessing that is why you are getting the error | 20:27 |
Guest3300 | anyway i'm running the update now lets seee what happens | 20:27 |
Guest3300 | its complete should i reboot | 20:28 |
nowen | yes | 20:28 |
Guest3300 | thats what i did before and after the reboot started failing | 20:28 |
nowen | you edited the the grub.conf? | 20:28 |
Guest3300 | no | 20:29 |
Guest3300 | i am actually running this on prod backup server | 20:29 |
Guest3300 | looks like the server came back up | 20:30 |
Guest3300 | i will try to update ssh then update everything else | 20:30 |
Guest3300 | is this sound | 20:30 |
nowen | yes, I think so | 20:31 |
Guest3300 | should i reboot after each update | 20:34 |
nowen | only kernel updates | 20:45 |
nowen | http://wikidsystem-dl,com/wikid-server-enterprise-3.4.87.b1216-1.noarch.rpm | 20:46 |
nowen | if you run 'wget http://wikidsystem-dl,com/wikid-server-enterprise-3.4.87.b1216-1.noarch.rpm' | 20:47 |
nowen | then 'rpm -Uvh wikid-server-enterprise-3.4.87.b1216-1.noarch.rpm' | 20:48 |
Guest3300 | got same error as before after 'yum update' | 20:56 |
nowen | kernel error | 20:56 |
nowen | ? | 20:56 |
Guest3300 | i get 'switchroot: mount failed: no such file or directory | 20:57 |
Guest3300 | and | 20:57 |
Guest3300 | 'Kernet panic - not synching: attempted to kill init! | 20:57 |
Guest3300 | any idea | 20:58 |
nowen | is the default still 0 in grub.conf | 21:00 |
nowen | ? | 21:00 |
Guest3300 | i can't get to it | 21:01 |
nowen | hmm | 21:05 |
nowen | so, it's not booting | 21:06 |
Guest3300 | right | 21:08 |
nowen | i'm not sure what is going on. are you the only sysadmin on this box? | 21:08 |
nowen | when you boot, do you see the list of possible kernels that are on the system? | 21:08 |
Guest3300 | yes | 21:09 |
Guest3300 | they are all updated version | 21:09 |
nowen | they are all the same? | 21:10 |
nowen | are you the only sysadmin on this box? | 21:11 |
Guest3300 | yes | 21:12 |
nowen | so, it looks like there are a number of different kernels, debug, xen, pae | 21:12 |
nowen | is this on vmware? | 21:12 |
Guest3300 | hyperv | 21:13 |
nowen | and did you install from our ISO? | 21:14 |
*** nowen has quit (Read error: Connection reset by peer) | 21:16 | |
Guest3300 | yes | 21:16 |
Guest3300 | of course | 21:16 |
*** nowen (~nowen@adsl-98-66-183-205.asm.bellsouth.net) has joined #wikid | 21:22 | |
nowen | sorry - lost power | 21:22 |
Guest3300 | ok | 21:23 |
Guest3300 | we'll have to pick up tomorrow | 21:23 |
nowen | ok | 21:23 |
Guest3300 | thanks | 21:23 |
nowen | no problem. talk to you tomorrow | 21: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 #wikid | 23:10 |
Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!