General :: Shell Script Returns Error When Using 'source'

Mar 21, 2011

For some reason the script below works fine when I run it directly but when I run is using source, I get a not found error?

With source: (line 11 is where the 'test' statement is)

Quote:

gtonder@sydlnx03:~> source set_aliases.sh -v 11:31AM
1
set_aliases.sh

[Code].....

View 6 Replies


ADVERTISEMENT

General :: Installation Of Wxpython Source Returns - Error

Jan 19, 2010

I am trying to install wxpython from source package when ran ./configure command it came up with a strange message which says

Code:

Code:

View 8 Replies View Related

General :: SSH Command Mode - Flow Of Execution Returns To Bash Shell

Aug 13, 2009

I want to use ssh to execute a command and to wait endlessly to log everything (in file) that comes as a stream of the connected server. But unfortunately, in the manual its written "If command is specified, it is executed on the remote host instead of a login shell"

So what happens is that when I specify my command:
ssh user@server "my_command"

It executed the command and the flow of execution returns to bash shell. So basically my session ends right after the command is executed. This happens only in case I specify command in the command line. If I login into ssh manually and then type "my_command", then the session doesn't end. I want the ssh not to exit, because after "my_command" executes, I want to capture everything in the session.

View 3 Replies View Related

Ubuntu :: Returns 0 To The Shell And Echo $? Gives 0?

Sep 1, 2010

check the following program
/*a.c*/
int main()

[code]....

View 1 Replies View Related

General :: Startvnc, Arch, E17, Returns Error, Picture Inside?

Mar 20, 2011

When I type the command

Code:
startvnc
I get the following error

[code]....

View 8 Replies View Related

General :: Python Script Using Tar From A List Returns Error: Has No Attribute 'startswith'

Apr 4, 2011

create a tar file from a list? My script returns the error: AttributeError: 'list' object has no attribute 'startswith' I want to create a compressed tar file containing the directory /usr/lib and the files in the list assigned to variable b.

code:

import tarfile
tar = tarfile.open("backup.gz", "w:gz")

[code]....

View 3 Replies View Related

General :: Can't Source File By Shell Script In Ubuntu 10.04

Jul 30, 2010

When I try to execute my script its getting error

.........................................
tape_restore.sh: 40: source: not found
tape_restore.sh: 41: source: not found
tape_restore.sh: 42: source: not found
.................................

But in Redhat I can run same script . My script as follows.

**************************************************
SCRIPT_HOME=/home/dhanushka/project/mChoise_Recharge/scripts/scriptfw
TAPE_DRV=/dev/st0

[code]....

View 4 Replies View Related

General :: Source Code Or The Procedure For Creating Own Shell?

Nov 3, 2010

i need the source code to create my own shell in linux or provide atleast procedure for doing it

View 9 Replies View Related

General :: Shell Script To Run Source Code And Find All Its Dependencies?

Aug 1, 2010

this is srinath,newbie to linux and shell scripts.am in need of shell script,which have to checkout the source code(C/C++) from CVS server to a specified directory and compile that source code and get all its dependency files to a specified directory.

View 2 Replies View Related

General :: Good Online Source For Tutorial To Use System Shell / Terminal?

Jul 18, 2010

I have recently loaded Linux Mint on an old IBM Laptop and am very happy with the GUI; however, I would like to learn how to use the Linux shell/terminal. I don't know any of the commands. Is there a good online source for this information--a tutorial or list?

View 2 Replies View Related

General :: Shell Script To Source An Env File And Open A Kde Konsole Terminal

Jan 27, 2011

I am trying to write a .sh script that will source a file containing evnironment variables and then open a konsole terminal session that will have those settings.

View 2 Replies View Related

OpenSUSE Network :: NFS Server Returns Error For Client Mount Calls - Error 13

Mar 21, 2011

I'm working with OpenSusse 11.2. I installed and activated the NFS server via yast2. I exported the relevant directory via yast2 (NFS server configurastion)
I'm trying to setup my Linux target to boot via NFS. The kernel boots up but fails to mount the file system. When looking on a capture from ethereal it can be found that the NFS server return error when client try to mount the /nfstest directory from this server. The returned error is 13

serverip: 192.168.56.130
targetip: 192.168.20.180
gateway: 192.168.20.101

[Code].....

View 1 Replies View Related

Fedora :: Firefox Will Returns An Error

Mar 11, 2011

I am unable to run firefox on my Hp mini 110 running FC14. This happened, I think, after an update that I have done.

When ever I run firefox I get the following messages.

Code:

View 5 Replies View Related

Fedora :: XAWTV Cannot Run - Returns Error

May 9, 2011

I am using Fedora 14 (64 bit version): Can't Start XAWTV. Returns the error.
$ xawtv
This is xawtv-3.99.rc6, running on Linux/x86_64 (2.6.35.12-90.fc14.x86_64)
xinerama 0: 1920x1080+0+0
WARNING: No DGA direct video mode for this display.
WARNING: keeping fbuf pitch at: 7680, as no base addr was detected
WARNING: couldn't find framebuffer base address, try manual
configuration ("v4l-conf -a <addr>")
v4l2: WARNING: framebuffer base address mismatch
v4l2: me=(nil) v4l=(nil)
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
Oops: can't load any font

View 1 Replies View Related

OpenSUSE :: Ssh Command Returns Error?

Feb 26, 2010

I have a service on my Suse 11 server which runs an ssh command (using openSSH) on another box.The output below is returned, but legitimate output is also returned as if the command had executed successfully. For example, the service executes an ls command through ssh, gets the error below, but also the contents of the remote directory as output. This is a problem because the service retries the command until it receives no error. I have been unable to replicate this manually from the command line. Does anyone know what might cause this or what this error really means?

View 5 Replies View Related

Software :: Kdesvn Returns A Nasty Error

Jul 27, 2011

I have installed in my opensuse 11.4 the kdesvn.

When I press the checkout button the program crashes and returns the following message:

View 1 Replies View Related

Debian Configuration :: Railo Cfm Pages Returns 404 Error

May 21, 2011

I have a new Debian Linux 6.0 server installed, running Linux 2.6.38.3-linode32 on i686. It has apache2 on front.

The master plan was to run Railo on this one, so I can continue my mad Coldfusion schemes to rule the world, so got the tomcat set up with it, as instructed by some guy I met on a chat. He seemed very reliable.

I got the whole thing working, can view my regular html files and whatnot, but as soon as I try to run a cfm file,

I get an error message on screen:

I have no idea whatsoever what to do next. This is my site with the html file:[url] and here is my test index.cfm file:[url]

View 1 Replies View Related

OpenSUSE Network :: FTP Connection Returns IPv6 Error

Nov 1, 2010

I'm having a little problem here. That, or I'm missing the obvious staring me in the face. I have this file server, called toad. I nuked it's system disk, reorganising the partitions and upgrading to openSUSE 11.3 x64. I installed vsftd with "Yast FTP server", and the config looks OK. I even compared it with that of another machine. But when I try to connect, this is what I get:

user@mainmachine:~> ftp
ftp> open toad
Connected to toad.geuens.org.
500 OOPS: could not bind listening IPv6 socket

I'm prettige sure IPv6 is deactivated. The firewall is disabled on both machines. I've looked this over again and again. Can't find it. It's not the connecting machine, I've tried from another.

View 4 Replies View Related

Ubuntu :: Start_navicat Returns Bash Error In Kubuntu 11.04?

May 13, 2011

Running start_navicat script in kubuntu 11.04 returns bash error ./start_navicat: 10: arithmetic expression: expecting EOF: "2*100+13 2". The same navicat version runs fine in ubuntu 10.10 and 10.04. I tried deleting navicat folders - including hidden folders and reinstalling, but get the same error.Can't test ubuntu 11.04 because i can't get it running (black screen - even grub). xubuntu 11.04 is very unstable too. kubuntu 11.04 is very stable otherwise.no idea what to do, other than continue using ubuntu 10.10 (which is the best ubuntu version to date imho)

View 5 Replies View Related

Debian :: Python-pkg-resources Returns Error Code

Apr 9, 2010

The system is Debian Squeeze/Sid with apt.conf set to Squeeze as the default. Most packages are from Squeeze.

I ran apt-get upgrade and it returned an error-code.

It might be it is this bug: Bug#574153: python-pkg-resources: Missing file leaves it unconfigured

I tried aptitude install -f, to hold it and to remove the package python-pkg-resources, but i am getting told the package would be in a very bad stage, and i should re-install it. That doesn't work.

View 1 Replies View Related

Hardware :: Installing Ethernet Driver Returns Error

Mar 22, 2011

