Servu issue continu...
 
Notifications
Clear all

Servu issue continued

5 Posts
2 Users
0 Reactions
904 Views
Posts: 237
Topic starter
(@hxkd)
Reputable Member
Joined: 8 years ago

Sorry it loks like the question is closed to answers..  so I am going to carry on here with the ftp servu issue

Ok after a bit of checking, I can create a user and access a site by manually editing the registry and setting up the required parameters, i can login to the ftp and see the site fine.  Now I assume that solid cp basically runs a powershell script that scripts the setup of a user in registry, how can we go about now debugging this ?

This is the current error

[5/16/2017 7:57:53 PM] ERROR: 'Serv-U FTP 6.x' CreateAccount
System.NullReferenceException: Object reference not set to an instance of an object.
at SolidCP.Providers.FTP.ServU.CreateAccount(FtpAccount account)
at SolidCP.Server.FTPServer.CreateAccount(FtpAccount account)

4 Replies
Posts: 237
Topic starter
(@hxkd)
Reputable Member
Joined: 8 years ago

Which powershell and framework versin should we be using, I see all the servers that are working were or are on  ps ver 3, wsmanstackversion 3. clrversion 4.0.30319.36388, build 6.2.9200.16481, pscompatibleversions 1,2,3m PSremotingProtocolversion 2.2. The working ones are using this, however, I upgraded the non working one to Windows management framework4 which then changed the ps to version 4, but still no luck. I see there is an option in wpi to upgrade to windows framework version5 which says it makes it the same as windows 2012 and 2016 ? I ran the configuration server tool on the 2008r2 box, but its having a dns-lookup cmdlett error.

Reply
Posts: 1509
Admin
(@trobinson)
Noble Member
Joined: 9 years ago

Hi,

 

From looking at the code Powershell is not used. It uses .Net to make the registry changes. You can see the code here: https://git.key4ce.com/SolidCP/v2/blob/master/SolidCP/Sources/SolidCP.Providers.FTP.ServU/ServU.cs#L213

 

Can you confirm they are in the correct place?

 

Thanks

 

Trevor

Reply
Posts: 237
Topic starter
(@hxkd)
Reputable Member
Joined: 8 years ago

all in the right place yep..

Reply
Posts: 237
Topic starter
(@hxkd)
Reputable Member
Joined: 8 years ago

oopsie, ok I took another look, and went back to basics, ok all the servers have the catroot folders in the wow6432Node and not directly in the software folder. Now the weird part is the servers tat are working work fine like this, i then exported out the users folder and imported it into the software folder and the server can now create ftp users..  I am sure I saw a pot regarding the mappping of the wow6432Node folder, but im not sure where...

Reply
Share: