WholesaleDialup
Verified User
I have a script that I have run for quite some time successfully on a DirectAdmin server. This is a command line PHP script that basically just creates a user, using CMD_ACCOUNT_USER.
I am in the process of setting up a new DA server and I have moved my user creation script over to the new server. I made all necessary changes to point to the new server.
Thing is, when I run this script, the user does not get created and DirectAdmin stops responding until I restart DirectAdmin using "service directadmin restart".
When DA is down, I run "service directadmin status" and it says it's up and running.
directadmin (pid 5173) is running...
When the server is in this state, SSH is still up and running.
Nothing comes back on port 2222 until I run "service directadmin restart" within SSH.
If I run the user creation script again, it takes down DA.
Not sure if this is also some sort of security bug in DA because I am not sure at what point my script is taking DA down, before or after it decides I am authenticated. If it's before I am authenticated then this is a hole that will need to be patched. So far, I am not sure.
Any help would be appreciated because I can't get moved over to this new server without my user creation script.
I am in the process of setting up a new DA server and I have moved my user creation script over to the new server. I made all necessary changes to point to the new server.
Thing is, when I run this script, the user does not get created and DirectAdmin stops responding until I restart DirectAdmin using "service directadmin restart".
When DA is down, I run "service directadmin status" and it says it's up and running.
directadmin (pid 5173) is running...
When the server is in this state, SSH is still up and running.
Nothing comes back on port 2222 until I run "service directadmin restart" within SSH.
If I run the user creation script again, it takes down DA.
Not sure if this is also some sort of security bug in DA because I am not sure at what point my script is taking DA down, before or after it decides I am authenticated. If it's before I am authenticated then this is a hole that will need to be patched. So far, I am not sure.
Any help would be appreciated because I can't get moved over to this new server without my user creation script.