Forums  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Member List  Search  FAQ  Ticket List  Log Out

 

Error sending SMS alert

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Networking & Security] >> GFI Network Server Monitor >> Error sending SMS alert Page: [1]
Login
Message << Older Topic   Newer Topic >>
Error sending SMS alert - 6.Oct.2009 10:47:05 PM   
RAK153

 

Posts: 20
Joined: 15.Jun.2009
Status: offline
Hi

I am trying to configure NSM 7.0 to send text alerts to one of our users. I am using a Nokia 6121 mobile phone which has a built in modem.

The phone is installed and I can successfully send a text message using Hyper Terminal however I cannot send SMS messages from NSM.

- The user has SMS alerts enabled
- I know the check is working because I also send a network alert to the same user which works fine
- The baud rate is set to 9600 in NSM and in device manager
- The phone number is in the format +61xxxxxxxx
- I am using In-built GSM SMS Server
- In the gficomms.gfi_log.txt file I find the following error message (I've replaced my phone # for obvious reasons):

2009-10-07,16:42:13,610,4,"#00000bb4","#00000da4","section","gficomms","gficomms_c::send_sms_text"
2009-10-07,16:42:13,610,3,"#00000bb4","#00000da4","info   ","gficomms","simple_gsm_c::simple_gsm_c()"
2009-10-07,16:42:13,610,3,"#00000bb4","#00000da4","info   ","gficomms","simple_gsm_c::init(07551b88)"
2009-10-07,16:42:13,610,2,"#00000bb4","#00000da4","warning","gficomms","xmlparser_c::findinititem _ no items found."
2009-10-07,16:42:13,610,2,"#00000bb4","#00000da4","warning","gficomms","xmlparser_c::findinititem _ no items found."
2009-10-07,16:42:13,610,2,"#00000bb4","#00000da4","warning","gficomms","xmlparser_c::findinititem _ no items found."
2009-10-07,16:42:13,610,2,"#00000bb4","#00000da4","warning","gficomms","xmlparser_c::findinititem _ no items found."
2009-10-07,16:42:13,610,2,"#00000bb4","#00000da4","warning","gficomms","simple_gsm_c::init _ SMSC empty. Defaulting to what is currently stored on SIM card."
2009-10-07,16:42:13,610,3,"#00000bb4","#00000da4","info   ","gficomms","simple_gsm_c::init _ COM port: 6 , SMSC: '' , INIT: '' ."
2009-10-07,16:42:13,610,3,"#00000bb4","#00000da4","info   ","gficomms","simple_gsm_c::send_sms_text(+64xxxxxxxxx, 10/07/2009 16:41:59 Check:Test1 - File Existence file 'C:\Documents and Settings\Administrator.RAKON\Desktop\test.txt'(Test1) Status:'Failed' Reason:File does n)"
2009-10-07,16:42:15,110,1,"#00000bb4","#00000da4","error  ","gficomms","simple_gsm_c::send_sms_text _ gsmdrvSendSMS() failed."
2009-10-07,16:42:15,110,1,"#00000bb4","#00000da4","error  ","gficomms","gficomms_c::send_sms_text _ psdkbase->send_sms_text('+64xxxxxxxxx', '10/07/2009 16:41:59 Check:Test1 - File Existence file 'C:\Documents and Settings\Administrator.RAKON\Desktop\test.txt'(Test1) Status:'Failed' Reason:File does n') failed."

I have not configured an initialization string for the modem - does there need to be one?
What is the correct format for the phone number?

Thanks

Ben
Post #: 1
RE: Error sending SMS alert - 7.Oct.2009 7:59:30 AM   
DrewE

 

Posts: 1058
Joined: 28.Apr.2008
From: Cary, NC
Status: offline
There are likely some other Debug Logs with either "GSM" or "COM" in the filename. Do you see any of these?

_____________________________

Drew Easley - Technical Support Representative
GFI Software - www.gfi.com

(in reply to RAK153)
Post #: 2
RE: Error sending SMS alert - 7.Oct.2009 9:45:43 PM   
RAK153

 

Posts: 20
Joined: 15.Jun.2009
Status: offline
Do I need to enable debug logging to get the other log files to show up? I did find the following from the file 'gsm_fax_COM4.gfi_log.txt' though the error is from a over a week ago.

2009-09-21,16:54:52,013,3,"#00000d28","#00000884","info ","gsm_fax_COM4","log started - advcom_c v12.2.120 (+GSM) : device: 'COM4'"
2009-09-21,16:54:52,013,3,"#00000d28","#00000884","info ","gsm_fax_COM4","Trying to read advanced option string from registry subkey: 'SOFTWARE\GFI\NSM7\config'"
2009-09-21,16:54:55,591,3,"#00000d28","#00000884","info ","gsm_fax_COM4","-> 'ATZ'"
2009-09-21,16:58:00,091,3,"#00000d28","#00000884","info ","gsm_fax_COM4","log started - advcom_c v12.2.120 (+GSM) : device: 'COM4'"
2009-09-21,16:58:00,091,3,"#00000d28","#00000884","info ","gsm_fax_COM4","Trying to read advanced option string from registry subkey: 'SOFTWARE\GFI\NSM7\config'"
2009-09-21,16:58:01,654,3,"#00000d28","#00000884","info ","gsm_fax_COM4","open - CreateFile failed."

Note that NSM is installed on a x64 bit server so the registry path 'SOFTWARE\GFI\NSM7\config' does not exist. The correct path should be 'SOFTWARE\Wow6432Node\GFI\NSM7\config'.

Thanks

Ben

(in reply to DrewE)
Post #: 3
RE: Error sending SMS alert - 8.Oct.2009 9:20:29 AM   
DrewE

 

Posts: 1058
Joined: 28.Apr.2008
From: Cary, NC
Status: offline
Yes, you do need to enable Debug Logging first, before sending another test:

1. Set registry key hklm\software\Wow6432Node\gfi\nsm7\config\debug to 1
2. Set registry key hklm\software\Wow6432Node\gfi\nsm7\config\debuglevel to 7
3. Restart the GFI NSM Services from Windows services

_____________________________

Drew Easley - Technical Support Representative
GFI Software - www.gfi.com

(in reply to RAK153)
Post #: 4
RE: Error sending SMS alert - 8.Oct.2009 6:31:04 PM   
RAK153

 

Posts: 20
Joined: 15.Jun.2009
Status: offline
Hi. I've enabled debug logging. There are three different logs with the relavent bits posted below.

C:\Program Files (x86)\GFI\Network Server Monitor 7\DebugLogs\gsm_fax_COM4.gfi_log.txt

2009-10-09,12:15:09,018,3,"#00000230","#00000d20","info   ","gsm_fax_COM4","-> 'AT+CMGS="+6421xxxxxxx"'"
2009-10-09,12:15:09,534,3,"#00000230","#00000d20","info   ","gsm_fax_COM4","<- <62>"
2009-10-09,12:15:09,534,3,"#00000230","#00000d20","info   ","gsm_fax_COM4","-> '10/09/2009 12:11:55 Check:Aklfacsrv03 - File Existence file 'C:\Documents and Settings\Administrator\Desktop\test.txt'(Aklfacsrv03) Status:'Succeeded' Rea '"
2009-10-09,12:15:40,034,3,"#00000230","#00000d20","info   ","gsm_fax_COM4","-> '10/09/2009 12:11:55 Check:Aklfacsrv03 - File Existence file 'C:\Documents and Settings\Administrator\Desktop\test.txt'(Aklfacsrv03) Status:'Succeeded' Rea '"
2009-10-09,12:15:40,549,3,"#00000230","#00000d20","info   ","gsm_fax_COM4","<- 'ERROR'"
2009-10-09,12:16:10,549,3,"#00000230","#00000d20","info   ","gsm_fax_COM4","-> '10/09/2009 12:11:55 Check:Aklfacsrv03 - File Existence file 'C:\Documents and Settings\Administrator\Desktop\test.txt'(Aklfacsrv03) Status:'Succeeded' Rea '"
2009-10-09,12:16:11,065,3,"#00000230","#00000d20","info   ","gsm_fax_COM4","<- 'ERROR'"

C:\Program Files (x86)\GFI\Network Server Monitor 7\DebugLogs\gficomms.gfi_log.txt

2009-10-09,12:13:30,956,1,"#00000230","#00000d20","error  ","gficomms","gficomms_c::send_sms_text _ psdkbase->send_sms_text('+6421xxxxxxx', '10/09/2009 12:11:55 Check:Aklfacsrv03 - File Existence file 'C:\Documents and Settings\Administrator\Desktop\test.txt'(Aklfacsrv03) Status:'Succeeded' Rea') failed."
2009-10-09,12:13:30,956,3,"#00000230","#00000d20","info   ","gficomms","simple_gsm_c::~simple_gsm_c()"
2009-10-09,12:13:33,956,3,"#00000230","#00000d20","info   ","gficomms","simple_gsm_c::simple_gsm_c()"
2009-10-09,12:13:33,956,3,"#00000230","#00000d20","info   ","gficomms","simple_gsm_c::init(00df3fa0)"
2009-10-09,12:13:33,956,2,"#00000230","#00000d20","warning","gficomms","xmlparser_c::findinititem _ no items found."
2009-10-09,12:13:33,956,2,"#00000230","#00000d20","warning","gficomms","xmlparser_c::findinititem _ no items found."
2009-10-09,12:13:33,956,2,"#00000230","#00000d20","warning","gficomms","xmlparser_c::findinititem _ no items found."
2009-10-09,12:13:33,956,2,"#00000230","#00000d20","warning","gficomms","xmlparser_c::findinititem _ no items found."
2009-10-09,12:13:33,956,2,"#00000230","#00000d20","warning","gficomms","simple_gsm_c::init _ SMSC empty. Defaulting to what is currently stored on SIM card."
2009-10-09,12:13:33,956,3,"#00000230","#00000d20","info   ","gficomms","simple_gsm_c::init _ COM port: 4 , SMSC: '' , INIT: '' ."
2009-10-09,12:13:33,956,3,"#00000230","#00000d20","info   ","gficomms","simple_gsm_c::send_sms_text(+6421xxxxxxx, 10/09/2009 12:11:55 Check:Aklfacsrv03 - File Existence file 'C:\Documents and Settings\Administrator\Desktop\test.txt'(Aklfacsrv03) Status:'Succeeded' Rea)"
2009-10-09,12:15:06,018,1,"#00000230","#00000d20","error  ","gficomms","simple_gsm_c::send_sms_text _ gsmdrvSendSMS() failed.

C:\Program Files (x86)\GFI\Network Server Monitor 7\DebugLogs\Nsmengine\StatusComm.log

2009-10-09,12:18:31,909,3,"#00000230","#00000238","info   ","StatusComm","CStatusComm::SetCheckStatusUpdate : Seek Stream"
2009-10-09,12:18:31,909,3,"#00000230","#00000238","info   ","StatusComm","CStatusComm::SetCheckStatusUpdate : Set size"
2009-10-09,12:18:31,909,3,"#00000230","#00000238","info   ","StatusComm","CStatusComm::SetCheckStatusUpdate : write Stream"
2009-10-09,12:18:31,909,3,"#00000230","#00000238","info   ","StatusComm","CStatusComm::SetCheckStatusUpdate : CallPRocessdata"
2009-10-09,12:18:31,909,3,"#00000230","#00000238","info   ","StatusComm",">>CStatusComm::CallProcessData:"
2009-10-09,12:18:31,909,3,"#00000230","#00000238","info   ","StatusComm",">> CStatusComm::Initialize()"
2009-10-09,12:18:31,909,3,"#00000230","#00000238","info   ","StatusComm","CStatusComm::Initialize Loaded Module"
2009-10-09,12:18:31,909,3,"#00000230","#00000238","info   ","StatusComm","CStatusComm::Initialize called m_FInitialize"
2009-10-09,12:18:31,909,3,"#00000230","#00000238","info   ","StatusComm","CStatusComm::Initialize m_FInitialize succeeded"
2009-10-09,12:18:31,909,3,"#00000230","#00000238","info   ","StatusComm","<< CStatusComm::Initialize()"
2009-10-09,12:18:31,909,3,"#00000230","#00000238","info   ","StatusComm","CStatusComm::CallProcessData: Initialize"
2009-10-09,12:18:31,909,3,"#00000230","#00000238","info   ","StatusComm","CStatusComm::CallProcessData: GetProcAddress"
2009-10-09,12:18:31,924,3,"#00000230","#00000238","info   ","StatusComm","CStatusComm::CallProcessData:call to fprocessdata"
2009-10-09,12:18:31,924,3,"#00000230","#00000238","info   ","StatusComm","CStatusComm::CallProcessData:call to getlasterror"
2009-10-09,12:18:31,924,3,"#00000230","#00000238","info   ","StatusComm","CStatusComm::CallProcessData: uninitialize"
2009-10-09,12:18:31,924,3,"#00000230","#00000238","info   ","StatusComm",">> CStatusComm::UnInitialize()"
2009-10-09,12:18:31,924,3,"#00000230","#00000238","info   ","StatusComm","CStatusComm::UnInitialize GetProcAddress"
2009-10-09,12:18:31,924,3,"#00000230","#00000238","info   ","StatusComm","CStatusComm::UnInitialize fUninitialize"
2009-10-09,12:18:31,924,3,"#00000230","#00000238","info   ","StatusComm","CStatusComm::UnInitialize getlasterror"
2009-10-09,12:18:31,924,3,"#00000230","#00000238","info   ","StatusComm","<< CStatusComm::UnInitialize()"
2009-10-09,12:18:31,924,3,"#00000230","#00000238","info   ","StatusComm","<<CStatusComm::CallProcessData:"
2009-10-09,12:18:31,924,3,"#00000230","#00000238","info   ","StatusComm","<< CStatusComm::SetCheckStatusUpdate"

(in reply to DrewE)
Post #: 5
RE: Error sending SMS alert - 9.Oct.2009 8:06:08 AM   
DrewE

 

Posts: 1058
Joined: 28.Apr.2008
From: Cary, NC
Status: offline
This error is the one I am most interested in:

quote:

"gficomms","simple_gsm_c::init _ SMSC empty. Defaulting to what is currently stored on SIM card."


Did you fill in any settings for the "Service Center Number" within GFI Network Server Monitor? You may need to obtain this from your wireless provider.

_____________________________

Drew Easley - Technical Support Representative
GFI Software - www.gfi.com

(in reply to RAK153)
Post #: 6
RE: Error sending SMS alert - 11.Oct.2009 5:02:07 PM   
RAK153

 

Posts: 20
Joined: 15.Jun.2009
Status: offline
Hi

I have entered the Service Center Number on the Alerting Options page (which is the same as the one stored on the phone). I am now getting a different error message - "send_sms_text _ gsmdrvInit() failed". The updated C:\Program Files (x86)\GFI\Network Server Monitor 7\DebugLogs\gficomms.gfi_log.txt  is below:

2009-10-12,10:40:00,888,3,"#00000648","#000007d8","info   ","gficomms","simple_gsm_c::simple_gsm_c()"
2009-10-12,10:40:00,888,3,"#00000648","#000007d8","info   ","gficomms","simple_gsm_c::init(00df3fa0)"
2009-10-12,10:40:00,888,2,"#00000648","#000007d8","warning","gficomms","xmlparser_c::findinititem _ no items found."
2009-10-12,10:40:00,888,2,"#00000648","#000007d8","warning","gficomms","xmlparser_c::findinititem _ no items found."
2009-10-12,10:40:00,888,2,"#00000648","#000007d8","warning","gficomms","xmlparser_c::findinititem _ no items found."
2009-10-12,10:40:00,888,2,"#00000648","#000007d8","warning","gficomms","xmlparser_c::findinititem _ no items found."
2009-10-12,10:40:00,888,3,"#00000648","#000007d8","info   ","gficomms","simple_gsm_c::init _ COM port: 4 , SMSC: '+6421600600' , INIT: '' ."
2009-10-12,10:40:00,888,3,"#00000648","#000007d8","info   ","gficomms","simple_gsm_c::send_sms_text(+642xxxxxxx, 10/12/2009 10:38:18 Check:Aklfacsrv03 - File Existence file 'C:\Documents and Settings\Administrator\Desktop\test.txt'(Aklfacsrv03) Status:'Succeeded' Rea)"
2009-10-12,10:40:02,450,1,"#00000648","#000007d8","error  ","gficomms","simple_gsm_c::send_sms_text _ gsmdrvInit() failed."
2009-10-12,10:40:02,450,1,"#00000648","#000007d8","error  ","gficomms","gficomms_c::send_sms_text _ psdkbase->send_sms_text('+6421xxxxxx', '10/12/2009 10:38:18 Check:Aklfacsrv03 - File Existence file 'C:\Documents and Settings\Administrator\Desktop\test.txt'(Aklfacsrv03) Status:'Succeeded' Rea') failed."
2009-10-12,10:40:02,450,3,"#00000648","#000007d8","info   ","gficomms","simple_gsm_c::~simple_gsm_c()"

Thanks

Ben

(in reply to DrewE)
Post #: 7
RE: Error sending SMS alert - 12.Oct.2009 8:07:31 AM   
DrewE

 

Posts: 1058
Joined: 28.Apr.2008
From: Cary, NC
Status: offline
Would you be able to open a support request online at http://support.gfi.com/Support/support.aspx?lcode=en so we can best assist you with this trouble?

_____________________________

Drew Easley - Technical Support Representative
GFI Software - www.gfi.com

(in reply to RAK153)
Post #: 8
RE: Error sending SMS alert - 22.Oct.2009 8:26:52 PM   
RAK153

 

Posts: 20
Joined: 15.Jun.2009
Status: offline
Hi

I have logged a job. Case number is: GFI-091023-26764.

Thanks

Ben

(in reply to DrewE)
Post #: 9
Page:   [1]
All Forums >> [Networking & Security] >> GFI Network Server Monitor >> Error sending SMS alert Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts