Skip to Content.
Sympa Menu

freetds - [freetds] Unable to connect to server- cron job

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Atul Dhanorker <adhanorker AT bsec.net>
  • To: "freetds AT lists.ibiblio.org" <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Unable to connect to server- cron job
  • Date: Wed, 6 Feb 2013 09:42:38 -0600

Dear All,

I have recently installed FreeTDS to connect to sql server
2008. The php script works fine when I am running it through browser but
using cron to run the same php file produces the following error:

PHP Warning: mssql_connect(): Unable to connect to server: BS in
/var/www/report/inventory.php on line 29

Any advice would be helpful.

Atul Dhanorker


________________________________
THIS MESSAGE AND ANY INFORMATION OR ATTACHMENTS INCLUDED IS FOR THE SOLE USE
OF THE INTENDED RECIPIENT(S) AND MAY CONTAIN CONFIDENTIAL OR PRIVILEGED
INFORMATION. ANY UNAUTHORIZED REVIEW, USE, COPY, DISCLOSURE OR DISTRIBUTION
OF THIS MESSAGE OR ATTACHMENTS IS STRICTLY PROHIBITED AND MAY BE SUBJECT TO
PENALTY ACCORDING TO FEDERAL LAW 22 U.S.C. 2778 OF THE ARMS EXPORT CONTROL
ACT. IF YOU ARE NOT AN INTENDED RECIPIENT, PLEASE NOTIFY THE SENDER BY RETURN
E-MAIL AND DESTROY ALL COPIES OF THE MESSAGE AND ANY ATTACHEMENTS.

TECHNICAL INFORMATION IDENTIFIED AS ITAR OR EXPORT CONTROLED IS REGULATED BY
U.S. EXPORT LAW AS CONTAINED IN THE INTERNATIONAL TRAFFIC IN ARMS REGULATIONS
(ITAR). THIS TECHNICAL INFORMATION IS NOT TO BE PLACED IN THE PUBLIC DOMAIN,
EXPORTED FROM THE U.S., OR GIVEN TO ANY FOREIGN PERSON IN THE U.S., WITHOUT
THE PRIOR, SPECIFIC WRITTEN AUTHORIZATION FROM THE ORIGINATING SOURCE AND THE
U.S. DEPARTMENT OF STATE OR THE U.S. DEPARTMENT OF COMMERCE AS APPLICABLE.




Archive powered by MHonArc 2.6.24.

Top of Page