Software :: Get Freetds And Sybase Up And Running On Centos Server?
Mar 9, 2010
I'm attempting to get freetds and sybase up and running on my centos server, mainly for nagios - MSSQL checks. I've installed freetds freetds-devel ok but am having issues getting SYBASE installed. I've had a go via cpan but get a failure on the sybase environment variable. I've set it to /etc where the conf file is located as well as trying /urr/lib64 for the tds libs, but no joy. Has anyone had much luck with this on centos?
export SYBASE=/etc
[root@nagios ~]# echo $SYBASE
/etc
cpan DBD::Sybase
CPAN: Storable loaded ok (v2.15)
[Code]...
View 3 Replies
ADVERTISEMENT
Jan 26, 2011
My freetds.conf
Code:
# /usr/local/etc/freetds.conf
# $Id: freetds.conf,v 1.12 2007/12/25 06:02:36 jklowden Exp $
#
# This file is installed by FreeTDS if no file by the same
# name is found in the installation directory.
[Code]...
View 2 Replies
View Related
Nov 21, 2010
I am working on a project where I need to connect to a remote MS SQL Server database with PHP from a CentOS 5.5 server. I was able to get it installed and working on my Mac OS X 10.6 laptop with unixODBC and FreeTDS. However, I am unable to get it configured on my CentOS server. unixODBC and FreeTDS were installed, but when I try to connect, I get the following error message:
Connection Failed:[unixODBC][Driver Manager]Can't open lib '/usr/lib/libtdsodbc.so.0' : /usr/lib/libtdsodbc.so.0: wrong ELF class: ELFCLASS32
From what I could find by scouring the internets,it appears that I have 32 bit unixODBC (or FreeTDS, I'm not sure) installed (libtdsodbc.so.0 is symlinked to libtdsodbc.so.0.0.0) and it needs to be 64 bit. However, when I try to install the 64 bit version with
yum install freetds.x86_64
I get a message that it is already installed.Is there something else I need to do to get around this error? I'm a developer and not a server, so I'm not sure where else to go.
View 1 Replies
View Related
May 12, 2011
i get some trouble setting up good environment in linux.i have problem regarding connecting php(under linux) to a sybase server(under windows)is there anyway connecting this two technologies?.
View 1 Replies
View Related
May 12, 2011
I get some trouble setting up good environment in linux.. i have problem regarding connecting php(under linux) to a sybase server(under windows),,, is there anyway connecting this two technologies?..
View 7 Replies
View Related
Jan 12, 2010
I need CentOS to communicate with an MS SQL Server 2000.I have installed FreeTDS and PHP and the following work:TSQL (using and selecting from the SQL Server)PHP from Shell (running a script from the shell)
View 5 Replies
View Related
Jul 5, 2011
I want to install Sybase ASE 15 on CentOS Linux 5.6 has anyone ever done that.
View 1 Replies
View Related
Aug 12, 2010
I need to reconfigure my php to have Sybase support. However, I am not sure which library to use. I'll try freetds but I am not sure if it will work. I used it before with Microsoft MSSQL.
View 3 Replies
View Related
Aug 3, 2009
Someone at work has requested if i can find out anything on the above.Been googling around as well as i have only been using Linux for 2 months now.
basically there is a SYBASE ASE installation on the server, which a tomcat based website references.They want the service to stop once a certain row limit is reached in the table.
I know i have to do a count statement on the sybase table from ISQL.But how can i create the action "service website stop" once the count value reaches 4000 ?
View 2 Replies
View Related
Jul 31, 2009
I have Centos 5.3 on our server When I log-in in webmin I have a message "Warning - Your system is actually running CentOS Linux version 5.3." In the next line I have a button "Update Detected Operating System" My question is Do I need to click the link and update Detected operating system? If I do, is it going to change any configuration on our server?
View 2 Replies
View Related
Jun 18, 2009
I'm trying to get php-fpm running to use with nginx. I usually just use spawn-fcgi, but I would like to try php-fpm this time. I was hoping that it would be as easy as yum install php-fpm, but alas, that is not so. how to get php-fpm working on CentOS?
View 1 Replies
View Related
Nov 24, 2009
I have a multiheaded setup with one X server and two displays i.e. :0.0 and :0.1. Is there a way to have one instance of an X client for example xeyes and have this displayed on both displays at the same time. I want one keyboard/mouse that controls both displays. I do not want to use Xinerama.
View 5 Replies
View Related
Apr 25, 2011
I have a CentOS 5.5 system that I am able to run fully virtualized 32-bit VM's on just fine, but I have need to run some 64-bit VM's on it. It has a "paravirtualized" option that might possibly work, but it wants a network install path, and I am not sure if this is the actual solution. When I go to create the VM I only have i686 and xen for options on the virtualized method, is there a way to add (I am presuming) amd64 in here somehow? The CPU is definitely 64-bit. My google-fu hasn't found results for me yet.
View 3 Replies
View Related
May 13, 2010
service xend status returns nothing - simply moves to next line
service xend start does the same thing
xm list
ERROR Internal error: Could not obtain handle on privileged command interface (2 = No such file or directory)
Error: Unable to connect to xend: No such file or directory. Is xend running?
View 5 Replies
View Related
Sep 7, 2009
service xend status returns nothing - simply moves to next line.service xend start does the same thing
xm list
ERROR Internal error: Could not obtain handle on privileged command interface (2 = No such file or directory)
Error: Unable to connect to xend: No such file or directory. Is xend running?
View 1 Replies
View Related
Feb 5, 2010
I just did a basic service install of Centos5 and added the RPM package install of VMware-server 2.02. but I don't the VMware service is running (based upon the flowing screen:
[root@centoshost1 vmware-mui-distrib]# ps
PID TTY TIME CMD
2925 pts/0 00:00:00 bash
22378 pts/0 00:00:00 ps
So how do i start the VM service?
View 3 Replies
View Related
Aug 16, 2009
Can we get this built into the distribution? This would really set it apart from other distributions that don't have this included. And it would most likely make a lot of PHP developer lives a bit easier.
View 7 Replies
View Related
Nov 16, 2010
Using the EPEL Repository, I went in and installed Cobbler to my DHCP/Gateway box.Everything went smoothly on the installation front. I went ahead and modified the cobbler settings file (/etc/cobbler/settings) to point to my server IP (same box), and then got tftp running properly. Now here's the problem.Normally, you need to run `cobbler check` to find issues and correct them. I run that, and all I get is blank. Nothing. It just hangs at the prompt until I kill it using CTRL+C.When I CTRL+C from the hanging, it states "cobblerd does not appear to be running/accessible"...
Code:
[root@PalaceRedirect ~]# service cobblerd status
cobblerd (pid 6991) is running...
[code]....
View 7 Replies
View Related
Sep 30, 2009
installed a new centOS 5 server, and after the installation, everything seem to work well but for httpd not running. when i try to issue the restart command i get the following error:
[root@appdev ~]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 206 of /etc/httpd/conf/httpd.conf: Cannot load
[code]....
View 3 Replies
View Related
Aug 4, 2010
I am new to linux. I want to run a server-client (c#) windows/console based application on CentOS 5.4. The code in C# has made using visual 2010. Should I use wine for this purpose or go for mono?
View 1 Replies
View Related
Jul 30, 2010
My office is on migrating to UNIX system. I am configuring Centos as our server including some program will be running on it. But one of the problem is we use foxpro for operating some program on server directly. I can run that program on Centos using DOSBox. My question is how can i run that program on winxp client that connected to network through samba to that program on server? so my plan is just give the shortcut and link it to server. I have tried to open it but not work.
View 1 Replies
View Related
Nov 18, 2009
I have been trying for days now to get this to work. didn't want to bother people with my questions, i have installed Fail2Ban 0.8.4 on CentOS 5.4.
I get the email notifications from Fail2Ban stating that it just blocked another IP, however, when i look at the iptables through webmin, nothing is actually in there, also the log/secure file dose not show that the ip has been blocked.
Even when I try to log-in with the wrong password, after a few tries i get the email telling me that my ip is blocked, however, I can still SSH using my 'blocked' IP.
View 7 Replies
View Related
Jan 31, 2010
recently i setup new LAMP server , after some days faced a strange problem? suddenly the server load goes to 100 or 80 but there is no wearied process running? the normal lod is between 0.5 to 1.5? the server have 2 hdd on hardware raid 0
[Code]...
View 18 Replies
View Related
Jan 12, 2011
I am setting up a CentOS server that has no screen connected, and only has 2 Tesla cards. I have created a minimal xorg.conf and xinitrc file that doesn't load mouse or keyboard, and only creates two screens, one for each card at 320x200x24 bit. This is so I don't waste VRAM on a framebuffer I can't see.
I modified the xinitrc to just load tdm and nothing else as GNOME is a RAM hog. I am then using this setup to render stuff offscreen using OpenGL into FBOs which I read back to CPU and process. Currently for development I just run startx& when I login. I now want to know how to set x server to start automatically at boot. The CentOS docs say that it will try to load the GNOME login manager. The thing is that I don't want a login manager as it is useless as I login remotely via SSH.So:
1 - how to enable automatic x server in CentOS (im used to Ubuntu so not sure how to do this on Red Hat variants)
2 - leave x server running without starting login manager
View 8 Replies
View Related
Feb 22, 2011
What would be the best way to determine memory consumed by each application running on the server?
View 7 Replies
View Related
May 2, 2009
We've been experiencing sudden host server crashes minutes after starting a fourth virtual machine. Our setup looks like:
Dell Poweredge T300
1 x Intel Xeon X3323 Quad Core 2.5 ghz
16 GB Ram
CentOS 5.3 (64 bit)
Server is running a stripped down version of CentOS 5.3 (64-bit), running only the built-in Xen Virtualization Environment. There is no other services running on the server (not samba, httpd, sendmail, cups... nothing except Xen) We've created several virtual machines, and as long as we don't start a fourth virtual machine everything runs smoothly (impresive hardware).
Each virtual server is configured as:
PARAVIRTUALIZED
1 Virtual CPU
1 GB RAM
However, 5 minutes or so after starting a fourth virtual machine, the entire host server crashes and restarts itself. Are we limited by the number of cores on the host machine CPU (4 cores)? 1 for the host and 3 for virtual machines? We've read in forums about other Xen setups running up to 11 virtual machines on less powerful hardware? (a dual core server). Should we be using FULLY VIRTUALIZED virtual machines instead? Is the number of XEN virtual machines in fact limited by the number of cores? If so, how can someone run several virtual machines on a single core host?
By the way, we were replacing a previous Dell Server (Poweredge 2600 with 512 MB Ram and a single Xeon single core processor running Open Virtuozzo). We were able to run up to 16 virtual machines at the same time. Of course none of the machines endured hard work (testing environments, etc). But hey, my point is that we expected to get a much higher number of virtual machines on this new hardware.
View 8 Replies
View Related
May 5, 2009
My first time installing centos server and adding it to xp home network. I am new to setting up my own network in general. I have a home windows wired ethernet xp network (simple linxs router) with 2 xp boxes and one centos5 box all connected to the same router. I just set up the centos box running tomcat on port 8080. I need to do two very basic things at this point, but am not sure what I need to do:
What do I need to do so I can:
1. Connect in firefox on one of my xp boxes and call the tomcat server running on my centos box?
2. Be able to ftp to centos box from either of my xp boxes?
View 2 Replies
View Related
Apr 27, 2011
I'm trying to open up some ports to connect via vnc to a server running Centos 5.5. I've edited /etc/sysconfig/iptables everything *looks* fine, but I still can't seem to get access to the port I've opened (I added some newlines for clarity between commands):
[Code]....
View 4 Replies
View Related
May 6, 2011
Howto show all services running/installed in the command line under Centos 5.6 Server?
View 6 Replies
View Related
Apr 13, 2010
At work we have a Sybase Adaptiver Server 9.0 database running, it has to stay there for now, and we are developing a web application that will connect to it using PHP.I was already able to make it work using ODBC on Windows and using odbc_connect on PHP.But now we are moving to Ubuntu, and we are trying to get it to work on it.I already have Apache2 and PHP5 up and running.There are two ways (I can think of) we can do this, one is using ODBC and then use "odbc_connect" and the other is making "sybase_connect" work on PHP. Being the latter probably the best one since you wouldn't have ODBC as an intermediary.
Either way, as long as it works I'm happy. ODBC would be fine to meet our requirements for now.I already have ODBC Data Source Administrator but no idea how to create/include/add the Sybase driver.We also tried setting freetds up, but that didn't work either, we might be missing something.
View 9 Replies
View Related