Re: [Spacewalk-devel] PGPORT (installation issue using make)

2009-01-20 Thread Jan Pazdziora
On Tue, Jan 20, 2009 at 01:49:30AM +0530, Vikram Rai wrote:
> 
> Installed spacewalk with version 0.3 and got permission denied and internal
> errors which do not give information as to what went wrong.
> 
> Installed 0.4 and got:
> 
> Tomcat failed to start properly or the installer ran out of tries.  Please
> check /var/log/tomcat5/catalina.out for errors. Which does not give proper
> information as to what is missing.

Generally, the spacewalk-setup will restart all the services and then
wait some more for tomcat to finish its startup, and do some GET
requests to see if it can get to that tomcat (via httpd). Sometimes,
especially if you try this on a virtual machine with low memory or
similar setup, it will give up before the tomcat finished starting but
maybe it finished a bit later. Could you check if the catalina.out has
line similar to

INFO: Server startup in 20553 ms

and if you can get to the Spacewalk WebUI via browser?

> We have tried the guide and all information available on the net to install
> a dev environment with source and have reached so far as to say that the
> documents do not have information to say that on a fresh redhat5 enterprise
> server you would need the following pre- requisites.

Could you be more specific about what you are trying to do and what
results you get?

> My question here is that, what guide would be best to follow to know how to
> get around these errors that we are facing? Is there a list of
> pre-requisites or deps available? It might make things easier.
> 
> If it works on one system and not on the other then there is something
> missing and I would like to narrow this down to what is it that is required
> for an install??

I'm not sure what prerequisites you have it mind. If you do a fresh
install of Spacewalk 0.4,

https://fedorahosted.org/spacewalk/wiki/HowToInstall

is the primary source of information, and it served me well in the
past.

-- 
Jan Pazdziora
Satellite Engineering, Red Hat

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] PGPORT (installation issue using make)

2009-01-19 Thread Jesus M. Rodriguez
On Mon, Jan 19, 2009 at 3:19 PM, Vikram Rai  wrote:
> Hi Jeff,
>
> Here is what we have tried so far:
>
> Installed spacewalk with version 0.3 and got permission denied and internal
> errors which do not give information as to what went wrong.
>
> Installed 0.4 and got:
>
> Tomcat failed to start properly or the installer ran out of tries.  Please
> check /var/log/tomcat5/catalina.out for errors. Which does not give proper
> information as to what is missing.
>
> We have tried the guide and all information available on the net to install
> a dev environment with source and have reached so far as to say that the
> documents do not have information to say that on a fresh redhat5 enterprise
> server you would need the following pre- requisites.
>
> My question here is that, what guide would be best to follow to know how to
> get around these errors that we are facing? Is there a list of
> pre-requisites or deps available? It might make things easier.
>
> If it works on one system and not on the other then there is something
> missing and I would like to narrow this down to what is it that is required
> for an install??
>
> Thanks in advance.
>
> Regards,
>
> Vikram Rai

Vikram,

I'm sorry you are having a difficult time. The typical setup is to
install Spacewalk 0.4 on your dev
system. Then install git, clone the repo, stop the spacewalk server,
run the ant install-devel task.
Obviously that's a generalization but that's pretty much it. What this
will do is use the java and
perl code from your git checkout instead of the ones installed in the
first step.

A make install in the backend side should allow it to replace the ones
installed by spacewalk-backend.

The page below is what we used:
https://fedorahosted.org/spacewalk/wiki/DevelopmentWorkstationSetup

Also, could you please post your log files or paste your errors in
fpaste.org and post
the url here. It's difficult to help you if we don't know what the
error is or when the
error occurs.

Sincerely,
jesus

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] PGPORT (installation issue using make)

2009-01-19 Thread Vikram Rai
Hi Jeff,

Here is what we have tried so far:

Installed spacewalk with version 0.3 and got permission denied and internal
errors which do not give information as to what went wrong.

Installed 0.4 and got:

Tomcat failed to start properly or the installer ran out of tries.  Please
check /var/log/tomcat5/catalina.out for errors. Which does not give proper
information as to what is missing.

We have tried the guide and all information available on the net to install
a dev environment with source and have reached so far as to say that the
documents do not have information to say that on a fresh redhat5 enterprise
server you would need the following pre- requisites.

My question here is that, what guide would be best to follow to know how to
get around these errors that we are facing? Is there a list of
pre-requisites or deps available? It might make things easier.

If it works on one system and not on the other then there is something
missing and I would like to narrow this down to what is it that is required
for an install??

Thanks in advance.

Regards,

Vikram Rai

On Thu, Jan 15, 2009 at 7:57 PM, tushar ahuja  wrote:

> Hi Jeff,
>
> Thanks for the link .We have started the installation for creating a devel
> environment on Red-Hat5.
>
> These are the Steps which we have used :-
>
> 1)We have installed spacewalk using rmp (yum install spacewalk)
> 2)at the time of configuration (spacewalk-setup --disconnected), we found
> tomcat failed to start just before the installation ,but somehow we found
> the solution and fix it.
> 3)we opened  GUI interface (https://localhost.localdomain) and created a
> administrator user and password wow :-)
> 4) we installed/configured git(using rpm) and also clone the spacewalk
> repository  successfully
> 5)Now at the time of installation "WEB APPLICATION" ,we performed all the
> Steps mentioned in the wiki successfully.
>
> But whenever i am trying to  open browser for spacewalk server(
> https://localhost.localdomain)
>  i am getting this error message
>
> Forbidden
>
> You don't have permission to access / on this server.
>
> Additionally, a 403 Forbidden error was encountered while trying to use an
> ErrorDocument to handle the request.
> --
> Apache/2.2.3 (Red Hat) Server at 127.0.0.1 Port 80
>
> it look like a Apache issue but i am not able to solve it.
>
> Any idea how to solve this ?
>
> thanks in advance,
>---
>   regards,tushar
>
>
> On Thu, Jan 15, 2009 at 12:27 AM, Jeff Ortel  wrote:
>
>> Hey Vikram,
>>
>> I'd suggest you follow the developer setup instructions on the Spacewalk
>> wiki:
>>
>> https://fedorahosted.org/spacewalk/wiki/DevelopmentWorkstationSetup
>>
>> ~jeff
>>
>>
>> Vikram Rai wrote:
>>
>>> Hi,
>>>
>>> We were trying to install spacewalk using souce on Redhat 5 Enterprise
>>> Server and after giving the command:
>>>
>>> make spacewalk-clean spacewalk-release TBS=USERS
>>> SQLUSER=spacewalk/spacew...@xe
>>>
>>> We are getting the below error after the schema is created:
>>> Attached is the log file of make command
>>>
>>> 1 row created.
>>>
>>>
>>> Commit complete.
>>>
>>>
>>> SQL_FILE
>>> ---
>>> rhnsat/quit.sql
>>>
>>> Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0
>>> - Production
>>>
>>> SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jan 14 19:50:24 2009
>>>
>>> Copyright (c) 1982, 2005, Oracle.  All rights reserved.
>>>
>>> ERROR:
>>> ORA-12154: TNS:could not resolve the connect identifier specified
>>>
>>>
>>> Enter user-name:
>>> SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jan 14 19:50:24 2009
>>>
>>> Copyright (c) 1982, 2005, Oracle.  All rights reserved.
>>>
>>> ERROR:
>>> ORA-12154: TNS:could not resolve the connect identifier specified
>>>
>>>
>>> Enter user-name: SP2-0306: Invalid option.
>>> Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
>>> where   ::= [/][@] | /
>>> SP2-0306: Invalid option.
>>> Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
>>> where   ::= [/][@] | /
>>> SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
>>> make[1]: *** [universe.satellite-synonyms.lst] Error 255
>>> make[1]: Leaving directory `/opt/spacewalk/schema/spacewalk'
>>> make: *** [test-make-release] Error 2
>>>
>>> I am sure this is not a tns issue as I am able to connect to the
>>> spacewalk user from another terminal at the time the error is generated.
>>>
>>> Any suggestions as to what may be the cause of this, would be
>>> appreciated.
>>>
>>>
>>> --
>>> Regards
>>>
>>> Vikram Rai
>>> Member Technical Team,
>>> EnterpriseDB
>>>
>>>
>>>
>>>
>>>
>>> 
>>>
>>> ___
>>> Spacewalk-devel mailing list
>>> Spacewalk-devel@redhat.com
>>> https://www.redhat.com/mailman/listinfo/spacewalk-devel
>>>
>>
>> ___
>> Spacewalk-deve

Re: [Spacewalk-devel] PGPORT (installation issue using make)

2009-01-17 Thread Devan Goodwin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, 17 Jan 2009 13:13:46 +0530
tushar ahuja  wrote:

> thanks Jan.
> 
> Sure I will try to upgrade 0.3 to 0.4 .and let you know the result. i
> am just wondering is this  a known issue ,has someone already
> encountered with this problem ? or i am doing something wrong ? as i
> am not able to find any thread against this issue at spacewalk-devel
> list.
> 

Not a known issue that I'm aware of. Hopefully a fresh 0.4 attempt will
avoid it.

Cheers,

Devan
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAklx5fgACgkQAyHWaPV9my7GvACfRdeIyprQsm4aMn9WpGORnG98
VmYAoLJ1FFcLbMKaYBliWvJCU2GIk40G
=oOm/
-END PGP SIGNATURE-

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] PGPORT (installation issue using make)

2009-01-16 Thread tushar ahuja
thanks Jan.

Sure I will try to upgrade 0.3 to 0.4 .and let you know the result. i am
just wondering is this  a known issue ,has someone already encountered with
this problem ? or i am doing something wrong ? as i am not able to find any
thread against this issue at spacewalk-devel list.

  --
  regards,tushar
  Member Technical Staff
  R&D Group
  Enterprisedb ,visit us at :-
http://enterprisedb.com


On 1/17/09, Jan Pazdziora  wrote:
>
> On Fri, Jan 16, 2009 at 05:25:39PM +0530, tushar ahuja wrote:
> >
> >  2)I have installed 0.3.version of  spacewalk
>
> Spacewalk 0.4 was released yesterday. Could you maybe move over to
> that version, so see if it fixes the issue you see?
>
> --
> Jan Pazdziora
> Satellite Engineering, Red Hat
>



-- 
--
regards, tushar
___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Re: [Spacewalk-devel] PGPORT (installation issue using make)

2009-01-16 Thread Jan Pazdziora
On Fri, Jan 16, 2009 at 05:25:39PM +0530, tushar ahuja wrote:
> 
>  2)I have installed 0.3.version of  spacewalk

Spacewalk 0.4 was released yesterday. Could you maybe move over to
that version, so see if it fixes the issue you see?

-- 
Jan Pazdziora
Satellite Engineering, Red Hat

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] PGPORT (installation issue using make)

2009-01-16 Thread tushar ahuja
Hi Devan & Miroslaw,

Thanks for your response. I have created a FQDN ,initally i have used
localhost.localdomain,now I am using "tushar.enterprisedb.net" .(i am able
to perform ping from different machine so i am assuming i have configured
FQDN correctly)

Theses are the steps i have used after creating FQDN.

1.I tried to open webserver using "tushar.enterprisedb.net" but i got the
same error which i reported yesertday i.e
Forbidden
You don't have permission to access / on this server.

2.I reboot my machine, just assmed afer rebooting it would work :-)  but
today was not my day.

3(a).then i tried to perform again configuration (spacewalk-setup
--disconnected), i got this error

DB hostname? localhost
DB port [1521]?
DB protocol [TCP]?
Could not connect to the database.  Your connection information may be
incorrect.  Error: DBI connect('xe','spacewalk',...) failed: ORA-12505:
TNS:listener does not currently know of SID given in connect descriptor (DBD
ERROR: OCIServerAttach) at
/usr/lib/perl5/vendor_perl/5.8.8/Spacewalk/Setup.pm line 1102

This i have solved, I replaced localhost.localdomain to
tushar.enterprisedb.net inside HOST parameter in tnsnames/listener.ora file
,i verified using spacewalk/spacew...@xe and  was able to connect to
sql*client.

3(b).then i again fired "spacewalk-setup --disconnected", i got Deploy SSL
cerificate  error

Country code (Examples: "US", "JP", "IN", or type "?" to see a list)? IN
** SSL: Generating CA certificate.
** SSL: Deploying CA certificate.
** SSL: Generating server certificate.
** SSL: Storing SSL certificates.
Could not deploy SSL certificate.  Exit value: 1.
Please examine /var/log/rhn/rhn-installation.log for more information.
[r...@tushar admin]#

(Enclosing rhn-installation.log )

I don't know why it is not deploying SSL certificate?

3.when i tried to restart satellite-httpd service, i got this error

[r...@tushar admin]# service satellite-httpd start
Starting satellite-httpd: Syntax error on line 117 of
/etc/rhn/satellite-httpd/conf/ssl.conf:
SSLCertificateFile: file '/etc/rhn/satellite-httpd/conf/ssl.crt/server.crt'
does not exist or is empty
   [FAILED]
[r...@tushar admin]#

4.also tried to restart rhn-satellite ,it started all the services but
failed to start satellite-httpd

[r...@tushar conf]# /sbin/rhn-satellite restart
Shutting down rhn-satellite...
Stopping rhn-search...
Stopped rhn-search.
Stopping satellite-httpd:  [FAILED]
Stopping tomcat5:  [  OK  ]
Stopping RHN Taskomatic...
Stopped RHN Taskomatic.
Done.
Starting rhn-satellite...
Starting RHN Taskomatic...
Starting tomcat5:  [  OK  ]
Starting satellite-httpd: Syntax error on line 117 of
/etc/rhn/satellite-httpd/conf/ssl.conf:
SSLCertificateFile: file '/etc/rhn/satellite-httpd/conf/ssl.crt/server.crt'
does not exist or is empty
   [FAILED]
Starting rhn-search...
Done.

What could be the reasons?


Ps:-1) yesterday when i had installed spacewalk server(using yum install
spacewalk and spacewalk-setup  --disconnected) ,it was showing webserver
using https://localhost.localdomain or giving my IP , i faced the problem
only after installing "Web  Application" .

 2)I have installed 0.3.version of  spacewalk

Thanks!

--
 regards, tushar




On Thu, Jan 15, 2009 at 8:37 PM, Miroslav Suchý  wrote:

> Devan Goodwin wrote:
>
>> But whenever i am trying to  open browser for spacewalk server(
>>> https://localhost.localdomain)
>>>  i am getting this error message
>>>
>>> Forbidden
>>>
>>> You don't have permission to access / on this server.
>>>
>>> Additionally, a 403 Forbidden error was encountered while trying to
>>> use an ErrorDocument to handle the request.
>>> --
>>> Apache/2.2.3 (Red Hat) Server at 127.0.0.1 Port 80
>>>
>>> it look like a Apache issue but i am not able to solve it.
>>>
>>> Any idea how to solve this ?
>>>
>>
>> Could you try hitting from a non-localhost IP, this historically does
>> not work in spacewalk and I don't recall that changing anytime recently.
>>
>
> To be specific: Not need to access from different IP, but using fully
> qualified domain name.
>
> --
> Miroslav Suchy
> RHN Satellite Engineering, Red Hat
>
>
> ___
> Spacewalk-devel mailing list
> Spacewalk-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-devel
>



-- 
--
regards, tushar
RHN Satellite installation log.
Command: /usr/bin/spacewalk-setup 

/root/.gnupg/pubring.gpg

pub   1024D/37017186 2006-12-06
uid  Red Hat, Inc. (release key) 

gpg: key 37017186: "Red Hat, Inc. (release key) " not changed
gpg: Total number processed: 1
gpg:  unchanged: 1
/e

Re: [Spacewalk-devel] PGPORT (installation issue using make)

2009-01-15 Thread Miroslav Suchý

Devan Goodwin wrote:

But whenever i am trying to  open browser for spacewalk server(
https://localhost.localdomain)
 i am getting this error message

Forbidden

You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to
use an ErrorDocument to handle the request.
--
Apache/2.2.3 (Red Hat) Server at 127.0.0.1 Port 80

it look like a Apache issue but i am not able to solve it.

Any idea how to solve this ?


Could you try hitting from a non-localhost IP, this historically does
not work in spacewalk and I don't recall that changing anytime recently.


To be specific: Not need to access from different IP, but using fully 
qualified domain name.


--
Miroslav Suchy
RHN Satellite Engineering, Red Hat

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] PGPORT (installation issue using make)

2009-01-15 Thread Devan Goodwin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 15 Jan 2009 19:57:02 +0530
"tushar ahuja"  wrote:

> Hi Jeff,
> 
> Thanks for the link .We have started the installation for creating a
> devel environment on Red-Hat5.
> 
> These are the Steps which we have used :-
> 
> 1)We have installed spacewalk using rmp (yum install spacewalk)

Was this spacewalk 0.3 you installed?

> 2)at the time of configuration (spacewalk-setup --disconnected), we
> found tomcat failed to start just before the installation ,but
> somehow we found the solution and fix it.
> 3)we opened  GUI interface (https://localhost.localdomain) and
> created a administrator user and password wow :-)
> 4) we installed/configured git(using rpm) and also clone the spacewalk
> repository  successfully
> 5)Now at the time of installation "WEB APPLICATION" ,we performed all
> the Steps mentioned in the wiki successfully.
> 
> But whenever i am trying to  open browser for spacewalk server(
> https://localhost.localdomain)
>  i am getting this error message
> 
> Forbidden
> 
> You don't have permission to access / on this server.
> 
> Additionally, a 403 Forbidden error was encountered while trying to
> use an ErrorDocument to handle the request.
> --
> Apache/2.2.3 (Red Hat) Server at 127.0.0.1 Port 80
> 
> it look like a Apache issue but i am not able to solve it.
> 
> Any idea how to solve this ?

Could you try hitting from a non-localhost IP, this historically does
not work in spacewalk and I don't recall that changing anytime recently.

Cheers,

Devan

- -- 
  Devan Goodwin 
  Software Engineer Spacewalk / RHN Satellite
  Halifax, Canada   650.567.9039x79267
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAklvTU8ACgkQAyHWaPV9my4iIACgu67Z0J/j2Kwsz01tudzMSEUo
iIMAoKjQ1wCjUX/P3U4Ucz7+65m8fOw8
=wtIl
-END PGP SIGNATURE-

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] PGPORT (installation issue using make)

2009-01-15 Thread tushar ahuja
Hi Jeff,

Thanks for the link .We have started the installation for creating a devel
environment on Red-Hat5.

These are the Steps which we have used :-

1)We have installed spacewalk using rmp (yum install spacewalk)
2)at the time of configuration (spacewalk-setup --disconnected), we found
tomcat failed to start just before the installation ,but somehow we found
the solution and fix it.
3)we opened  GUI interface (https://localhost.localdomain) and created a
administrator user and password wow :-)
4) we installed/configured git(using rpm) and also clone the spacewalk
repository  successfully
5)Now at the time of installation "WEB APPLICATION" ,we performed all the
Steps mentioned in the wiki successfully.

But whenever i am trying to  open browser for spacewalk server(
https://localhost.localdomain)
 i am getting this error message

Forbidden

You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an
ErrorDocument to handle the request.
--
Apache/2.2.3 (Red Hat) Server at 127.0.0.1 Port 80

it look like a Apache issue but i am not able to solve it.

Any idea how to solve this ?

thanks in advance,
   ---
  regards,tushar


On Thu, Jan 15, 2009 at 12:27 AM, Jeff Ortel  wrote:

> Hey Vikram,
>
> I'd suggest you follow the developer setup instructions on the Spacewalk
> wiki:
>
> https://fedorahosted.org/spacewalk/wiki/DevelopmentWorkstationSetup
>
> ~jeff
>
>
> Vikram Rai wrote:
>
>> Hi,
>>
>> We were trying to install spacewalk using souce on Redhat 5 Enterprise
>> Server and after giving the command:
>>
>> make spacewalk-clean spacewalk-release TBS=USERS
>> SQLUSER=spacewalk/spacew...@xe
>>
>> We are getting the below error after the schema is created:
>> Attached is the log file of make command
>>
>> 1 row created.
>>
>>
>> Commit complete.
>>
>>
>> SQL_FILE
>> ---
>> rhnsat/quit.sql
>>
>> Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 -
>> Production
>>
>> SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jan 14 19:50:24 2009
>>
>> Copyright (c) 1982, 2005, Oracle.  All rights reserved.
>>
>> ERROR:
>> ORA-12154: TNS:could not resolve the connect identifier specified
>>
>>
>> Enter user-name:
>> SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jan 14 19:50:24 2009
>>
>> Copyright (c) 1982, 2005, Oracle.  All rights reserved.
>>
>> ERROR:
>> ORA-12154: TNS:could not resolve the connect identifier specified
>>
>>
>> Enter user-name: SP2-0306: Invalid option.
>> Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
>> where   ::= [/][@] | /
>> SP2-0306: Invalid option.
>> Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
>> where   ::= [/][@] | /
>> SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
>> make[1]: *** [universe.satellite-synonyms.lst] Error 255
>> make[1]: Leaving directory `/opt/spacewalk/schema/spacewalk'
>> make: *** [test-make-release] Error 2
>>
>> I am sure this is not a tns issue as I am able to connect to the spacewalk
>> user from another terminal at the time the error is generated.
>>
>> Any suggestions as to what may be the cause of this, would be appreciated.
>>
>>
>> --
>> Regards
>>
>> Vikram Rai
>> Member Technical Team,
>> EnterpriseDB
>>
>>
>>
>>
>>
>> 
>>
>> ___
>> Spacewalk-devel mailing list
>> Spacewalk-devel@redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-devel
>>
>
> ___
> Spacewalk-devel mailing list
> Spacewalk-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-devel
>



-- 
--
regards, tushar
___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Re: [Spacewalk-devel] PGPORT (installation issue using make)

2009-01-14 Thread Vikram Rai
Thanks Jeff,

Will give that a try tomorrow morning.

Vikram

On Thu, Jan 15, 2009 at 12:27 AM, Jeff Ortel  wrote:

> Hey Vikram,
>
> I'd suggest you follow the developer setup instructions on the Spacewalk
> wiki:
>
> https://fedorahosted.org/spacewalk/wiki/DevelopmentWorkstationSetup
>
> ~jeff
>
>
> Vikram Rai wrote:
>
>> Hi,
>>
>> We were trying to install spacewalk using souce on Redhat 5 Enterprise
>> Server and after giving the command:
>>
>> make spacewalk-clean spacewalk-release TBS=USERS
>> SQLUSER=spacewalk/spacew...@xe
>>
>> We are getting the below error after the schema is created:
>> Attached is the log file of make command
>>
>> 1 row created.
>>
>>
>> Commit complete.
>>
>>
>> SQL_FILE
>> ---
>> rhnsat/quit.sql
>>
>> Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 -
>> Production
>>
>> SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jan 14 19:50:24 2009
>>
>> Copyright (c) 1982, 2005, Oracle.  All rights reserved.
>>
>> ERROR:
>> ORA-12154: TNS:could not resolve the connect identifier specified
>>
>>
>> Enter user-name:
>> SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jan 14 19:50:24 2009
>>
>> Copyright (c) 1982, 2005, Oracle.  All rights reserved.
>>
>> ERROR:
>> ORA-12154: TNS:could not resolve the connect identifier specified
>>
>>
>> Enter user-name: SP2-0306: Invalid option.
>> Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
>> where   ::= [/][@] | /
>> SP2-0306: Invalid option.
>> Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
>> where   ::= [/][@] | /
>> SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
>> make[1]: *** [universe.satellite-synonyms.lst] Error 255
>> make[1]: Leaving directory `/opt/spacewalk/schema/spacewalk'
>> make: *** [test-make-release] Error 2
>>
>> I am sure this is not a tns issue as I am able to connect to the spacewalk
>> user from another terminal at the time the error is generated.
>>
>> Any suggestions as to what may be the cause of this, would be appreciated.
>>
>>
>> --
>> Regards
>>
>> Vikram Rai
>> Member Technical Team,
>> EnterpriseDB
>>
>>
>>
>>
>>
>> 
>>
>> ___
>> Spacewalk-devel mailing list
>> Spacewalk-devel@redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-devel
>>
>
> ___
> Spacewalk-devel mailing list
> Spacewalk-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-devel
>
___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Re: [Spacewalk-devel] PGPORT (installation issue using make)

2009-01-14 Thread Jeff Ortel

Hey Vikram,

I'd suggest you follow the developer setup instructions on the Spacewalk 
wiki:


https://fedorahosted.org/spacewalk/wiki/DevelopmentWorkstationSetup

~jeff


Vikram Rai wrote:

Hi,

We were trying to install spacewalk using souce on Redhat 5 Enterprise 
Server and after giving the command:


make spacewalk-clean spacewalk-release TBS=USERS 
SQLUSER=spacewalk/spacew...@xe


We are getting the below error after the schema is created:
Attached is the log file of make command

1 row created.


Commit complete.


SQL_FILE
---
rhnsat/quit.sql

Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 
- Production


SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jan 14 19:50:24 2009

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified


Enter user-name:
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Jan 14 19:50:24 2009

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified


Enter user-name: SP2-0306: Invalid option.
Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
where   ::= [/][@] | /
SP2-0306: Invalid option.
Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
where   ::= [/][@] | /
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
make[1]: *** [universe.satellite-synonyms.lst] Error 255
make[1]: Leaving directory `/opt/spacewalk/schema/spacewalk'
make: *** [test-make-release] Error 2

I am sure this is not a tns issue as I am able to connect to the 
spacewalk user from another terminal at the time the error is generated.


Any suggestions as to what may be the cause of this, would be appreciated.


--
Regards

Vikram Rai
Member Technical Team,
EnterpriseDB







___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel