CentOS 5 :: Shutdown/service - Command Not Found
Aug 13, 2009With this issue:
$ sudo shutdown -r now
sudo: shutdown: command not found
With this issue:
$ sudo shutdown -r now
sudo: shutdown: command not found
I just installed apache2 and i can't restart the service, i get: Code: sudo: /etc/init.d/apache2: command not found
View 6 Replies View RelatedTearing my hair out on this one a little bit, having problems sending message from web based PHP form to user inbox.I keep getting: Undelivered Mail Returned to Sender<me@mydomain.co.uk>: Host or domain name not found. Name service error for name=mydomain.co.uk type=A: Host not found.Running these commands:
$ hostname = mydomain.co.uk
$ hostname -f = mydomain.co.uk
$ postconf -n =
[code]....
i want to ask about "jot" i got this error : Quote: jot: command not found
View 1 Replies View RelatedDuring installation of set up its show g++ command not found and Failed! how can I install g++ .
View 2 Replies View Relatedwill the command service httpd restart the apache service if i enable httpsd service in graphical mode
View 12 Replies View RelatedThis is on a CentOS 5.3 kernel 2.6.18.164.el5 SMP. I have a single physical NIC which has an untagged vlan and 4 tagged vlans on it. During boot up, I receive the following message:
"Bringing up interface ifcfg-eth0: /etc/sysconfig/network-scripts/ifup-eth line 121: is_bonding_device: command not found"
"Bringing up interface ifcfg-eth0.3333: Added Vlan with VID == 3333 to IF -:eth0:-
[code]....
I am looking for gcc installation in CentOS 5.4. I cannot use yum install since not connected to internet. I tried to do sudo apt-get install build-essential but received the following error: sudo: apt-get: command not found How to install gcc in my Linix machine?
View 2 Replies View RelatedI've just tried to create my first own live-cd using the instructions here: [URL] With the minimal kickstart I get a weird problem though:
...
Installing: libselinux ##################### [ 81/114]
Installing: psmisc ##################### [ 82/114]
Installing: MAKEDEV ##################### [ 83/114]
[code]....
Notice that "chmod" and "touch" are part of the package coreutils which gets installed only after these commands are used. I'm seeing a similar problem with selinux being referenced before the libselinux package is installed. I can boot the resulting image but after the kernel boots it panics because it cannot find /dev/root which might or might not have something to do with the errors above.
looking for a command that shutdown/reboot my ubuntu just same as process that happened when I press shutdown buttonIn fact I need to close all programs that are running and then PC shutdown (that happened when I press shutdown button).
View 9 Replies View RelatedI have a third party application with a database.
I have created the service but it does not wait for the database to shutdown before the systems continues with the shutdown.
This results in the database being seen as crashed.
here is my stuff i did.
CACHE START AND STOP SCRIPT FOR REDHAT
#vi /home/cacheusr/cache_ctrl
Insert below
#!/bin/sh
#
# /etc/rc.d/init.d/cache_ctrl
# Cashier Control Script
#
# chkconfig: 2345 55 01
code....
i just wanna know if there is some script out there for shutting down a certain service if the load exceeds a specified value?
I've a system with a DBI-Proxy running, most of the time the systems load is about 2~3...if a DB-connection dies, the load rapidly increases (very fast) and after some seconds the load is > 200 and i'm no longer able to shut down the DBI-Proxy manually...or do anything else via ssh...
Now i wanna have a script running in background that checks the system-load permanently and stops the DBI-Proxy if the load exceeds...well, lets say 10 or whatever.
how to assign shutdown and reboot privileges to the user.please tell directory hierarchy privileges for /root,/bin./lib,/tmp,/var,/pro etc ...
And also i would like to give space quota to particular user and directory for users.
Someone at work has requested if i can find out anything on the above.Been googling around as well as i have only been using Linux for 2 months now.
basically there is a SYBASE ASE installation on the server, which a tomcat based website references.They want the service to stop once a certain row limit is reached in the table.
I know i have to do a count statement on the sybase table from ISQL.But how can i create the action "service website stop" once the count value reaches 4000 ?
I have installed kvm from repository, but when I issue kvm -m command, I get "command not found". What am I doing wrong please?
View 1 Replies View RelatedI've read and execute the info write in this guide :
[URL]
When I type skype , I receive this message :
bash: skype: command not found.
I installed a program with Yast (Kmess), but when I try to run it, bash gives me back this message:
Code: kmess: command not found I checked into Yast and it seems to be installed correctly!
I installed it via Wubi it did well, but when it told me to restart, I did, after restarting I booted Ubuntu Netbook, then it said "Installation.iso not found. This usually happens when your computer does not shutdown correctly, shutdown without unmounting/removing usb. Please run the chkdsk /r" I already ran that many times nothing happens. I have Windows XP Pro 32bit.
View 1 Replies View RelatedI know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...
I just installed the JDK, SDK, Eclipse successfully (or I assume):
* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).
** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,
My system:
Intel i7
Ubuntu 10.10 Maverick Meerkat
android-sdk-linux-x86
eclipse 3.6.2
I installed the Berkeley DB on the Ubuntu server and tried to access the dbxml from the command line and it returns command not found
path/to/dir/dbxml-2.5.16/install/bin$dbxml
-bash" dbxml: command not found
Can someone point me in the right direction
i format and reinstall centos after that i create one sambha share and valid users restart smb service but i am unable to access it from windows pc shows network path not found any other service need to start
View 2 Replies View RelatedIn Ubuntu 10.04 grub command prompt setup command does not exist for installing grub.I am trying to recover my Feodra12 OS.Did anyone find alternate command for setup in grub command line for Ubuntu 10.04 ?
View 2 Replies View RelatedI'm trying to use the set application to configure Apache. I'm getting a "setup: command not found" error when I type in "setup" at the command line.
However when I try to install setup with yum, it tells me that setup is already installed.
I'm logged in as root. CentOS 5.5.
I am a linux newbie, and recently started shell programming. whenever I use 'let' command it gives me an error 'command not found'. I am using ubuntu 9.10 with bash.
View 5 Replies View RelatedIs there a unique command ( common to all Linux Distros, Solaris, Windows ) to know whether a service is installed and running on my system or not??
View 5 Replies View RelatedWhen ever i am giving the command service nfs restart in fedora14 iam getting the following:
And when typing the command service portmap restart in fedora 14 i am getting the following:
When i tried this in redhat and centos it was working in my class room but when i am trying it in real time it is not working so what does it mean and how to resolve the issue.
I have found so many ways for root user to execute commands in so many possible path locations - but having difficulties on executing commands as normal user - during start up.This is what i've got for /etc/rc.d/rc.local script:Code:su -l user && (/bin/sh svc_cmd.sh &)But the command doesn't run at all...
View 2 Replies View RelatedAt the GRUB menu, what is the command to shut down? Typing "halt" in the command line doesn't work and only hangs the computer on the command line screen. Heard that "init 0" works?
View 1 Replies View RelatedI am running Debian Squeeze on an Intel DH55TC motherboard. When I issue a shutdown command
shutdown -h now
The system goes shutting down. Eveything looks fine, and the main console shows all process being stopped. In the end it says "System will now halt". Then a few seconds later, it restarts. It is unclear what is causing this, because nothing is written to the screen. It just goes blank and starts rebooting. Looking afterwards in syslog doesn't show anything also.
I guess there is some bash shell trick to run poweroff when an other command is over, like let's say su -c 'yum update'.
Creating a shell script with these two commands, the one below the other, would be sufficient? I can't try it now.