General :: Script To Look For Connections Running In A Database?

Jul 25, 2011

how do I create a shell script that looks for connections running on a oracle database. e.g connection name is CONNECT and database name is DBTEST. I want to know what processes with the name CONNECT are running in database called DBTEST. Am creating the script on the server side. I know about the ps -ef | grep command but how to point to a particular database I don't know.

View 4 Replies


ADVERTISEMENT

General :: Application Running As User Foo Log Onto Database As (database) User Foobar?

Jan 5, 2011

I am writing a simple application that will run as user foo (i.e. Ubuntu user foo).However, the application will connect to my database as (database user foobar). IIRC, database users have nothing to do with Linux system users - but I just need to clarify that.So can an app launched to run as user 'foo', connect to a database as user 'foobar'?

View 1 Replies View Related

General :: Accessing - Connecting To A Sybase Database From PHP Running

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

Networking :: Configure A Reverse Proxy For Oracle Database Connections?

Mar 4, 2010

I'm trying to configure a reverse proxy for Oracle Database connections. What I have:

Host outside --> Reverse proxy --> Oracle Database

The "Revese proxy" has two IP, one for local and another for outside.I've tried with iptables, but unable.Now I'm trying with "redir".When I do a tnsping database, it works and says OK. But executing sqlplus user/pass@database, it tries to connect but time later I receive a timeout. What i do is a redir from port 1521 in "Reverse proxy" to 1521 in "Oracle database" why this doesn't work or any other way to do it?

View 1 Replies View Related

General :: Monitor Database IO And Available Database Threads?

Mar 7, 2011

am using zabbix open source solution for systems monitoring. I am facing a problem and discussed it on zabbix forum. my post was as "My zabbix server is behaving abnormally, approximately daily from 9 to 12, the server stop accumulating logs. I observed that the server report is RUNNING but it did not accumulate log values and also the machine have no extra load. Its shown in the graph image attached.t the following reply,"database performance?are you monitoring database IO and available database threads? "So any one have any idea that how can I do this as I am using MySQL as backend database on RHEL 3.

View 1 Replies View Related

Ubuntu :: 2 Pptp Vpn Connections - When I Dial One Of My Vpn Connections, My Other Vpn Connections Be Disabled?

Feb 7, 2011

have a problem with my network-manager in ubuntu 10.10.when I dial one of my vpn connections, my other vpn connections be disabled and I can't use them!I tried to restart network-manager and gnome-panel, but it does't seem to solve this problem.

View 1 Replies View Related

Programming :: Accessing A Sybase Database From PHP Running?

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

Red Hat :: Talk Daemon Running But Not Accepting Connections

Mar 29, 2010

I have installed talk on centos, turned it on by editing xinetd.d/talk and setting disable=no.I have restarted xinetd (service xinetd restart) and verified that talk is configured to start (chkconfig --status-all).what am i missing? shouldn't either port 517 or 518 respond to telnet? what else can i do to get talk running?

View 2 Replies View Related

Red Hat :: Allow 100 Incoming Connections To Server Running Smtp?

Feb 24, 2010

I want to allow 100 incoming connections to my linux server running smtp. I know that tcpserver -c will set the limit of allowed incoming connections, but how can I tell what the currently set limit is?

View 4 Replies View Related

Programming :: Checking Database It Running Or Not By Using Shell Script?

Jul 21, 2011

1. i need to check whether the oracle database is running or not if it is running it will run auto mount script.nohup /u01/app/oracle/product/11.2.0/dbhome_1/bin/dbfs_client dbfs@xxxxx -o allow_other,direct_io /u01/app/oracle/DBFS/XXXXX < /home/oracle/passwd_dbfs.txt&nohup /u01/app/oracle/product/11.2.0/dbhome_1/bin/dbfs_client dbfs@xxxxxx -o allow_other,direct_io /u01/app/oracle/DBFS/XXXXX < /home/oracle/passwd_dbfs.txt &2. For every 1 hour i need to check above mount points is mounted or not if it is not mounted it should be mounted.

View 3 Replies View Related

Ubuntu Networking :: Cannot Connect To Direct (hotel) Wired Connections Since Running Ppoeconf

Jul 30, 2010

i'm currently travelling in across Japan and facing difficulties connecting to hotel's ethernet connections under ubuntu 10.0.4- when plugging in the ethernet cable nothing happens- rebooting doesn't change anything either.this wasn't a problem before, and i can connect to hotel's ethernet under windows 7 which i'm currently using to post this, but something doesn't work under ubuntu, which is now my main os.

staying at my inlaw's house for a while, i ran pppoeconf to use their optical fibre connection, which worked, but also seems to be the root of the problems i'm now facing to go online via ethernet elsewhere. it seems like pppoeconf disabled something.

View 4 Replies View Related

Security :: Policy That Limits Connections On Port - Encapsulates Total Sum Of All Connections From Hosts?

Jan 21, 2011

Is it fair to say that connLimit and hashlimit are very similiar on Linux i.e. while hashlimit caters to limits for groups of ports, they both set the connection rate limit per host? How in IPTables, do I configure a policy that limits connections on a port that encapsulates the total sum of all connections from all hosts? i.e. I do not want to allow more than 6000conn/minute for port range that is the sum of all connecting hosts?

View 3 Replies View Related

Fedora Installation :: Network Connections Is Inactive - Cannot Set Internet Connections

May 30, 2011

I recently installed Fedora 15 now, and during installation I set the internet connection manually, then did update and after reboot, the internet connection settings have been removed. Now I can not set because the network connection to the Internet Connection is inactive. I mention that before the update was functional internet connection.

View 5 Replies View Related

Server :: Database Stopped Showing Up - Files Still There - Restore The Database From The Files?

Jul 8, 2011

I recently moved into a new place and when I hooked up my webserver, I wasn't able to bring up my page, even from localhost. With some digging, it seems that I can't access the database that housed my posts (wordpress installation). I looked for the datadir in MySQL and that directory shows the wordpress directory that should be holding the database and all the files are still there. 1) why the database no longer shows up 2) how to restore the database from the files?

View 2 Replies View Related

General :: Why Does Running A Program In Bash Work, When Running It In The Menu Doesn't?

Jul 26, 2010

I presume there is something in the JWM window manager - or Puppy Linux Lupu 5.01 itself that is conflicting with the normal loading of GMPLAYER....

I would like to know how to troubleshoot, and fix this problem if possible (even a workaround would be great).

View 1 Replies View Related

General :: Shifting Database From 32 Bit To 64 Bit?

Jan 12, 2011

I have been ordered to transfer my database running on oracle 10g on linux 32 bit OS to linux 64 bit. I need to know the advantages of 64 bit over 32 bit. Besides i would like to know if would face any difficulty while i migrate the database from 32 bit to 64 bit.

View 3 Replies View Related

General :: Disallow New Ssh Connections For A While?

Jan 6, 2011

What is the best way to disallow new ssh connections for the duration of my session ?

I want to evade read/write collisions. Things work like that - one session put files on server, other copies these files and then deletes them. So in order to evade collision:

- I check if there are no established connections.

- Then I deny new connections temporarily.

- Do the job.

- Allow new connections again.

Maybe there are better ways to achieve the same result ?

View 1 Replies View Related

General :: Mysql Best SQL Database Gui Tool

Mar 25, 2010

Specifically I'm looking for a native Linux program that is similar in functionality to Navicat or SQLYog. I.e. I need something good at editing data. Free would be best, but not essential.

View 9 Replies View Related

General :: MySql Database From Usb Stick

Jul 30, 2011

I recently installed a portable WAMP server on my usb stick. Really nice, I can do some php programming on my girlfriend's windows7 laptop without installing anything on it.I also have a LAMP environnement on my linux computer.When I plug my usb stick on my linux box, I can easily mount -o bind /usbstick/wwwfolder ~/public_html and work on my php script from there.

But my question is, is there a way I could get the database from my usb stick's MySql server, to run on my linux MySql server? So I can modify data base schema from my Linux workstation, doing some INSERTS in some tables, and then plub my usb stick on the laptop and get my up-to-date database running from the portable environnement?I don't know where / how MySql stores its databases. Basically, I want to "mount" the database from the usb stick in my Linux' installed MySql server, without extracting and importing the data, so there is just ONE database used for BOTH environnement.

View 3 Replies View Related

General :: Parsing A File Into Database?

Jul 14, 2010

parsing the text file in perl.I have very large text file with plenty of columns and rows.how can i parse the file into Oracle database.

View 3 Replies View Related

General :: Getting 2 Computers To Share Same Database?

Mar 11, 2010

I would like 2 computers (same network) to use the same SQL database. How should I start?

View 2 Replies View Related

General :: Database Application Using MYSQL

Mar 24, 2010

I posted a thread regarding a CD Base Application. I can run the program, but for some reason It does not seem to work properly.

For some reason in exits the program back to the command prompt. I am using the code from Linux programming 4th edition which you can get it from here...and in the folder ch08/app you will find all you need to create the CD database application.

View 1 Replies View Related

General :: Can't Connect To Remote Database

Nov 16, 2010

I'm trying to connect to a remote database but can't connect directly (I think due to security reasons). Here's the setup:

Computer A - my computer
Computer B - server, I can SSH to this from computer A
Computer C - server that runs database, I can SSH to this from B but can't from A

Any ideas how I can can connect to C directly from A? I think I need to setup a tunnel or something like that but I can't figure it out.

View 3 Replies View Related

General :: Commands For Mysql Database

Nov 26, 2010

I am not having any knowledge of mysql database & in my present jobs i have to solve problem on mysql database. need some commands which are used regularily in database.

View 1 Replies View Related

General :: Copy Mysql Database

Mar 8, 2010

I want to migrate a mysql databases from a old server to a new server ( Redhat ) , can advise what I need to do ,is it just copy all .frm , .MYI & .MYD files to new server will do ? or I need to do export and inport data ?

View 12 Replies View Related

General :: Creating Link Between Two Database?

Apr 13, 2011

I need to copy tables from abc5/abc5@pqrXYZ1 to jk8/jk8@pqrXYZ1. For this I am trying to create a link between the 2 databases but not wkng.I am pasting here what I ve tried.

sqlplus jk8/jk8@pqrXYZ1

[code]....

View 4 Replies View Related

General :: Backup A Particular Database In MYSQL?

Jun 27, 2011

How to backup a particular Databases..through Bash script! For example i have 6 databases;

Anish
linux
Software
Questions
Rhce
Google

these are the databases i have from that i want to take "Anish" and "questions" database backup regularly.

View 8 Replies View Related

General :: Importing Database To Server

Apr 19, 2011

I switched from Windows 7 to Linux and when I'm trying to import my database i get error 1044. It used to work when I was using Windows 7. I was able to export the database from my localhost. However, when I try to import it to the other server I get this:#1044 - Access denied for user ' '@'%' to database'.I have been trying for hours to upload my site from the localhost to another server without any luck..I'm using phpmyadmin to import it.

View 2 Replies View Related

General :: Insert Value Of Vmstat To Database?

Aug 17, 2010

I m trying to store the output of vmstat 1 10 into a database.I have done the necessary homework to connect bash to interact with the database.Program logic.1)storing the output of vmstat 1 10 to a file named abc.txt2)I m applying a filter to vmstat to get desired output containing cpu(user),cpu(system),cpu(idle) values.3)

Code:
# cat abc.txt | grep -vE '(procs|free)'| awk '{print $13 " "$14 " " $15}'
0 1 97

[code]....

View 3 Replies View Related

General :: Update Mysql Database From 5.0 For 5.1?

Sep 5, 2010

i need to update my mysql database from 5.0 for 5.1, i have several java application and php application running on that server, without disturbing the setup i need to upgrade the server can someone suggest a method of doing this

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved