Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2017-11-07, 17:38:48

Author Topic: Did I lost all my data? URGENT please Help  (Read 14829 times)

0 Members and 2 Guests are viewing this topic.

Offline LotsOfQ

  • Master
  • **
  • Posts: 414
  • Karma: +0/-0
    • View Profile
Re: Did I lost all my data? URGENT please Help
« Reply #60 on: 2015-05-03, 03:28:58 »
I use Filezilla and I cannot connect as "admin"
Quote
Response:   421 Unable to read the indexed puredb file (or old format detected) - Try pure-pw mkdb
Error:   Could not connect to server
So I've create an FTP User and connect as that user but the same errors.
Quote
Status:   Connecting to 192.my.ips.112:21...
Status:   Connection established, waiting for welcome message...
Status:   Initializing TLS...
Status:   Verifying certificate...
Status:   TLS connection established.
Command:   USER newuser20
Response:   331 User newuser20 OK. Password required
Command:   PASS ***********
Response:   421 Unable to read the indexed puredb file (or old format detected) - Try pure-pw mkdb
Error:   Could not connect to server
Status:   Waiting to retry...
Status:   Connecting to 192.my.ips.112:21...
Status:   Connection established, waiting for welcome message...
Response:   220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response:   220-You are user number 1 of 5000 allowed.
Response:   220-Local time is now 21:25. Server port: 21.
Response:   220-IPv6 connections are also welcome on this server.
Response:   220 You will be disconnected after 15 minutes of inactivity.
Command:   AUTH TLS
Response:   234 AUTH TLS OK.
Status:   Initializing TLS...
Status:   Verifying certificate...
Status:   TLS connection established.
Command:   USER newuser20
Response:   331 User newuser20 OK. Password required
Command:   PASS ***********
Response:   421 Unable to read the indexed puredb file (or old format detected) - Try pure-pw mkdb
Error:   Could not connect to server

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Did I lost all my data? URGENT please Help
« Reply #61 on: 2015-05-03, 03:43:27 »
Like pure-ftp said run 'pure-pw mkdb'. Also better also run 'sh /script/fixftp-all; sh /script/restart-ftp -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 414
  • Karma: +0/-0
    • View Profile
Re: Did I lost all my data? URGENT please Help
« Reply #62 on: 2015-05-03, 03:49:09 »
Quote
[root@server ~]# pure-pw mkdb
Unable to open the passwd file: No such file or directory
[root@server ~]# sh /script/fixftp-all; sh /script/restart-ftp -y
Initialize PureFtp service
- Initialize process
Make pure-ftpd user database
- Restart xinetd service for pureftp

- For help, type '/script/fixftpuser [--help|-h]'
- No argument supplied. Defaulting to localhost (master) servers

Fixing FTP User
- 'newuser20' ('admin') at 'localhost'
Unable to open the passwd file: No such file or directory

*** Process Time: 00:00:00:00.586 (dd:hh:mm:ss:xxxxxx) ***


Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
-------------------------------------------------------------------

- For help, type '/script/restart-ftp [--help|-h]'
[root@server ~]#

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Did I lost all my data? URGENT please Help
« Reply #63 on: 2015-05-03, 03:52:18 »
Inform here 'dir -l /etc/pure-ftpd'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 414
  • Karma: +0/-0
    • View Profile
Re: Did I lost all my data? URGENT please Help
« Reply #64 on: 2015-05-03, 04:01:22 »
I don't know if these issues are related. When I am in "admin — {Servers}" I noticed one listed "localhost" but it showed as "Not Used".
When I select the "localhost" take me to "admin — Servers — {Server}". I noticed the following.
Quote
?    Buffers    6 MB    1996 MB
?    Cached    233 MB    1996 MB
?    Real Mem    251 MB    1996 MB
Those showed as "Exceeded".

Also just to be sure I am on the right path. After the fresh installed I have not added any domain or client. I wanted to restore the backup file first. Do I have to add a user/client or domain first?

Offline LotsOfQ

  • Master
  • **
  • Posts: 414
  • Karma: +0/-0
    • View Profile
Re: Did I lost all my data? URGENT please Help
« Reply #65 on: 2015-05-03, 04:02:37 »
[root@server ~]# dir -l /etc/pure-ftpd
total 24
-rw-r--r-- 1 root root 11474 Mar 12 02:11 pure-ftpd.conf
-rw-r--r-- 1 root root  2009 Dec 16 09:42 pureftpd-ldap.conf
-rw-r--r-- 1 root root  3473 Mar 12 02:10 pureftpd-mysql.conf
-rw-r--r-- 1 root root     0 May  2 21:47 pureftpd.passwd.oldsaved
-rw-r--r-- 1 root root  2907 Sep  7  2011 pureftpd-pgsql.conf

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Did I lost all my data? URGENT please Help
« Reply #66 on: 2015-05-03, 04:04:58 »
Try rename 'pureftpd.passwd.oldsaved' to 'pureftpd.passwd' and run again fixftp-all and restart-ftp
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 414
  • Karma: +0/-0
    • View Profile
Re: Did I lost all my data? URGENT please Help
« Reply #67 on: 2015-05-03, 04:08:28 »
Just want to make sure, did you read this post?
kloxo-mr-tips-and-tricksdid-i-lost-all-my-datamsg42751.html

Offline LotsOfQ

  • Master
  • **
  • Posts: 414
  • Karma: +0/-0
    • View Profile
Re: Did I lost all my data? URGENT please Help
« Reply #68 on: 2015-05-03, 04:19:18 »
I renamed 'pureftpd.passwd.oldsaved' to 'pureftpd.passwd' but when I run "sh /script/fixftp-all; sh /script/restart-ftp -y"
Quote
[root@server ~]# sh /script/fixftp-all; sh /script/restart-ftp -y
Initialize PureFtp service
- Initialize process
Make pure-ftpd user database
- Restart xinetd service for pureftp

- For help, type '/script/fixftpuser [--help|-h]'
- No argument supplied. Defaulting to localhost (master) servers

Fixing FTP User
- 'newuser20' ('admin') at 'localhost'
Unable to open the passwd file: No such file or directory

*** Process Time: 00:00:00:00.458 (dd:hh:mm:ss:xxxxxx) ***


Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Then I go back and check the file and noticed after "sh /script/fixftp-all; sh /script/restart-ftp -y" renamed back to "pureftpd.passwd.oldsaved".

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Did I lost all my data? URGENT please Help
« Reply #69 on: 2015-05-03, 04:19:45 »
When you run 'pure-pw mkdb', this process try create pureftpd.pdb from pureftpd.passwd but missing pureftpd.passwd. So, why advice to rename pureftpd.passwd.oldsaved to pureftpd.passwd.

Fixftp-all try with another way.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Did I lost all my data? URGENT please Help
« Reply #70 on: 2015-05-03, 04:21:27 »
Or try 'yum reinstall pure-ftpd -y; sh /script/cleanup'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 414
  • Karma: +0/-0
    • View Profile
Re: Did I lost all my data? URGENT please Help
« Reply #71 on: 2015-05-03, 04:40:44 »
I give up. Doing one more reinstall of my VPS and Kloxo-MR.

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Did I lost all my data? URGENT please Help
« Reply #72 on: 2015-05-03, 05:26:31 »
Did you add dummy domain for the first time?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 414
  • Karma: +0/-0
    • View Profile
Re: Did I lost all my data? URGENT please Help
« Reply #73 on: 2015-05-03, 05:44:06 »
No, I didn't add anything domain/user/client etc.

I've just done a brand new install of Centos 6 and Kloxo-MR 7 and got the same issue with FTP.

Offline LotsOfQ

  • Master
  • **
  • Posts: 414
  • Karma: +0/-0
    • View Profile
Re: Did I lost all my data? URGENT please Help
« Reply #74 on: 2015-05-03, 06:01:22 »
After added a dummy domain FTP works. But I cannot login with user admin or root. But I can with the users I created. But that only have access to the dummy domain directories. It doesn't have access to /home/admin/.

Where can I upload the backup file to for restore?

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.041 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM