Re: [Proftpd-user] compiling Proftp 1.3.6

Ian via Proftp-user <[email protected]>
Newsgroups gmane.network.proftpd.user
Message-ID <[email protected]>

Hi Clark, it is set to standalone, here is a snippet of the conf file 

---
ServerName                    "SFTP Server"
ServerType                      standalone
UseReverseDNS             off
DeferWelcome                 off
DefaultServer                   off
---




On Saturday, August 4, 2018, 6:18:13 AM PDT, Clark Christensen <[email protected]> wrote: 





Is proftpd configured as ServerType standalone in proftpd.conf?

Sounds like it might be in inetd mode.

-Clark 

> On Aug 3, 2018, at 8:08 PM, Ian via Proftp-user <[email protected]> wrote:
> 
> I have a compiling from source question .
> 
> When installing proftpd via 
> - yum install -y proftpd followed 
> - systemctl  start proftpd
> 
> the call to systemd exit nicely.  
> 
> When I compile from source using the following 
> 
>  ./configure \
>      --disable-ident \
>      --enable-dso --enable-sodium \
>      --with-shared=mod_sql:mod_sql_postgres:mod_sql_passwd:mod_sftp:mod_sftp_sql \
>      --with-includes=/usr/include/openssl:/usr/include:/usr/include/sodium make
> make install 
> 
> I can run proftpd from command line + i can also start it via systemctl .  However, with my compiled binaris, systemctl will start proftpd but won't exit.  It just blocks waiting for Proftpd to exit .  To get systemctl to exit, i have to change the type from "forking" to "simple" in proftpd.service definition 
> 
> What am I missing ? 
> 
> 
> 
> --------- Content of  proftpd.service 
> 
> [Unit]
> Description = ProFTPD FTP Server
> After = network.target nss-lookup.target local-fs.target remote-fs.target
> 
> [Service]
> Type = forking    >>>>>>>>>>>>>>>>>>>>>>>>>> has to be Type = "simple" 
> PIDFile = /run/proftpd/proftpd.pid
> Environment = PROFTPD_OPTIONS=
> EnvironmentFile = -/etc/sysconfig/proftpd
> ExecStart = /usr/sbin/proftpd $PROFTPD_OPTIONS
> ExecReload = /bin/kill -HUP $MAINPID
> 
> [Install]
> WantedBy = multi-user.target
>  
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! https://nam03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fsdm.link%2Fslashdot&data=02%7C01%7C%7Cfcab35719edf45db34fd08d5f9b79c03%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636689489340707441&sdata=bebH%2BW9O%2BiZinJEqtNWlwWCVSTuzl7mMS8Y7pmMsFTw%3D&reserved=0
> _______________________________________________
> ProFTPD Users List  <[email protected]>
> Unsubscribe problems?
> https://nam03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.proftpd.org%2Flist-unsub.html&data=02%7C01%7C%7Cfcab35719edf45db34fd08d5f9b79c03%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636689489340707441&sdata=L1QyxiScI3ZL7nFPdmeQTceJibO91sG7cIObhhmKGAQ%3D&reserved=0


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
ProFTPD Users List  <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.