LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 03-06-2017, 10:50 AM   #1
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
Question RH Sat generated gigantic pulp logs in wrong location, trying to figure out why?


Have a RHEL 6.8 hosting a RH Sat 6.10 and I have run out of space due to very large logs titled pulp_database. I'm not sure what is generating these because I can't read the logs:

Code:
[root@server mongodb]# file pulp_database.5 ; stat pulp_database.5
pulp_database.5: X11 SNF font data, LSB first
  File: `pulp_database.5'
  Size: 2146435072      Blocks: 4192312    IO Block: 4096   regular file
Device: fd09h/64777d    Inode: 650718      Links: 1
Access: (0600/-rw-------)  Uid: (  184/ mongodb)   Gid: (  490/ mongodb)
Access: 2017-03-06 10:45:40.481131848 -0600
Modify: 2017-03-06 05:49:17.841253311 -0600
Change: 2017-03-06 05:49:17.841253311 -0600
[root@server mongodb]#
I have a current subscription and GSS can't figure out why right now, so I'm turning to LQ to get further insight:

Code:
[root@server init.d]# ls -alS /var/lib/mongodb
total 6359776
-rw-------.  1 mongodb mongodb 2146435072 Mar  6 05:49 pulp_database.5
-rw-------.  1 mongodb mongodb 2146435072 Jan 19 09:31 pulp_database.6
-rw-------.  1 mongodb mongodb 1073741824 Jan 19 10:58 pulp_database.4
-rw-------.  1 mongodb mongodb  536870912 Jan 19 10:58 pulp_database.3
-rw-------.  1 mongodb mongodb  268435456 Jan 19 10:58 pulp_database.2
-rw-------.  1 mongodb mongodb  134217728 Jan 19 10:58 pulp_database.1
-rw-------.  1 mongodb mongodb   67108864 Feb 28 11:49 local.0
-rw-------.  1 mongodb mongodb   67108864 Mar  6 10:39 pulp_database.0
-rw-------.  1 mongodb mongodb   16777216 Feb 28 11:49 local.ns
-rw-------.  1 mongodb mongodb   16777216 Mar  6 05:49 pulp_database.ns
-rw-r--r--.  1 mongodb mongodb   14218103 Mar  1 03:19 mongodb.log.2017-03-01T09-23-01
-rw-r--r--.  1 mongodb mongodb   10335842 Jan 22 03:20 mongodb.log.2017-01-22T09-29-01
-rw-r--r--.  1 mongodb mongodb    3591385 Jan 29 03:31 mongodb.log.2017-01-29T09-33-03
-rw-r--r--.  1 mongodb mongodb    2751621 Jan  8 03:23 mongodb.log.2017-01-08T09-25-01
-rw-r--r--.  1 mongodb mongodb    2546596 Jan 15 03:30 mongodb.log.2017-01-15T09-32-01
-rw-r--r--.  1 mongodb mongodb    2414642 Mar  6 10:38 mongodb.log
-rw-r--r--.  1 mongodb mongodb    2053465 Jan  1 03:05 mongodb.log.2017-01-01T09-06-01
-rw-r--r--.  1 mongodb mongodb     418418 Dec 25 03:03 mongodb.log.2016-12-25T09-11-01
drwxr-xr-x.  3 mongodb mongodb       4096 Mar  1 03:23 .
drwxr-xr-x. 59 root    root          4096 Mar  6 03:45 ..
drwxr-xr-x.  2 mongodb mongodb       4096 Mar  4 22:47 journal
-rwxr-xr-x.  1 mongodb mongodb          5 Feb 28 11:49 mongod.lock
[root@server init.d]#
Red Hat's documentation is sparse for pulp. I can't find any man pages or apropose on the term pulp.

I found this:

http://docs.pulpproject.org/user-gui...roduction.html

Quote:

Platform Support Policy
CentOS/Red Hat Enterprise Linux (RHEL)

We currently support Red Hat Enterprise Linux 7 as well as CentOS 7.

Starting with Pulp 2.12, we no longer support Red Hat Enterprise Linux 6 or CentOS 6.

The Pulp team aims to provide RPM builds for the last two major releases of RHEL. For example, if the latest version is RHEL 8, builds should be available for RHEL 8 and RHEL 7. However, due to the long life cycle of these platforms and the relatively rapid development cycle of both Pulp and its dependencies, we may need to stop supporting the older platform before the next major release of RHEL. If this does occur, announcements will be made well in advance.
This wouldn't make sense as they claim to support RH Sat 6.10 on RHEL6 and RHEL7.

When looking at /etc/pulp/server.conf the logging isn't even turned on

Code:
# debugging_mode: false
# log_level: INFO
Shouldn't it be logging into /var/log not /var/lib/mongodb?

Anyways, I'm wondering what others think or if they have experienced this as well? And if so, how to fix.

thanks
 
Old 03-08-2017, 09:18 PM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
# debugging_mode: false
# log_level: INFO
Set INFO to warn or error.
Quote:
Pulp’s log level can be adjusted with the log_level setting in the [server] section of/etc/pulp/server.conf
This setting is optional and defaults to INFO. Valid choices are CRITICAL,
ERROR, WARNING, INFO, DEBUG, and NOTSET
I'd just set it to "NOTSET" since nobody seems to know how to read the logs. Since it defaults to "info" you may have to remove the "sheh" (octothorpe ) in front of the config line and change the setting.
That said, I know nothing at all about this piece of infrastructure and after a minimal review of the documentation I have to ask, what possible use is it?

Last edited by dijetlo; 03-08-2017 at 09:23 PM.
 
Old 03-09-2017, 05:52 AM   #3
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420

Original Poster
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
For some reason, the vanilla install of Puppet placed the logs under /var/lib/mongodb and I've switched them under /var/log/messages.

I will adjust that logging too as well to see if that can help in troubleshooting.

thanks
 
  


Reply

Tags
pulp, red hat satellite 6.10, rhel6



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
generated xorg.conf logs off system firekage Ubuntu 9 08-31-2012 01:42 AM
well i still havent figure it out what is wrong wmbuRn Linux - Kernel 2 08-29-2012 11:48 AM
[SOLVED] I'm trying to figure out what I'm doing wrong using C fmodf()... trist007 Programming 12 08-25-2012 10:33 PM
wrong figure number in latex centguy Linux - Software 4 08-18-2011 08:24 PM
Smartd: Device /dev/sda: using '-d sat' for ATA disk behind SAT layer. deathsfriend99 Linux - Newbie 0 12-09-2009 12:47 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 01:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration