Log File Analyzers

2005-09-04 Thread Odhiambo Washington
Hello everyone,

May someone point me towards any known good logfile analyzers for
kannel. I am especially looking for a tool to process my WAP gateway's
log files.

cheers
   - wash 
+--+-+
Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash () WANANCHI ! com  . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
+-+--+
Oh My God! They killed init! You Bastards!  
 --from a /. post



Re: Kannel crashes... no help at all?

2004-08-26 Thread Odhiambo Washington
* Vjacheslav Chekushin [EMAIL PROTECTED] [20040826 11:07]: wrote:
 Hi, Odhiambo
 
 This looks like a bug. But I think no one can't help since
 1.3.1 version is quite old and newer version (1.3.2) is exist.
 So I can advice to try 1.3.2 version and if problem will occur again,
 then write report once more.

Sure, I looked at the list today and saw that 1.3.2 was out. I am
downloading now and I hope to test and see if my problem goes away!

-Wash


++
Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash at wananchi dot com  . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
+-+--+
Oh My God! They killed init! You Bastards!  
 --from a /. post



kannel-1.3.1 wapbox core dumps !!

2004-06-12 Thread Odhiambo Washington
 /lib/libc.so.5
#2  0x48511173 in __vfprintf () from /lib/libc.so.5
#3  0x485110a6 in vfprintf () from /lib/libc.so.5
#4  0x080943c2 in output (f=0x4852c120,
buf=0xbfafeab0 2004-06-11 10:34:30 [1] DEBUG: Referer: 
http://webmail.registeredsite.com/en_US/%24sessionid%2496C03
3FD26E3CC759D58AC951682EF3C/agent/moblogin\n, args=0xbfafeedc \020) at 
gwlib/log.c:223
#5  0x08094872 in debug (place=0x0, e=0,
fmt=0x80ec980 Referer: 
http://webmail.registeredsite.com/en_US/%24sessionid%2496C033FD26E3CC759D58AC951682EF3C/agen
t/moblogin) at gwlib/log.c:368
#6  0x08082252 in wsp_headers_unpack (headers=0xf, content_type_present=1) at 
wap/wsp_headers.c:1274
#7  0x0807257f in handle_method_event (sm=0x80f6f40, msm=0x80f39a0, 
current_event=0x80ec500, pdu=0x80f3880)
at wap/wsp_server_method_states.def:61
#8  0x08071695 in handle_session_event (sm=0x80f6f40, current_event=0x80ec500, 
pdu=0x80f3880)
at wap/wsp_server_session_states.def:696
#9  0x08070ac9 in main_thread (arg=0x0) at wap/wsp_session.c:206
#10 0x0808e0ca in new_thread (arg=0x80e4af0) at gwlib/gwthread-pthread.c:284
#11 0x4815c50e in _thread_start () from /usr/lib/libc_r.so.5




Thanks in advance


cheers
   - wash 
+--+-+
Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash at wananchi dot com  . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
+-+--+
Oh My God! They killed init! You Bastards!  
 --from a /. post



Generating statistics from wap access.log

2004-05-07 Thread Odhiambo Washington
Hi

I am running a WAP gateway and would very much love to see some
statistics (on web). I am at the moment reading on awstats, but
I am not sure about the format of the logfiles.
Must I reinvent the wheel? I hope I don't have to. If someone has
a working log parser for this purpose could they kindly share?

Thanks in advance

cheers
   - wash 
+--+-+
Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash at wananchi dot com  . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
+-+--+
Oh My God! They killed init! You Bastards!  
 --from a /. post



Re: new to WAP, a basic question

2004-01-14 Thread Odhiambo Washington
* Mike Migurski [EMAIL PROTECTED] [20040114 01:46]: wrote:
 Hello,
 
 I'm new to WAP so I apologize if my questions are uninformed. I'm
 attempting to set myself up with my own WAP gateway, because Verizon's
 default MSN gateway isn't useful to me. I have attempted to use
 waptunnel.com's, but its availability has been less than passable.
 
 My question is this: is it enough to have a server with a static IP,
 running kannel's wapbox software, to have a WAP gateway?

Yes, you simply run two of kannel's apps - wapbox and bearerbox and
voila!


 There is a section in the user docs that describes modems and other associated
 hardware, but nothing else I have seen in the docs or in the past 5 months
 of this list's archives (I've checked back to August) indicates that I
 might need anything other than a valid IP address.

This is true.


 I have kannel installed, and I'm running bearerbox and wapbox (on RH 9). I
 have attempted to telnet to the configured port from a remote machine to
 verify that the server is running, and have seen connection attempts
 correctly logged by bearerbox (though not by wapbox). When I try to do
 this same thing using my handset, a Nokia 3589i, the server connection
 times out, and the bearerbox log does not register any attempt.


Perhaps you should show what your config looks like. I was once told
that once you install kannel and you believe it's running, you can use
an application called fakewap in the distro to test if your setup is
actually doing what you expect.


 What am I missing here? Could this be a case of my provider blocking my
 ability to connect to third-party gateways? 

If your box has a static IP, then the problem is in your box, not your
provider. Are you able to browse/ping other sites from your box? If so,
I believe any connections from your box to the outside (even though
originated from a wap browser) are normal TCP conections and so should
not be a problem.



 I have tried to use the same port as verizon with no success, and I
 can also connect to phone.com's gateway if I need to, so I'm not sure
 that's the issue.

Your box (wap gateway/kannel config) could be the problem here...


 Any help, explanation, or pointers to a more informative source than
 kannel.org's docs in the case of an RTFM would be greatly appreciated.

There is no source that is more informative than kannel.org's docs when
it comes to run kannel ;)

Here is my kannel.conf. You can try it out. You only need to change the
paths for the log files. The log levels are fine for testing...

# Kannel WAP/SMS gateway configuration

group = core
admin-port = 13000
wapbox-port = 13002
admin-password = CHANGE_ME
status-password = CHANGE_ME_TOO
wdp-interface-name = *
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1
admin-allow-ip = 127.0.0.1
admin-deny-ip = *.*.*.*
log-level = 3
log-file = /usr/local/kannel-1.3.1/logs/bearerbox.log
access-log = /usr/local/kannel-1.3.1/logs/access.log


group = wapbox
bearerbox-host = localhost
log-file = /usr/local/kannel-1.3.1/logs/wapbox.log
log-level = 3
syslog-level = none
access-log = /usr/local/kannel-1.3.1/logs/wapaccess.log








cheers
   - wash 
+--+-+
Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash at wananchi dot com  . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
+-+--+
Oh My God! They killed init! You Bastards!  
 --from a /. post


smime.p7s
Description: S/MIME cryptographic signature


Re: NEWBIE: A few questions...

2003-12-15 Thread Odhiambo Washington
* Mayuresh Kathe [EMAIL PROTECTED] [20031216 07:05]: wrote:
 
 On Mon, 15 Dec 2003, Odhiambo Washington wrote:
 
  Any webserver that supports site data written in xml.
 
 And that would be?
 Other an Apache perhaps...


Have you ever heard of a search engine called google? I guess not.
It's at www.google.com


cheers
   - wash 
+--+-+
Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash at wananchi dot com  . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
+-+--+
Oh My God! They killed init! You Bastards!  
 --from a /. post


pgp0.pgp
Description: PGP signature


Re: please help.

2003-10-08 Thread Odhiambo Washington
* [EMAIL PROTECTED] [EMAIL PROTECTED] [20031008 15:04]: wrote:
 Hi ,
 
 I would like to know website url's that use the kannel.org sms gateway
 for sms purpose.

So, who killed Google???

 
 I want to test them.

You believe some folks spend time to build test environments? Join them
and build one and let us test it for you when we have so much time like
you do.


 Also, i have NT server. Please guide me exactly how i can start a website
 providind free sms facilty using kannel sms gateway.

Steps of howto start a website providing free sms:

