BlackBerryForums.com : Your Number One BlackBerry Community   TaskMaster for BlackBerry   

»Sponsored Links



Reply
 
LinkBack Thread Tools
  (#521 (permalink)) Old
arslan118 Offline
New Member
 
Posts: 7
Join Date: Mar 2008
Model: 8100
PIN: N/A
Carrier: Rogers
Default 04-10-2008, 02:28 PM

Quote:
Originally Posted by qc_metal View Post
Did you guys figure this out?

On a side note, I've started a berrystats blog (BerryStats and Useful tools for BlackBerry Administrators). Probably should have an 'Issues' section where we can have frequently encountered problems/resolutions listed.

Grimlin - if you want, I can set you up with permissions to edit/add entries if you're interested (no obligation required, though!).
Thanks for checking QC-
Grimlin helped me for a few hours yesterday to get it going. It's up and running now, I owe him.
Great work guys, thanks for everyones help.
   
Reply With Quote
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#522 (permalink)) Old
qc_metal Offline
Talking BlackBerry Encyclopedia
 
qc_metal's Avatar
 
Posts: 411
Join Date: Mar 2005
Location: Rockford, IL
Model: 8703c
Carrier: Sprint
Default 04-10-2008, 06:50 PM

Quote:
Originally Posted by arslan118 View Post
Thanks for checking QC-
Grimlin helped me for a few hours yesterday to get it going. It's up and running now, I owe him.
Great work guys, thanks for everyones help.
What was the issue? Just so we can have it here for anyone else who might be having the same issue.


Provision, maintain, and report on users via web: the NEW BerryStats | FAQ
   
Reply With Quote
  (#523 (permalink)) Old
Grimlin Offline
Talking BlackBerry Encyclopedia
 
Grimlin's Avatar
 
Posts: 495
Join Date: Jun 2005
Location: Signal Mountain, TN
Model: 8800
PIN: Positive Intrinsic Negative???
Carrier: ATT
Default 04-11-2008, 08:48 AM

Quote:
Originally Posted by qc_metal View Post
Grimlin - if you want, I can set you up with permissions to edit/add entries if you're interested (no obligation required, though!).
Definitely interested. I work on this stuff in spurts though, so past performance is not indicative of future returns...


__________________
Berries Carried:
8820, 8800
7270, 8700c, 7290, 7230
7510, 6510, 5810, 957, 857, 950
   
Reply With Quote
  (#524 (permalink)) Old
Grimlin Offline
Talking BlackBerry Encyclopedia
 
Grimlin's Avatar
 
Posts: 495
Join Date: Jun 2005
Location: Signal Mountain, TN
Model: 8800
PIN: Positive Intrinsic Negative???
Carrier: ATT
Default 04-11-2008, 08:51 AM

Quote:
Originally Posted by qc_metal View Post
What was the issue? Just so we can have it here for anyone else who might be having the same issue.
It wasn't anything to do with his berrystats config. He zipped up the dir and sent it to me. I put it on my test box and it ran without any modifications. There was something wrong with his IIS install. My best guess is that he was either missing(or had a corrupted install of) the ASP engine or the XML parser. He ended up moving it to another box and running it from there.


__________________
Berries Carried:
8820, 8800
7270, 8700c, 7290, 7230
7510, 6510, 5810, 957, 857, 950
   
Reply With Quote
  (#525 (permalink)) Old
DVX Offline
Knows Where the Search Button Is
 
Posts: 17
Join Date: Apr 2008
Location: Slovakia
Model: 8100g
PIN: N/A
Carrier: GPRS
Lightbulb Getting to work the PHP BBstats - 04-14-2008, 02:28 PM

Hello.

You've done an excelent job with the BBstats. I realy appreciate it but I am not able to get it to work. I installed it on a server (hostname> ServerPHP , IP> 10.233.97.196) with apache2 and php4 running. Everything is good so far. The BES 4.1 is installed on ServerBES , IP 10.233.97.203. On the same server is installed MS SQL 2000 SP4 , IIS, BB router. The MS-SQL username is "adminsql" and password "password".

So my question is, what parameters and how should I change them in index.php and user.php to make bbstats work? (I cant see there any config.php, is there any new ver. of BBstats?)

Should I give you another information to solve my problem??

THX for everything
   
Reply With Quote
  (#526 (permalink)) Old
qc_metal Offline
Talking BlackBerry Encyclopedia
 
qc_metal's Avatar
 
Posts: 411
Join Date: Mar 2005
Location: Rockford, IL
Model: 8703c
Carrier: Sprint
Default 04-14-2008, 03:00 PM

This is the thread for ASP BerryStats, so you might not get a lot of helpful information here...it appears you want to run the PHP version, soooooo...here's the proper thread:
http://www.blackberryforums.com/bes-...errystats.html

Best regards,
Rob


Provision, maintain, and report on users via web: the NEW BerryStats | FAQ
   
Reply With Quote
  (#527 (permalink)) Old
DVX Offline
Knows Where the Search Button Is
 
Posts: 17
Join Date: Apr 2008
Location: Slovakia
Model: 8100g
PIN: N/A
Carrier: GPRS
Lightbulb 04-21-2008, 03:18 PM

QC, I wanna ask U one thing. I just realised, that your ASP version of BBstats includes also a "Add User" option. I would like to implement it also to phpberrystats, because I miss it there somehow

Im not so good in writing selects and inserts. So could you please provide me the correct selects and inserts to add this feature to PHPberry as well? It would be so helpful. Or if you do like PHP and have a little time, could you write me an instance of the Add User PHP script?

THANXX
   
Reply With Quote
  (#528 (permalink)) Old
qc_metal Offline
Talking BlackBerry Encyclopedia
 
qc_metal's Avatar
 
Posts: 411
Join Date: Mar 2005
Location: Rockford, IL
Model: 8703c
Carrier: Sprint
Default 04-22-2008, 07:39 AM

DVX - I'm not good with the PHP (if at all), but this is actually a feature of the BesUserAdminClient tool from the BES Resource kit. If you can get someone to write a PHP front-end to that, you'd be golden.

Basically you just have a form that asks for a few options like activation password timeout, user email address, a quick SQL statement that queries for Policy names (from the ITPolicy table), then populates a drop-down, then it runs the besuseradmin client tool to add the user. At the tail-end of the process, the form sends an activation email to your specified user.

Or, you could wait a little bit, I should have an updated ASP beta coming out within the next 7 days. I'm working on making the besuseradmin actions work over a BlackBerry browser - just haven't had time this last week.


Provision, maintain, and report on users via web: the NEW BerryStats | FAQ
   
Reply With Quote
  (#529 (permalink)) Old
DVX Offline
Knows Where the Search Button Is
 
Posts: 17
Join Date: Apr 2008
Location: Slovakia
Model: 8100g
PIN: N/A
Carrier: GPRS
Default 04-22-2008, 08:53 AM

Quote:
Originally Posted by qc_metal View Post
DVX - I'm not good with the PHP (if at all), but this is actually a feature of the BesUserAdminClient tool from the BES Resource kit. If you can get someone to write a PHP front-end to that, you'd be golden.

Basically you just have a form that asks for a few options like activation password timeout, user email address, a quick SQL statement that queries for Policy names (from the ITPolicy table), then populates a drop-down, then it runs the besuseradmin client tool to add the user. At the tail-end of the process, the form sends an activation email to your specified user.

Or, you could wait a little bit, I should have an updated ASP beta coming out within the next 7 days. I'm working on making the besuseradmin actions work over a BlackBerry browser - just haven't had time this last week.

OK, but the Add User function is already in your 0.31 beta. So how did you manage to implement that function to the ASP code? You've used the BES Admin tool, or how? Isn't it just some SQL Insert queries to the MS SQL database (BESMgmt) which could be performed via a script language like ASP or PHP?
   
Reply With Quote
  (#530 (permalink)) Old
qc_metal Offline
Talking BlackBerry Encyclopedia
 
qc_metal's Avatar
 
Posts: 411
Join Date: Mar 2005
Location: Rockford, IL
Model: 8703c
Carrier: Sprint
Default 04-22-2008, 08:56 AM

No - it's a very basic front-end that only queries for the ITPolicies and populates them into a drop-down so you can pick them when you add the user.

Otherwise, all other entries into the form are manual, and it passes whatever you've entered into command-line options to the besuseradmin client, which runs on the web server - I hope that helps.


Provision, maintain, and report on users via web: the NEW BerryStats | FAQ
   
Reply With Quote
  (#531 (permalink)) Old
DVX Offline
Knows Where the Search Button Is
 
Posts: 17
Join Date: Apr 2008
Location: Slovakia
Model: 8100g
PIN: N/A
Carrier: GPRS
Default 04-22-2008, 09:20 AM

Quote:
Originally Posted by qc_metal View Post
No - it's a very basic front-end that only queries for the ITPolicies and populates them into a drop-down so you can pick them when you add the user.

Otherwise, all other entries into the form are manual, and it passes whatever you've entered into command-line options to the besuseradmin client, which runs on the web server - I hope that helps.
can you please provide me a link to the correct version of the besuseradmin client that you are using? we have a BES 4.1
   
Reply With Quote
  (#532 (permalink)) Old
DVX Offline
Knows Where the Search Button Is
 
Posts: 17
Join Date: Apr 2008
Location: Slovakia
Model: 8100g
PIN: N/A
Carrier: GPRS
Lightbulb Ok - 04-22-2008, 10:56 AM

I found at https://www.blackberry.com/Downloads/browseSoftware.do an application called "BlackBerry User Administration Tool v4.1.4". It is a ZIP file, which contains a number of DLLs, tvo EXEs and one PDF. It is configured in a command line by typing "besuseradminservice -install exchange" and answering some questions. So you mean, that it is possible to run the besuseradminservice and after that to write a PHP script which would use the commands e.g. "besuseradminclient -add -p password1.." ?

That sounds not bad if it is functioning.

Last edited by DVX : 04-22-2008 at 11:02 AM.
   
Reply With Quote
  (#533 (permalink)) Old
DVX Offline
Knows Where the Search Button Is
 
Posts: 17
Join Date: Apr 2008
Location: Slovakia
Model: 8100g
PIN: N/A
Carrier: GPRS
Default besuseradmin service - 04-23-2008, 04:27 AM

I installed it on a different PC than the BES4.1 fo Exchange is installed. The BES installation was performed on a domain user name domain1\besuser and the BESuserAdmin installation on a domain user name domain1\userA. The MAPI profile is BESMAPI. I cant get them to work. There are two errors in the event viewer
- MAPILogonEx() failed (80040111) for profile: BESMAPI
- Failed to initialize MAPI session.

Do you have any clue how to solve it? Without the besuseradmin service, I cant start the Client...

THX 4 every help!
   
Reply With Quote
  (#534 (permalink)) Old
hayabusa Offline
Talking BlackBerry Encyclopedia
 
hayabusa's Avatar
 
Posts: 215
Join Date: Aug 2006
Location: Kansas
Model: 8700
Carrier: Cingular
Cool Issues with BerryStats reporting and Exchange 2007 - 05-12-2008, 11:50 AM

It looks like the sql view in berrystats will not poll the entire exchange server name from the serverDN dir. In 2007 Microsoft has changed this field spacing in the DN. So the string is longer in 2007 then 2003. The string in 2007 and 2003 I have pasted below....
================================================== =====
/o=Cargill/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn="My 2007 Exchange Server Name"/cn=Microsoft Private MDB
================================================== ======
/o=Cargill/ou=First Administrative Group/cn=Configuration/cn=Servers/cn=="My 2007 Exchange Server Name"/cn=Microsoft Private MDB
================================================== =====

In the SQL view it polls the server name by using
SUBSTRING(CAST(dbo.UserConfig.ServerDN AS varchar(100)), PATINDEX('%Servers/cn=%',
dbo.UserConfig.ServerDN) + 11, PATINDEX('%/cn=Microsoft%', dbo.UserConfig.ServerDN) - (PATINDEX('%Servers/cn=%', dbo.UserConfig.ServerDN)
+ 11)) AS ExchServer

Going forward with exchange 2007 you will not be able to use this because the spacing is different on the server DN.
Berrystats only polls the first 7 digits and does not give you the entire exchange server name for that field.

If anyone has worked on this please let me know.

Last edited by hayabusa : 05-12-2008 at 11:51 AM.
   
Reply With Quote
  (#535 (permalink)) Old
s10xtremenlow Offline
Knows Where the Search Button Is
 
Posts: 49
Join Date: Jan 2008
Model: 8330
PIN: N/A
Carrier: verizon
Default 05-13-2008, 09:28 PM

I've tried to install ASP berrystats, but having some issues. When i tried to load admin.asp i just see "BerryStats (ASP) configuration with a blue background around it and a submit button, nothing else. When i click submit, it says configuration saved.

I tried to go right to server/berrystats and after some tweaking of the different files I was able to get it to show up... Can anyone help as to why i can't see admin.asp correctly?
   
Reply With Quote
  (#536 (permalink)) Old
DW747 Offline
New Member
 
Posts: 13
Join Date: Feb 2008
Model: 8300
PIN: N/A
Carrier: O2
Default 05-15-2008, 09:59 AM

Awesome little app, wish I stumbled across this earlier!

We are evaluating a bit of software called Zenprise and it really is phenominal at pushing out "management friendly" reporting/statistics... heck it could help a salesman flog ice to an eskimo. Not to mention the amount of pro-active troubleshooting it does in an ITIL kind of way.
   
Reply With Quote
  (#537 (permalink)) Old
Highfall Offline
Knows Where the Search Button Is
 
Posts: 23
Join Date: Feb 2007
Location: Columbus
Model: 7130e
Carrier: Verizon
Default 06-10-2008, 09:07 AM

Zenprise is a good product that gets better with each new version. Great support too...
   
Reply With Quote
  (#538 (permalink)) Old
Korbyn Offline
Thumbs Must Hurt
 
Korbyn's Avatar
 
Posts: 69
Join Date: May 2005
Location: Calgary, AB
Model: 8130
Carrier: Telus
Default 06-10-2008, 12:25 PM

don't forget pricey... I would have loved to have brought it into a number of environments, but found it to be price prohibitive, especially without and enterprise licence...
   
Reply With Quote
  (#539 (permalink)) Old
Natrone Offline
Thumbs Must Hurt
 
Posts: 88
Join Date: Dec 2004
Location: Boise, ID
Model: 8300
Carrier: AT&T
Default 06-12-2008, 04:37 PM

I have a problem, seems that after we installed all the maintenance release for 4.1.4........berrystats quit working. All I get now is "No data was found that matches this criteria." No drop down menus show up for DisplayName or PIN, but they do for Status, ModelName and Inactive. Any ideas? Worked awesome for a long time and now, nothing. If I click on the Status and change it to Running, then I can see all the DisplayNames......that's the only way.
   
Reply With Quote
  (#540 (permalink)) Old
acnst Offline
BBF Moderator
 
acnst's Avatar
 
Posts: 1,367
Join Date: Aug 2004
Location: Germany
Model: 9000
PIN: not configured
Carrier: T-Mobile
Default 06-12-2008, 05:18 PM

Quote:
Originally Posted by Korbyn View Post
don't forget pricey... I would have loved to have brought it into a number of environments, but found it to be price prohibitive, especially without and enterprise licence...
Did you take a look at the alternative products - BoxTone Enterprise-class BlackBerry User-Level Monitoring & Management and www.bnator.com - Home
   
Reply With Quote
  (#541 (permalink)) Old
qc_metal Offline
Talking BlackBerry Encyclopedia
 
qc_metal's Avatar
 
Posts: 411
Join Date: Mar 2005
Location: Rockford, IL
Model: 8703c
Carrier: Sprint
Default 07-28-2008, 08:37 AM

FYI, some updates:

BerryStats and Useful tools for BlackBerry Administrators