Error with Terminal


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Error with Terminal
# 1  
Old 10-31-2013
Error with Terminal

Hello All Smilie,

I am a newbie in shell scripting and Linux.
Here's a problem I'm facing since last few days. Please tell me some logical reason behind this.
Thanks in advance.


To run my script I need to define some environment variables and need to run a TODO file.
In the first go everythings seems to run perfectly alright.

But after some time (generally after 1 day) the same code generates errors, like .lib file is missing, or .tech file is not configured properly or anything bla bla like that. Even if redefine the variables, start the whole process again, the error remains same. And the same error disappears if I run it from new terminal, like it was not there at all. I don't find any logical reason for that.

I dont think this is some problem related to the session of that perticular terminal because the time I mensioned here (1 day) is not same all the time. Some times its 1 day or it may be 2 days, 5 days, anything.

I am using RedHat, and my scripts are mainly written in perl.

Thanks you,
- MD
# 2  
Old 10-31-2013
The simple answer is that you have one or more bugs in one or more of your programs or your operating environment. The bug may be in one or more of your perl scripts, one or more of your csh scripts, one or more of the other programs you've run between the time that they first worked and the time they stopped working, or it could easily be that you have manually changed something in your environment between the time you open a terminal session and the time one or more of your programs stops working.

If you'd like to show us the script that stops working and show us the EXACT error messages it produces when it stops working, we may be able to help you figure out what is going on.

If you want us to play another long game of us trying to get enough information to help you while you hide information from us, you may find that we'll tire of wasting our time.
This User Gave Thanks to Don Cragun For This Post:
# 3  
Old 10-31-2013
Sorry I cannot post my script here. Its confidential.
Thank you,
- MD
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Print Terminal Output Exactly how it Appears in the Terminal to a New Text File

Hello All, I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly. Is there any way to take the output from the cat... (7 Replies)
Discussion started by: mrm5102
7 Replies

2. Shell Programming and Scripting

Cannot get terminal application to launch with a graphical launcher when successful in terminal

I have been having an extremely annoying problem. For the record, I am relatively new at this. I've only been working with unix-based OS's for roughly two years, mostly Xubuntu and some Kali. I am pretty familiar with the BASH language, as that's the default shell for debian. Now, I've made this... (16 Replies)
Discussion started by: Huitzilopochtli
16 Replies

3. Shell Programming and Scripting

Printing Terminal Output to a Error File

I am having a bash script which is basically invoking a python program to validate the Source Query results against the target query results. I am placing all the queries in a .sql file. I want to write to a Error log file incase if the syntax is wrong or if the column is not present in the... (4 Replies)
Discussion started by: ronitreddy
4 Replies

4. Ubuntu

Error starting terminal in Ubuntu 14.04.3

I am unfamiliar with below error and how to fix it, it happens when I start the terminal in Ubuntu 14.04.3. I do not send any command only press crtl+alt+T. It seems to indicate that something is missing from PATH but I’m not really sure what. Thank you :). Command 'lesspipe' is... (24 Replies)
Discussion started by: cmccabe
24 Replies

5. Shell Programming and Scripting

Switch user terminal error

Hello All, Here I am trying to login a Linux machine as admin user from a Solaris box.. & then switch to root user.. Code I use: ssh admin@<IP> << END su - root << A echo "Hello I am logged in as root" exit A exit END But the error I get.. su: must be run from a... (3 Replies)
Discussion started by: ailnilanjan
3 Replies

6. Shell Programming and Scripting

avoid error on terminal window!

Hi Guys, I am using simple ls command to find out whether the dir exist there or not. If dir found than remove. But the problem is I don't want the error shown on the terminal window that "dir not found" on the terminal window everytime i execute it. The code I am using is: set x = `/bin/ls... (4 Replies)
Discussion started by: dixits
4 Replies

7. Solaris

Solaris 10 Terminal Error

When in the terminal on Solaris 10 this terminal error keeps popping up and won't stop, how do I remove it? Nov 24 13:22:42 unknown sendmail: unable to qualify my own domain name (unknown) -- using short name Nov 24 13:22:42 unknown sendmail: oAOIMgqg017431: SYSERR(root): fill_fd:... (6 Replies)
Discussion started by: jastanle84
6 Replies

8. UNIX for Dummies Questions & Answers

Error in terminal: Gtk-CRITICAL

Hi, I am using Ubuntu 10.04. Recently I have seen this error appear in my terminal as I edit text files with gedit: (gedit:2841): Gtk-CRITICAL **: gtk_widget_is_ancestor: assertion `ancestor != NULL' failed Any ideas on what this means? Mike (1 Reply)
Discussion started by: msb65
1 Replies

9. UNIX for Dummies Questions & Answers

Terminal too wide error in vi editor.

Hello, I get the error "Terminal too wide" when I use vi editor on a Solaris 10 box. Please help. bash-2.05$ vi rman_backup_prd571.log_20090611 Terminal too wide :q 1 more file to edit:q Regards, Mahive. (1 Reply)
Discussion started by: mahive
1 Replies

10. Ubuntu

Error on my Linux terminal

Hi, I keep on getting the following error on my linux terminal. It did not harm my system so far, but I was wondering if this can be eliminated. { Gecko:4617): GLib-GObject-CRITICAL **: file gobject.c: line 1337 (g_object_unref): assertion `G_IS_OBJECT (object)' failed (Gecko:4617):... (2 Replies)
Discussion started by: gsabarinath
2 Replies
Login or Register to Ask a Question