Programming :: Script To Check Startup For Start Restart Stop Centos?

Jun 16, 2010

I have startup scriptsI want to test themI need a script to do the followingstart restart stop for 100 times (or i can set how many cycle)

View 1 Replies


ADVERTISEMENT

Programming :: START And STOP Oracle Automatically On System Startup And Shutdown?

Aug 17, 2009

I have installed Oracle 11g on 5.3. Now, I am trying to START and STOP oracle automatically on system startup and shutdown. I am following this link To have this effect, I have created /etc/init.d/dbora

Code:

#!/bin/sh
# chkconfig: 345 99 10
ORA_HOME=/oracle/app/oracle/product/11.1.0/db_1

[code]....

View 4 Replies View Related

General :: Difference Between Restarting/stopping Apache Using 'service Httpd Restart/stop' And Apachectl Restart/stop

Oct 11, 2010

whats the difference between restarting/stopping apache using 'service httpd restart/stop' and apachectl restart/stop. I know that using 'service httpd restart' is actually a script in /etc/init.d/httpd but what about apachectl?

View 1 Replies View Related

Red Hat / Fedora :: Restart / Start / Stop All Services At The Same Time Without Rebooting?

Jan 7, 2010

is it possible to restart /start/stop all services at the same time without rebooting?

View 3 Replies View Related

Software :: Can't Start / Stop / Restart Samba Via Command Line

Oct 12, 2010

I have a GUI for Samba already as it most likely installed, the problem is I don't have a shared folder in admin menu. I have told samba what folder to share and what user to have access to it. As well I have looked at the config file to make sure what was in the gui printed into the config file. However I cannot start, stop, restart samba via command line. I will try config package and hopefully that drops down everything,

[code]...

sudo service smbd restart unrecognized service, nmbd same thing. Now it is installed, but has no script file or the script file is not in the init.d folder like it should be still trying to figure I have come to the conclusion that the daemons are not installed and am trying to figure out what those script files look like or a way to import them off a ftp, however no luck with google so far. But the scripts files don't exist on my box. how do you install samba daemons when it says samba is already installed.

View 7 Replies View Related

Debian Configuration :: Configure (start/stop/restart) Services (especially Apache2, MySQL And PHP) Using A Graphical Or Cli Tool?

Jul 23, 2010

I'm using debian 5 x64 with xfce.Is there a way to configure (start/stop/restart) services (especially Apache2, mySQL and PHP) using a graphical or cli tool? I tried to use sysv-rc, sysv-rc-conf, rcconf and rc-conf in the terminal but Bash didn't find them (Although Synaptic show that sysv-rc is installed).

View 9 Replies View Related

CentOS 5 Hardware :: Service Network Stop Automatically - Restart In Cron Tab

Jan 23, 2011

I am using
# uname -rmi
2.6.18-194.26.1.el5PAE i686 i386

# cat /etc/*release*
cat: /etc/lsb-release.d: Is a directory
Red Hat Enterprise Linux Server release 5 (Tikanga)
CentOS release 5.5 (Final)

I have noticed that after few days of ideal system it will stop its network interface. To resolve this I have to login to the machine it self and then issue
# service network start
Is this a feature. If this is not a feature then what is this. As an workaround I am thinking of adding service network restart in cron tab for everyday in night when I am not using it.

View 6 Replies View Related

Programming :: Make A Script That Will Check Service/s Status Whether Running Or Stop?

Sep 6, 2010

how to make a script that will check service/s status whether running or stop and also will run stop services?

View 9 Replies View Related

Programming :: Check If $var Is Not Start With 0

May 25, 2010

I need to check if $var is not start with 0

Code:
read var
if [ $var IS NOT START WITH 0 (or something like 006077) ];then echo 'Good'

View 15 Replies View Related

Programming :: How To Start/stop Squid Service Using PHP

Oct 21, 2009

Im using PHP and Sun Solaris to do something for Squid Proxy Server. im using......

- LAMP / SAMP
- Linux / Solaris 10
- Squid Server
- PHP

actually i need to know that someone knows about how to start/stop Squid Service using PHP code.

View 2 Replies View Related

SUSE :: 10.2 Won't Startup - Error Message "Could Not Start Kstartupconfig. Check Your Installation"

Mar 16, 2010

I foolishly changed the mount point of a partition on a HDD which Linux was not in fact using, and now when I try to start up I get a message box stating:- Could not start kstartupconfig. Check your installation.

