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 tushar...@gmail.com 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 jor...@redhat.com 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 logon  ::= username[/password][@connect_identifier] | /
 SP2-0306: Invalid option.
 Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}]
 where logon  ::= username[/password][@connect_identifier] | /
 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

 ___
 

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 vra...@gmail.com 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-17 Thread Devan Goodwin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, 17 Jan 2009 13:13:46 +0530
tushar ahuja tushar...@gmail.com 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 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
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
  RD Group
  Enterprisedb ,visit us at :-
http://enterprisedb.com


On 1/17/09, Jan Pazdziora jpazdzi...@redhat.com 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