General :: Error Executing The Script?

Jun 16, 2011

Running following script for checking root ssh login status.

Code:
Flag=`cat /etc/ssh/sshd_config | grep "^PermitRootLogin"`
if [ -z "$Flag" ]
then

[Code].....

View 1 Replies


ADVERTISEMENT

General :: SSH - Error Executing Script (Output For Only One Server)

Jul 14, 2010

I am writing a script which will fetch data from different machines and display it on single terminal. I have created a file named SERVERNAMES containing ip address of machines I need to monitor. Then for every IP I am issuing ssh command to get date on that machine. However When I am trying it on the script it is just giving me output of first server and it is ignoring rest servers mentioned in file. ssh works fine without password for all machines mentioned in SERVERNAMES.

Code:
# cat SERVERNAMES
10.180.45.231
10.180.45.235
10.180.45.238
10.180.45.211
Script

Code:
#!/bin/bash
while read line
do
#Calculate Load on remote machine.
Date=`ssh -T -q $line date`
echo "Date on $line is:$Date"
done < SERVERNAMES

Code:
output.
Date on 10.180.8.231 is:Wed Jul 14 10:48:46 IST 2010
I am not getting the output for .
Code:
10.180.45.235
10.180.45.238
10.180.45.211
Is there anything wrong in ssh?

View 5 Replies View Related

General :: Executing File Resulting In Permission Denied Error

Apr 21, 2010

I am wondering why running this file:

Code:
-rwxrwxrwx 1 root root 1247 2010-04-21 18:25 autorun.sh
by issueing this command:

Code:
./autorun.sh
results in this message:

Code:
-bash: ./autorun.sh: Permission denied

I'm logged in as root and prior to the above I did a chown root:root on the file.

View 3 Replies View Related

General :: Embedded Reboot Crash - Error Executing The Reboot Command

May 4, 2011

I'm working with Linux 2.6.23 on an embedded device and am receiving the following error executing the reboot command.

View 2 Replies View Related

Ubuntu :: Add Repository - Error: Executing

Jan 14, 2010

Is [URL]... down? I try to add the repository:

sudo add-apt-repository ppaorg-edgers/ppa

and I get this error:

[code]...

View 5 Replies View Related

Programming :: Error While Executing Scripts And Initializing Exe's?

Oct 13, 2010

I am having the following error while executing script and initialing my application

./ss.sh: line 1: kk.sh: command not found
./ss.sh: line 2: mon.exe: command not found

Can somebody assist ASAP.

View 4 Replies View Related

Ubuntu :: Error When Executing 'gnome-terminal' Command

Feb 11, 2010

I wrote a shell script and tried to execute it in separate terminal using command 'gnome-terminal -e <script>'. When executing first time, it went fine.From second time, I am getting error 'There is error creating child process for this terminal' repeatedly.

View 5 Replies View Related

Fedora Networking :: Error In Executing The Command Ndiswrapper -i Bcmw15.inf

Nov 13, 2009

I use a Dell inspiron 1525, with windows 7 and fedora 8 in dual boot. Ihave broadcom 4310 wireless card to use.. how ever i could not activate my wireless.. so i guess this the right place where i can get a solution to the problem. After installing the ndsiwrapper by yum, i tried to execute the command ndiswrapper -i bcmw15.inf This returns with an error couldn't open bcmw15.inf: No such file or directory at /usr/sbin/ndiswrapper line 219.

View 1 Replies View Related

Ubuntu Installation :: An Error (1) Occured While Executing Syslinux USB Won't Be Bootable?

Jan 3, 2011

Ok so I've searched for a solution to this problem everywhere and couldn't seem to find any, so I decided to post here.Recently I came across a new modified version of Ubuntu which was made for pentesters, called "blackbuntu".Now I know everything is the same as linux, except a little tweaked. So, I am trying to setup my bootable USB drive, and get this error (I chose Try an unlisted OS -- Then picked New Syslinux).And I keep getting this error:^

View 9 Replies View Related

Red Hat / Fedora :: Executing A File - Showing Error - Command Not Found

Aug 23, 2010

I m using Redhat Linux 5......I am trying to install Nero 4 DVD Writer s/w...It is an exe file ...

I have given permission like this:

Then i execute the file like this:

Its showing error like this:

View 9 Replies View Related

General :: Error Executing "/opt/IBM/RationalSDLC/clearcase/etc/clearcase" Operation (status=50)

Apr 3, 2010

I am facing the below problem while installing ClearCase 7.1 in a redhat 5.4 machine.Error during "post-install configure" phase: Error executing "/opt/IBM/RationalSDLC/clearcase/etc/clearcase" operation (status=50). See agent output log for more information: /var/ibm/InstallationManager/logs/native/20110519_0846.log

Install:

JVM terminated. Exit code=1
/net/zin21vob01/vob/vob_storage/cc71/linux/InstallerImage_linux//jre_5.0.3.sr8a_20080811b/jre/bin/java
-Xquickstart
-Xgcpolicy:gencon

[code]....

View 1 Replies View Related

Ubuntu Networking :: BackTrack 5 Showing Error,while Executing Make Command?

Aug 3, 2011

I tried to install ndiswrapper , but its showing error,while executing make command

make[1]: Leaving directory `/usr/src/linux-source-2.6.35.8'
make: *** [LINUX] Error 2

View 2 Replies View Related

Ubuntu :: "No Such File Or Directory" Error On Executing Binaries?

Dec 10, 2010

I am actually running Linux Mint 10 64-bit, which should be essentially identical to Ubuntu 10.10.

When I attempt to execute a Linux binary file that I have downloaded from the internet, I get the error "No such file or directory." I have eliminated all sources of user error as explanations: I am in the correct directory; 'ls' displays the file in question as present. I am prefixing the command with './' The permissions on the files are correct and they are marked as executable

The specific cases where I have problems are with the Mathematica Player freeware program from Wolfram, the Foldit protein folding game, and the XPP-Aut dynamical system program. I have used the Foldit and XPP-Aut binaries previously on other Linux distros, including Ubuntu, so I don't believe there is any problem with the files themselves.

why Mint can't execute these binaries?

View 3 Replies View Related

Software :: Error Message "undefined Symbol" When Executing The Command Import From

Nov 23, 2010

I've compiled a program on ubuntu with python(make python) but the problem comes when I try to use it and exactly after the command line "from libpy import *", the message that appears is such

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "libpy/knit.py", line 28, in <module>
import _knit
ImportError: libpy/_knit.so: undefined symbol: _ZTVN10__cxxabiv120__si_class_type_infoE

View 1 Replies View Related

Ubuntu :: Error "occurred While Executing Syslinux. Your USB Drive Won't Be Bootable" When Installing To USB Memory Stick

Jan 18, 2011

When using the Universal USB Installer and following the instructions according to the Ubuntu web site, I get the following error: an error () "occurred while executing syslinux. Your USB drive won't be bootable" There is no number between the brackets and I has no problem with a previous version of Ubuntu netbook remix.

View 9 Replies View Related

General :: Executing File Of Some Other Directory From PWD

Jan 14, 2010

My present working is
Code:
linux:/home/anisha/downloads/mapnik-0.6.1/demo/c++ #
Now I want to run "python scons/scons.py" located in
Code:
linux:/home/anisha/downloads/mapnik-0.6.1/ #

I tried
Code:
../../python scons/scons.py
From the above stated PWD but it resulted in the following:
Code:
bash: ../../python: No such file or directory
What is the way to execute a file of some other directory from the PWD!

View 14 Replies View Related

General :: Executing AT Commands On USB Modem?

Aug 13, 2010

I have a USB modem on a Debian install that I want to be able to use AT commands to diagnose, specifically for obtaining signal strength (RSSI). I know the command for this is AT+CSQ but I cannot seem to get the interface for issuing AT commands to work.

The modem is using /dev/ttyACM0 and when I try to use minicom, I type in AT commands and nothing is echoed to the screen (Yes, echo is turned on). Maybe I just don't know how to use minicom correctly.

View 9 Replies View Related

General :: Executing Awk Script Without File Name?

Jul 15, 2010

Code:

#!/usr/bin/awk -f
BEGIN{ FS=":"}
{
"groups "$1 | getline grps

[code]....

View 5 Replies View Related

General :: Executing Command Over A Network?

Aug 6, 2010

I have a some c source code files that i have to copy to linux machine from a windows machine over a network. This source code folder has to be copied into a particular directory structure in the linux system at the other end. After copying the file into the appropriate folder in the linux server i have to instruct the linux machine to make(using the make file that is there with the c files) this source code from the windows machine. Does anyone have any idea in regard to how this can be implemented?? i am trying to have a gui client that has the above mentioned options(copying and inserting the c files into the appropriate directory and then for making the files and getting the executable.)

View 3 Replies View Related

General :: Executing A Script When DHCPD Give An IP?

Nov 16, 2010

i want to do a setting to dynamically monitor my Work Station on my Wifi network.
I've got my name server BIND and my dhcpd server all of that under linux working perfectly. But i didn't find any option to execute a script when dhcp give an IP to a machine. I would like to know if there is a way to do that. If there is no options for that i'll use the log files.

View 1 Replies View Related

General :: Executing A Shell Command In Emacs?

Dec 17, 2010

I tried to execute a shell command by M-! cmd RET but it did not work.M-! does not turn up in the microbuffer no matter how many times I press Alt+!.But if I go to Tools menu and select Shell Command... option then it writes M-! to the microbuffer and everything works fine.What is the problem here?

View 2 Replies View Related

General :: Crontab Not Executing Specific Script

Jun 15, 2011

I am running to a weird issue: for some reason when I try to run a crontab script which has these two operations:
#!/bin/sh
DATE=`date +%F`

but when I reduce this script to the first sql backup only and I use another cron job to put this dump file to the folder it goes through...weird isn't it?so 1+2 in 1 cronjob don't work but 1 in 1 cronjob and 2 in another cronjob it works perfect. any thoughts?

View 3 Replies View Related

General :: Procmail Executing Perl Script

Jan 13, 2011

I have procmail parsing the subject line of incoming e-mail and depositing individual files in a folder that match the procmail recipe.I want to have that recipe spawn a perl script to parse the file to pull out specific information. I've googled this and found many examples but none of them work.When it finds a matching inbound message it logs it correctly in the charge.log file, writes the message in charges/new/xxx but skips the /home/rowan/billing.pl script.

View 2 Replies View Related

General :: Segmentation Fault When Executing 'procinfo -a'

Sep 17, 2010

I got segmentation fault error when I execute "procinfo -a" but not a problem when I just execute procinfo.

View 3 Replies View Related

General :: Shell Script Executing Automatically?

May 16, 2011

I want login.sh shell script executing automaticaly whenever i open the console..?and also logout.sh shell script executing automaticaly whenever close the console.

View 1 Replies View Related

General :: Executing A Program From Command Prompt?

May 27, 2011

I'm trying to run an application from the command prompt. I've set the path in .bashrc. My executable file and all other files needed by it are saved in the same directory as the path. When I enter the executable name to run it, I get an error message saying that the command is not found.

View 14 Replies View Related

General :: Executing And Killing A Process From Sh File?

Dec 21, 2010

i have recently started a bit of sh coding. i was trying out sm commands from an sh file.

#!/bin/bash
txt1="top > temp.txt"
eval $txt1

[code]....

View 14 Replies View Related

General :: Executing Commands In Invisible Mode?

Apr 13, 2010

i just want to know whether we can execute the commands in invisible mode in linux. i.e.the command we typed must be executed but should not be visible.is it possible.

if not,then how the password we are typing is not visible in linux,while creating or entering password for users.

View 12 Replies View Related

General :: Executing Commands Remotely Using Scripts?

Jul 8, 2010

For routine tasks i have to execute commands on machines running both winxp and linux. I usually do it via telnet. But the process is very manual as i have to authenticate for each machine then specify the command.

Is there any way that i could automate this job using a script or so?

View 10 Replies View Related

General :: Executing .sql Files In Shell Script?

Nov 22, 2010

i have n files and each file has 5-6 .sql files.Now I need to wrie a shell script that executes all the n files in parellel and for each n file the .sql files sequentially.eg

CRM_File CM_file AP_file
crm_file_1425.sql
cm_file_5789.sql
ap_file_4124.sql

[code]....

run CRM_File CM_file AP_file in parellel and each file under CRM_File,CM_file,AP_file sequentially.

View 6 Replies View Related







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