Ubuntu :: Mssql_connect ERROR With No Specific Info
Mar 30, 2011
I'm trying to read our companies mssql ordertracking db using php's mssql_connect. I was able to make this work when using WAMP, and I had done so by adding the same user on both machines and then applying that user name to the WAMP service. Because of viruses and poor performance... I moved the site over to ubuntu server and I have to say i am very pleased, other than I cannot make a connection to mssql now. I installed sybase5 and can see mssql is available via phpinfo. It's using freetds. I know all my connection info is correct. I can ping the machine that has mssql from the new webserver. When i try to view a test php connection page it returns nothing but a null response, and my error log just says ERROR with no specific info. I did however find out that /tmp/freetds.log returns a bunch of jibberish. ubuntu forum isn't letting me submit the whole log, so i put it on sendspace here [URL]...
I did jack around with odbc_connect but still couldn't get it to work... I feel like I am close with mssql_connect but there is some user authentication problem. why it won't return any info from the mssql db. Also I was wondering if something similar can be done with ubuntu where i applied a user to the WAMP service on my windows machine which then was able to connect to the mssql db.
I'm using ubuntu 10.04 beta 1. when I try to update & upgrade I get the following error:
Code: Setting up install-info (4.13a.dfsg.1-5ubuntu1) .../etc/environment: line 4: LC-ALL=en_US.UTF-8: command not found dpkg: error processing install-info (--configure): subprocess installed post-installation script returned error exit status 127 Errors were encountered while processing: install-info
Is there a way to get hardware specific info about a /dev?I have added a data acquisition board, and, I don't know if it has shown up in the /dev list, or how to make it do so, or even if I want it to.It is located at address 0x300, but I don't know how to get that kind of information from something listed in /dev.I have a program that accesses the board and it is working fine, but I need to run the program as root (sudo acquire_program).I have been reading about groups and permissions and there may be a way to give access to a /dev/something to a program (or group)
I have been reading about rescue CD's but haven't found out whether I can make one using my currently running Centos(centos-release-5-4.el5.centos.1 ).I tried to use a Centos cd we have here and it looks fine till it asks where the 'tree' structure is located, when I select cd it ejects it and asks the same question again. Do I need to build a rescue cd containing directory info of my specific system?This is related to wanting to fsck my file system.
I've been trying to install the latest version of Emacs from source but I'm running into a trouble. The commands "./configure" and "make" work just fine. However, when I run "sudo checkinstall" I get a message saying that makeinfo is missing:
Code: makeinfo is missing - cannot build manuals make: *** [info] Error 1 **** Installation failed. Aborting package creation. Cleaning up...OK Bye. What is Error 1
so i cannot install anything because update-info-dir file is missing from /var/lib/dpkg/info/ .. I've searched for the last day and a half for a way to fix this, but nothing. can't even update dpkg because of this. so how do I bypass or fix this so I can install stuff (this is a fresh install of ubuntu 10.04 lts Lucid Lynx).
I have a problem with Transmission. After using it for over six months without a single problem, it suddenly stopped downloading. In the torrents that do no get downloaded, I get an error message Tracker responded: Unknown error (0) in the info window, tracker tab. But there are torrents with the same tracker that don'thave a problem and get downloaded fineThe logs don't give a clue about whats wrong either.I tried downloading those torrents with Vuze and I had the same problem. What could be wrong?
I have been comileing that kinect hack with the 3d video capture. i did everything, calibrated cameras and everything else but when i try to open the final program (KinectViewer) i get back this error: Caught exception Misc::File: Error opening file CameraCalibrationMatrices-B00363201643043B.dat in mode rb. From what ive gathered off the web it is not opening it because its in binaly mode or something to that affect. any tips to fix it? is there a way to change what mode im in?
Today my computer froze a couple times while running VBox forcing me to hit the reset button on the computer, anyways, now I am getting this error: Code: An error occurred while loading or saving configuration information for evolution-alarm-notify. Some of your configuration settings may not work properly.
Code: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See [URL] for information. (Details - 1: Failed to get connection to session: Failed to connect to socket /tmp/dbus-0bZHOOZLeL: Connection refused) to be perfectly blunt with you, i dont know what ORBit is or what it is for and the file /tmp/dbus-0bZHOOZLeL doesn't exist on my computer (not even a symlink) the only network sharing apps that are running on the machine are SAMBA and IPP, according to synaptic I don't even have NFS installed on the computer.
As for evolution-alarm-notify, I don't use use evolution (unless I get a pgp encrypted email) which is highly unlikely that I will get one, I am thinking, if I remove the evolution link from my notification bar will that fix the problem?
This is the error I got when I tried to update it today. On the top the icon for the update manager is a red circle with a white line like a stop sign. When I click on it this is the error message I get. Could not initialize the package information. An unresolved problem occurred while initializing the package information.
please report this bug against "update-manager" package and include the following error message : 'E:Malformed line 54 in source list /etc/apt/sources.list (dist parse), E:The list of sources could not be read.'
I ran GDB on a program and am receiving following errors, Code: anisha@linux-uitj:~/junk> g++ -g jk.cpp anisha@linux-uitj:~/junk> gdb a.out GNU gdb (GDB) SUSE (6.8.91.20090930-2.4) Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later [URL] This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-suse-linux". For bug reporting instructions, please see: [URL] ... Reading symbols from /home/anisha/junk/a.out...done. (gdb) b readline Breakpoint 1 at 0x400b90: file jk.cpp, line 19. (gdb) r Starting program: /home/anisha/junk/a.out Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2 Try: zypper install -C "debuginfo(build-id)=591af1afa33f255704fb6a60859b93d00e205302" Missing separate debuginfo for /usr/lib64/libstdc++.so.6 Try: zypper install -C "debuginfo(build-id)=62220ad5c8941afb5d332c0c47d32f8beec8ac50" Missing separate debuginfo for /lib64/libm.so.6 Try: zypper install -C "debuginfo(build-id)=57fc1891d8d9f419fb8c7fc06a8285563b53a47e" Missing separate debuginfo for /lib64/libgcc_s.so.1 Try: zypper install -C "debuginfo(build-id)=0206e11fa8ca0db0633073adcbf1349a7871e1dc" Missing separate debuginfo for /lib64/libc.so.6 Try: zypper install -C "debuginfo(build-id)=c5a3dfd66bf61fcdec9bc22153b2fbd0d6697960" can't open input file (null) Program exited with code 01. (gdb)
After an automatic update from Debian I get the following error while starting a root terminal: An error occurred while loading or saving configuration information for gnome-terminal. Some of your configuration settings may not work properly. Failed to contact configuration server: the most common cause is a missing or misconfigured D-bus session bus daemon.
error: /usr/local/lib/python3.2/dist-packages/athletelist-1.0.0.egg-info: Permission denied m?PS. I use Ubuntu 11.04 and I am quiet new on Linux World.
How do I give permission to a logged in user to stop/start a specific service without entering a root/sudo password? So they can do a simple "service SomeService stop|start" It is for a headless Ubuntu server.
my system I want user1 and only user1 to be able to mount and unmount a specific partition, this partition contains backups and is usually mounted read only, needs to be temporarily mounted read/write by user1 while doing the backup.user1 is an unprivileged user. I've read that the user option will let any user mount the file-system (and only that user can then subsequently unmount it) and that the users option allows any user to mount or unmount the file-system.I also found this in mount's man pageQuote:The owner option is similar to the user option, with the restriction that the user must be the owner of the special file. This may be useful e.g. for /dev/fd if a login script makes the console user owner of this device. The group option is similar, with the restriction that the user must be member of the group of the special file.So it looks like I'd need a login script for that user to make the user owner of the device file (/dev/voiceserv/backup in this case)
I'm using fedora 12 with sun virtualbox and I want to install texinfo 4.9 from texinfo-4.9.tar.bz2
-I extracted the archive in a folder..........ok -In a terminal: ./configure......................ok -In the terminal: make...........................error
I am getting:
info.c: In function 'main': info.c:161: error: expected expression before '/' token info.c:327: error: expected expression before '/' token info.c:327: error: too few arguments to function 'info_add_path' ...
and a lot more. For some personnal reasons I must install it this way, I can't upgrade fedora, gcc...
Dell laptop booting from a USB stick with a CentOS 5.5 minimum installation.
Uncompressing Linux...OK, booting the kernel. Red Hat nash version 4.2.1.13 starting sda: assuming drive cache: write through sda: assuming drive cache: write through mount: error 6 mounting ext3 mount: error 2 mounting none switchroot: mount failed: 22 umount /initrd-dev failed: 2 Kernel panic - no syncing: Attempted to kill init!
1. Does minimum installation not drop on a kernel or initrd with ext3 support? I can't imagine that's true, but have to ask.
2. The USB stick is single partition ext3. Maybe there is some limitation specifically related to USB stick booting that requires boot to be FAT16 or FAT32? Except the CentOS 5.5 installer refuses to let me install on either FAT.
3. How can I do the equivalent of lsmod on a linux installation that will not boot? i.e. I have CentOS x86_64 running in VirtualBox, I can plug the USB stick in there, so how do I get information on the USB stick's kernel and initrd if I can't boot from it?
4. Is it possible to rebuild the i386 based initrd on this USB stick, when the computer is not booted from that stick, with a system that's x86_64 based?
System Info: Dell Latitude i686 Laptop which has run CentOS 5.5 and Fedora 12,13,14 in the past, and boots from Fedora 14 Live CD transferred to a USB stick. So I know USB booting is possible on this machine, and this stick.
The process of creating the stick:
CentOS 5.5 i386 on a USB stick. Old Dell i686 laptop which has previously run CentOS 5.5 installed from DVD, and has successfully booted from this same USB stick holding transferred Fedora 12,13,14 Live CDs. CentOS 5.5 was installed onto the USB drive directly by the CentOS 5.5 DVD installer (running virtualized in VirtualBox 4.02 on Mac OS X 10.6.5.). No errors or complaints during installation.
For whatever reason, the installer did not do some things correctly. First Grub wasn't working correctly, I got that sorted out and have the Grub+CentOS splash screen, it finds vmlinuz and the initrd, and then I get a kernel panic.
Ext3 was built into the kernel and that's why I'm getting this message. I do not know how the installer would have dropped a kernel or initrd during instalation that that don't contain such a basic thing that obviously comes in linux kernel 2.6.18-89 EL.
Fedora 15 software update "unspecified transaction error occurred" at system info before installing updated list. After unchecking every (no arch) update, all the rest (i686) were installed. now all (no arch)updates remain on the list to be installed.
I need to search a bunch of files in a specific folder for a specific number and add all the numbers together to a total sum. I use Rsync everyday, everytime I run rsync i get a logfile (rsync output) witch contains the textstring "Total bytes sent: xxxxxx".
The "xxxxx" can vary in lenght. I need to extract the "xxxxxx" from each file and add the numbers together to a total size over a week or a month. Is this possible? And I wish to only use bash. One way of doing stuff at a time my friends .
I have installed the files from Betavine - SuSE Linux Drivers and installed it by clicking the rpms and installing now the error is this- Vodafone Mobile Connect needs the following files and dirs with some specific permissions in order to work properly: /etc/ppp/chap-secrets should have 0660 mode, found 0666 /etc/ppp/peers should be readable and writtable by group root user Rob should be a member of group root
I'm trying to configure our mail server to block email from a specific sender reaching a specific recipient. In other words, if one of our employees is getting harassed by a 'stalker', how would one go about blocking, at the MTA (Sendmail) level, a specific sender email address from reaching a particular users inbox? We do not want to capture the email - simply block it before it consumes server resources.The Sendmail server (MTA) is a front end to our Exchange server so no user accounts exist on the Linux server. We simply use it as a SPAM and Virus scanner then forward clean email to the Exchange server.
I've been unable to boot into x using the real-time kernel from CCRMA at home. I get the error "Failed to load module "nvidia" (module-specific error,0) no drivers available. I'm using the driver from Nvidia. I know that this is not an official Fedora kernel and I should be bothering CCRMA about this, but in the mean time could I edit the entry in grub.conf so that it will use the Nouveau driver for that kernel only? That way I could "dual-boot", and just use the rt kernel when I want to use audio software and don't need 3d graphics.
I configure squid to work with squidGuard , and all thing work properly , but there is problemfirst look to this squidGuard.confdhhome /usr/local/squidGuard/dblogdir /usr/local/squidGuard/log
I want to record an internet radio station starting at 2:00am tomorrow morning. The specific program on the radio station lasts until 6:00am. The command I need to run to record the station is: Code:mplayer http://wjcu.jcu.edu:8001/listen.pls -ao pcm:file=indie_heat_of_the_night.wav -vc dummy -vo nullI'd use cron, but 1. I'm not sure how to and 2. it seems unnecessarily complicated for something that I only want to run once. If cron is the only/easiest solution, I guess I'll just have to resort to that, but I'd rather not.
I am using TB 3.0.1 on Karmic. I finally took a look at Evolution and I like the contact features. I have been looking for a replacement for ACT (I recently migrated from XP) and this looks like it might fit the bill. Is it possible to import all of my emails, contacts, folders etc from TB into Evolution. I would like to try it out and see if it works for me. I am in sales and need a program to keep track of leads.