LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-21-2013, 02:36 AM   #1
RootMason
Member
 
Registered: Oct 2012
Location: Tucson, AZ
Distribution: Debian/CentOS
Posts: 124

Rep: Reputation: 5
Finding Database Packages on a New System


Hello all!

I recently took on a client administering their Debian server. As I had feared the documentation is abysmal and the structure is, to put it nicely: funky. They are using a database for time sheets and various office-related data... and no one has any idea what is being used or how.

Any of my big brains in here have any thoughts on how I might go about finding what they are using and how they are using it? Their server is running Debian Squeeze 6.0.7.

Thanks in advance for your time! Much appreciated.
 
Old 07-21-2013, 07:40 PM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
You could start by seeing how they interact with it and follow the trail ... maybe a webserver connects to the database. List the running processes. Etc etc. I have to support stuff I haven't seen before and it requires observation.
 
Old 07-21-2013, 10:32 PM   #3
RootMason
Member
 
Registered: Oct 2012
Location: Tucson, AZ
Distribution: Debian/CentOS
Posts: 124

Original Poster
Rep: Reputation: 5
Thanks for the reply, buddy! Sure do appreciate the ideas!

I have spent a bit of time while the office was closed watching top and I still couldn't find anything that I could link to a database program. I even went as far as using dpkg --get-selections and then rifling through the results this weekend without really finding anything. I also tried using a few grep ideas like 'data'. Is my problem perhaps in the fact that there is no traffic because they are closed? Maybe there is something else I should be looking for since the database may or may not reside on this server? It is altogether possible that it is running on their backup server (that they don't have the username or password to) or on the "mystery server" called Exchange1 that is serving DNS and DHCP but they couldn't even show me which physical server it was.

Any ideas you may have are gold to me! Thanks again for taking the time to help! Also, I would interested in any information you'd like to share with how you go about collecting information on these poorly documented clients, beyond just finding this lost (hiding?) database. Thanks, buddy!
 
Old 08-01-2013, 12:29 PM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by RootMason View Post
They are using a database for time sheets and various office-related data
Since you didn't specify which, I will assume mysql so...

Subnet scanning with nmap?

Code:
nmap -v -sn 192.168.1.0/24 | grep -v down
then process the resulting IPs with
Code:
nmap <IP> -p 3306
and since anything could be using 3306, then test it with
Code:
echo "quit"| telnet <IP> 3306
results like:
Code:
Connected to ...something.something (<IP>).
Escape character is '^]'.
4
5.0.95A	Mf=9H?Af,a2uvqU4A.`{iConnection closed by foreign host.
MySQL v 5.0.95...

Please let us know and I hope this helps. (I really do)
Subscribed with interest...

Edit: It sounds like you know what host this db is on...?

Last edited by Habitual; 08-01-2013 at 12:42 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installed rpm packages database: explicit and dependency packages leniviy Linux - Newbie 4 09-07-2012 03:31 AM
Finding someone to help create database dgermann Linux - Software 6 07-01-2006 12:38 PM
Finding What Tables Exist In A MySQL Database taylor_venable Programming 7 12-19-2005 09:52 PM
Finding English computer database for StarDict ? lomnhom Linux - Software 1 10-25-2005 08:51 AM
help Compiled kernel destroyed system-config-packages database bvknapp Fedora 1 03-03-2005 11:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration