Re: [ubuntu-uk] Oracle 11g Trouble

2011-07-19 Thread Neil Greenwood
On 19.07.11 15:00, Dave Hanson wrote:
> Steve - mine starts with #! /bin/sh, which from some 'googling' tells me
> it's a bourne shell, the Ubuntu variant is bash. So does that mean it
> cannot be ran on Ubuntu or is it possible to use a different shell?
> 

That might be the problem. On Ubuntu, /bin/sh is a symbolic link to
dash, which is mostly compatible with bash (and the original Bourne
shell sh), but has some slight differences.

You could try typing "bash /media/runInstaller" to see if that fixes the
error message. The error looks like you're hitting one of the syntax
incompatibilities.

HTH
Cofion/Regards,
Neil.

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Oracle 11g Trouble

2011-07-19 Thread Simon Redmond
On Tue, 2011-07-19 at 15:00 +0100, Dave Hanson wrote:
> On Tue, Jul 19, 2011 at 10:58 AM, Simon Redmond 
> wrote:
> 
> On Fri, 2011-07-15 at 12:14 +0100, Dave Hanson wrote:
> > I will pay one million pounds if someone can help me with
> this please!
> > (well, maybe just a thank you).
> >
> >
> > I'm trying to install Oracle 11g R2 on Ubuntu Server 11.04,
> I have
> > installed (I think) all of the pre-requisites and have
> downloaded the
> > install files from the oracle site, when I come to run the
> installer I
> > get:
> >
> >
> > oracle@ubuntu:~$ sudo mount -t iso9660 -o
> > loop,norock /dev/cdrom /media
> > oracle@ubuntu:~$ /media/runInstaller
> > /media/install/.oui: 2: Syntax error: ")" unexpected
> >
> >
> > I have no idea what that error means? I ran "dmesg | tail"
> but nothing
> > in there? has anyone else tried to do this and found a work
> around?
> >
> >
> > [The guide I'm
> > following:
> http://forums.oracle.com/forums/thread.jspa?threadID=2223719&tstart=0]
> >
> >
> > Best Regards,
> >
> >
> > Dave Hanson
> >
> 
> 
> Is this for a multi user type scenario (ie work) or is just an
> install
> for you to mess around with?
> 
> I tried and tried to get an Oracle install up and running in
> Ubuntu and
> gave up in the end.  I briefly managed to get it running in
> CENTOS but
> then I found
> 
> 
> http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html
> 
> which is a virtualbox appliance with 11gR2 pre installed and
> configured
> which what I'm using now for messing around with
> 
> 
> --
> 
> ubuntu-uk@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.ubuntu.com/UKTeam/
> 
> 
> 
> Thanks guys,
> 
> 
> Steve - mine starts with #! /bin/sh, which from some 'googling' tells
> me it's a bourne shell, the Ubuntu variant is bash. So does that mean
> it cannot be ran on Ubuntu or is it possible to use a different shell?
> 
> 
> Simon - It is for now a 'messing' about project but I would like an
> 'always on' stable version if possible, I was quite keen to have it
> running on Ubuntu server but for now I'll have a look at that VM until
> I find a solution.
> 
> 
> 
> Best Regards,
> 
> 
> Dave Hanson
> 

I have the VM running all the time on a spare box running 10.04, and
if you install the Oracle client on a laptop/desktop machine you should
be able to access as if it were a standalone server

Simon




-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Oracle 11g Trouble

2011-07-19 Thread Hakan Koseoglu
Hi Dave,

On 19 July 2011 15:00, Dave Hanson  wrote:
>
> Steve - mine starts with #! /bin/sh, which from some 'googling' tells me it's 
> a bourne shell, the Ubuntu variant is bash. So does that mean it cannot be 
> ran on Ubuntu or is it possible to use a different shell?
> Simon - It is for now a 'messing' about project but I would like an 'always 
> on' stable version if possible, I was quite keen to have it running on Ubuntu 
> server but for now I'll have a look at that VM until I find a solution.
>

There was a good guide URL posted a couple of days ago. Did you try that?
I am running Oracle 11.2.0.2.0 on 11.04 64 bit w/o a problem.

On the other hand, Oracle RDBMS is not supported on Ubuntu, end of story.
If you want something stable, move the some platform supported.

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Oracle 11g Trouble

2011-07-19 Thread Dave Hanson
On Tue, Jul 19, 2011 at 10:58 AM, Simon Redmond  wrote:

> On Fri, 2011-07-15 at 12:14 +0100, Dave Hanson wrote:
> > I will pay one million pounds if someone can help me with this please!
> > (well, maybe just a thank you).
> >
> >
> > I'm trying to install Oracle 11g R2 on Ubuntu Server 11.04, I have
> > installed (I think) all of the pre-requisites and have downloaded the
> > install files from the oracle site, when I come to run the installer I
> > get:
> >
> >
> > oracle@ubuntu:~$ sudo mount -t iso9660 -o
> > loop,norock /dev/cdrom /media
> > oracle@ubuntu:~$ /media/runInstaller
> > /media/install/.oui: 2: Syntax error: ")" unexpected
> >
> >
> > I have no idea what that error means? I ran "dmesg | tail" but nothing
> > in there? has anyone else tried to do this and found a work around?
> >
> >
> > [The guide I'm
> > following:
> http://forums.oracle.com/forums/thread.jspa?threadID=2223719&tstart=0]
> >
> >
> > Best Regards,
> >
> >
> > Dave Hanson
> >
>
> Is this for a multi user type scenario (ie work) or is just an install
> for you to mess around with?
>
> I tried and tried to get an Oracle install up and running in Ubuntu and
> gave up in the end.  I briefly managed to get it running in CENTOS but
> then I found
>
>
> http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html
>
> which is a virtualbox appliance with 11gR2 pre installed and configured
> which what I'm using now for messing around with
>
>
> --
> ubuntu-uk@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.ubuntu.com/UKTeam/
>

Thanks guys,

Steve - mine starts with #! /bin/sh, which from some 'googling' tells me
it's a bourne shell, the Ubuntu variant is bash. So does that mean it cannot
be ran on Ubuntu or is it possible to use a different shell?

Simon - It is for now a 'messing' about project but I would like an 'always
on' stable version if possible, I was quite keen to have it running on
Ubuntu server but for now I'll have a look at that VM until I find a
solution.

Best Regards,

Dave Hanson
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Oracle 11g Trouble

2011-07-19 Thread Simon Redmond
On Fri, 2011-07-15 at 12:14 +0100, Dave Hanson wrote:
> I will pay one million pounds if someone can help me with this please!
> (well, maybe just a thank you).
> 
> 
> I'm trying to install Oracle 11g R2 on Ubuntu Server 11.04, I have
> installed (I think) all of the pre-requisites and have downloaded the
> install files from the oracle site, when I come to run the installer I
> get:
> 
> 
> oracle@ubuntu:~$ sudo mount -t iso9660 -o
> loop,norock /dev/cdrom /media
> oracle@ubuntu:~$ /media/runInstaller
> /media/install/.oui: 2: Syntax error: ")" unexpected
> 
> 
> I have no idea what that error means? I ran "dmesg | tail" but nothing
> in there? has anyone else tried to do this and found a work around?
> 
> 
> [The guide I'm
> following: 
> http://forums.oracle.com/forums/thread.jspa?threadID=2223719&tstart=0]
> 
> 
> Best Regards,
> 
> 
> Dave Hanson
> 

Is this for a multi user type scenario (ie work) or is just an install
for you to mess around with? 

I tried and tried to get an Oracle install up and running in Ubuntu and
gave up in the end.  I briefly managed to get it running in CENTOS but
then I found 

http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html

which is a virtualbox appliance with 11gR2 pre installed and configured
which what I'm using now for messing around with


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Oracle 11g Trouble

2011-07-17 Thread Dave Hanson
On Sat, Jul 16, 2011 at 5:42 PM, Steve Flynn wrote:

> On Sat, Jul 16, 2011 at 12:47 PM, Dave Hanson 
> wrote:
>
>
>> I am running it straight from the server edition command line, should I
>> look at adding another shell type do you think then? I'm assuming that's
>> what ksh is? Is there any way of checking what the "runInstaller" is
>> expecting?
>>
>>
> Look at the first line of the installer script - the hash bang line...
>
> #! /bin/ksh
>
> for example.
>
> I've only just come into this thread so I've not seen any of the previous
> commentary.
>
> --
> Steve
>
> When one person suffers from a delusion it is insanity. When many people
> suffer from a delusion it is called religion.
>
>
> --
> ubuntu-uk@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.ubuntu.com/UKTeam/
>
> Thanks Steve,

I'm at work at the minute and so I'll test tomorrow.

Best Regards,

Dave Hanson
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Oracle 11g Trouble

2011-07-16 Thread Steve Flynn
On Sat, Jul 16, 2011 at 12:47 PM, Dave Hanson wrote:


> I am running it straight from the server edition command line, should I
> look at adding another shell type do you think then? I'm assuming that's
> what ksh is? Is there any way of checking what the "runInstaller" is
> expecting?
>
>
Look at the first line of the installer script - the hash bang line...

#! /bin/ksh

for example.

I've only just come into this thread so I've not seen any of the previous
commentary.

-- 
Steve

When one person suffers from a delusion it is insanity. When many people
suffer from a delusion it is called religion.
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Oracle 11g Trouble

2011-07-16 Thread Dave Hanson
On Fri, Jul 15, 2011 at 1:40 PM, Sean Miller  wrote:

> Do you need to, perhaps, put the shell executable in front of
> /media/runInstaller ?
>
> Perhaps you're running bash and it needs ksh etc. etc. ?
>
> Sean
>
> --
> ubuntu-uk@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.ubuntu.com/UKTeam/
>
>
Thanks Sean, Do you mean do ./ before the command because I tried that and I
also tried sudo.

I am running it straight from the server edition command line, should I look
at adding another shell type do you think then? I'm assuming that's what ksh
is? Is there any way of checking what the "runInstaller" is expecting?

Best Regards,

Dave Hanson
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Oracle 11g Trouble

2011-07-15 Thread Sean Miller
Do you need to, perhaps, put the shell executable in front of
/media/runInstaller ?

Perhaps you're running bash and it needs ksh etc. etc. ?

Sean
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/