Page 2 of 2
Re: Impossibility to do ftp
Posted: 02 Mar 2018 07:35
by aflores
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
Re: Impossibility to do ftp
Posted: 06 Mar 2018 08:21
by aflores
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
Re: Impossibility to do ftp
Posted: 06 Mar 2018 08:27
by cavagnaro
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
Re: Impossibility to do ftp
Posted: 06 Mar 2018 11:35
by aflores
eeeeeeeeeeeeeh uuhhhhhhh NOT NOT ROOT, I will try with root and let you know.
Sorry, My mistake.
AFLORES
Re: Impossibility to do ftp
Posted: 06 Mar 2018 11:52
by aflores
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?
Impossibility to do ftp
Posted: 06 Mar 2018 13:38
by tgn
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...
Re: Impossibility to do ftp
Posted: 04 Jul 2018 12:18
by aflores
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
Re: Impossibility to do ftp
Posted: 04 Jul 2018 14:17
by tgn
thx for sharing!
regards...
Re: Impossibility to do ftp
Posted: 04 Aug 2018 15:18
by Muhammad alam
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 "ftpaccess" file from a working system (OXE : cd /etc...dir) and place it in your <br>
system. "ftpaccess" 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 "gkermit -r" 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 "ftpaccess", 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)>cd /usr2/mtcl<br>
101)>cp -r ftpaccess /etc/ ( Here you are copying the file from /usr2/mtcl to /etc folder)
Re: Impossibility to do ftp
Posted: 08 Aug 2018 05:37
by haroun