1. Clean the NT server disk using delpart.exe
2. Grab a CD for a Unix-like OS (http://www.bsdmall.org)
3. Install it and configure it.
4. Grab kannel source from the www.kannel.org
5. Install and configure it. Test it thoroughly
6. Buy some GSM modem or mobile phone
7. Get a howto about using it with kannel
8. Consigure SMS centre
9. Tell us when it is done so that we can approve ;)




cheers
   - wash 
+--+-+
Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash at wananchi dot com  . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
+-+--+
Oh My God! They killed init! You Bastards!  
 --from a /. post


smime.p7s
Description: S/MIME cryptographic signature


Re: Can I use Kannel in acheiving the following :

2003-10-06 Thread Odhiambo Washington
* Edd Dawson [EMAIL PROTECTED] [20031006 17:36]: wrote:

Edd,


Please, please, please

http://learn.to/edit_messages
http://www.netmeister.org/news/learn2quote.html


cheers
   - wash 
+--+-+
Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash at wananchi dot com  . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 |
+-+--+
Oh My God! They killed init! You Bastards!  
 --from a /. post


pgp0.pgp
Description: PGP signature


Re: kannel WAP gateway and Siemens S55 - SOLVED!

2003-09-10 Thread Odhiambo Washington
* Wash [EMAIL PROTECTED] [20030909 08:39]: wrote:
 
 Dear Ladies and Gentlemen,
 
 I have setup kannel-1.2.1 as a WAP gateway and it seems to work fine so far.
 However I have found a big problem with Siemens S55 phone. It cannot work
 with the gateway, even though other phones do.
 
 It is in this regard that I would like to request anyone who has specific
 information about this phone model to help me out. I just can't see the reason
 why it fails to use kannel as gw when other phones do.

I solved the problem by simply installing 1.3.1. Perhaps there is a bug in
1.2.1 that stopped this.

Could someone kindly show me a howto on SMS sending. I am interested in the
setup of a web frontend to send SMSes.

Thank you.


 

Best regards,
Odhiambo Washington
Wananchi Online Ltd.



___W_A_N_A_N_C_H_I__O_N_L_I_N_E__L_T_D___The People's Choice__
Wananchi Head Office|*| Tel: +254 2 313 985-9
1st Flr Loita, Loita St.|*| Fax: +254 2 313 922
10286-GPO, NAIROBI, KE  |*| e-mail: wash at wananchi dot com
--

If Microsoft would build a car...
... Occasionally your car would die on the freeway for no reason. You
would have to pull over to the side of the road, close all of the car
windows, shut it off, restart it, and reopen the windows before you
could continue. For some reason you would simply accept this.
 




kannel WAP gateway and Siemens S55

2003-09-08 Thread Odhiambo Washington

Dear Ladies and Gentlemen,

I have setup kannel-1.2.1 as a WAP gateway and it seems to work fine so far.
However I have found a big problem with Siemens S55 phone. It cannot work
with the gateway, even though other phones do.

It is in this regard that I would like to request anyone who has specific
information about this phone model to help me out. I just can't see the reason
why it fails to use kannel as gw when other phones do.

Thank you.

-Wash

cheers
   - wash 
+--+-+
Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE)  |
wash at wananchi dot com  . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI |
GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 B|
+-+--+
Oh My God! They killed init! You Bastards!  
 --from a /. post



High Availability - running bearerbox and wapbox using daemontools

2003-08-20 Thread ODHIAMBO Washington
Hello Kannel'ers,

I am new to kannel, but I have managed to configure it for a wap gateway.

Now I want a HA service from the wap gateway and daemontools seems right
tool to achieve this. The problem I am seeing is that under daemontools,
I always have an error, that I am unable to figure out a solution for.

My run file looks like this:

# less run
#!/bin/sh
# supervise script for SNORT Intrusion Database System
#
# Configuration

WAPSERVER=/usr/local/sbin/bearerbox
SERVERARGS=-v 1
CONF=/usr/local/etc/wapkannel.conf
OPTIONAL=multilog '+*'


exec  $WAPSERVER $SERVERARGS $CONF \
21 | multilog t s100 n20 ./log


The one for wapbox looks almost the same:

bash-2.05b# less ../wapbox/run 
#!/bin/sh
# supervise script for SNORT Intrusion Database System
#
# Configuration

SMSSERVER=/usr/local/sbin/wapbox
SERVERARGS=-v 1
CONF=/usr/local/etc/wapkannel.conf

exec  $SMSSERVER $SERVERARGS $CONF \
21 | /usr/local/bin/multilog t s100 n20 ./log




The errors that I get look thus:


@40003f434c841e4d31cc 2003-08-19 12:22:01 [0] ERROR: System error 48: Address 
already in use
@40003f434c841e4d493c 2003-08-19 12:22:01 [0] ERROR: Couldn't bind a UDP socket to 
port 9200
@40003f434c841e4f77d4 2003-08-19 12:22:01 [0] ERROR: System error 48: Address 
already in use
@40003f434c841e4f9714 2003-08-19 12:22:01 [0] ERROR: Couldn't bind a UDP socket to 
port 9201
@40003f434c841e4fae84 2003-08-19 12:22:01 [0] ERROR: System error 48: Address 
already in use
@40003f434c841e4fc5f4 2003-08-19 12:22:01 [0] INFO: 

@40003f434c841e4fe14c 2003-08-19 12:22:01 [0] INFO: Kannel bearerbox II version 
1.2.1 starting
@40003f434c841e505e4c 2003-08-19 12:22:01 [7] ERROR: bind failed
@40003f434c841e5079a4 2003-08-19 12:22:01 [7] ERROR: System error 48: Address 
already in use
@40003f434c841e509114 2003-08-19 12:22:01 [7] PANIC: Could not open wapbox port 
9201
@40003f434c8510800d6c 2003-08-20 13:24:59 [0] INFO: Debug_lvl = 1, log_file = 
none, log_lvl = 0
@40003f434c8512c058ac 2003-08-20 13:24:59 [0] WARNING: DLR: using default 
'internal' for storage type.
@40003f434c8512d1295c 2003-08-20 13:24:59 [0] INFO: Added logfile `/dev/null' with 
level `1'.
@40003f434c8513e6ead4 2003-08-20 13:24:59 [0] ERROR: bind failed
@40003f434c8513e70dfc 2003-08-20 13:24:59 [0] ERROR: System error 48: Address 
already in use
@40003f434c8513f74a3c 2003-08-20 13:24:59 [0] ERROR: Couldn't bind a UDP socket to 
port 9200
@40003f434c8513f7697c 2003-08-20 13:24:59 [0] ERROR: System error 48: Address 
already in use
@40003f434c851404716c 2003-08-20 13:24:59 [0] ERROR: Couldn't bind a UDP socket to 
port 9201
@40003f434c85140490ac 2003-08-20 13:24:59 [0] ERROR: System error 48: Address 
already in use
@40003f434c85141eac44 2003-08-20 13:24:59 [0] INFO: 



..yes, there are NOT any other bearerbox processes running!

bash-2.05b# sockstat -l | grep bearerbox
root bearerbox  89148 9  tcp4   *:13000   *:*
root bearerbox  89148 16 udp4   *:9200*:*
root bearerbox  89148 21 udp4   *:9201*:*
root bearerbox  89148 32 tcp4   *:9201*:*


That is same pid!


Since these errors make the log file grow so fast, I decided to symlink
the log file to /dev/null, but I surelu know this is imperfect.

Does someone have a cool/nice way of running kannel under daemontools
on FreeBSD.

I am choking with this problem.



-Wash

-- 
Odhiambo Washington   [EMAIL PROTECTED]  The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com  Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922 so I installed FreeBSD.   
GSM: +254 72 743223   +254 733 744121   This sig is McQ!  :-)


The warning message we sent the Russians was a calculated ambiguity
that would be clearly understood.
-- Alexander Haig