How Disable /~username And Openbasedir On Direct Admin
May 21, 2009i have added
<IfModule mod_userdir.c>
UserDir public_html
</IfModule>
and restart apache. but not work
i have added
<IfModule mod_userdir.c>
UserDir public_html
</IfModule>
and restart apache. but not work
Well what i can i say that direct admin is really pain in the ass, twice i asked in their forum but it was queued for moderation then not published. i'm having a problem setting up my domain 100% correctly.
let me explain more:
Before 1 or 2 weeks, i re-build the server and installed direct admin, but its really harder than other panels and i couldn't figure it 100% how to do,
my website now is running but i have the following problems
1- domain name can not be solved by all people. when i try to ping it it says its not resolvable, while the domain opens for most of users except for very few which gives an error saying can not connect to server
2- i get this error when using intodns.com
[url]
while everything else is ok
3- some of users in some countries access home/admin/domains/sharedip/... while others access home/admin/domains/mydomain.com/... which is the correct one, this causes problems but i temporary solved the problem by uploading files into both folders
I am trying to install Direct Admin on Cent OS 4.5 ( 64 bit ), but i am constantly getting library files error, one after another,
Example -
./directadmin: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
then
./directadmin: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory
then
./directadmin: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
goes on .........
But if i install 32 Bit library files (RPM), for them, they vanish and next error comes, with new file missing
I have tried loading 10 RPM's of 32 bit, but i cant go now forever...
Is there anyway to install Direct Admin on 64 Bit Cent OS?
Is there any 1 RPM file, which i can install and then Direct Admin wont give library problems.. ?
As in recent threads i have posted about getting a DA lifetime licence within the next month. I currently get my domains from 123-reg but i am just wondering if someone could help me or if they have an answer to my question!
If i bought a domain from 123-reg and then got a lifetime licence from DA and had it installed onto my server what happens to the nameservers? Like when DA install it onto my box would they sort out the nameservers for my domain aswell like ns1.mydomain.com, ns2.mydomain.com or would i have to pay extra for them?
When I introduce myself as a newbie, I do not exaggerate. Hope to slowly change that, thought.
I have recently rented a dedicated server from worldstream and have paid for a lifetime usage of Directadmin. My goal is just to host my own site.
Now I am trying to transfer the my domain to this server. From what I can tell, I need to change the DNS for the domain from it's current DNS.
In the Directadmin control panel under "DNS Administration", I see "Add Zone" which I assume is the step to take. Under "Add zone", it asks for
(1) Domain name (what format would I enter this)
(2) IP Address (I was supplied with three IP's when I signed up with worldstream. Do I just pick one of these?)
(3) Name Server 1 (Unsure of what to enter here)
(4) Name Server 2 (Ditto as above)
I realize this is quite basic for most.
Just been thinking and currently i host all my services with other hosting companies like my web hosting accounts etc...but was thinking of buying a DA licence and installing it onto one of my linux servers.
On DA's website it says one licence per IP or something along them lines...does this mean if i was to install a licence on say 99.99.99.999 and it was working ok etc but then if i changed my IP range to 99.99.99.998 would that mean the DA licence would no longer be valid?
First install , so i went to DirectAdmin ,
1- Sigend to User Level and Add Another Domain , i added my domain name
2- signed to Reseller panel , then NameServer and created as
ns1.xxx.com
ns2.xxx.com
3- singed to Admin control panel then to Administrator Settings , the second Tabel where it says 'Server Settings (will restart DirectAdmin)
Server's Hostname : kept it as it the name of the company that provided the server
NS1 : ns1.xxx.com
NS2 : ns2.xxx.com
Now i'm waiting 24 hours for the DNS ..
I don't start a CPanel vs DA war, but need to get a "what might be different" list re a VPS.
When I got my present VPS (moved from shared hosting) I had it initially set up with DA. All my previous experience had been with CP on my shared hosting account, but I had read about CP being a bit of a resource hog.
When I tried to set up my VPS, I got it wrong. I ended up with 2 instances of "mymainsite.com" on the server. I got so confused talking with support and their UNIX lingo, that I had them switch to CPanel.
I'm probably going to move to another host and thinking of using DA to save RAM.
I'm not a reseller of hosting, just have 20+ small to very small sites. I have a number of mySQL databases that get a fair number of queries. I have 1 vBulletin app but the traffic on that site is VERY low.
So what will I need to learn differently in DA?
-cron jobs
-parked domains
-migrating sites
-backing up sites
I did some searching but didn't find a ton of reliable information. Is there an easy way to move cpanel accounts over to a direct admin box?
View 3 Replies View RelatedHow to install perl with Direct Admin?
How to install perl with Direct Admin?
there seems to be some debate over which admin panel is the best.
I not looking for anything amaazing in sence of features and add on scrpts. I want it to put hardly any stran on the server and just provide and easy interface for setting up domains, emails databases and ftp accounts.
THe three that have been suggested are
lxadmin
directadmn
plesk
I've just had a quote for a VPS that seemed good value for money until the cost of a Direct Admin license was added ($15 extra).
Looking at DA's pricing the cheapest license you can buy is an internal license (in bulk) which is available to server providers only at 9$ a month.
If that is the case why is it that quite a few providers in the offers forum are providing DA for 5$ or 6$?
As these licenses are being offered on low end VPS with tight margins anyway, I can't understand how they can afford to make a loss on the control panel (if they are in fact).
I'm Running (just) Direct Admin On a Centos 4.3
Due to a typo at the comand line as Root, ive manages to change the owner ship of unknown mounts of files.
The command that was processed (Before it was complete)
chown -R reseller:reseller /
I managed to stop the process ctr+c
and these were the last files to see fly past.
The last one in the list is where it stopped at.
Code:
chown: changing ownership of `/proc/11566/task/11566': Operation not permitted
chown: changing ownership of `/proc/11566/task/11566/fd/0': No such device or address
chown: changing ownership of `/proc/11566/fd/0': No such device or address
chown: changing ownership of `/proc/11572': Operation not permitted
chown: changing ownership of `/proc/11572/task/11572': Operation not permitted
chown: changing ownership of `/proc/11572/task/11572/fd/4': No such file or directory
chown: changing ownership of `/proc/11572/task/11572/cwd': Operation not permitted
chown: changing ownership of `/proc/11572/fd/4': No such file or directory
chown: changing ownership of `/proc/11572/cwd': Operation not permitted
chown: changing ownership of `/etc/X11/X': No such file or directory
chown: changing ownership of `/dev/core': Operation not permitted
chown: changing ownership of `/usr/local/include/libpng/libpng12':
Too many levels of symbolic links
At the moment the server is still running and it seems only to be log in issues with Direct admin. All user / reseller / Admin accounts can no longer log in.
Error after logging in : Unable to determine Usertype user.conf needs to be repaired
No images or nothing
i have just purchased a vps with 1 ip address now i just want one website on the vps can how to configure direct admin to work with the domain.
View 1 Replies View Relatedi have a problem i have dedicated server with direct admin panel so i was trying to change the skin to see how it looked but what a surprise it kick me out and now its blank and i cant get in to the directadmin panel anymore with this error msg
"Error: document not found"
I am currently setting up my server, and are experiencing some problems.
Some of the mails sendt with the php mail() func, ends up in the mail queue in DA, and I get the following error log in DA:
2009-06-04 20:36:02 Received from <> R=1MCHnG-0005uQ-9v U=mail P=local S=1344 T="Mail delivery failed: returning message to sender"
2009-06-04 20:36:02 routing failed for admin@vmnd001.local <admin@munnbind.net> F=<>: Unrouteable address
2009-06-04 20:36:02 routing failed for admin@vmnd001.local <admin@munnbind.net> F=<>: Unrouteable address
*** Frozen (delivery error message)
This only happens with some email domains though. If I set the recipient to my yahoo mail, it works as a sharm, but when I set my other email (<<removed>>) as recipient, i get the error log above.
After installing in my vps the Direct Admin panel i got this at the end:
14:11:40 (156 MB/s) - `/etc/named.conf' saved [949/949]
*** gcc is required for compiling, please install gcc (yum install gcc)***
*** g++ is required for compiling, please install g++ (yum install gcc-c++)***
*** cannot find /usr/bin/make. Please make sure that patch is installed (yum install make) ***
Installation didn't pass, halting install.
Cannot find /usr/local/bin/php
Please recompile php with custombuild, eg:
cd /usr/local/directadmin/custombuild
./build all d
The first command that i was run was:
yum install gcc-g++
*Default username and password for login?
How do I disable cpanel's www.site.com/~userhome/ jumping? I can't find anything on Google.
View 4 Replies View RelatedI tried to disable direct root login but had to struggle to find step-by-step instructions and have written the steps one needs to follow to disable direct root login.
This is an additional security measure where we prevent direct root logins and instead create a user to login and then use a command ‘su –‘ to gain root privileges.
The only risk in this procedure is that you may prevent root login but forget to add the user to the wheel group - effectively locking yourself out of the system.
Follow the steps below and you will not face a problem.
STEP 1: Let us create a user and add it to the wheel group.
For e.g. we want to create a user neonix and give him root privileges.
SSH into your server as root and follow the below commands to create a user.
groupadd neonix
useradd neonix –gneonix
passwd neonix
enteryouruserpasswordhere
verifyyouruserpasswordhere
// Please note -g in the second line
// You can replace neonix with any username of your choice.
STEP 2: Add user to wheel group.
Use your browser to Login to your WHM panel and click on Manage Wheel Group Users.
You will see the user you just added (neonix). Select the user and click ‘Add to group’.
You will see that the user has been added –
Users Currently in the wheel group root,neonix
You have successfully added a user to the 'wheel' group who will be able to 'su -' to root.
LOGOUT OF SSH
Before we disable root login, let us check if the user can login and su – to gain root privileges.
SSH into your server as 'neonix'
Login as: neonix
Password : enteryouruserpasswordhere
su –
password: enter root password here
You have successfully logged in and have root privileges. Now let us disable root login.
STEP 3: Disable Direct Root Login
(The below steps are from webhostgear.com)
1. Copy and paste this line to edit the file for SSH logins
pico -w /etc/ssh/sshd_config
2. Find the line
Protocol 2, 1
3. Uncomment it (Remove #) and change it to look like
Protocol 2
4. Next, find the line
PermitRootLogin yes
5. Uncomment it (Remove #) and make it look like PermitRootLogin no
6. Save the file Ctrl+X then Y then enter
7. Now you can restart SSH
/etc/rc.d/init.d/sshd restart
Now, no one will be able to login to root with out first logging in as 'neonix' and 'su -' to root, and you will be forcing the use of a more secure protocol.
Just make sure you remember both passwords!
I have 2 domain names with 2 usernames setup on WHM:
domain1.com - domain1
domain2.com - domain2
I would like domain2.com website visitors to upload photos to a domain1 path. Unfortunately I can't, I think the problem is with the usernames and the fact that the path where I would like to add the photos belongs to domain1 user. The chmod is 777.
How can I set this up on WHM so domain2.com visitors can upload photos to a domain1 username path?
My server with APF (firewall script) with BFD logs over 1215 events today of some hack user or bot trying to login to my server from various of IP trying many kind of usernames...
Is it possible to customize BFD to automatically ban the IP directly if the username they try to login with it was wrong 2 times?
For example the username is qwerty
The hack is trying with many usernames john, root, master, boot, etc...
I've heard a internet bandwidth service from Equinix named Equinix direct, how about the quality of this service? Does there somebody have the experience of this service?
View 14 Replies View RelatedDoes Level3 have a monthly minimum of some sort? I currently own a dialup internet service provider, buy through a dialup reseller that mainly uses the Level3 managed modem service, and would like to deal with them directly if possible. I am also interested in their collocation services and ip connections in the future.
View 3 Replies View RelatedHow do I login to root with my sudo username and password? I do type su - in putty, but it gives me a "Disconnected: No supported authentication methods available."
View 6 Replies View Relatedwhether its able to change plesk8.3 cpanel username?
When analysing that cpanel i came to know that it is possible to change the password,samewhile its possible to change the username?
I'm moving some accounts from another provider wich don't allow users to make his owns backups, so I'm doing manually from the cpanel. The file I get it's something like username-date.tar.gz
The problem it's when I try to restore it in my server, I get "not user files found" because the .tar.gz file it's like
and inside the folders
And it looks like to have the restore working have to be:
/username
/and inside the folders
So, the solution I have for the moment it's to 1) create the account in the new server 2) restore it login in the cpanel
whenever I try to login into the ftp server I have to enter username@domain.com other it says authentication failed?
Is there an easy way to change it to just the user name?
I am trying to change to a different server within the same webhosting company and they have asked me for the username and password of the SQL database I have in my site. Call me stupid, but I have lost this and now I am wondering what I can do.
Since I can log into the cpanel etc I can very well make a copy of the database etc., if that helps. Is there somewhere I should look in the files and folders where the username password info may be store in? I seem to recall reading somewhere that is the case. Any info appreciated.
The reason the host needs this info is because the new server doesnt use cpanel, it uses something called plesk. So if all fails, I am thinking, I just move to a different host who uses cpanel, that way I dont need the UN/PW? Seems a rather silly thing to do, but I have t consider all alternatives now.
Is it possible to pass the username and password info to a Cpanel login, so that typing it in will let the user log in to his Cpanel without having him to type it manually?
This is for a demo and I'd like the client to see the inside without having to type anything in.
I tried this but it didn't work:
[url]