Please take a moment to read http://bit.ly/demandglobalchange, to help share the message and support the initiative to tell our leaders to focus on addressing the global world problems, instead of complaining about the effects of their lack of leadership. Be a leader yourself, and share this with as many people as possible. #demandglobalchange // https://www.facebook.com/demandglobalchange



Please consider donating: https://www.corelan.be/index.php/donate/


1,576 views | This page as PDF

Sharepoint WSS 3.0 Alerts don’t work

After migrating this blog from my old 2008 RC1 server to a new 2008 RTM server, I noticed that my Sharepoint alerts stopped working. I was still getting an email message when I created a new alert definition, but when an alert should have been triggered, I was not getting an email.

Conclusion : the mail server setup works fine, no issues with antivirus products. So it must have been something else.

This is a high-level overview of what I’ve done to fix the issue

First, make sure the account that is used to run the "Windows Sharepoint Services Timer" Service has access to the content database(s) of your Sharepoint site(s).

Next, determine the url of your Sharepoint site. In my case, this is https://petersblog.dyndns.org:8899 (you’ll need the URL in the commands below)

Run the following commands : (The first 2 will show you whether alerts are enabled, the last 3 will first disable alerts, enable the timer, and enable alerts again)

stsadm -o getproperty -propertyname alerts-enabled -url https://petersblog.dyndns.org:8899

stsadm -o getproperty -propertyname job-immediate-alerts -url https://petersblog.dyndns.org:8899

stsadm -o setproperty -propertyname alerts-enabled -propertyvalue false -url https://petersblog.dyndns.org:8899

stsadm -o setproperty -propertyname job-immediate-alerts -url https://petersblog.dyndns.org:8899 -propertyvalue "every 5 minutes between 0 and 59"

stsadm -o setproperty -propertyname alerts-enabled -propertyvalue true -url https://petersblog.dyndns.org:8899

Usually, stsadm is located under C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\BIN

After running the two first command again (with the getproperty parameter), I’m now getting

C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\BIN>stsadm -o getproperty -propertyname alerts-enabled -url https://petersblog.dyndns.org:8899

C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\BIN>stsadm -o getproperty -propertyname job-immediate-alerts -url https://petersblog.dyndns.org:8899

Now restart the "Windows Sharepoint Services Timer" service. After a couple of minutes, the alerts started to flow again.

2008, Corelan Team (corelanc0d3r). All rights reserved.

Related Posts:

Comments are closed.

Corelan Live training

Since 2011, Corelan GCV has been teaching live win32 exploit dev classes at various security cons and private companies & organizations.

You can read more about the training and schedules here

Demand Global Change

The world needs your help !

Please take a few moments to read the "Demand Global Change Call For Action" document at
http://bit.ly/demandglobalchange
Read the full document at
http://bit.ly/demandglobalchange_full and share the message with as many people as possible.

Like the Facebook page, and SHARE it with everyone you know.



Donate

Want to support the Corelan Team community ? Click here to go to our donations page.

Want to donate BTC to Corelan Team?



Your donation will help funding server hosting.

Protected by Copyscape Web Plagiarism Tool

Corelan Team Merchandise

You can support Corelan Team by donating or purchasing items from the official Corelan Team merchandising store.

Corelan on IRC

You can chat with us and our friends on #corelan (freenode IRC)

Categories