LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-25-2016, 06:02 AM   #16
michaelk
Moderator
 
Registered: Aug 2002
Posts: 17,596

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325

If you can exit the menu then you can examine the current directory for something obvious. From your description it could be a ncurses program which is compiled. However, since this is a PostgreSQL backup my first guess is that the backup runs pg_dump. Do you know the directory where the backups are located?
 
Old 03-25-2016, 07:30 AM   #17
sorintene
LQ Newbie
 
Registered: Aug 2008
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by michaelk View Post
If you can exit the menu then you can examine the current directory for something obvious. From your description it could be a ncurses program which is compiled. However, since this is a PostgreSQL backup my first guess is that the backup runs pg_dump. Do you know the directory where the backups are located?
Yes I know. The problem is when I try to restore the db (on a Windows machine) I receive an error that confirmed me that the backup was not made with pg_dump. This is why I want to find how was created....
 
Old 03-25-2016, 08:52 AM   #18
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,235

Rep: Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914
Quote:
Originally Posted by sorintene View Post
The server does not have GUI.The front end application is like a msdos menu and it appear as soon as I log with the specified user. I move with up/dpwn arrows and press enter on the selected item.
do you have command prompt access to this server at all ? i.e.- are you able to run commands and cd to other directories and such ?
 
Old 03-25-2016, 10:24 AM   #19
sorintene
LQ Newbie
 
Registered: Aug 2008
Posts: 15

Original Poster
Rep: Reputation: 0
Unhappy

Quote:
Originally Posted by schneidz View Post
do you have command prompt access to this server at all ? i.e.- are you able to run commands and cd to other directories and such ?
Of course !?!? I thought it is obvious from the beginning. Sorry I did not mention...
I have complete access to this computer (included root access)

Last edited by sorintene; 03-25-2016 at 10:39 AM.
 
Old 03-25-2016, 10:48 AM   #20
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,235

Rep: Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914
how do you run the menu program.

would you be able to run something like:
Code:
file `which <command>`
that should tell us if it is a 64-bit elf executable (compiled with debugging source)/bash script/python script/awk script/...


edit:
Quote:
Originally Posted by sorintene View Post
The server does not have GUI.The front end application is like a msdos menu and it appear as soon as I log with the specified user. I move with up/dpwn arrows and press enter on the selected item.
maybe the name of the program is located in said users .profile/.bash_profile/.bashrc ?

Last edited by schneidz; 03-25-2016 at 10:56 AM.
 
Old 03-25-2016, 10:57 AM   #21
sorintene
LQ Newbie
 
Registered: Aug 2008
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by schneidz View Post
how do you run the menu program.

would you be able to run something like:
Code:
file `which <command>`
that should tell us if it is a 64-bit elf executable (compiled with debugging source)/bash script/python script/awk script/...
Simply I login with the specified user (not root, another user) and the menu "popup"

PS: Sorry I do not understand what exactly mean by "file `which <command>`". And it is an old 32 bit computer.

Last edited by sorintene; 03-25-2016 at 11:01 AM.
 
Old 03-25-2016, 10:59 AM   #22
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,235

Rep: Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914
Quote:
Originally Posted by sorintene View Post
Simply I login with the specified user (not root, another user) and the menu "popup"
^ i edited my post above. in order to get any insiteful help i think the first step would be to know what the /path/to/executable is (then we can run the file command on it to know what type of file it is -- then we can hax away at methods to try to understand what its underlying source-code is). would a sys-admin at your company be able to help you get the needed info.

maybe logging in with the specified user in one terminal. then log in with root in another then run:
Code:
ps -au <specified-user> w
maybe will clue us into what the name of the program is ?

Last edited by schneidz; 03-25-2016 at 11:05 AM.
 
Old 03-25-2016, 11:09 AM   #23
sorintene
LQ Newbie
 
Registered: Aug 2008
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by schneidz View Post
^ i edited my post above. in order to get any insiteful help i think the first step would be to know what the /path/to/executable is (then we can run the file command on it to know what type of file it is -- then we can hax away at methods to try to understand what its underlying source-code is). would a sys-admin at your company be able to help you get the needed info.
Unfortunately, no. I am the only man in this job/department so on....I am the only person that manage IT problems in a school. When I got this job the previous employee left the job few months ago....But this is irrelevant for the problem....I tell it only because you ask it....
 
Old 03-25-2016, 11:51 AM   #24
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,235

Rep: Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914
Quote:
Originally Posted by sorintene View Post
Unfortunately, no. I am the only man in this job/department so on....I am the only person that manage IT problems in a school. When I got this job the previous employee left the job few months ago....But this is irrelevant for the problem....I tell it only because you ask it....
perhaps you missed this edit ?:
Quote:
Originally Posted by schneidz View Post
...
maybe logging in with the specified user in one terminal. then log in with root in another then run:
Code:
ps -au <specified-user> w
maybe will clue us into what the name of the program is ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Turn KnoppMyth backend/frontend into backend only nebbus Linux - General 0 09-09-2007 01:57 AM
online update command line option not found in SuSE Linux Enterprise server 10 manisarma_pspl SUSE / openSUSE 0 07-16-2007 04:17 AM
Backend -Frontend Interaction unbeknown Linux - Software 1 07-29-2003 03:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration