[Spacewalk-list] /usr/bin/spacewalk-repo-sync

rob morrien rmorrien at xs4all.nl
Wed Mar 24 06:09:38 UTC 2010


>> On 3/23/10 3:38 AM, rob morrien wrote:
>>> hello to all
>>>
>>>
>>> i try to run the command:
>>>
>>> /usr/bin/spacewalk-repo-sync --channel epel-5.4-i386 --url
>>> http://download.fedora.redhat.com/pub/epel/5/i386 --type yum --label
>>> epel-5.4-i386
>>>
>>> the download started and i see packages added to my sat. server.
>>>
>>> but during the reposync the download stops and i can't login to the
>>> spacewalk
>>> server any more.
>>>
>>>
>>> output on screen
>>> 496/984 : globus-xio-popen-driver-devel-0.7-1.el5-0.i386
>>> 497/984 : perl-Pod-PseudoPod-0.15-1.el5-0.noarch
>>> 498/984 : roundcubemail-0.1.1-6.el5-0.noarch
>>> 499/984 : moodle-da-1.8.11-1.el5-0.noarch
>>>
>>> the only solution i have now is to restore the database
>>>
>>> who has seen this problem before?
>>
>> What happens when you try to login?
>>
>> Can you connect via sqlplus ?
>>
>> -Justin
>
> Justin,
>
> sqlplus "sys at xe as sysdba"
>
> gives the next info:
>
> sqlplus "sys at xe as sysdba"
>
> SQL*Plus: Release 10.2.0.4.0 - Production on Wed Mar 24 06:13:47 2010
>
> Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
>
> Enter password:
>
> Connected to:
> Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
>
> SQL> quit
> Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 -
> Production
> #
>
>
> when i try  to connect to spacewalk i see that my browser
> tries to connect but i get a blank screen instead of the signon screen
>
> from this point  i can't use  spacewalk any more
>
>
> rob

justin,


when i try to start the satelite repo sync again
i get the next error

[root at mirr ~]# /usr/bin/spacewalk-repo-sync --channel epel-5.4-i386 --url
http://download.fedora.redhat.com/pub/epel/5/i386 --type yum --label
epel-5.4-i386
RHN 31624 2010/03/24 06:54:56 +02:00: ('Connection attempt failed', 1033,
'ORA-01033: ORACLE initialization or shutdown in progress\n')
Traceback (most recent call last):
  File "/usr/bin/spacewalk-repo-sync", line 71, in ?
    sys.exit(abs(main() or 0))
  File "/usr/bin/spacewalk-repo-sync", line 65, in main
    sync.main()
  File "/usr/share/rhn/satellite_tools/reposync.py", line 45, in main
    rhnSQL.initDB(db_string)
  File "/usr/share/rhn/server/rhnSQL/__init__.py", line 98, in initDB
    __init__DB(backend, host, port, username, password, database)
  File "/usr/share/rhn/server/rhnSQL/__init__.py", line 52, in __init__DB
    __DB.connect()
  File "/usr/share/rhn/server/rhnSQL/driver_cx_Oracle.py", line 386, in
connect
    raise apply(sql_base.SQLConnectError, err_args)
server.rhnSQL.sql_base.SQLConnectError: (1033, 'ORA-01033: ORACLE
initialization or shutdown in progress\n', 'xe', 'Connection_Connect():
begin session')

but i can still connect to the database.

sqlplus "sys at xe as sysdba"
SQL*Plus: Release 10.2.0.4.0 - Production on Wed Mar 24 06:58:29 2010

Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.

Enter password:

Connected to:
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production

SQL> quit
Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 -
Production
#


rob





> _______________________________________________
>>> Spacewalk-list mailing list
>>> Spacewalk-list at redhat.com
>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>
>>
>> --
>> Justin Sherrill, RHCA          1801 Varsity Drive.
>> Software Engineer                Raleigh, NC 27603
>> Red Hat, Inc.
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>





More information about the Spacewalk-list mailing list