RE: Upgrading from nightly? - genesisrage - 04-21-2008 03:18 AM
this is the latest
Code:
root@genesisrage:~# proftpd -n -d 9
- mod_ctrls/0.9.4: binding ctrls socket to '/var/run/proftpd/proftpd.sock'
- parsing '/etc/proftpd/proftpd.conf' configuration
- FS: using system open()
- FS: using system read()
- dispatching directive 'Include' to module mod_core
- FS: using system lstat()
- parsing '/etc/proftpd/modules.conf' configuration
- FS: using system open()
- FS: using system read()
- dispatching directive 'ModulePath' to module mod_dso
- FS: using system stat()
- dispatching directive 'ModuleControlsACLs' to module mod_dso
- dispatching auth request "name2uid" to module mod_auth_file
- dispatching auth request "name2uid" to module mod_auth_unix
- dispatching auth request "name2uid" to module mod_auth_file
- dispatching auth request "name2uid" to module mod_auth_unix
- dispatching directive 'ModuleControlsACLs' to module mod_dso
- dispatching directive 'LoadModule' to module mod_dso
- dispatching directive 'LoadModule' to module mod_dso
- mod_tls/2.1.1: using OpenSSL 0.9.8c 05 Sep 2006
- dispatching directive 'LoadModule' to module mod_dso
- dispatching directive 'LoadModule' to module mod_dso
- dispatching directive 'LoadModule' to module mod_dso
- dispatching directive 'LoadModule' to module mod_dso
- dispatching directive 'LoadModule' to module mod_dso
- dispatching directive 'LoadModule' to module mod_dso
- dispatching directive 'LoadModule' to module mod_dso
- dispatching directive 'LoadModule' to module mod_dso
- dispatching directive 'LoadModule' to module mod_dso
- dispatching directive 'LoadModule' to module mod_dso
- dispatching directive 'LoadModule' to module mod_dso
- dispatching directive 'LoadModule' to module mod_dso
- FS: using system read()
- FS: using system close()
- dispatching directive 'UseIPv6' to module mod_core
- disabling runtime support for IPv6 connections
- dispatching directive 'ServerName' to module mod_core
- dispatching directive 'ServerType' to module mod_core
- dispatching directive 'DeferWelcome' to module mod_core
- dispatching directive 'ShowSymlinks' to module mod_ls
- dispatching directive 'MultilineRFC2228' to module mod_core
- dispatching directive 'DefaultServer' to module mod_core
- dispatching directive 'ShowSymlinks' to module mod_ls
- dispatching directive 'AllowOverwrite' to module mod_xfer
- dispatching directive 'UseReverseDNS' to module mod_core
- dispatching directive 'IdentLookups' to module mod_core
- dispatching directive 'AllowStoreRestart' to module mod_xfer
- dispatching directive 'AllowForeignAddress' to module mod_core
- dispatching directive 'LogFormat' to module mod_log
- dispatching directive 'TimeoutNoTransfer' to module mod_xfer
- dispatching directive 'TimeoutStalled' to module mod_xfer
- dispatching directive 'TimeoutIdle' to module mod_core
- dispatching directive 'DisplayLogin' to module mod_core
- dispatching directive 'DisplayFirstChdir' to module mod_core
- dispatching directive 'DenyFilter' to module mod_core
- DenyFilter: compiling deny regex '\*.*/'
- dispatching directive 'DefaultRoot' to module mod_auth
- dispatching directive 'Port' to module mod_core
- FS: using system read()
- dispatching directive 'MaxInstances' to module mod_core
- dispatching directive 'User' to module mod_core
- dispatching auth request "getpwnam" to module mod_radius
- dispatching auth request "getpwnam" to module mod_ldap
- dispatching auth request "getpwnam" to module mod_sql
- dispatching auth request "getpwnam" to module mod_auth_file
- dispatching auth request "getpwnam" to module mod_auth_unix
- dispatching directive 'Group' to module mod_core
- dispatching auth request "getgrnam" to module mod_radius
- dispatching auth request "getgrnam" to module mod_ldap
- dispatching auth request "getgrnam" to module mod_sql
- dispatching auth request "getgrnam" to module mod_auth_file
- dispatching auth request "getgrnam" to module mod_auth_unix
- dispatching directive '<Directory>' to module mod_core
- <Directory /*>: deferring resolution of path
- dispatching directive 'Umask' to module mod_core
- dispatching directive 'AllowOverwrite' to module mod_xfer
- dispatching directive 'HideNoAccess' to module mod_core
- dispatching directive '</Directory>' to module mod_core
- dispatching directive '<Limit>' to module mod_core
- dispatching directive 'IgnoreHidden' to module mod_core
- dispatching directive '</Limit>' to module mod_core
- dispatching directive '<Global>' to module mod_core
- dispatching directive 'RootLogin' to module mod_auth
- dispatching directive 'TransferLog' to module mod_core
- dispatching directive 'ExtendedLog' to module mod_log
- dispatching directive 'PathDenyFilter' to module mod_core
- PathDenyFilter: compiling deny regex '.quota$'
- dispatching directive '</Global>' to module mod_core
- dispatching directive '<IfModule>' to module mod_core
- <IfModule>: using 'mod_delay.c' section at line 85
- dispatching directive 'DelayEngine' to module mod_delay
- dispatching directive '</IfModule>' to module mod_core
- dispatching directive 'SQLBackend' to module mod_sql
- dispatching directive 'SQLAuthTypes' to module mod_sql
- dispatching directive 'SQLAuthenticate' to module mod_sql
- dispatching directive 'SQLConnectInfo' to module mod_sql
- FS: using system read()
- dispatching directive 'SQLUserInfo' to module mod_sql
- dispatching directive 'SQLGroupInfo' to module mod_sql
- dispatching directive 'SQLMinID' to module mod_sql
- dispatching directive 'QuotaEngine' to module mod_quotatab
- dispatching directive 'QuotaShowQuotas' to module mod_quotatab
- dispatching directive 'QuotaDisplayUnits' to module mod_quotatab
- dispatching directive 'SQLNamedQuery' to module mod_sql
- dispatching directive 'SQLNamedQuery' to module mod_sql
- dispatching directive 'SQLNamedQuery' to module mod_sql
- FS: using system read()
- dispatching directive 'SQLNamedQuery' to module mod_sql
- dispatching directive 'QuotaLock' to module mod_quotatab
- dispatching directive 'QuotaLimitTable' to module mod_quotatab
- dispatching directive 'QuotaTallyTable' to module mod_quotatab
- FS: using system read()
- FS: using system close()
genesisrage.vps -
genesisrage.vps - Config for genesisrage.vps:
genesisrage.vps - Limit
genesisrage.vps - IgnoreHidden
genesisrage.vps - /*
genesisrage.vps - Umask
genesisrage.vps - DirUmask
genesisrage.vps - AllowOverwrite
genesisrage.vps - HideNoAccess
genesisrage.vps - ShowSymlinks
genesisrage.vps - AllowStoreRestart
genesisrage.vps - AllowForeignAddress
genesisrage.vps - DisplayLogin
genesisrage.vps - DisplayFirstChdir
genesisrage.vps - DenyFilter
genesisrage.vps - SQLAuthTypes
genesisrage.vps - SQLAuthenticate
genesisrage.vps - SQLConnectInfo
genesisrage.vps - SQLMinID
genesisrage.vps - SQLNamedQuery_get-quota-limit
genesisrage.vps - SQLNamedQuery_get-quota-tally
genesisrage.vps - SQLNamedQuery_update-quota-tally
genesisrage.vps - SQLNamedQuery_insert-quota-tally
genesisrage.vps - RootLogin
genesisrage.vps - TransferLog
genesisrage.vps - PathDenyFilter
genesisrage.vps - DeferWelcome
genesisrage.vps - ShowSymlinks
genesisrage.vps - DefaultServer
genesisrage.vps - ShowSymlinks
genesisrage.vps - AllowOverwrite
genesisrage.vps - IdentLookups
genesisrage.vps - AllowStoreRestart
genesisrage.vps - AllowForeignAddress
genesisrage.vps - TimeoutNoTransfer
genesisrage.vps - TimeoutStalled
genesisrage.vps - TimeoutIdle
genesisrage.vps - DisplayLogin
genesisrage.vps - DisplayFirstChdir
genesisrage.vps - DenyFilter
genesisrage.vps - DefaultRoot
genesisrage.vps - UserID
genesisrage.vps - UserName
genesisrage.vps - GroupID
genesisrage.vps - GroupName
genesisrage.vps - DelayEngine
genesisrage.vps - SQLBackend
genesisrage.vps - SQLAuthTypes
genesisrage.vps - SQLAuthenticate
genesisrage.vps - SQLConnectInfo
genesisrage.vps - SQLUserTable
genesisrage.vps - SQLUsernameField
genesisrage.vps - SQLPasswordField
genesisrage.vps - SQLUidField
genesisrage.vps - SQLGidField
genesisrage.vps - SQLHomedirField
genesisrage.vps - SQLShellField
genesisrage.vps - SQLGroupTable
genesisrage.vps - SQLGroupnameField
genesisrage.vps - SQLGroupGIDField
genesisrage.vps - SQLGroupMembersField
genesisrage.vps - SQLMinID
genesisrage.vps - QuotaEngine
genesisrage.vps - QuotaShowQuotas
genesisrage.vps - QuotaDisplayUnits
genesisrage.vps - SQLNamedQuery_get-quota-limit
genesisrage.vps - SQLNamedQuery_get-quota-tally
genesisrage.vps - SQLNamedQuery_update-quota-tally
genesisrage.vps - SQLNamedQuery_insert-quota-tally
genesisrage.vps - QuotaLock
genesisrage.vps - QuotaLimitTable
genesisrage.vps - QuotaTallyTable
genesisrage.vps - RootLogin
genesisrage.vps - TransferLog
genesisrage.vps - ExtendedLog
genesisrage.vps - PathDenyFilter
genesisrage.vps - ROOT PRIVS at mod_ctrls.c:1610
genesisrage.vps - mod_ctrls/0.9.4: binding ctrls socket to '/var/run/proftpd/proftpd.sock'
genesisrage.vps - RELINQUISH PRIVS at mod_ctrls.c:1612
genesisrage.vps - dispatching auth request "getgroups" to module mod_radius
genesisrage.vps - dispatching auth request "getgroups" to module mod_ldap
genesisrage.vps - dispatching auth request "getgroups" to module mod_sql
genesisrage.vps - dispatching auth request "getgroups" to module mod_auth_file
genesisrage.vps - dispatching auth request "getgroups" to module mod_auth_unix
genesisrage.vps - SETUP PRIVS at main.c:2920
genesisrage.vps - ROOT PRIVS at main.c:2000
genesisrage.vps - RELINQUISH PRIVS at main.c:2007
genesisrage.vps - ROOT PRIVS at main.c:2355
genesisrage.vps - opening scoreboard '/var/run/proftpd/proftpd.scoreboard'
genesisrage.vps - RELINQUISH PRIVS at main.c:2381
genesisrage.vps - ROOT PRIVS at mod_ctrls_admin.c:995
genesisrage.vps - opening scoreboard '/var/run/proftpd/proftpd.scoreboard'
genesisrage.vps - RELINQUISH PRIVS at mod_ctrls_admin.c:997
genesisrage.vps - ROOT PRIVS at inet.c:328
genesisrage.vps - RELINQUISH PRIVS at inet.c:386
genesisrage.vps - ProFTPD 1.3.0 (stable) (built mar gen 2 10:57:47 CET 2007) standalone mode STARTUP
genesisrage.vps - ROOT PRIVS at main.c:2218
genesisrage.vps - RELINQUISH PRIVS at main.c:2220
genesisrage.vps - FS: using system lstat()
genesisrage.vps - ROOT PRIVS at mod_ctrls.c:1173
genesisrage.vps - RELINQUISH PRIVS at mod_ctrls.c:1177
genesisrage.vps - FS: using system lstat()
genesisrage.vps - FS: using system lstat()
i appreciate your help on this, dont know why but ftp has always confused me
RE: Upgrading from nightly? - joximu - 04-21-2008 04:07 AM
ok, proftp seems to start correctly - isn't it?
Then try to connect - leaving it running in debug mode.
Another thing: can you check if the vftp user and password are coorect?
in proftpd.conf you have a line
SQLConnectInfo ispcp@localhost vftp YOUR-VFTP-PW
just try to use the info to connect to the mysql server...
RE: Upgrading from nightly? - genesisrage - 04-21-2008 10:05 AM
id assume proftpd is started correctly, but apparently not, because it still doesnt work.
when in debug (9) and i try to connect i get this
Code:
genesisrage.vps - ROOT PRIVS at main.c:1185
genesisrage.vps - RELINQUISH PRIVS at main.c:1189
genesisrage.vps - no matching vhost found for 72.249.105.137#21, using DefaultServer 'genesisrage.vps'
genesisrage.vps (72.249.105.137[72.249.105.137]) - ROOT PRIVS at main.c:1034
genesisrage.vps (72.249.105.137[72.249.105.137]) - SETUP PRIVS at main.c:1039
genesisrage.vps (72.249.105.137[72.249.105.137]) - FTP session requested from unknown class
genesisrage.vps (72.249.105.137[72.249.105.137]) - performing module session initializations
genesisrage.vps (72.249.105.137[72.249.105.137]) - ROOT PRIVS at mod_quotatab_sql.c:721
genesisrage.vps (72.249.105.137[72.249.105.137]) - RELINQUISH PRIVS at mod_quotatab_sql.c:726
genesisrage.vps (72.249.105.137[72.249.105.137]) - ROOT PRIVS at mod_quotatab.c:2329
genesisrage.vps (72.249.105.137[72.249.105.137]) - RELINQUISH PRIVS at mod_quotatab.c:2336
genesisrage.vps - FS: using system lstat()
genesisrage.vps - FS: using system lstat()
genesisrage.vps (72.249.105.137[72.249.105.137]) - ROOT PRIVS at mod_quotatab.c:2345
genesisrage.vps (72.249.105.137[72.249.105.137]) - RELINQUISH PRIVS at mod_quotatab.c:2352
genesisrage.vps (72.249.105.137[72.249.105.137]) - FTP session closed.
genesisrage.vps - FS: using system lstat()
genesisrage.vps - ROOT PRIVS at mod_ctrls.c:1173
genesisrage.vps - RELINQUISH PRIVS at mod_ctrls.c:1177
genesisrage.vps - FS: using system lstat()
and the error i get on the client is this
Code:
421 Service not available, remote server has closed connection
i checked my proftpd.conf file and found that line, however i was not able to connect... infact the 'ispcp' user didnt even exist, so i created the user with the same password and was able to connect (to mysql).
when reloading everything and trying again, i still get the same errors above. so i have no clue on what is going on. so i guess im back at my original question, how exactly can you upgrade from a nightly to an RC without loosing web and mail data?
RE: Upgrading from nightly? - joximu - 04-21-2008 06:11 PM
Hi
First- is "genesisrage.vps" your fqdn (see many fqdn threads). proftpd seems not to be able to find an ip address for this name? Since vps is not a official tld I'd say that you better start using real domains and full qualified host names.
The mysql user has the name (normally) vftp - the database name is (normally) ispcp. The syntax is sort of special
Update is still possible...
/J
RE: Upgrading from nightly? - genesisrage - 04-21-2008 08:05 PM
yeah i realized the name was infact vftp after i just redid the server. i didnt have much web files or mail that was needed so i just backed them up and started from scratch.
genesisrage.vps hasnt given me problems before, as that is the hostname of the server set by the people i have my server through. i have only noticed this issue with proftpd when i end up installing over a previous install (to late to check now), but would a wrong vftp password stop ftp from working all together?
RE: Upgrading from nightly? - joximu - 04-21-2008 08:35 PM
proftpd needs to do a mysql connect to get any user information - I don't know the details but wrong mysql settings was often a problem...
RE: Upgrading from nightly? - hxbro - 04-26-2008 12:44 AM
Try change the mysql password for the ftp user, this solved my problem, the password the install script generated wasn't suitable
|