Jump to content
  • Welcome To Mopar1973Man.Com

    We can see that your guest and been lurking about. When you register on the Mopar1973Man.Com site you'll be able to interact with all the other members. This is the most friendliest Cummins forum you'll ever join. Take the time right now and  REGISTER  on the Mopar1973Man.Com this will open up many more options and functions on the website. Everyone is very friendly and helpful just ask questions and everyone will help you out the best they can. 

Sign in to follow this  
Mopar1973Man

Upgrade Failure...

Recommended Posts

Sorry gang I didn't make it to the next version of software. The server load got too excessive and the response time was too long so the update program kept stopping because of lack of response from the server. So I restored the backup copies and went back to the known good system.I'll have to try again later on... Sorry for the down time...

Share this post


Link to post
Share on other sites

How many folders get updated? When I do upgrades (version to version) I usually do it as follows (again, this is not knowing how your site's structure is laid out.) say, current web data is stored as follows: /home/webadmin/www/vBversion/current/4.1.8/... I do this:

$ cd /home/webadmin/www/vBversion/[www]mkdir backups[www]$ cp -r current/4.1.8 /home/webadmin/www/backups[www]$ cd current[current]$ rm -r 4.1.8/[current]$ mkdir 4.2.0/[current]$ cp -r /home/webadmin/staging/ /home/webadmin/www/vBversion/current/4.2.0/[current]$ 
This gives you an instant fall-back if the new version chokes. It's a matter of deleting /current/4.2.0 and copy 4.1.8 folder back to original location (giving the example has the application looking for the vB files in a specific folder location..) and all is instantly switched back to how it was, before the upgrade. I do this type of thing (application-wise) about every couple of months when our app gets updated (new versions.) $pwd will display current location you're in.. I.E.:
[root@WebAppSvr log]# pwd/home/root/jboss-4.0.5.GA/server/order/log[root@WebAppSvr log]#
Here's another tip:
[root@WebAppSvr log]# free -m             total       used       free     shared    buffers     cachedMem:         12007      10033       1973          0        429       3895-/+ buffers/cache:       5708       6298Swap:         8001          0       8000[root@WebAppSvr log]#

Share this post


Link to post
Share on other sites

Here is free command...

-bash-3.2$ free -m             total       used       free     shared    buffers     cachedMem:         48746       7926      40820          0        157       7362-/+ buffers/cache:        406      48340Swap:         8191          0       8191
I'm going to have to call you some night and get linux leasons from you... :smart::thumbup2:

Share this post


Link to post
Share on other sites

that box has a boat-load of memory!

odd that the upgrade timed out..

--- Update to the previous post...

Here is free command...

I'm going to have to call you some night and get linux leasons from you... :smart::thumbup2:

Sure thing. We'll have to schedule it, though, to ensure I'm #1: home #2: available :)

Otherwise, I'd be happy to help you as much as I can.

Again, I do 99.9% of my Linux operation(s) in terminal (PuTTY) and vary rarely do I interface with the boxes via GUI.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Donation Goals

    Mopar1973Man Medical Bills

    If you want to donate to Michael Nelson medical bills. Any fund donated here will be directed toward the medical bills and getting them paid. 


    10%
    $50.00 of $500.00 Donate Now


×
×
  • Create New...