all the server is error 403 and ftp 530 and directadmin not working anymore

Kuchi

New member
Joined
Oct 15, 2010
Messages
1
hi ,
this is the directadmin.conf
SSL=0
addip=/usr/local/directadmin/scripts/addip
admin_helper=admin.site-helper.com
admindir=./data/admin
apache_public_html=0
apache_ver=2.0
apachecert=/etc/httpd/conf/ssl.crt/server.crt
apacheconf=/etc/httpd/conf/extra/directadmin-vhosts.conf
apacheips=/etc/httpd/conf/ips.conf
apachekey=/etc/httpd/conf/ssl.key/server.key
apachelogdir=/var/log/httpd/domains
apachemimetypes=/etc/mime.types
brute_force_log_scanner=1
brute_force_time_limit=1000
brutecount=5
bruteforce=1
cacert=/usr/local/directadmin/conf/cacert.pem
cakey=/usr/local/directadmin/conf/cakey.pem
check_partitions=2
check_subdomain_owner=0
clear_blacklist_ip_time=0
clear_brute_log_entry_time=1
clear_brute_log_time=24
demodocsroot=./data/skins/enhanced
docsroot=./data/skins/enhanced
dovecot=1
emailspoolvirtual=/var/spool/virtual
emailvirtual=/etc/virtual
enforce_difficult_passwords=0
ethernet_dev=eth0
exempt_local_block=1
frontpage_on=0
ftpconfig=/etc/proftpd.conf
ftppasswd=/etc/proftpd.passwd
ftpvhosts=/etc/proftpd.vhosts.conf
ip_brutecount=3
license=/usr/local/directadmin/conf/license.key
log_rotate_size=5
logdir=/var/log/directadmin
logger=/usr/local/directadmin/logger
loghostname=0
login_history=10
logs_to_keep=5
lost_password=0
max_username_length=10
maxfilesize=10485760
mysqlconf=/usr/local/directadmin/conf/mysql.conf
namedconfig=/etc/named.conf
nameddir=/var/named
ns1=ns1.server.com
ns2=ns2.server.com
numservers=5
owsadm=/usr/local/frontpage/version5.0/bin/owsadm.exe
partition_usage_threshold=95
port=2222
purge_spam_days=0
quota_partition=/
removeip=/usr/local/directadmin/scripts/removeip
reseller_helper=reseller.site-helper.com
secure_access_group=access
servername=server.server.com
serverpath=/usr/local/directadmin
session_minutes=60
skinsdir=./data/skins
sshdconfig=/etc/ssh/sshd_config
ssl_cipher=SSLv3
taskqueue=/usr/local/directadmin/data/task.queue
templates=/usr/local/directadmin/data/templates
ticketsdir=/usr/local/directadmin/data/tickets
timeout=120
tmpdir=../../../home/tmp
unified_ftp_password_file=1
user_brutecount=10
user_helper=www.site-helper.com
userdata=./data/users
awstats=0

[root@server directadmin]# ./directadmin b200
Debug mode. Level 200

Unable to read config file. Unable to open /usr/local/directadmin/conf/directadmin.conf for reading.<br>
<br>
Unable to read config file. Unable to open /usr/local/directadmin/conf/directadmin.conf for reading.<br>
<br>
all my users have
Forbidden

You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2 Server at 123.123.123.123 Port 80
and in ftp again
thanks for helping ..
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,932
Location
GMT +7.00
Hello,

Read and learn
/var/log/httpd/error_log
/var/log/httpd/domains/*.error.log
/var/log/proftpd/*
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
4,307
Location
Maastricht
Unable to read config file. Unable to open /usr/local/directadmin/conf/directadmin.conf for reading.
Check the rights in /usr/local/ if the directadmin directory is having diradmin user and grouprights.
You can also do:
Code:
chown diradmin:diradmin /usr/local/directadmin -R
At least on Centos and Debian/Ubuntu, I don't know about freebsd and stuff.
However, this would probably only let Directadmin work, filerights of userdirs etc. still could be wrong.
 

tincboy

Verified User
Joined
Aug 14, 2009
Messages
122
I've the same issue now, and none of below commands helps,
/usr/local/directadmin/scripts/set_permissions.sh all
or
chown diradmin:diradmin /usr/local/directadmin -R

Please someone help me, two hunder websites are down and I can't find the reason
 

tincboy

Verified User
Joined
Aug 14, 2009
Messages
122
yes and the logs are showing only

Unable to read config file. Unable to open /usr/local/directadmin/conf/directadmin.conf for reading.<br>
<br>
Unable to read config file. Unable to open /usr/local/directadmin/conf/directadmin.conf for reading.<br>
<br>
 

tincboy

Verified User
Joined
Aug 14, 2009
Messages
122
Even proftpd shows this error:
- error: unable to open passwd file '/etc/proftpd.passwd': Permission denied
Can you check in the server? ( I will pm the server's info , OK ? )
 

SeLLeRoNe

Super Moderator
Joined
Oct 9, 2004
Messages
6,791
Location
A Coruña, Spain
Since its everytime a new folder that have permission issue, i suppose you really ruined something on your server.

I can take a look on your server, but i do this as payd service, if you wanna hire me, feel free to ask for a quote by PM.

Regards
 
Top