Impossibility to do ftp

This is the main discussion forum, if the subject that you want to talk about is not listed around here.
User avatar
aflores
Member
Posts: 232
Joined: 02 Oct 2007 12:33
Location: Caracas
Contact:

Re: Impossibility to do ftp

Post by aflores » 02 Mar 2018 07:35

Hello all, I will have access to the system next tuesday, so I will apply all your suggestions.

Keep you informed.

Thaks to all for your help.

Regards

AFlores
_________________________________________________
Nobody is so wise that needs no help, no one is so ignorant as not to deserve it.

User avatar
aflores
Member
Posts: 232
Joined: 02 Oct 2007 12:33
Location: Caracas
Contact:

Re: Impossibility to do ftp

Post by aflores » 06 Mar 2018 08:21

Hello all. Here are my anwers:

Giovanny: seems to be right.

(71)amerida> netstat -an |grep :21
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
(71)amerida>


CAV I try to copy the file from another system but again give error.

I tried but give the error when trying to transfer the file from another OXE system.


What did I did?: (1) I connect via telnet to the failure system, (2) open the etc folder and them I execute ftp to a working system, (3) get in to the etc folder on the working system and execute bin (for binary file and them get ftpaccess, the result:

ftp> get ftpaccess
local: ftpaccess remote: ftpaccess
ftp: local: ftpaccess: Permission denied



TGN here are the results of the command you suggested

(71)amerida> df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda5 985M 92M 844M 10% /
/dev/hda9 985M 431M 505M 47% /usr2
/dev/hda10 985M 143M 792M 16% /usr3
/dev/hda12 6.9G 366M 6.2G 6% /usr4
/dev/hda15 4.9G 52M 4.6G 2% /usr7
/dev/hda8 985M 8.0M 927M 1% /var


(71)amerida> df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/hda5 128256 16217 112039 13% /
/dev/hda9 128256 1631 126625 2% /usr2
/dev/hda10 128256 3692 124564 3% /usr3
/dev/hda12 908544 2137 906407 1% /usr4
/dev/hda15 641280 121 641159 1% /usr7
/dev/hda8 128256 201 128055 1% /var


A4400 I can do a backup but how to extract since ftp is damage. Icould try via serial, I know ho to doit but I'm far far away from system.


I will try to installed the same version on inactive oartition them will do switchover and restore the backup



Thanks all of you.

Keep you updated asap

AFLORES
_________________________________________________
Nobody is so wise that needs no help, no one is so ignorant as not to deserve it.

User avatar
cavagnaro
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 7004
Joined: 14 Sep 2005 19:45
Location: Brasil, Porto Alegre
Contact:

Re: Impossibility to do ftp

Post by cavagnaro » 06 Mar 2018 08:27

You did it as root right? To write to the etc folder you need special permissions which mtcl user doesn't have


Enviado de meu E6633 usando Tapatalk

Ignorance is not the problem, the problem is the one who doesn't want to learn

OTUC/ICS ACFE/ACSE R3.0/4.0/5.0/6.0
Certified Genesys CIV 8.5
Certified Genesys Troubleshooting 8.5
Certified Genesys BEP 8.x
Genesys Developer

User avatar
aflores
Member
Posts: 232
Joined: 02 Oct 2007 12:33
Location: Caracas
Contact:

Re: Impossibility to do ftp

Post by aflores » 06 Mar 2018 11:35

eeeeeeeeeeeeeh uuhhhhhhh NOT NOT ROOT, I will try with root and let you know.

Sorry, My mistake.

AFLORES
_________________________________________________
Nobody is so wise that needs no help, no one is so ignorant as not to deserve it.

User avatar
aflores
Member
Posts: 232
Joined: 02 Oct 2007 12:33
Location: Caracas
Contact:

Re: Impossibility to do ftp

Post by aflores » 06 Mar 2018 11:52

Hi CAV. When you says root, did you mean root of the systems wich the ftp service is not working?

If yes, I doest not work either.

DO you think install the same version at the innactive partition will solve the issue ot the etc folder is common floder for both partition so it will kept the trouble?
_________________________________________________
Nobody is so wise that needs no help, no one is so ignorant as not to deserve it.

User avatar
tgn
Member
Posts: 801
Joined: 30 Dec 2009 17:59
Location: Germany

Impossibility to do ftp

Post by tgn » 06 Mar 2018 13:38

aflores wrote:Hi CAV. When you says root, did you mean root of the systems wich the ftp service is not working?
i think he means:

ftp from the not working system to the working system as mtcl user and get the working file...

then you have to copy it as root to the right position

Code: Select all

cp /usr2/mtcl/ftpaccess /etc
chown root:root /etc/ftpaccess
chmod 644 /etc/ftpaccess
aflores wrote: DO you think install the same version at the innactive partition will solve the issue ot the etc folder is common floder for both partition so it will kept the trouble?
it can be... like to be or not to be...
but a possible root-cause can be a defective harddisk. check the smartdata with ‚smartctl‘ command as root... or better change the harddisk.

regards...
--- back to basics... focus your eyes to the essential things... ---

User avatar
aflores
Member
Posts: 232
Joined: 02 Oct 2007 12:33
Location: Caracas
Contact:

Re: Impossibility to do ftp

Post by aflores » 04 Jul 2018 12:18

Dear friends. I know there have been passed a lot of time since last post on this subjet but finally I got a solution and I'll like to share it.

the main solution would be to re-install the OXE but there was another and most quickly solution, Install the same version on inactive partition.
Once do hat, switch to it and the ftp conection was recovered so was not necesary to go to the site to solve the issue and the of time (working) was reduce to a few minutunes.

hope this info will help another one.

regards.

AFlores
_________________________________________________
Nobody is so wise that needs no help, no one is so ignorant as not to deserve it.

User avatar
tgn
Member
Posts: 801
Joined: 30 Dec 2009 17:59
Location: Germany

Re: Impossibility to do ftp

Post by tgn » 04 Jul 2018 14:17

thx for sharing!

regards...
--- back to basics... focus your eyes to the essential things... ---

Muhammad alam
Member
Posts: 5
Joined: 30 Jan 2018 11:33

Re: Impossibility to do ftp

Post by Muhammad alam » 04 Aug 2018 15:18

a4400 wrote:
01 Mar 2018 07:36
Suspect you may have a failing hard disk, I would backup the database as a precaution and plan to replace the drive.
Copy the &quot;ftpaccess&quot; file from a working system (OXE : cd /etc...dir) and place it in your <br>
system. &quot;ftpaccess&quot; file is available in directory /etc/<br>
<br>
2. Open the system in hyperterminal<br>
<br>
3. To upload the new ftpaccess file, give command &quot;gkermit -r&quot; in <br>
hyperterminal and then press escape key.<br>
<br>
4. To send the file from the PC to system, go to transfer option, send <br>
file and select the new file &quot;ftpaccess&quot;, in protocol select kermit.<br>
<br>
5. This file now gets stored in /usr2/mtcl directory.<br>
<br>
6. In system type the command. for e.g.<br>
101)&gt;cd /usr2/mtcl<br>
101)&gt;cp -r ftpaccess /etc/ ( Here you are copying the file from /usr2/mtcl to /etc folder)


Post Reply

Return to “MAIN”