View previous topic :: View next topic |
Author |
Message |
techcode n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 09 Sep 2006 Posts: 42
|
Posted: Sat Sep 09, 2006 8:39 pm Post subject: man/info iptables produces garbage |
|
|
Hi all - very new to Gentoo and Linux (which you can probably assume from number of my posts). But playing around with Perl for several years (the reason for switching to Linux) and running all web apps I wrote on Linux type OS seem to help.
I got one of those VPS's - and also installed latest gentoo (from LiveCD 2006.0 - kernel linux-2.6.17-gentoo-r4) on my old computer so I could play around.
In trying to configure for better security I wanted to install/enable iptables. So as ussual I typed in "emerge iptables". After all is finished I realised that I also need to re-configure/compile the kernel to enable the support for it. I did it by following the guide from the gentoo wiki - and while computer is still compiling it (old PII 400 Mhz) I tried to see the man page. Obviosly this is my first try at configuring/compiling the kernel - probably not going to work as wiki is for 2.6.16 and menues changed.
alex@old-junk / $ man iptables
This produces lot's of error messages and then presents me with a man page containing only garbage.
alex@old-junk / $ info iptables
*** glibc detected *** double free or corruption (out): 0x080b2668 ***
Aborted
alex@old-junk / $ iptables --version
-bash: iptables: command not found
alex@old-junk / $ su
Password:
old-junk / # iptables --version
iptables v1.3.5
old-junk / # emerge -pv iptables
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] net-firewall/iptables-1.3.5-r1 USE="ipv6 -extensions -static" 0 kB
Total size of downloads: 0 kB
=== Trying to get error msg from man ==
old-junk / # man iptables 2>error.txt
[1]+ Stopped man iptables
old-junk / # nano error.txt
==> error.txt content <==
<standard input>:4: warning: can't find character with input code 3
<standard input>:4: warning: can't find character with input code 2
<standard input>:4: warning: can't find character with input code 4
<standard input>:4: warning: can't find character with input code 5
<standard input>:4: warning: can't find character with input code 7
<standard input>:4: warning: can't find character with input code 6
<standard input>:4: warning [p 1, 0.0i]: cannot adjust line
<standard input>:4: warning [p 1, 0.2i]: cannot adjust line
<standard input>:4: warning [p 1, 0.3i]: cannot adjust line
<standard input>:4: warning [p 1, 0.5i]: can't break line
... and total of 137 lines ...
Any ideas of what is wrong? Also let me know if you need any other info ...
Thanks. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kallamej Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3896974784c480ee5977f8.gif)
Joined: 27 Jun 2003 Posts: 4983 Location: Gothenburg, Sweden
|
Posted: Wed Sep 13, 2006 10:38 am Post subject: |
|
|
I have iptables-1.3.5-r1 installed and there are no problems with e.g. 'man iptables'. _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
abester Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 09 May 2005 Posts: 93
|
Posted: Wed Sep 13, 2006 10:43 am Post subject: |
|
|
Are you sure you've picked the correct arch and compile settings? It looks like a whole bunch of apps just don't work. Your PII probably doesn't support the latest extensions etc. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Janne Pikkarainen Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/10433783463f526aba4144d.jpg)
Joined: 29 Jul 2003 Posts: 1143 Location: Helsinki, Finland
|
Posted: Wed Sep 13, 2006 1:38 pm Post subject: |
|
|
Sounds like completely wrong CFLAGS in /etc/make.conf. _________________ Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.". |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|