LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-24-2012, 01:49 AM   #1
vp0619520
Member
 
Registered: Jan 2012
Posts: 55

Rep: Reputation: Disabled
Problem with memory upgrading


There is a server need do memory upgrading,and the server will shutdown.I think I should check all of the ongoing service on the service to be sure all the setting and service running properly after server reboot.I found some services on going as below:
Mysql,Apache,sshd,vsftpd,crond,syslogd,udevd.
and I found their start script in the path
Code:
/etc/rc2.d/
.
I need some help,as what should I do?I think I will have a record with these ongoing services,so I can confirm that these services are running correctly after server reboot.Is there any other important thing I should do?Please help.Thanks a lot.
 
Old 04-24-2012, 02:02 AM   #2
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
You didn't mention which OS you're using.
Exactly you first need to check which all services are currently running so that after memory upgradation services should properly run. So, for that you can check which all services are currently running by using this command -

Code:
# service --status-all
If you had run chkconfig <service-name> on before memory upgradation then the services will automatically run after you restart your server. And you can check which services has been stopped and need to be restart again.
 
Old 04-24-2012, 03:02 AM   #3
vp0619520
Member
 
Registered: Jan 2012
Posts: 55

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Satyaveer Arya View Post
You didn't mention which OS you're using.
Exactly you first need to check which all services are currently running so that after memory upgradation services should properly run. So, for that you can check which all services are currently running by using this command -

Code:
# service --status-all
If you had run chkconfig <service-name> on before memory upgradation then the services will automatically run after you restart your server. And you can check which services has been stopped and need to be restart again.
Thanks a lot for the rapidly response.The OS is Ubuntu 9,and the "chkconfig" has not been installed.I ran this command
Code:
ps -ef
,then I found those services.I also want to know whether I need to backup some config file of those services.
 
Old 04-24-2012, 03:43 AM   #4
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
Quote:
the "chkconfig" has not been installed.
You can install chkconfig on your system like this-

Code:
$ apt-get install libnewt0.52
$ ln -s /usr/lib/libnewt.so.0.52 /usr/lib/libnewt.so.0.50
$ wget http://www.tuxx-home.at/projects/chkconfig-for-debian/chkconfig_1.2.24d-1_i386.deb
$ dpkg --force-all -i chkconfig_1.2.24d-1_i386.deb
It's alternative could be to install install sysv-rc-conf

Code:
$ apt-get install sysv-rc-conf
and then type sysv-rc-conf using the command.

Quote:
I also want to know whether I need to backup some config file of those services.
Well there is no need to take the backup of running services' scripts. But it can be a good practice to take the backup of your data and services files.
Good Luck!
 
Old 04-24-2012, 03:47 AM   #5
vp0619520
Member
 
Registered: Jan 2012
Posts: 55

Original Poster
Rep: Reputation: Disabled
Thank you so much!
 
Old 04-24-2012, 04:08 AM   #6
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
If your problem has been solved, please mark the thread as SOLVED.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with upgrading memory in Dell power edge 1850 chandu.bezawada Linux - Server 5 11-03-2010 12:23 PM
Memory issues after upgrading to 4 gig ram vansch76 Linux - Desktop 4 02-24-2009 05:39 PM
second screen is black (framebuffer and x11) after upgrading memory oddiofile Linux - Hardware 2 11-17-2005 06:54 PM
Upgrading Memory rekurzion Linux - Hardware 2 11-24-2004 12:33 PM
Upgrading memory Citizen Bleys Linux - General 5 08-14-2001 07:31 AM


All times are GMT -5. The time now is 10:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration