- 论坛徽章:
- 0
|
who know its meaning?
Wanneer ik de PureFTPd server probeer te starten krijg ik een 421 error?
//When I tried to start the PuredFTPd Server, I got a 421 error?//
Controleer of de foutmelding bij het starten van de PureFTPd server overeenkomt met de volgende regel:
//Check if there is a line as the following in the error report for the PureFTPd server by the starting time://
421 Unknown authentication method: mysql:/usr/local/etc/pureftpd-mysql.conf
//This line is in English.//
Wanneer dit het geval is dan staat het onomstotelijk vast dat de optie '-DWITH_MYSQL' niet is meegenomen bij de installatie van PureFTPd.
//If this is the case, it's indisputably caused by that the option of '-DWITH_MYSQL' is not gotten by the installation of PureFTPd.//
Om dit probleem op te lossen zal de PureFTPd server opnieuw moeten worden ge?nstalleerd.
Afhankelijk van de snelheid van het systeem kan dit in ongeveer 5 min gerealiseerd zijn.
//To solve this problem, you have to install the PureFTPd server once again. And that can be carried out in about 5 minutes depending on the speed of your system.//
De reden van deze fout kan een verkeerde port upgrade zijn. Wanneer een nieuwe versie van PureFTPd wordt opgenomen in de portcollection wordt vaak het programma portupgrade gebruikt om de huidige software te updaten. Dit programma weet echter niet dat de vorige versie van PureFTPd is gebouwd met de optie '-DWITH_MYSQL'. Neem om dit probleem voortaan te voorkomen de regel ' 'ftp/pure-ftpd*' =>; '-DWITH_MYSQL' ' op in het configuratie bestand '/usr/local/etc/pkgtools.conf'. Dit moet vervolgens gedaan worden in de array 'MAKE_ARGS'. In het vervolg zal portupgrade weten welke argumenten moeten worden gebruikt bij het bouwen van PureFTPd. Waarschijnlijk is bij de 1e installatie van PureFTPd dit ook gedaan met de optie '-DWITH_LANG=dutch', ook deze optie kan worden toegevoegd in dit configuratie bestand. Wanneer de array MAKE_ARGS nog leeg is zal deze na het toevoegen van de zojuist genoemde argumenten er als volgt uitzien.
//The reason for this fault could be a wrong port upgraded. When a new version of PureFTPd comes out, the program port upgrade often occurs in the port collection to update current software. The program, however, doesn't know that the previous version of PureFTPd is built with the option of '-DWITH_MYSQL'. This problem has been solved from now on by adding a line of ' 'ftp/pure-ftpd*' =>; '-DWITH_MYSQL' ' to the configuration file '/usr/local/etc/pkgtools.conf'. This must be done next in the array 'MAKE_ARGS'. Afterthat the proturgarde will know which arguments those must be used in the compiling of PureFTPd. This is probably done by the first installation of PureFTPd with the option of '-DWITH_LANG=dutch', also that option can be added in this configuration file.......//
vi /usr/local/etc/pkgtools.conf:
MAKE_ARGS = {
'ftp/pure-ftpd*' =>; '-DWITH_MYSQL -DWITH_LANG=dutch',
}
////////////// |
|