Ubuntu :: Pm-suspend: Command Not Found

Jul 26, 2011

I have a cron (running as root) that does some work and then suspends the pc until the next morning. This script works fine when run fom the terminal, but when running the script via the cron, it fails.

This is my test script:

#!/bin/bash
pm-suspend

The cron is: 10 9 * * * bash /home/administrator/sleep.sh > /home/administrator/error.log 2>&1

The error is: line 2: pm-suspend: command not found

View 2 Replies


ADVERTISEMENT

OpenSUSE Install :: Installed Program Not Found - Kmess: Command Not Found

Oct 1, 2010

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!

View 9 Replies View Related

General :: Ubuntu 10.10 And Command Line Scripts - Error - Android: Command Not Found

Mar 26, 2011

I 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

View 5 Replies View Related

Ubuntu :: Setup Command Not Found In 10.04 Command Prompt?

May 6, 2010

In 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 Related

General :: Access The Dbxml From The Command Line And It Returns Command Not Found?

Apr 30, 2011

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

View 1 Replies View Related

Fedora :: Suspend From Command Line As User ?

Mar 13, 2011

Is it possible in Fedora to suspend from the command line as a non-root user?

View 9 Replies View Related

Fedora :: F15 Suspend Command Line As User ?

May 25, 2011

I just installed new Fedora (F15) and I could not figure out how to suspend or hibernate from command line as user. The method I used in previous versions does not seem to work:

Code:

What is new method of command line suspending and hibernating as user?

View 6 Replies View Related

General :: How To Hibernate/suspend Using The Command Line ?

May 18, 2011

Put 'nix box to sleep from command line?

I found that the solution was to do: pmi action hibernate

But when I typed in that, it showed: Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Hal was not provided by any .service files

View 2 Replies View Related

Ubuntu :: Whenever Use 'let' Command It Gives An Error 'command Not Found'?

Jan 10, 2010

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 Related

Debian Multimedia :: Proper Suspend Command From The OpenBox Menu?

Dec 1, 2010

Running Debian Squeeze and OpenBox. I added the command: "gdm-control --suspend" to my OBmenu but nothing happens. When I run the command from the terminal, also, nothing happens. Yes, I did actually Google. Anyway, proper suspend command from the OpenBox menu?

View 14 Replies View Related

Debian :: Command To Suspend / Hibernate Functions In Console Mode?

Dec 6, 2010

I've configured my debian lenny to load first the command line, then if i want I load the X server, but doing this to that way I don't have the suspend/hibernate functions from the gnome menu, so, my question is:

what is the command to suspend / hibernate my system at any moment I decide?

View 1 Replies View Related

Slackware :: Suspend - Hibernate At Command Line As Regular User In 13.37 - Use ConsoleKit?

Apr 18, 2011

Using the most recent -current/13.37, I'm curious if there is a New Right Way to suspend as a regular user from the command line, now that we've got PolicyKit/ConsoleKit running the show. I've seen some things (e.g., on the Archlinux wiki) that seem to come close, but require UPower. For some reason I can't wrap my head around the PolicyKit documentation well enough to figure this out.

My old solution was to add a line to /etc/sudoers giving anyone in the power group access to pm-suspend, pm-hibernate, and shutdown, and this is probably what I'll end up doing with 13.37.

View 8 Replies View Related

Ubuntu :: No Launcher Found In Applications Menu - "projectM-pulseaudio" Returns "command Not Found"

Nov 19, 2010

I'm trying to install the projectM visualizer and I'm running into some problems. Initially, I tried to install it by running "sudo apt-get install libvisual-projectm", which seemed to work... except there's no launcher for it in my Applications menu and "projectM-pulseaudio" returns "command not found". From there, I decided to try to build it myself, by following this guide (<- link). It went well until the "make" command, which returns the following error:

[Code]....

View 1 Replies View Related

Ubuntu :: Waking From Suspend, To Tell It Needs To Suspend Due To A Critical Low Battery?

Oct 25, 2010

If I suspend this toshiba satellite, and the battery is or gets low it will wake from suspend to tell me that it will need to suspend due to a critical low battery. Which is pretty dumb. I've experimented with this by plugging and unplugging the ac adapter.

View 1 Replies View Related

Ubuntu :: Pm-suspend-hybrid / Schedule The Laptop To Come Out Of Suspend?

May 23, 2011

3 questions i have about "pm-suspend-hybrid"

1. is it possible to schedule this command in the same manner as shutdown ? eg sudo shutdown -h 60

2. is it possible to schedule the laptop to come out of suspend ?

3. i have a usb sound card (xfi go). when waking from suspend, the internal sound card is selected. i have to manually select the external sound card & for whatever reason, also unmute it too

View 1 Replies View Related

General :: Using One Command "make UImage" Getting Error 127 Command Not Found?

Feb 23, 2010

I am doing some embeded linux work in ARM 9263.So I need to make a image for that board.But when I using one command "make uImage" I am getting the following error.

make: arm-linux-gcc: Command not found
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
HOSTCC scripts/basic/fixdep
code....

View 4 Replies View Related

Ubuntu :: /bin/ls Command Not Found?

Nov 8, 2010

I'm wondering whether my server has been hacked by someone trying to cover their tracks. When I log in now, I get a message saying "bash: /bin/ls: No such file or directory", and although 'which ls' tells me it's '/bin/ls', it is as if the command does not exist. Note that this NOT a path issue: I get the error when typing '/bin/ls' (and '/usr/bin/ls', which I thought worth trying). I tried to 'sudo chmod +x /bin/ls' and the operation was not permitted.

OK, so thinking I'd somehow hosed things, I did 'sudo apt-get install --reinstall coreutils', hoping to reinstall ls etc. I get this:

Code:
Preparing to replace coreutils 8.5-1ubuntu3 (using .../coreutils_8.5-1ubuntu3_amd64.deb) ...
Unpacking replacement coreutils ...
dpkg: error processing /var/cache/apt/archives/coreutils_8.5-1ubuntu3_amd64.deb (--unpack):

[Code]...

View 6 Replies View Related

Ubuntu :: Wish: Command Not Found?

Feb 18, 2011

I a new user of ubuntu.I got this strange problem when I was doing an installation. The command is just in the folder, but the installation says it's not there. I have tried to re-install tcl/tk package in ubuntu, but it doesn't work. Could anybody help me out on this issue

View 5 Replies View Related

Ubuntu :: Getting Command Not Found Msg

Mar 27, 2011

I downloaded ff 4 tar.bz.2 file ,extaracted to root opened firefox folder and ran from there,but ff 3.6 was still there so i used sudo nautilus to remove the old ver. Now to run ff i have to open root/firefox and there is a script file i use to run ff,if i type firefox in the terminal i get command not found msg.

View 5 Replies View Related

Ubuntu :: ALT+F2 Command Not Found?

Aug 7, 2011

I am running gNatty ubuntu 11.04. before yesterday, the Alt+F2 then type in gnome-tweak-tool would successfully open the Advanced Settings in application. But now it shows "command not found", same thing for gnome-terminal...Is there anyway to fix this? What package is the ALT+F2 related to?

View 8 Replies View Related

Ubuntu :: How To Run A Script In /usr/lib/gmt/bin/ - Command Not Found

Jan 29, 2010

I'm trying to run a script in /usr/lib/gmt/bin/ but I always get the respsonse "command not found". If I type echo $PATH I get

"dan-desktop:/etc> echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/dan:/usr/lib/gmt:/usr/lib/gmt/bin:/home/dan/Documents:"

how to get this into my PATH file?I am using tcsh in case that makes a difference.

View 9 Replies View Related

Ubuntu :: Source Command Not Found?

Mar 3, 2010

9.10 Bash shell.

Code:
Linux $ sudo source ./vars
sudo: source: command not found
Linux $ sudo . ./vars
sudo: .: command not found

[Code]....

View 8 Replies View Related

Ubuntu Servers :: Nm Command Not Found?

Mar 9, 2010

Running Ubuntu 9.10 64bit server. Installed it as a minimal virtual machine. The 'nm' command does not exist in /usr/bin. Assuming this is because the nm command is not included in a minimal install. How can I install the nm command ?

View 2 Replies View Related

Ubuntu :: Make[1]: Gcc: Command Not Found

May 23, 2010

I cant get my wusb54gc to work I have follow all the instructions from [URL] first tried it on mint and it worked perfect--I installed the latest xubuntu and ran into a problem @:
Step 9

Code:

cd /home/user/Downloads/2009_1110_RT3070_Linux_STA_v2.1.2.0

Code:

make && make install

terminal puts out:

Code:

make[1]: Entering directory '/home/ian/Downloads/2009_1110_RT3070_Linux_STA_v2.1.2.0/tools' gcc -g bin2h.c -o bin2h
make[1]: gcc: Command not found
make[1]: *** [all] Error 127
make [1]: Leaving directory ...same as above
make: *** [build_tools] Error 2

then after that step 10 in Xubuntu there is no such directory as /lib/modules/2.6.31-14-generic/updates there is a 2.6.32-21...

View 3 Replies View Related

Ubuntu :: Command Not Found When Using Terminal?

Aug 25, 2010

just bought two new monitors , having major problems installing them,ubuntu 10.04 didnt recognize them at all running at 800x600 they should run at 1920x1080.
i have found various web pages explaining how to adjust the resolution using terminal . the problem i am having that nearly every command i put in commes back with command not found , i thought i needed to be signed in asroot so did this but still the same problem .

View 5 Replies View Related

Ubuntu :: No Command 'mycommand' Found?

Feb 16, 2011

I just installed Ubuntu using the Windows Installer.I am trying to run an executable in a command window, and I get the message:"No Command 'mycommand' found, did you mean:"I typed $> mycommand <various flags, et al.I ran an executable just before this, but proceeded by "./"so I tried that, and received the following message:"bash: ./: is a directory"

So I'm not sure why the 'mycommand' executable is not recognized.I'm in the same directory as the .exe file.I know it works, but it's not even recognized.

View 9 Replies View Related

Ubuntu :: Javaw - Command Not Found?

Mar 25, 2011

I want to start use an application that requires javaw, (a virtual slide rule app) . At the moment running the script that launches the app looks like this.

Code:
./gusr: line 2: javaw: command not found
The script is just this line:

[code]....

View 3 Replies View Related

General :: Command To Check The Java Version: Java -versionand Got :bash :java: Command Not Found?

Jul 26, 2010

I've just installed java (jre-6u21-linux-i586.bin) on Red Hat 4.4 AS and issued this command to check the java version: java -versionand got :bash :java: command not found

View 4 Replies View Related

Ubuntu :: Sudo Nautilus - Command Not Found

Feb 17, 2010

When trying to open nautilus as root, I get the following message:

xxx@xxx-desktop:~$ sudo nautillus
[sudo] password for xxx:
sudo: nautilus: command not found
xxx@xxx-desktop:~$ sudo nautilus
(nautilus:3917): Eel-CRITICAL **: eel_preferences_get_boolean: assertion 'preferences_is_initialized ()' failed
Initializing nautilus-gdu extension

** (nautilus:3917): WARNING **: No marshaller for signature of signal 'UploadFinished'
** (nautilus:3917): WARNING **: No marshaller for signature of signal 'DownloadFinished'
** (nautilus:3917): WARNING **: No marshaller for signature of signal 'ShareCreateError'
Initializing nautilus-clamscan extension
Fontconfig error: Cannot load default config file
** (nautilus:3917): WARNING **: Could not inhibit power management: The name org.gnome.SessionManager was not provided by any .service files

--- Hash table keys for warning below:
--> xxx
--> root
--> inode/directory
--> l2050
--> l2049
--> staff
--> xxx

(nautilus:3917): Eel-WARNING **: "unique eel_ref_str" hash table still has 7 elements at quit time (keys above)
(nautilus:3917): Eel-WARNING **: "nautilus-directory.c: directories" hash table still has 12 elements at quit time
Shutting down nautilus-gdu extension

View 4 Replies View Related

Ubuntu Installation :: Gtk-config : Command Not Found / Where To Get That?

Oct 8, 2010

Trying to install Cinepaint from a tar.gz file. Running ./configure brings up the above error. Where do I get gtk-config from?

View 3 Replies View Related







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