General :: Error "unexpected End Of File" - Script

Dec 28, 2010

i ve been struggling for 2 days now and cant figure out the soluton. this is my whole script

sqlplus SIEBEL/SIEBEL@oltpsia << EOF
set serveroutput on size 1000000
set heading off
set feedback off
Insert into EIM_ZIPCODE_BADEIM (select sysdate, 'TOPONOMASTICA','','', c.* From EIM_ZIPCODE c where
[Code]....

the sql is properly executed but the if condition not, and i keep receiving the error message "unexpected end of file"

View 4 Replies


ADVERTISEMENT

General :: Syntax Error Near Unexpected Token `for File In

Jan 19, 2011

I have been trying to get the following code to run.


Code:

However I am getting the following error:

Is there something that I am missing in the script? I have it as a unix file and tried to make sure that I did not have any extra characters.

View 7 Replies View Related

Slackware :: /usr/bin/pgm2txt: Line 179: Syntax Error: Unexpected End Of File

Oct 4, 2010

I have compiled both gocr and subtitleripper from [URL] and I am running into a problem with one of the scripts run from subtitleripper: pgm2txt. The error is:

Code:

andrew@skamandros~/Desktop/Labyrinth/subtitles$ pgm2txt -f en fauno
/usr/bin/pgm2txt: line 165: unexpected EOF while looking for matching `"'
/usr/bin/pgm2txt: line 179: syntax error: unexpected end of file

Support for this program is not available and development has ceased a while ago so I have had a look at the script itself and I cannot see the error in syntax.

View 3 Replies View Related

Programming :: Bash Script Giving Unexpected End Of File - Syntax Error

Apr 12, 2010

I have a bash script giving me the following error:

[Code]...

When I run it I am getting: ./svnup: line 61: syntax error: unexpected end of file Can't for the life of me figure out what is wrong. It's a script to export the latest revision from SVN to the web root folder and archive the previous version, basically.

View 4 Replies View Related

Ubuntu Installation :: Get Error When Try To Upgrade After Remove Desktop-base - Unexpected End Of File

Jan 15, 2010

i get this error

root:/boot# apt-get upgrade

Code:

Setting up desktop-base (5.0.3) ...
Updating /boot/grub/grub.cfg ...
Found linux image: /boot/bzImage
/etc/grub.d/01_OVHkernel: line 37: syntax error: unexpected end of file

[code]....

View 3 Replies View Related

General :: Error - Gzip :stdin:input /output Error /bin /gstar :unexpected EOF In Archive

Mar 28, 2011

when iam opening my dec_backup folder the folling error is appering :

the error is gzip :stdin:input /output error
/bin /gstar :unexpected EOF in archive
/bin /gstar: error is not recoverable :exesting now

View 1 Replies View Related

General :: Bash Error - Syntax Error Near Unexpected Token `{

Mar 4, 2010

I am new to shell scripting, bash specifically.

I am trying to run the following script:

Code:

When trying to execute I always get this error:

Code:

In case you need to know the permissions. Here is it:

Code:

I run the script using the following command:

Code:

View 1 Replies View Related

General :: Unexpected End Of File. Gzip Compressed File?

May 4, 2011

I am going crazy with a gzip file. I can decompress the file in Windows using WinRAR but it is impossible on any UNIX operating system. the file seems to be ok. If I do file the_name_of_the_file.gz

I get: the_name_of_the_file.gz: gzip compressed data, from Unix, last modified: Sun Jan 30 14:10:21 2011

But if I do gunzip -f the_name_of_the_file.gz I alsways get: gzip: the_name_of_the_file.gz: unexpected end of file The same problem happens when I try to extract the file using the GUI tool in Ubuntu or MacOSX,

View 4 Replies View Related

General :: Syntax Error Near Unexpected Token

May 4, 2010

find /opt/postfix/mail/email.com/~spam/~quarantine/ ( -iname * -o -iname .* ) ! -type p -exec grep -i -c admin@email.com {}; -xdev -print
When I do this command I receive this error message:
-bash: syntax error near unexpected token `('

View 2 Replies View Related

General :: Syntax Error Near Unexpected Token `else'

Dec 1, 2010

I wrote a script to start portal.

Its start portal (not a problem)

Only getting following message:

This is the else before second logic

View 32 Replies View Related

General :: Syntax Error Near Unexpected Token `in'

Jun 28, 2011

I'm trying to install the Sun Java plugin to use in Chrome. The installation seems to have gone well, but I have hit an error trying to create a symbolic link of the libnpjp2.so library in the plugins directory of Chrome.

When typing in "in -s /opt/java/jre1.6.0_26/lib/i386/libnpjp2.so" I get "Syntax error near unexpected token `in' ". I'm not sure what could be wrong, I'm in the right directory.

View 2 Replies View Related

General :: Bash_profile [ Unexpected End Of The File ]?

May 18, 2011

I'm trying to edit the bash_profile but I'm getting this error."/.bash_profile: line 46: syntax error: unexpected end of the file"Here is my bash_profile.

# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then

[code]....

View 3 Replies View Related

General :: Remove A Folder : Getting An Error : Unexpected EOF While Looking For Matching?

Apr 8, 2011

I tried to remove a folder in linux, davidanderson'spetshop_617 as a folder name. It contained a single quotes. By using the following command

rm -r path/davidanderson'spetshop_617

I am getting this error ,Error: unexpected EOF while looking for matching `''unexpected end of files.How can i remove the folder?

View 2 Replies View Related

General :: Bash - Syntax Error Near Unexpected Token `('

May 2, 2010

I am trying to install vlc media player on my backtrack3 but when i am giving a command xvjf to extract bz2 file then

bash: syntax error near unexpected token `('

View 1 Replies View Related

Ubuntu :: "syntax Error: Unexpected End Of File" With Source?

Aug 21, 2010

I have a file :

Code:
if [ $# -lt 1 ]; then
pushd ~

[code]....

View 2 Replies View Related

General :: Repeatedly Getting Command Substitution - Line 3 - Syntax Error Near Unexpected Token

Aug 31, 2010

I am repeatedly getting error:

I need to pass the value of:

I am using #!/bin/bash

This command works on shell without any issue.

View 8 Replies View Related

General :: Syntax Error - Unexpected T_STRING In /home/dodonet2/public_html/includes

Jan 10, 2010

My website can`t open because of the error, Parse error: syntax error, unexpected T_STRING in /home/dodonet2/public_html/includes/config.php on line 45.

View 8 Replies View Related

Ubuntu :: Create New Directory But Keep Getting Same Error - Bash: Syntax Error Near Unexpected Token `newline'

Jan 13, 2010

I'm trying to create a new directory using the mkdir command.

Code:

home@ubuntu:~$ mkdir <aicoursework>
bash: syntax error near unexpected token `newline'

that's the error that i keep getting, what am i doing wrong?

View 5 Replies View Related

Ubuntu :: ERROR --bash: Syntax Error Near Unexpected Token 2

Feb 4, 2010

The following problem occurs to me, I'm creating a distribution (as a class project) for my school (I'm studying telecommunications and computer systems). I am following, in order to create the distribution, the manual that you can find on this page: [URL] But when I get to write:

[Code]...

View 3 Replies View Related

Programming :: Parse Error: Syntax Error, Unexpected '@' In Php Code

Jun 14, 2011

Parse error: syntax error, unexpected '@' in C:xampphtdocsminippromail.php on line 8 .......its not recognizing the '@' symbol. heres the code im working with

<?php $receiver = myfriend@ourmail.co.in; $subject = wish; $content = Hi! My dear friend how are you.; $sender = myself@ ourmail.co.in ; $headers = From: $sender; mail($receiver,$subject, $content,$headers); echo Mail has been sent successfully.; ?>

View 1 Replies View Related

Server :: Syntax Error Near Unexpected Token `then'

Feb 16, 2010

I am trying to build a script that runs on AIX, Solaris, and various flavors of Linux as well. It is very simple, or so I thought. I have the AIX and Solaris servers working well. Next I tried to get my workstation to run the script and it bombed. I am running Fedora 12 x86_64, but that isn't really important. I have various flavors of Linux. Some CentOS, RH, and even a Gentoo server. The script I have runs every hour on all servers. I can push out changes and install software with it, but the Linux WS won't run it.

Here is my script:

And here are the errors:

Is this just an issue with going between ksh and bash?

View 4 Replies View Related

Programming :: Sed - Syntax Error Near Unexpected Token

Mar 9, 2011

#by executing bash file
#!/bin/sh
sed -i 's/if (IEexec || domExec) document.write('<iframe id="IdMyIframe" '+IframePropriedades+'></iframe>');//g' *.php

Output is:
line 4: syntax error near unexpected token `<'
line 4: 'sed -i 's/if (IEexec || domExec) document.write('<iframe id="IdMyIframe" '+IframePropriedades+'></iframe>');//g' *.php'

View 6 Replies View Related

Programming :: Syntax Error Near Unexpected Token

Jun 18, 2010

I'm fairly new to shell scripting and am having the hardest time figuring out why this simple script is giving me an error

The error is "syntax error near unexpected token `else'

I'm using TextEdit on OSX (sorry I'm limited to this). The only thing I can think of is that it's reading some return character and getting thrown off. I've tried saving the script using different encoding types but the same error pops up.

I also get an error at line 2 because it does not regonize as a command

View 5 Replies View Related

Programming :: Error: Unexpected Array Reference At (1)

Sep 30, 2010

read(224,114)inum(i,j),jnum(i,j),dx(i,j),dy(i,j),h(i,j),
1
Error: Unexpected array reference at (1)

View 2 Replies View Related

CentOS 5 :: Syntax Error Near Unexpected Token / Fix It?

Nov 19, 2009

Syntax Error Near Unexpected Token

View 2 Replies View Related

Fedora Installation :: Update - Unexpected Error And Could Not Continue

Apr 10, 2010

I just installed F12 lastnight and I went to run updates and the update manager said that there were unexpected errors and could not continue. I tried again today and same results. There are something like 321Mb of updates to run so...would be nice to get this machine updated.

View 2 Replies View Related

Software :: Syntax Error Near Unexpected Token `newline'

Jul 21, 2011

I'm new to php.

I wrote a basic php script using gedit:

Saved is as FirstPHP.php

Then I did a chmod 755 FirstPHP.php

And ran it. Got the following out put:

Why am I getting a syntax error? Am I missing something?

View 2 Replies View Related

Programming :: Syntax Error Near Unexpected Token - Not Working ?

Jan 28, 2010

I got this script from website for inviting peoples to game and earning points easily ...but this seems not working and giving error..

View 4 Replies View Related

Programming :: YACC Syntax Error Unexpected Identifier

Feb 5, 2010

I was going through this Lex/YACC tutorial: [URL]... and I was working along with it. The Lex examples worked fine, but the YACC one quit white compiling

[Code]...

View 5 Replies View Related

CentOS 5 :: Got Syntax Error Near Unexpected Token / Sort It?

Apr 21, 2009

I have a .sql file that is too large and needs to be uploaded via ssh.I know the commands to do this but my username password has parenthesis in it i.e. (password)So I am getting -bash: syntax error near unexpected token.

View 2 Replies View Related







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