aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Two problems, One Sorrow  (Read 4052 times)

roy306xr

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Two problems, One Sorrow
« on: April 24, 2005, 04:21:34 PM »

1. this is my first problem :
Initialising aMule
Userhash loaded: 10561734A80E41AD35DE80EA8B356F56
*** UDP socket at 4665

--------------------------------------------------------------------------------
OOPS! Houston, we have a situation: seems like aMule crashed!
Please, post these lines on the backtrace forum on http://www.amule.org/
aMule version is: 2.0.0rc8 using wxGTK1 v2.4.2
----------------------------=| BACKTRACE FOLLOWS: |=----------------------------

  • CamuleApp::OnFatalException() in amule[0x82252ea]
  • [1] wxFatalSignalHandler in /usr/lib/libwx_gtk-2.4.so.0
[0xb7ed105d]
[2] ?? in /lib/tls/libpthread.so.0 [0x6b17c8]
[3] wxChoice::GetString(int) const in /usr/lib/libwx_gtk-2.4.so.0[0xb7d6e84e]
[4] wxListBase::Append(void*) in /usr/lib/libwx_gtk-2.4.so.0[0xb7e5189b]
[5] wxChoice::GtkAppendHelper(_GtkWidget*, wxString const&) in /usr/lib/libwx_gtk-2.4.so.0[0xb7d6eb65]
[6] wxChoice::Create(wxWindow*, int, wxPoint const&, wxSize const&, int, wxString const*, long, wxValidator const&, wxString const&) in /usr/lib/libwx_gtk-2.4.so.0[0xb7d6ed16]
[7] searchDlg(wxWindow*, bool, bool) in amule[0x816a6ac]
[8] CSearchDlg::CSearchDlg(wxWindow*) in amule[0x81d01f5]
[9] CamuleDlg::CamuleDlg(wxWindow*, wxString const&, wxPoint, wxSize) in amule[0x823598b]
[10] CamuleGuiApp::InitGui(bool, wxString&) in amule[0x822e06b]
[11] CamuleApp::OnInit() in amule[0x8227da6]
[12] CamuleGuiApp::OnInit() in amule[0x822dd91]
[13] wxEntry(int, char**) in /usr/lib/libwx_gtk-2.4.so.0[0xb7d66fd0]
[14] main in amule[0x822dc7b]
[15] __libc_start_main in /lib/tls/libc.so.6[0x478e23]
[16] wxScrolledWindow::AdjustScrollbars() in amule[0x80cbbf1]

--------------------------------------------------------------------------------
Aborted

2. My second is how to open ports for amule?
should i change /etc/sysconfig/iptables and what rule should i add?
thanks.
Logged

reeky

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 88
Re: Two problems, One Sorrow
« Reply #1 on: April 24, 2005, 05:38:50 PM »

1)
are you using fedora wx? use wx from amule site

2)
http://www.amule.org/wiki/index.php/Firewall or install guarddog and enable ed2k protocol

bye
Logged

roy306xr

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: Two problems, One Sorrow
« Reply #2 on: April 28, 2005, 03:41:17 PM »

I tried what was written in the link, but where is the results i don't know.
is the file /etc/sysconfig/iptables should look like this:
# Firewall configuration written by system-config-securitylevel
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:RH-Firewall-1-INPUT - [0:0]
-A INPUT -j RH-Firewall-1-INPUT
-A INPUT -p tcp -m tcp --dport 4662 -j ACCEPT
-A INPUT -p udp -m udp --dport 4665 -j ACCEPT
-A INPUT -p udp -m udp --dport 4672 -j ACCEPT
-A FORWARD -j RH-Firewall-1-INPUT
-A RH-Firewall-1-INPUT -i lo -j ACCEPT
-A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
-A RH-Firewall-1-INPUT -p 50 -j ACCEPT
-A RH-Firewall-1-INPUT -p 51 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT
-A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 25 -j ACCEPT
-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
COMMIT

thanks.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Two problems, One Sorrow
« Reply #3 on: April 28, 2005, 05:39:00 PM »

well the results you should see in your amule

if you have a highID (the little earth in the top right corner is green)
or
you have a lowID (the earth is yellow)

so if green --> worked
if yellow --> did not work
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

roy306xr

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
RE: Two problems, One Sorrow
« Reply #4 on: April 28, 2005, 07:19:45 PM »

I have a new problem now :
if i update the wxGTK-common, emule stops working, i mean that i used yum and it's updates this packacge...
So what can i do? update all the other packages to?
The package is wxGTK-devel-2.4.2-1.i386.rpm and the updated is wxGTK-devel-2.4.2-7.i386.rpm
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Two problems, One Sorrow
« Reply #5 on: April 28, 2005, 07:56:12 PM »

well you cannot update your packages with yum, atleast not wxGTK and wxGTK-devel

htere is somehow a way in yum.conf to tell it to ignore teh wx-packages, but you have to google for that,

to get your amule runnign again, reinstall the old wxGTK and wxGTK-devel
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Two problems, One Sorrow
« Reply #6 on: April 28, 2005, 10:50:31 PM »

About your firewall:
Swap these two parts of your config, to make it work:

Quote
-A INPUT -j RH-Firewall-1-INPUT
Quote
-A INPUT -p tcp -m tcp --dport 4662 -j ACCEPT
-A INPUT -p udp -m udp --dport 4665 -j ACCEPT
-A INPUT -p udp -m udp --dport 4672 -j ACCEPT
That is, move the first quoted line under the next three lines. And a rule for the future: always put new lines before the reference of the RH-Firewall-1-INPUT chain.
Logged
concordia cum veritate

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Two problems, One Sorrow
« Reply #7 on: April 29, 2005, 06:31:25 AM »

isnt that the part of the grafical programm red hat brings along?
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."