permission for panel

Toptyg

Verified User
Joined
May 25, 2007
Messages
22
Hello all,

I set wrong permission for panel /usr/local/directadmin

sever# ls -la /usr/local
total 44
drwxrw-r-x 20 root wheel 512 16 июн 13:30 .
drwxr-xr-x 20 root wheel 512 10 июн 19:15 ..
drwxr-xr-- 7 root wheel 512 26 май 23:02 Zend
drwxr-xr-x 2 root wheel 4096 15 июн 23:03 bin
drwxr-xr-- 7 diradmin diradmin 512 25 май 17:24 directadmin

Now when I try to start I get error

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


cd conf
ls -l

total 6
-rwxr-xr-- 1 diradmin diradmin 1603 6 июн 08:55 directadmin.conf
-rwxr-xr-- 1 diradmin diradmin 1559 24 май 21:23 license.key
-rwxr-xr-- 1 diradmin diradmin 30 24 май 21:23 mysql.conf


cd /usr/local/directadmin/scripts

./directadmin start
Starting DirectAdmin: [ OK ]

but doesnot work ...for 2222 port

I have no firewall installed..
 
Last edited:
Hello,

That generally implies that the OS set in the license file doesn't match your actual OS. This ends up causing the wrong binaries to be downloaded.

Type:
Code:
uname -r
cat /etc/redhat-release
cat /etc/debian_version
and let us know what it says, also send us an email with the license ID you're using, and we will set it to the correct value for you.

Once the OS is fixed in our system (after you email us), then you can follow this guide:
http://help.directadmin.com/item.php?id=29
To get the new binaries.

John
 
cd scripts
......................................................
sever# ./directadmin restart
Stopping DirectAdmin: usage: kill [-s signal_name] pid ...
kill -l [exit_status]
kill -signal_name pid ...
kill -signal_number pid ...
[ FAILED ]
Starting DirectAdmin: [ OK ]
sever# ./directadmin status
directadmin dead but subsys locked
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>


./directadmin i


## REPORT_START
Welcome to DirectAdmin verion 1.29.7!
You are now about to run the install program. If DirectAdmin is already
installed, it may destroy previous data.


Here is the information given:

Admin user: admin
Admin email: [email protected]
Server IP:my_ip
Server IP Netmask: 255.255.255.0
Server Hostname: myhost.com
Name Servers:
ns1.myhost.com
ns2.myhost.com
Backup of /etc/httpd/conf/httpd.conf to /etc/httpd/conf/httpd.conf.back successfull
Install of /usr/local/directadmin/data/templates/httpd.conf to /etc/httpd/conf/httpd.conf successfull
Backup of /etc/proftpd.conf to /etc/proftpd.conf.back successfull
Install of /usr/local/directadmin/data/templates/proftpd.conf to /etc/proftpd.conf successfull
Install of /usr/local/directadmin/data/templates/directadmin.conf to /usr/local/directadmin/conf/directadmin.conf successfull
*** Unable to read directadmin.conf. Check permissions and make sure that it exists. Unable to open /usr/local/directadmin/conf/directadmin.conf for reading.<br>
<br>

## INSTALL_FAILED
## REPORT_END

I send you mail..


I have installed Freebsd 6.2
I have updated it does not help me :(
 
Last edited:
Back
Top