Ubuntu/vsftpd - connection closed by remote host after entering password

1,997

Here was the solution:

https://unix.stackexchange.com/questions/37539/vsftpd-fails-pam-authentication

Basically comment out

auth required pam_shells.so

in /etc/pam.d/vsftpd

Was able to track that down after tailing auth.log. I hope there aren't serious downsides to this but at least it got me back in business today.

Share:
1,997

Related videos on Youtube

mihai constantinescu
Author by

mihai constantinescu

Updated on September 18, 2022

Comments

  • mihai constantinescu
    mihai constantinescu over 1 year

    I am using zo0r react-native-push-notification library.

    For some reason, when i open the app for the first time after i installed it on the mobile device (iOS or Android) the token is returned as null.

        PushNotification.configure({
    
    onRegister: function(token) {
        console.log( 'TOKEN:', token );
    },
    
    onNotification: function(notification) {
        console.log( 'NOTIFICATION:', notification );
    },
    
    senderID: "YOUR GCM SENDER ID",
    
    permissions: {
        alert: true,
        badge: true,
        sound: true
    },
    
    popInitialNotification: true,
    requestPermissions: true, 
    });
    

    My question is, which is the best approach to get the token if the onRegister method returns token as null? Do i have to recall this function in other screen of the app?

     "react": "16.0.0-alpha.6",
     "react-native": "^0.44.3",
     "react-native-push-notification": "^3.0.1"
    

    Thank you for your help,

    Mikhi

    • Deepak Sachdeva
      Deepak Sachdeva over 6 years
      I have done push notification using FCM in react-native. If you need any help related to that then I can help you.
    • mihai constantinescu
      mihai constantinescu over 6 years
      Hi Deepak, thanks for your message. The push notification feature is working for both versions of the app. The open/remaining issue is that i described above.
    • Deepak Sachdeva
      Deepak Sachdeva over 6 years
      yes, It works for both.
    • mihai constantinescu
      mihai constantinescu over 6 years
      Did you use the same package for push notifications?
    • Deepak Sachdeva
      Deepak Sachdeva over 6 years
      Are you asking about same package for firebase configuration ?
    • mihai constantinescu
      mihai constantinescu over 6 years
      yes, i'm asking if you use the same package. if not, what package did you use?
    • mihai constantinescu
      mihai constantinescu over 6 years
      This question is closed...i found some workaround for this issue.