I recently installed my redhat 6.0 and there was no internet connection so i read some threads that guided me to try and detect my network card which detected nothing. I then went ahead to download ethernet realtek ethernet gigabyte card driver for my version of linux. I untar the file and i got the directory r8168-x.x.xxx.xx, a README file so i read the README file and it asked me to run ./autorun.sh which i did but i got the following error:

View 14 Replies View Related

Debian Multimedia :: Libao2 Or Libao4 Returns Dpkg Error

Apr 6, 2010

I ran into this:[url]

I tried to ignore it (yesterday it made me remove xmms2-plugin-all, i could have lived with that for a few days), but it is getting worse: gnomebaker, mpg123, vorbis-tools, cdrdao, etc.

So i remove beloved apps , run aptitude install -f and what not. The result is that either libao2 or libao4 give me trouble (depending which version is installed at that moment).

After the upgrades are available again it's big fun over here. Is it just me or are others running in a lot of "dpkg returned an error message" too? The first time ever i got to use aptitude to get problems solved. Gnome terminal gives me segmentation fault but no error messages. And so on.

View 3 Replies View Related

Ubuntu :: Make Menuconfig Returns An Error In Kernel Compilation

Jul 12, 2010

I'm simply trying to compile a vanilla kernel from Kernel.org, I've done it before, however "make menuconfig" returns an error after I've made my changes to the config file.

Code:

Why is make returning that error? I am using a 64-bit kernel.

View 2 Replies View Related

Ubuntu :: Brasero Returns Internal Error When Burning An Audio CD?

Jul 17, 2011

I'm trying to burn an audio CD with Brasero. Every time I try this, it fails, but it works when writing to an image file. Brasero quits with the following messages in log:

Code:
Checking session consistency (brasero_burn_check_session_consistency brasero-burn.c:1744)
Unsupported type of task operation
Session error : An internal error occurred (brasero_burn_record brasero-burn.c:2862)
Do you know what could be causing this?

View 5 Replies View Related

Server :: Open A Database File In Sqlitebrowser Returns An Error?

Oct 31, 2010

Code:
kenny_strawn@kenny-AOA110:~$ sqlite3 -html -line /var/www/fluxbb/ProprietarySuckware 'select o_base_url from memos'

Error: unable to open database "/var/www/fluxbb/ProprietarySuckware": unable to open database file
kenny_strawn@kenny-AOA110:~$

This database was automatically generated by FluxBB, so I am wondering just why it isn't opening.

View 2 Replies View Related

General :: What Could Be The Source Of A Bus Error In Multiple Applications

Apr 17, 2011

I am running Xubuntu on a MacBook Pro with fluxbox as my window manager. Yesterday when I attempted to launch firefox I received a bus error and the application did not launch. I corrected the problem by removing and reinstalling firefox. Today the same problem is happening with emacs. I have not tried removing and reinstalling emacs so I am not sure if that will work but since the problem has occurred in more than one application now, I assume it points to a larger issue. I have done some research on bus errors but it isn't clear why this problem would manifest in different applications in this manner. After the a failed launch the dmesg reports this, which seems relevant:

[Code]....

View 2 Replies View Related

General :: Error Trying To Patch Source Code

May 15, 2010

I'm running spamassassin and want to install the fuzzyocr module for it. One of the dependencies of fuzzyocr is 'giflib' but according to the fuzzyocr page, it needs to be patched before I install it, with a patch which they supply on the fuzzyocr download page. I've tried to install the patch and get the following error.

[Code]...

View 3 Replies View Related

Debian Hardware :: Wireless Card Drivers Make Returns Error

May 7, 2011

I get errors when i try to use "make" on the package.

View 2 Replies View Related

Fedora Hardware :: Fans Wont Stop - Pwmconfig Returns Error ?

Oct 8, 2009

I am running Fedora11 on a brand new HP Pavilion Elite, and the fans just won't stop running at full speed.

I have tried

Code:

Which told me lm_sensors was already installed.

Next I did

Code:

Taking the default answer to all questions asked.

Doing

Code:

Gives me something like this:

Which I suppose are normal values, which do not require fans spinning at full power.

However,when I do

Code:

I get this output:

View 1 Replies View Related

Ubuntu Servers :: Citadel-server Install Returns Error Bad Variable Name?

Jan 17, 2011

I'm trying to install citadel server on ubuntu server 10.04 via apt-get install citadel-server. I get an error at:setting up citadel-server (7.71-1)export: 106: 007: bad variable namedpkg script exits with error code 1.would this be due to unmet dependency?WalterPS. filed a bug in launchpad

View 2 Replies View Related







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