Proftpd não reinicia [RESOLVIDO]

1. Proftpd não reinicia [RESOLVIDO]

Osvaldo
DicoO

(usa Ubuntu)

Enviado em 17/05/2017 - 19:59h

Eai galera, ainda sou inexperiente com o linux, mais estou treinando com um ubuntu server 16.04.2 LTS, a alguns dias eu fiz atualizações, não sei se foi por este motivo mas o proftpd não da mais para reinicia-lo, e nem consigo mais acessar a pasta do FTP, a mensagem e esta.
[....] Restarting proftpd (via systemctl): proftpd.service Job for proftpd.service failed because the control process exited with error code. See "systemctl status proftpd.service" and "journalctl -xe" for details.
failed!

já tentei de diversas forma revolver mais sem sucesso, agradeço pela colaboração.


Meu proftpd.conf

# /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes, reload proftpd after modifications, if
# it runs in daemon mode. It is not required in inetd/xinetd mode.
#

# Includes DSO modules
Include /etc/proftpd/modules.conf

# Set off to disable IPv6 support which is annoying on IPv4 only boxes.
UseIPv6 on
# If set on you can experience a longer connection delay in many cases.
IdentLookups off

ServerName "Servidor_FTP_2D"
ServerType standalone
DeferWelcome on

MultilineRFC2228 on
DefaultServer on
ShowSymlinks on

TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200

DisplayLogin welcome.msg
DisplayChdir .message true
ListOptions "-l"

DenyFilter \*.*/

# Use this to jail all users in their homes
DefaultRoot /var/www/

# Users require a valid shell listed in /etc/shells to login.
# Use this directive to release that constrain.
# RequireValidShell off

# Port 21 is the standard FTP port.
Port 21

# In some cases you have to specify passive ports range to by-pass
# firewall limitations. Ephemeral ports can be used for that, but
# feel free to use a more narrow range.
# PassivePorts 49152 65534
# If your host was NATted, this option is useful in order to
# allow passive tranfers to work. You have to use your public
# address and opening the passive ports used on your firewall as well.
# MasqueradeAddress 1.2.3.4

# This is useful for masquerading address with dynamic IPs:
# refresh any configured MasqueradeAddress directives every 8 hours
<IfModule mod_dynmasq.c>
# DynMasqRefresh 28800
</IfModule>

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30

# Set the user and group that the server normally runs at.
User projetosftp
Group projetosftp
# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask 022 022
# Normally, we want files to be overwriteable.
AllowOverwrite on

# Uncomment this if you are using NIS or LDAP via NSS to retrieve passwords:
# PersistentPasswd off

# This is required to use both PAM-based authentication and local passwords
# AuthOrder mod_auth_pam.c* mod_auth_unix.c

# Be warned: use of this directive impacts CPU average load!
# Uncomment this if you like to see progress and transfer rate with ftpwho
# in downloads. That is not needed for uploads rates.
#
# UseSendFile off

TransferLog /var/log/proftpd/xferlog
SystemLog /var/log/proftpd/proftpd.log

# Logging onto /var/log/lastlog is enabled but set to off by default
#UseLastlog on
# In order to keep log file dates consistent after chroot, use timezone info
# from /etc/localtime. If this is not set, and proftpd is configured to
# chroot (e.g. DefaultRoot or <Anonymous>), it will use the non-daylight
# savings timezone regardless of whether DST is in effect.
#SetEnv TZ :/etc/localtime

<IfModule mod_quotatab.c>
QuotaEngine off
</IfModule>

<IfModule mod_ratio.c>
Ratios off
</IfModule>


# Delay engine reduces impact of the so-called Timing Attack described in
# http://www.securityfocus.com/bid/11430/discuss
# It is on by default.
<IfModule mod_delay.c>
DelayEngine on
</IfModule>
<IfModule mod_ctrls.c>
ControlsEngine off
ControlsMaxClients 2
ControlsLog /var/log/proftpd/controls.log
ControlsInterval 5
ControlsSocket /var/run/proftpd/proftpd.sock
</IfModule>

<IfModule mod_ctrls_admin.c>
AdminControlsEngine off
</IfModule>

#
# Alternative authentication frameworks
#
#Include /etc/proftpd/ldap.conf
#Include /etc/proftpd/sql.conf

#
# This is used for FTPS connections
#
#Include /etc/proftpd/tls.conf

#
# Useful to keep VirtualHost/VirtualRoot directives separated
#
#Include /etc/proftpd/virtuals.conf

# A basic anonymous configuration, no upload directories.

# <Anonymous ~ftp>
# User ftp
# Group nogroup
# # We want clients to be able to login with "anonymous" as well as "ftp"
# UserAlias anonymous ftp
# # Cosmetic changes, all files belongs to ftp user
# DirFakeUser on ftp
# DirFakeGroup on ftp
#
# RequireValidShell off
#
# # Limit the maximum number of anonymous logins
# MaxClients 10
#
# # We want 'welcome.msg' displayed at login, and '.message' displayed
# # in each newly chdired directory.
# DisplayLogin welcome.msg
# DisplayChdir .message
#
# # Limit WRITE everywhere in the anonymous chroot
# <Directory *>
# <Limit WRITE>
# DenyAll
# </Limit>
# </Directory>
#
# # Uncomment this if you're brave.
# # <Directory incoming>
# # # Umask 022 is a good standard umask to prevent new files and dirs
# # # (second parm) from being group and world writable.
# # Umask 022 022
# # <Limit READ WRITE>
# # DenyAll
# # </Limit>
# # <Limit STOR>
# # AllowAll
# # </Limit>
# # </Directory>
#
# </Anonymous>

# Include other custom configuration files
Include /etc/proftpd/conf.d/






  


2. Re: Proftpd não reinicia

Rodrigo Bertini
vortico

(usa Outra)

Enviado em 17/05/2017 - 20:33h

Boas amigo, vc criou o usuário 'projetosftp'?
Se não criou ele, cria e testa novamente.

Caso já tenha criado, posta aqui o retorno do comando journalctl -xe
######################################
https://www.linuxcounter.net/cert/621112.png


3. Re: Proftpd não reinicia [RESOLVIDO]

Osvaldo
DicoO

(usa Ubuntu)

Enviado em 17/05/2017 - 21:09h

Eu já tinha o usuário criado

resposta do comando journalctl -xe

-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade UNIT concluiu a inicialização.
--
-- The start-up result is done.
--
-- A unidade UNIT concluiu a inicialização.
--
-- The start-up result is done.
Mai 17 20:55:14 Ubuntu-2D systemd[28295]: Reached target Timers.
-- Subject: Unidade UNIT concluiu a inicialização
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade UNIT concluiu a inicialização.
--
-- The start-up result is done.
Mai 17 20:55:14 Ubuntu-2D systemd[28295]: Reached target Basic System.
-- Subject: Unidade UNIT concluiu a inicialização
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade UNIT concluiu a inicialização.
--
-- The start-up result is done.
Mai 17 20:55:14 Ubuntu-2D systemd[28295]: Reached target Default.
-- Subject: Unidade UNIT concluiu a inicialização
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade UNIT concluiu a inicialização.
--
-- The start-up result is done.
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade UNIT concluiu a inicialização.
--
-- The start-up result is done.
Mai 17 20:55:14 Ubuntu-2D systemd[28295]: Reached target Timers.
-- Subject: Unidade UNIT concluiu a inicialização
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade UNIT concluiu a inicialização.
--
-- The start-up result is done.
Mai 17 20:55:14 Ubuntu-2D systemd[28295]: Reached target Basic System.
-- Subject: Unidade UNIT concluiu a inicialização
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade UNIT concluiu a inicialização.
--
-- The start-up result is done.
Mai 17 20:55:14 Ubuntu-2D systemd[28295]: Reached target Default.
-- Subject: Unidade UNIT concluiu a inicialização
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade UNIT concluiu a inicialização.
--
-- The start-up result is done.
Mai 17 20:55:14 Ubuntu-2D systemd[28295]: Reached target Default.
-- Subject: Unidade UNIT concluiu a inicialização
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade UNIT concluiu a inicialização.
--
-- The start-up result is done.
-- The start-up result is done.
-- Defined-By: systemd
Mai 17 19:43:06 Ubuntu-2D systemd[1]: Stopped LSB: Starts ProFTPD daemon.
-- Subject: A unidade proftpd.service concluiu o desligamento
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade proftpd.service concluiu o desligamento.
Mai 17 19:43:06 Ubuntu-2D systemd[1]: Starting LSB: Starts ProFTPD daemon...
-- Subject: Unidade proftpd.service sendo iniciado
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade proftpd.service está sendo iniciada.
Mai 17 19:43:06 Ubuntu-2D proftpd[25384]: * Starting ftp server proftpd
Mai 17 19:43:06 Ubuntu-2D proftpd[25384]: 2017-05-17 19:43:06,503 Ubuntu-2D proftpd[25395]: warning: una
Mai 17 19:43:06 Ubuntu-2D proftpd[25384]: 2017-05-17 19:43:06,504 Ubuntu-2D proftpd[25395]: error: no va
Mai 17 19:43:06 Ubuntu-2D proftpd[25384]: 2017-05-17 19:43:06,504 Ubuntu-2D proftpd[25395]: fatal: error
Mai 17 19:43:06 Ubuntu-2D proftpd[25384]: ...fail!
Mai 17 19:43:06 Ubuntu-2D systemd[1]: proftpd.service: Control process exited, code=exited status=1
Mai 17 19:43:06 Ubuntu-2D systemd[1]: Failed to start LSB: Starts ProFTPD daemon.
-- Subject: A unidade proftpd.service falhou
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade proftpd.service falhou.
--
-- O resultado é failed.
Mai 17 19:43:06 Ubuntu-2D systemd[1]: proftpd.service: Unit entered failed state.
Mai 17 19:43:06 Ubuntu-2D systemd[1]: proftpd.service: Failed with result 'exit-code'.
Mai 17 19:50:50 Ubuntu-2D smbd[25714]: pam_unix(samba:session): session closed for user nobody
Mai 17 19:53:50 Ubuntu-2D smbd[25815]: pam_unix(samba:session): session closed for user nobody
Mai 17 20:02:51 Ubuntu-2D smbd[26148]: pam_unix(samba:session): session closed for user nobody
Mai 17 20:07:07 Ubuntu-2D smbd[26307]: pam_unix(samba:session): session closed for user nobody
Mai 17 20:09:01 Ubuntu-2D CRON[26391]: pam_unix(cron:session): session opened for user root by (uid=0)
Mai 17 20:09:01 Ubuntu-2D CRON[26392]: pam_unix(cron:session): session opened for user root by (uid=0)
Mai 17 20:09:01 Ubuntu-2D CRON[26393]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/se
Mai 17 20:09:01 Ubuntu-2D CRON[26394]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/p
Mai 17 20:09:01 Ubuntu-2D CRON[26392]: pam_unix(cron:session): session closed for user root
Mai 17 20:09:01 Ubuntu-2D CRON[26391]: pam_unix(cron:session): session closed for user root
Mai 17 20:17:01 Ubuntu-2D CRON[26723]: pam_unix(cron:session): session opened for user root by (uid=0)
Mai 17 20:17:01 Ubuntu-2D CRON[26724]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Mai 17 20:17:01 Ubuntu-2D CRON[26723]: pam_unix(cron:session): session closed for user root
Mai 17 20:31:09 Ubuntu-2D smbd[27425]: pam_unix(samba:session): session closed for user nobody
Mai 17 20:39:01 Ubuntu-2D CRON[27695]: pam_unix(cron:session): session opened for user root by (uid=0)
Mai 17 20:39:01 Ubuntu-2D CRON[27694]: pam_unix(cron:session): session opened for user root by (uid=0)
Mai 17 20:39:01 Ubuntu-2D CRON[27696]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/se
Mai 17 20:39:01 Ubuntu-2D CRON[27697]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/p
Mai 17 20:39:01 Ubuntu-2D CRON[27695]: pam_unix(cron:session): session closed for user root
Mai 17 20:39:02 Ubuntu-2D CRON[27694]: pam_unix(cron:session): session closed for user root
Mai 17 20:43:10 Ubuntu-2D smbd[27866]: pam_unix(samba:session): session closed for user nobody
Mai 17 20:51:10 Ubuntu-2D smbd[28123]: pam_unix(samba:session): session closed for user nobody
Mai 17 20:53:40 Ubuntu-2D smbd[28220]: pam_unix(samba:session): session closed for user nobody
Mai 17 20:55:11 Ubuntu-2D smbd[28281]: pam_unix(samba:session): session closed for user nobody
Mai 17 20:55:13 Ubuntu-2D sshd[28272]: Accepted password for projetosftp from 192.168.1.6 port 56572 ssh
Mai 17 20:55:13 Ubuntu-2D sshd[28272]: pam_unix(sshd:session): session opened for user projetosftp by (u
Mai 17 20:55:13 Ubuntu-2D systemd[1]: Created slice User Slice of projetosftp.
-- Subject: Unidade user-1001.slice concluiu a inicialização
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade user-1001.slice concluiu a inicialização.
--
-- The start-up result is done.
Mai 17 20:55:13 Ubuntu-2D systemd-logind[948]: New session 21 of user projetosftp.
-- Subject: A nova sessão 21 foi criada para usuário o projetosftp
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
--
-- Uma nova sessão com o ID 21 foi criada para o usuário projetosftp.
--
-- O processo originador da sessão é 28272.
Mai 17 20:55:13 Ubuntu-2D systemd[1]: Started Session 21 of user projetosftp.
-- Subject: Unidade session-21.scope concluiu a inicialização
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade session-21.scope concluiu a inicialização.
--
-- The start-up result is done.
Mai 17 20:55:13 Ubuntu-2D systemd[1]: Starting User Manager for UID 1001...
-- Subject: Unidade user@1001.service sendo iniciado
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade user@1001.service está sendo iniciada.
Mai 17 20:55:13 Ubuntu-2D systemd[28295]: pam_unix(systemd-user:session): session opened for user projet
Mai 17 20:55:14 Ubuntu-2D systemd[28295]: Reached target Sockets.
-- Subject: Unidade UNIT concluiu a inicialização
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade UNIT concluiu a inicialização.
--
-- The start-up result is done.
Mai 17 20:55:14 Ubuntu-2D systemd[28295]: Reached target Paths.
-- Subject: Unidade UNIT concluiu a inicialização
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade UNIT concluiu a inicialização.
--
-- The start-up result is done.
Mai 17 20:55:14 Ubuntu-2D systemd[28295]: Reached target Timers.
-- Subject: Unidade UNIT concluiu a inicialização
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade UNIT concluiu a inicialização.
--
-- The start-up result is done.
Mai 17 20:55:14 Ubuntu-2D systemd[28295]: Reached target Basic System.
-- Subject: Unidade UNIT concluiu a inicialização
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade UNIT concluiu a inicialização.
--
-- The start-up result is done.
Mai 17 20:55:14 Ubuntu-2D systemd[28295]: Reached target Default.
-- Subject: Unidade UNIT concluiu a inicialização
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade UNIT concluiu a inicialização.
--
-- The start-up result is done.
-- The start-up result is done.
Mai 17 20:55:14 Ubuntu-2D systemd[28295]: Startup finished in 394ms.
-- Subject: Inicialização do sistema foi concluída
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Todos os serviços do sistema necessários que estão enfileirados para
-- executar na inicialização do sistema, foram iniciados com sucesso. Note
-- que isso não significa que a máquina está ociosa, pois os serviços podem
-- ainda estar ocupados com a inicialização completa.
--
-- Inicialização do kernel precisou KERNEL_USEC microssegundos.
--
-- Disco de RAM inicial precisou de INITRD_USEC microssegundos.
--
-- Inicialização do espaço do usuário precisou de 394372 microssegundos.
Mai 17 20:55:14 Ubuntu-2D systemd[1]: Started User Manager for UID 1001.
-- Subject: Unidade user@1001.service concluiu a inicialização
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade user@1001.service concluiu a inicialização.
--
-- The start-up result is done.



4. Re: Proftpd não reinicia [RESOLVIDO]

Rodrigo Bertini
vortico

(usa Outra)

Enviado em 17/05/2017 - 21:28h

Essa parte aqui do Journal ta incompleta, vê se consegue puxar só ela.


-- A unidade proftpd.service está sendo iniciada.
Mai 17 19:43:06 Ubuntu-2D proftpd[25384]: * Starting ftp server proftpd
Mai 17 19:43:06 Ubuntu-2D proftpd[25384]: 2017-05-17 19:43:06,503 Ubuntu-2D proftpd[25395]: warning: una
Mai 17 19:43:06 Ubuntu-2D proftpd[25384]: 2017-05-17 19:43:06,504 Ubuntu-2D proftpd[25395]: error: no va
Mai 17 19:43:06 Ubuntu-2D proftpd[25384]: 2017-05-17 19:43:06,504 Ubuntu-2D proftpd[25395]: fatal: error
Mai 17 19:43:06 Ubuntu-2D proftpd[25384]: ...fail!
Mai 17 19:43:06 Ubuntu-2D systemd[1]: proftpd.service: Control process exited, code=exited status=1
Mai 17 19:43:06 Ubuntu-2D systemd[1]: Failed to start LSB: Starts ProFTPD daemon.
-- Subject: A unidade proftpd.service falhou
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade proftpd.service falhou.
--
-- O resultado é failed.


######################################
https://www.linuxcounter.net/cert/621112.png


5. Re: Proftpd não reinicia [RESOLVIDO]

Osvaldo
DicoO

(usa Ubuntu)

Enviado em 17/05/2017 - 22:19h

de onde vc falou ate o final.

-- A unidade proftpd.service está sendo iniciada.
Mai 17 19:43:06 Ubuntu-2D proftpd[25384]: * Starting ftp server proftpd
Mai 17 19:43:06 Ubuntu-2D proftpd[25384]: 2017-05-17 19:43:06,503 Ubuntu-2D proftpd[25395]: warning: unable to determine IP address of 'Ubuntu-2D'
Mai 17 19:43:06 Ubuntu-2D proftpd[25384]: 2017-05-17 19:43:06,504 Ubuntu-2D proftpd[25395]: error: no valid servers configured
Mai 17 19:43:06 Ubuntu-2D proftpd[25384]: 2017-05-17 19:43:06,504 Ubuntu-2D proftpd[25395]: fatal: error processing configuration file '/etc/proftpd/proftpd.conf'
Mai 17 19:43:06 Ubuntu-2D proftpd[25384]: ...fail!
Mai 17 19:43:06 Ubuntu-2D systemd[1]: proftpd.service: Control process exited, code=exited status=1
Mai 17 19:43:06 Ubuntu-2D systemd[1]: Failed to start LSB: Starts ProFTPD daemon.
-- Subject: A unidade proftpd.service falhou
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade proftpd.service falhou.
--
-- O resultado é failed.
Mai 17 19:43:06 Ubuntu-2D systemd[1]: proftpd.service: Unit entered failed state.
Mai 17 19:43:06 Ubuntu-2D systemd[1]: proftpd.service: Failed with result 'exit-code'.
Mai 17 19:50:50 Ubuntu-2D smbd[25714]: pam_unix(samba:session): session closed for user nobody
Mai 17 19:53:50 Ubuntu-2D smbd[25815]: pam_unix(samba:session): session closed for user nobody
Mai 17 20:02:51 Ubuntu-2D smbd[26148]: pam_unix(samba:session): session closed for user nobody
Mai 17 20:07:07 Ubuntu-2D smbd[26307]: pam_unix(samba:session): session closed for user nobody
Mai 17 20:09:01 Ubuntu-2D CRON[26391]: pam_unix(cron:session): session opened for user root by (uid=0)
Mai 17 20:09:01 Ubuntu-2D CRON[26392]: pam_unix(cron:session): session opened for user root by (uid=0)
Mai 17 20:09:01 Ubuntu-2D CRON[26393]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
Mai 17 20:09:01 Ubuntu-2D CRON[26394]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sess
Mai 17 20:09:01 Ubuntu-2D CRON[26392]: pam_unix(cron:session): session closed for user root
Mai 17 20:09:01 Ubuntu-2D CRON[26391]: pam_unix(cron:session): session closed for user root
Mai 17 20:17:01 Ubuntu-2D CRON[26723]: pam_unix(cron:session): session opened for user root by (uid=0)
Mai 17 20:17:01 Ubuntu-2D CRON[26724]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Mai 17 20:17:01 Ubuntu-2D CRON[26723]: pam_unix(cron:session): session closed for user root
Mai 17 20:31:09 Ubuntu-2D smbd[27425]: pam_unix(samba:session): session closed for user nobody
Mai 17 20:39:01 Ubuntu-2D CRON[27695]: pam_unix(cron:session): session opened for user root by (uid=0)
Mai 17 20:39:01 Ubuntu-2D CRON[27694]: pam_unix(cron:session): session opened for user root by (uid=0)
Mai 17 20:39:01 Ubuntu-2D CRON[27696]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
Mai 17 20:39:01 Ubuntu-2D CRON[27697]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sess
Mai 17 20:39:01 Ubuntu-2D CRON[27695]: pam_unix(cron:session): session closed for user root
Mai 17 20:39:02 Ubuntu-2D CRON[27694]: pam_unix(cron:session): session closed for user root
Mai 17 20:43:10 Ubuntu-2D smbd[27866]: pam_unix(samba:session): session closed for user nobody
Mai 17 20:51:10 Ubuntu-2D smbd[28123]: pam_unix(samba:session): session closed for user nobody
Mai 17 20:53:40 Ubuntu-2D smbd[28220]: pam_unix(samba:session): session closed for user nobody
Mai 17 20:55:11 Ubuntu-2D smbd[28281]: pam_unix(samba:session): session closed for user nobody
Mai 17 20:55:13 Ubuntu-2D sshd[28272]: Accepted password for projetosftp from 192.168.1.6 port 56572 ssh2
Mai 17 20:55:13 Ubuntu-2D sshd[28272]: pam_unix(sshd:session): session opened for user projetosftp by (uid=0)
Mai 17 20:55:13 Ubuntu-2D systemd[1]: Created slice User Slice of projetosftp.
-- Subject: Unidade user-1001.slice concluiu a inicialização
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade user-1001.slice concluiu a inicialização.
--
-- The start-up result is done.
Mai 17 20:55:13 Ubuntu-2D systemd-logind[948]: New session 21 of user projetosftp.
-- Subject: A nova sessão 21 foi criada para usuário o projetosftp
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
--
-- Uma nova sessão com o ID 21 foi criada para o usuário projetosftp.
--
-- O processo originador da sessão é 28272.
Mai 17 20:55:13 Ubuntu-2D systemd[1]: Started Session 21 of user projetosftp.
-- Subject: Unidade session-21.scope concluiu a inicialização
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade session-21.scope concluiu a inicialização.
--
-- The start-up result is done.
Mai 17 20:55:13 Ubuntu-2D systemd[1]: Starting User Manager for UID 1001...
-- Subject: Unidade user@1001.service sendo iniciado
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade user@1001.service está sendo iniciada.
Mai 17 20:55:13 Ubuntu-2D systemd[28295]: pam_unix(systemd-user:session): session opened for user projetosftp by (uid=0)
Mai 17 20:55:14 Ubuntu-2D systemd[28295]: Reached target Sockets.
-- Subject: Unidade UNIT concluiu a inicialização
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade UNIT concluiu a inicialização.
--
-- The start-up result is done.
Mai 17 20:55:14 Ubuntu-2D systemd[28295]: Reached target Paths.
-- Subject: Unidade UNIT concluiu a inicialização
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade UNIT concluiu a inicialização.
--
-- The start-up result is done.
Mai 17 20:55:14 Ubuntu-2D systemd[28295]: Reached target Timers.
-- Subject: Unidade UNIT concluiu a inicialização
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade UNIT concluiu a inicialização.
--
-- The start-up result is done.
Mai 17 20:55:14 Ubuntu-2D systemd[28295]: Reached target Basic System.
-- Subject: Unidade UNIT concluiu a inicialização
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade UNIT concluiu a inicialização.
--
-- The start-up result is done.
Mai 17 20:55:14 Ubuntu-2D systemd[28295]: Reached target Default.
-- Subject: Unidade UNIT concluiu a inicialização
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade UNIT concluiu a inicialização.
--
-- The start-up result is done.
Mai 17 20:55:14 Ubuntu-2D systemd[28295]: Startup finished in 394ms.
-- Subject: Inicialização do sistema foi concluída
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Todos os serviços do sistema necessários que estão enfileirados para
-- executar na inicialização do sistema, foram iniciados com sucesso. Note
-- que isso não significa que a máquina está ociosa, pois os serviços podem
-- ainda estar ocupados com a inicialização completa.
--
-- Inicialização do kernel precisou KERNEL_USEC microssegundos.
--
-- Disco de RAM inicial precisou de INITRD_USEC microssegundos.
--
-- Inicialização do espaço do usuário precisou de 394372 microssegundos.
Mai 17 20:55:14 Ubuntu-2D systemd[1]: Started User Manager for UID 1001.
-- Subject: Unidade user@1001.service concluiu a inicialização
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade user@1001.service concluiu a inicialização.
--
-- The start-up result is done.
Mai 17 21:00:46 Ubuntu-2D smbd[28639]: pam_unix(samba:session): session closed for user nobody
Mai 17 21:07:54 Ubuntu-2D sshd[28272]: pam_unix(sshd:session): session closed for user projetosftp
Mai 17 21:07:54 Ubuntu-2D systemd-logind[948]: Removed session 21.
-- Subject: Sessão 21 foi terminada
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
--
-- Um sessão com o ID 21 foi terminada.
Mai 17 21:07:54 Ubuntu-2D systemd[1]: Stopping User Manager for UID 1001...
-- Subject: Unidade user@1001.service sendo desligado
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade user@1001.service está sendo desligada.
Mai 17 21:07:54 Ubuntu-2D systemd[28295]: Stopped target Default.
-- Subject: A unidade UNIT concluiu o desligamento
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade UNIT concluiu o desligamento.
Mai 17 21:07:54 Ubuntu-2D systemd[28295]: Stopped target Basic System.
-- Subject: A unidade UNIT concluiu o desligamento
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade UNIT concluiu o desligamento.
Mai 17 21:07:54 Ubuntu-2D systemd[28295]: Stopped target Sockets.
-- Subject: A unidade UNIT concluiu o desligamento
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade UNIT concluiu o desligamento.
Mai 17 21:07:54 Ubuntu-2D systemd[28295]: Stopped target Timers.
-- Subject: A unidade UNIT concluiu o desligamento
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade UNIT concluiu o desligamento.
Mai 17 21:07:54 Ubuntu-2D systemd[28295]: Stopped target Paths.
-- Subject: A unidade UNIT concluiu o desligamento
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade UNIT concluiu o desligamento.
Mai 17 21:07:54 Ubuntu-2D systemd[28295]: Reached target Shutdown.
-- Subject: Unidade UNIT concluiu a inicialização
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade UNIT concluiu a inicialização.
--
-- The start-up result is done.
Mai 17 21:07:54 Ubuntu-2D systemd[28295]: Starting Exit the Session...
-- Subject: Unidade UNIT sendo iniciado
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade UNIT está sendo iniciada.
Mai 17 21:07:54 Ubuntu-2D systemd[28295]: Received SIGRTMIN+24 from PID 28844 (kill).
Mai 17 21:07:54 Ubuntu-2D systemd[1]: Stopped User Manager for UID 1001.
-- Subject: A unidade user@1001.service concluiu o desligamento
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade user@1001.service concluiu o desligamento.
Mai 17 21:07:54 Ubuntu-2D systemd[1]: Removed slice User Slice of projetosftp.
-- Subject: A unidade user-1001.slice concluiu o desligamento
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade user-1001.slice concluiu o desligamento.
Mai 17 21:09:01 Ubuntu-2D CRON[28877]: pam_unix(cron:session): session opened for user root by (uid=0)
Mai 17 21:09:01 Ubuntu-2D CRON[28878]: pam_unix(cron:session): session opened for user root by (uid=0)
Mai 17 21:09:01 Ubuntu-2D CRON[28880]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
Mai 17 21:09:01 Ubuntu-2D CRON[28879]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sess
Mai 17 21:09:01 Ubuntu-2D CRON[28878]: pam_unix(cron:session): session closed for user root
Mai 17 21:09:01 Ubuntu-2D CRON[28877]: pam_unix(cron:session): session closed for user root
Mai 17 21:17:01 Ubuntu-2D CRON[29148]: pam_unix(cron:session): session opened for user root by (uid=0)
Mai 17 21:17:01 Ubuntu-2D CRON[29149]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Mai 17 21:17:01 Ubuntu-2D CRON[29148]: pam_unix(cron:session): session closed for user root
Mai 17 21:32:52 Ubuntu-2D smbd[29632]: pam_unix(samba:session): session closed for user nobody
Mai 17 21:39:01 Ubuntu-2D CRON[29817]: pam_unix(cron:session): session opened for user root by (uid=0)
Mai 17 21:39:01 Ubuntu-2D CRON[29818]: pam_unix(cron:session): session opened for user root by (uid=0)
Mai 17 21:39:01 Ubuntu-2D CRON[29819]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sess
Mai 17 21:39:01 Ubuntu-2D CRON[29820]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
Mai 17 21:39:01 Ubuntu-2D CRON[29818]: pam_unix(cron:session): session closed for user root
Mai 17 21:39:02 Ubuntu-2D CRON[29817]: pam_unix(cron:session): session closed for user root
Mai 17 22:04:55 Ubuntu-2D smbd[30608]: pam_unix(samba:session): session closed for user nobody
Mai 17 22:09:01 Ubuntu-2D CRON[30744]: pam_unix(cron:session): session opened for user root by (uid=0)
Mai 17 22:09:01 Ubuntu-2D CRON[30745]: pam_unix(cron:session): session opened for user root by (uid=0)
Mai 17 22:09:01 Ubuntu-2D CRON[30746]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && /usr/lib/php5/sess
Mai 17 22:09:01 Ubuntu-2D CRON[30747]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && /usr/lib/php/sessionclean)
Mai 17 22:09:01 Ubuntu-2D CRON[30745]: pam_unix(cron:session): session closed for user root
Mai 17 22:09:02 Ubuntu-2D CRON[30744]: pam_unix(cron:session): session closed for user root



6. Re: Proftpd não reinicia [RESOLVIDO]

Rodrigo Bertini
vortico

(usa Outra)

Enviado em 18/05/2017 - 20:53h

Opa amigo, só consegui ver hoje. Você vai usar ipv6? Se não, onde ta:

# Set off to disable IPv6 support which is annoying on IPv4 only boxes.
UseIPv6 on


coloca um #:
# Set off to disable IPv6 support which is annoying on IPv4 only boxes.
# UseIPv6 on


salva, da um restart (systemctl restart proftpd.service) e vê se sobe.

######################################
https://www.linuxcounter.net/cert/621112.png


7. Re: Proftpd não reinicia [RESOLVIDO]

Osvaldo
DicoO

(usa Ubuntu)

Enviado em 19/05/2017 - 13:22h

Então eu comentei a linha que vc pediu, eu não uso o ipv6, só que ainda não consigo reiniciar o FTP continua com a msm mensagem de erro.

root@Ubuntu-2D:~# /etc/init.d/proftpd restart
[....] Restarting proftpd (via systemctl): proftpd.serviceJob for proftpd.service failed because the control process exited with error code. See "systemctl status proftpd.service" and "journalctl -xe" for details.
failed!




8. Re: Proftpd não reinicia [RESOLVIDO]

Rodrigo Bertini
vortico

(usa Outra)

Enviado em 19/05/2017 - 19:31h

DicoO escreveu:

Então eu comentei a linha que vc pediu, eu não uso o ipv6, só que ainda não consigo reiniciar o FTP continua com a msm mensagem de erro.

root@Ubuntu-2D:~# /etc/init.d/proftpd restart
[....] Restarting proftpd (via systemctl): proftpd.serviceJob for proftpd.service failed because the control process exited with error code. See "systemctl status proftpd.service" and "journalctl -xe" for details.
failed!



Blz, agora da o comando journalctl -xe novamente e tenta achar aquela parte que te pedi antes. Tem que ver o retorno que ele deu.

######################################
https://www.linuxcounter.net/cert/621112.png


9. Re: Proftpd não reinicia [RESOLVIDO]

Osvaldo
DicoO

(usa Ubuntu)

Enviado em 20/05/2017 - 16:40h

Seria esta parte, ou vc quer todo o resultado?

-- A unidade proftpd.service está sendo iniciada.
Mai 20 16:27:52 Ubuntu-2D proftpd[2121]: * Starting ftp server proftpd
Mai 20 16:27:52 Ubuntu-2D proftpd[2121]: 2017-05-20 16:27:52,547 Ubuntu-2D proftpd[2131]: warning: unable to determine IP address of 'Ubuntu-2D'
Mai 20 16:27:52 Ubuntu-2D proftpd[2121]: 2017-05-20 16:27:52,547 Ubuntu-2D proftpd[2131]: error: no valid servers configured
Mai 20 16:27:52 Ubuntu-2D proftpd[2121]: 2017-05-20 16:27:52,547 Ubuntu-2D proftpd[2131]: fatal: error processing configuration file '/etc/proftpd/proftpd.conf'
Mai 20 16:27:52 Ubuntu-2D proftpd[2121]: ...fail!
Mai 20 16:27:52 Ubuntu-2D systemd[1]: proftpd.service: Control process exited, code=exited status=1
Mai 20 16:27:52 Ubuntu-2D systemd[1]: Failed to start LSB: Starts ProFTPD daemon.
-- Subject: A unidade proftpd.service falhou
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade proftpd.service falhou.
--
-- O resultado é failed.
Mai 20 16:27:52 Ubuntu-2D systemd[1]: proftpd.service: Unit entered failed state.
Mai 20 16:27:52 Ubuntu-2D systemd[1]: proftpd.service: Failed with result 'exit-code'.




10. Re: Proftpd não reinicia [RESOLVIDO]

Rodrigo Bertini
vortico

(usa Outra)

Enviado em 21/05/2017 - 09:37h

DicoO escreveu:

Seria esta parte, ou vc quer todo o resultado?

-- A unidade proftpd.service está sendo iniciada.
Mai 20 16:27:52 Ubuntu-2D proftpd[2121]: * Starting ftp server proftpd
Mai 20 16:27:52 Ubuntu-2D proftpd[2121]: 2017-05-20 16:27:52,547 Ubuntu-2D proftpd[2131]: warning: unable to determine IP address of 'Ubuntu-2D'
Mai 20 16:27:52 Ubuntu-2D proftpd[2121]: 2017-05-20 16:27:52,547 Ubuntu-2D proftpd[2131]: error: no valid servers configured
Mai 20 16:27:52 Ubuntu-2D proftpd[2121]: 2017-05-20 16:27:52,547 Ubuntu-2D proftpd[2131]: fatal: error processing configuration file '/etc/proftpd/proftpd.conf'
Mai 20 16:27:52 Ubuntu-2D proftpd[2121]: ...fail!
Mai 20 16:27:52 Ubuntu-2D systemd[1]: proftpd.service: Control process exited, code=exited status=1
Mai 20 16:27:52 Ubuntu-2D systemd[1]: Failed to start LSB: Starts ProFTPD daemon.
-- Subject: A unidade proftpd.service falhou
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- A unidade proftpd.service falhou.
--
-- O resultado é failed.
Mai 20 16:27:52 Ubuntu-2D systemd[1]: proftpd.service: Unit entered failed state.
Mai 20 16:27:52 Ubuntu-2D systemd[1]: proftpd.service: Failed with result 'exit-code'.



Esse mesmo. Agora posta aqui o conteúdo do /etc/hosts pra compararmos com o hostname da tua máquina.





######################################
https://www.linuxcounter.net/cert/621112.png


11. Re: Proftpd não reinicia [RESOLVIDO]

Osvaldo
DicoO

(usa Ubuntu)

Enviado em 21/05/2017 - 14:01h

Eu comparei o /etc/hosts com o meu hostname e os nomes estavam iguais, porem eu percebi que estava faltando o ip do host e o do localhost eu inseri as linha e reiniciei o servidor e o proftpd subiu de boa.

vim /etc/hosts
192.168.1.200   Ubuntu-2D.2danalises.com.br Ubuntu-2D
127.0.0.1 localhost
127.0.1.1 Ubuntu-2D

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters


Agradeço pela paciência e dedicação, muito obrigado.


12. Re: Proftpd não reinicia [RESOLVIDO]

Rodrigo Bertini
vortico

(usa Outra)

Enviado em 21/05/2017 - 22:08h

DicoO escreveu:

Eu comparei o /etc/hosts com o meu hostname e os nomes estavam iguais, porem eu percebi que estava faltando o ip do host e o do localhost eu inseri as linha e reiniciei o servidor e o proftpd subiu de boa.

vim /etc/hosts
192.168.1.200   Ubuntu-2D.2danalises.com.br Ubuntu-2D
127.0.0.1 localhost
127.0.1.1 Ubuntu-2D

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters


Agradeço pela paciência e dedicação, muito obrigado.


Show, que bom conseguiu encontrar. E sem erro, aqui vamos nos ajudando e aprendendo um com o outro. Valeu, abraços.

######################################
https://www.linuxcounter.net/cert/621112.png






Patrocínio

Site hospedado pelo provedor HostGator.
Linux banner
Linux banner
Linux banner

Artigos

Dicas

Viva o Android

Tópicos

Top 10 do mês

Scripts