How do I recover the situation. I do not have an up to date recovery disc. I do have a full bootup disc of Suse 11.2 - could I use the opportunity to update without losing all my personal files, or should I use the old 10.2 disks? The first essential is to get something back up and working.

View 5 Replies View Related

CentOS 5 Hardware :: Digital Card Stop 5.2 From Start

May 15, 2009

My digital card stop Centos 5.2 from start , when i remove it feom my compyetr it start , how i can install it ans stop centos from recognize it (ignore it ) i have winxp for it

View 1 Replies View Related

Programming :: Make A Bash Script Start Automaticly When System Restart?

Apr 4, 2009

ia have this script
#!/bin/bash
if [ -e /tmp/mysql.pipe ]; then

[code]...

View 3 Replies View Related

CentOS 5 Server :: Named Won't Start \ Named Stop But Does Not Start Again?

Oct 28, 2009

i've made a big update of almost 300Mb.I'had a working DNS server.Now, when i boot the box, named works and it resolves all the clients.If i make any change (enter a new client for example) and of course i restart named (service named restart), named stop but does not start again !!!In order to get a working named, i 'm obliged to reboot the box?

View 6 Replies View Related

CentOS 5 Server :: Start X At Startup Without Running Login Screen?

Jan 12, 2011

I am setting up a CentOS server that has no screen connected, and only has 2 Tesla cards. I have created a minimal xorg.conf and xinitrc file that doesn't load mouse or keyboard, and only creates two screens, one for each card at 320x200x24 bit. This is so I don't waste VRAM on a framebuffer I can't see.

I modified the xinitrc to just load tdm and nothing else as GNOME is a RAM hog. I am then using this setup to render stuff offscreen using OpenGL into FBOs which I read back to CPU and process. Currently for development I just run startx& when I login. I now want to know how to set x server to start automatically at boot. The CentOS docs say that it will try to load the GNOME login manager. The thing is that I don't want a login manager as it is useless as I login remotely via SSH.So:

1 - how to enable automatic x server in CentOS (im used to Ubuntu so not sure how to do this on Red Hat variants)

2 - leave x server running without starting login manager

View 8 Replies View Related

Programming :: Adjust Startup Script To Start Multiple Portal Servers

Sep 28, 2010

We have 14 portal servers in our environment. Test, Stg deliver and production are in the cluster. They have two nodes in cluster environment. i.e WebSphere_Portal & WebSphere_Portal_2. we have separate script in each portal server to start & stop portal server. Now we wanted to use same script for all servers to start. Here I come to the script:

[code]...

Can any one confirm the script?

View 9 Replies View Related

Fedora Security :: User Access To Start And Stop Tomcat But Also Gives User Access To Start And Stop Other Services "/etc/sudoers"

Mar 13, 2009

I am trying to give access to ONE single user to start and shutdown tomcat server. The problem being, when I enter syntax: username ALL= /etc/init.d/tomcat5, /usr/local/tomcat/webapps, PASSWD:ALL This gives the user access to start and stop tomcat but also gives user access to start and stop other services within /etc/init.d - such as httpd etc... What is the proper way to give user access to start and stop service, and limiting that power to only one service....

View 2 Replies View Related

Programming :: Start Stop Portal 1 And Portal 2?

Nov 9, 2010

We have multiple servers. WebSphere Portal is running on the servers. Node 1 portals are called WebSphere_Portal and node portals are called WebSphere_Portal_2. We want same script to start and stop portal in all environments.

I am getting following errror message

: No such file or directory1: !/bin/bash
'/WebPortalUptest.sh: line 24: syntax error near unexpected token `in
'/WebPortalUptest.sh: line 24: `case $host in

[Code]...

View 6 Replies View Related

General :: Start Script Bash When System Start Stop Reeboot?

Dec 10, 2009

I have 3 script BASH. I want start this script when the system start,stop and reeboot.

View 4 Replies View Related

General :: Ubuntu Automatic Restart / Stop It?

Aug 26, 2010

Ubuntu restarts every 1 hour and sometimes around 3 am in the morning. It is happening for the past few weeks i didn't find any help for this problem in the net. Please reply if there is any way to find why it is happening or how to stop if from doing an auto reboot

View 3 Replies View Related

Software :: Shortcut To Restart Or Stop A Service?

Jan 28, 2011

Is it possible to make a shortcut on desktop to stop or restart a service in Linux?

View 5 Replies View Related

Programming :: Check Menu & Check List In Utility Dialog?

Aug 19, 2010

I want to put check menu & check list in utility dialog.i dont know how i do this

View 1 Replies View Related

OpenSUSE Install :: Stop Boot Screen AND RESTART?

Jan 7, 2011

I have a small question for you my friends."HOW CAN STOP BOOT SCREE AND RESTART ,WHAT KEYS ARE NEED?"I want to say thisC starts and I want to stop in whatever one point to read the messsage ,especially when I see "failed".I have 2 points with failed I can't have enough time because it's going fast.Of course I read the boot messages from /var/log but they are too long and to be honest evan I used in "gedit" the option "find" to search of raws with "failed" I can find some ,but other not.That's I think when PC start and if I can stop/PAUSE the boot process using some key combination I note and after I cancel "PAUSE" and PC continue the booting process.

View 4 Replies View Related

Ubuntu Networking :: Stop & Restart Wireless Services

Apr 1, 2010

Xubuntu 9.10 on a DELL Inspiron 1150.I have a problem with intermittent dropping of my wireless connection ( see Belkin 7010 thread).Once dropped, the wireless will NOT reconnect (It just sits there saying "connecting" but never does) Same happens if I manually disconnect - I can never re-connect. On rebooting it will reconnect fine & all is well for sometimes 4 hrs.How can I kill all wireless services & restart them without having to reboot the laptop?

View 3 Replies View Related

General :: Grub2: Stop FS Check At Boot?

Feb 9, 2011

I'm using debian testing with grub2. Is there a way to stop the FS check at boot (something like ctrl-c) after the check has started and continue with the boot process as usual?.

View 9 Replies View Related

Ubuntu Servers :: Kernel Log Daemon Always Stop And Restart Back Automatic?

Feb 22, 2010

waht is kernek log daemon..? why kernel log daemon always stop and restart back automatic?

View 1 Replies View Related

Ubuntu :: Start Synergy On Startup Wont Start Automatically On Server

Oct 13, 2010

Im trying to run synergy on startup. This works fine on the client, but it wont start automatically on the server. I put this line in an entry in startup applications:

[code]...

but still no dice.

View 9 Replies View Related

Ubuntu Servers :: Check SSH Settings Post Upgrade / Pre Restart?

Aug 30, 2010

I just rented a godaddy dedicated, the ubuntu variety comes loaded with 8.04...(& I need PHP 5.3)Followed the directions here: URL...I did have to change my sources.list, everything after that went as expected (not like i'd know what to expect)At one point it asked if I wanted to update my grub/menu.lst to the release version, or use my old one, I updated it.Once the upgrade completed, I checked the menu.lst again to ensure it was gonna boot 10.04 (as warned by the guide)However once I sent reboot, I couldn't SSH back in, I waited 5m, 15m, tried again, still couldn't SSH then I had the server power cycled via my godaddy control panel, and still nothing, attempts on port 22 timed out & other ports were refused.

I think I overlooked something because, from what I've read here and there this is technically possible, I also just found this guide here:URL...The first user comment (above link/guide) seems to have a tip for what I'm trying.Anyways had the server re-provisioned via my control panel & I'm about to try again, only this time. uh, check the SSH settings post upgrade/pre restart?

View 9 Replies View Related

Software :: ERROR - Restart Aborted Check Your Nagios Configuration

Mar 23, 2011

Heare i come with Nagios Problem, When ever i stop nagios it say's

[root@x292 ~]# service nagios stop
Stopping nagios: No lock file found in /usr/local/nagios/var/nagios.lock
When ever i restart nagios it say's
[root@x292 ~]# service nagios restart
Running configuration check... CONFIG ERROR! Restart aborted. Check your Nagios configuration.
my nagios.cfg file is
# 'Nagios CFG 1'

[Code]...

View 12 Replies View Related

Ubuntu :: How To Stop Disk Check Every Time On Boot Up

Dec 19, 2010

Every time I boot up I have to go through a disk check and then restart, how do I stop it from happening? When the disk checks happening I press escape and it usually says its deleted inode something because it has zero Dtime or some thing similar and also a paragraph of repeated lines saying something like all system files need alsa base.cnfg it will be ignored in a future release then the disk check completes and it restarts and is fine then, also sometimes it says dev/sda5 (my ubuntu partition) was not cleanly unmounted check forces. Is their a way to stop this happening as it ends up taking ages just to login.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved