PDA

View Full Version : Can't Delete Users



keefe007
03-31-2010, 03:38 PM
Hello,

I'm trying to delete some users off a system and I'm getting a segmentation fault. I've tried tracing it with gdb but I wasn't able to find any pertinent information from it.

The directadmin error log shows the following:

2010:03:31-17:29:16: Domain::deleteFile::ircatwork.com Can't Read File
2010:03:31-17:29:16: Domain::deleteFile:Could not find ip for deletion of (null)
2010:03:31-17:29:17: *** Segmentation fault *** getlock(/etc/proftpd.passwd) : finished : User: admin : 208.87.120.3 : /CMD_SELECT_USERS : select0=ircatwork&confirmed=Confirm&delete=yes : (null)

Any ideas on how to fix this?

Keefe

SeLLeRoNe
04-01-2010, 03:06 AM
you deleting admin user? Those error seems to come after second or later try on delete... like if he deleted already some files (like domain or files) and the last error is the main one.. but.. i dont get why he say user admin...

keefe007
04-04-2010, 02:45 AM
I'm not trying to delete the admin user. I am logged into DA as the admin user.

SeLLeRoNe
04-04-2010, 04:12 AM
i think you need to contact directadmin support for fix this issue.

Britvax
03-04-2011, 04:29 AM
Any solution on this issue with user deleting? I have exactly the same issue with the following error on error.log

2011:03:04-14:40:54: *** Segmentation fault *** getlock(./data/admin/ips/xxx.xxx.xxx.xxx) : finished : User: admin : xx.xx.xx.xx : /CMD_SELECT_USERS : select0=fortest&confirmed=Confirm&delete=yes : (null)

I checked on filesystem and the file exists where DA is trying to get it at ./data/admin/ips/xxx.xxx.xxx.xxx

The content of the ip file xxx.xxx.xxx.xxx is as following:

gateway=
netmask=255.255.255.252
ns=
reseller=
status=server
value=39


What could be the problem here?

nobaloney
03-06-2011, 12:37 PM
Could be a hardware problem with your drive or partition, which may be mounted read-only.

Jeff

Britvax
03-06-2011, 12:43 PM
Turned out it was DA problem with binaries. getlock does finish the process.
Contacted DA support, they supplied my with newest binaries for Debian. Downloaded them - now DA works as a charm.