Bug 463299 - spacewalk-setup runs out of memory
spacewalk-setup runs out of memory
Status: CLOSED NOTABUG
Product: Spacewalk
Classification: Community
Component: Installation (Show other bugs)
0.6
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jan Pazdziora
Red Hat Satellite QA List
:
Depends On:
Blocks: space03
  Show dependency treegraph
 
Reported: 2008-09-22 16:44 EDT by Pradeep Kilambi
Modified: 2008-09-23 09:58 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-09-23 09:58:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Pradeep Kilambi 2008-09-22 16:44:21 EDT
Description of problem:

when setting up spacewalk, seems to run out of memory and end up in segmentation fault.

rlx-0-16 ~]# spacewalk --disconnected
-bash: spacewalk: command not found
[root@rlx-0-16 ~]# spacewalk-setup --disconnected
* Loading answer file: /usr/share/spacewalk/setup/defaults.conf.
* Setting up environment and users.
** GPG: Initializing GPG and importing key.
** GPG: Creating /root/.gnupg directory
* Setting up database.
** Database: Setting up database connection.
DB User? spacewalk
DB Password? 
DB SID? xe
DB hostname? localhost
DB port [1521]? 
DB protocol [TCP]? 
Out of memory!

top:

  127 root      10  -5     0    0    0 S 19.6  0.0   0:39.23 kswapd0            
   10 root      10  -5     0    0    0 S  0.3  0.0   0:00.69 kblockd/0          
 1921 haldaemo  18   0  5220  720  636 D  0.3  0.0   0:00.63 hald               
11871 root      18   0 3057m 1.9g  828 R  0.3 95.0   1:35.44 spacewalk-setup 


# cat /proc/meminfo
MemTotal:      2075696 kB
MemFree:         50680 kB
Buffers:           276 kB


Version-Release number of selected component (if applicable):
spacewalk-0.2

How reproducible:
always
Comment 1 Pradeep Kilambi 2008-09-22 16:58:06 EDT
another interesting thing is first time i enter the right info it fails with:

# spacewalk-setup --disconnected
* Loading answer file: /usr/share/spacewalk/setup/defaults.conf.
* Setting up environment and users.
** GPG: Initializing GPG and importing key.
* Setting up database.
** Database: Setting up database connection.
DB User? spacewalk
DB Password? 
DB SID? xe
DB hostname? localhost
DB port [1521]? 
DB protocol [TCP]? 
Could not connect to the database.  Your connection information may be incorrect.  Error: install_driver(Oracle) failed: Can't load '/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBD/Oracle/Oracle.so' for module DBD::Oracle: /usr/lib/oracle/10.2.0/client/lib/libnnz10.so: cannot restore segment prot after reloc: Permission denied at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230, <STDIN> line 6.
 at (eval 784) line 3
Compilation failed in require at (eval 784) line 3, <STDIN> line 6.
Perhaps a required shared library or dll isn't installed where expected
 at /usr/bin/spacewalk-setup line 1492

DB User? 


inspite of all the entries being correct it fails the first time, then the second it it works but quickly runs out of memory
Comment 2 Pradeep Kilambi 2008-09-23 09:58:32 EDT
was selinux issue. setting it to permissive fixed it... closing!!

Note You need to log in before you can comment on or make changes to this bug.