[Spacewalk-list] spacewalk-setup seems to be hanging
Jan Pazdziora
jpazdziora at redhat.com
Thu Apr 4 13:23:46 UTC 2013
On Thu, Apr 04, 2013 at 09:09:46AM -0400, Espinola, Derek - 0663 - MITLL wrote:
>
> I am currently in the process of upgrading spacewalk 1.8 to 1.9 on rhel6.4. At the stage of upgrading the spacewalk configuration, it seems to be hanging ( about 40mins now) at "Performing initial configuration":
>
> spacewalk-setup --disconnected --external-db --upgrade
> * Setting up Oracle environment.
> * Setting up database.
> ** Database: Setting up database connection for Oracle backend.
> Database service name (SID)? ########
> Username? #######
> Password?
> ** Database: Testing database connection.
> ** Database: Populating database.
> ** Database: Skipping database population.
> * Setting up users and groups.
> ** GPG: Initializing GPG and importing key.
> * Performing initial configuration.
>
> Looking at the rhn_installation .log, shows the following:
> ….
> ….disconnected
> /var/lib/rhn/rhn-satellite-prep/etc/rhn/rhn.conf.orig
> /var/lib/rhn/rhn-satellite-prep/etc/rhn/rhn.conf
> /var/lib/rhn/rhn-satellite-prep/etc/rhn/cluster.ini
> /var/lib/rhn/rhn-satellite-prep/etc -> /etc
> /var/lib/rhn/rhn-satellite-prep/etc/rhn -> /etc/rhn
> /var/lib/rhn/rhn-satellite-prep/etc/rhn/rhn.conf -> /etc/rhn/rhn.conf
> * Making backup of /etc/rhn/rhn.conf to /etc/sysconfig/rhn/backup-2013-04-04-07:19/etc/rhn/rhn.conf
> /var/lib/rhn/rhn-satellite-prep/etc/rhn/cluster.ini -> /etc/rhn/cluster.ini
> * Making backup of /etc/rhn/cluster.ini to /etc/sysconfig/rhn/backup-2013-04-04-07:19/etc/rhn/cluster.ini
>
> Not exactly sure what is holding it up. Any ideas?
What do strace and lsof show for that spacewalk-setup process?
--
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat
More information about the Spacewalk-list
mailing list