How To...[create Accounts Via Ssh]
May 27, 2007
I have a linux server and permenently I not have access to any control panel. I just need to know:
1 - how I can create accounts via ssh.
2 - how I can create emails for special accounts via ssh?
View 5 Replies
ADVERTISEMENT
Jul 5, 2007
I am having issues with my server and WHM. First of all, i followed the link here but i am a bit confused. When i goto add the Assign IP Address button it pops up and says no free ip addresses, i click on Add an A Entry for this Nameserver and the window pops up warning the domain file doesnt exist, it says it creates one and adds the A record.
A few notes, i did change the alternative main ethernet device to venet0:0, and the hostname to myserver.mydomain.net (as well as the actual hostname, so they match in both areas). On clicking next on the initial setup, i enabled the local nameserver. The setup completed and then the problems began.
Another massive issue i have is that i cannot create accounts, i goto create a new account and enter all the information. i hit create and the status says Account Created Sucessfully. However the account isnt listed in the account list, it is however listed in the dns zones (under edit dns).
Checking a few places:
root [~]# cat /etc/nameserverips
90.90.90.90=NS1.MYDOMAIN.NET
90.90.90.91=NS2.MYDOMAIN.NET
root[~]# cat /etc/resolv.conf
nameserver 80.80.80.80
nameserver 80.80.90.80
root [~]# cat /etc/wwwacct.conf
ADDR 90.90.90.90
CONTACTEMAIL email@gmail.com
CONTACTPAGER
DEFMOD x
ETHDEV venet0:0
FTPTYPE proftpd
HOMEDIR /home
HOMEMATCH home
HOST myserver.mydomain.net
LOGSTYLE combined
MINUID
NS ns1.mydomain.net
NS2 ns2.mydomain.net
NS3
NS4
NSTTL 86400
SCRIPTALIAS y
TTL 14400
root@gizmo [~]#
root [~]# cat /etc/named.conf
include "/etc/rndc.key";
controls {
inet 127.0.0.1 allow { localhost; } keys { "rndckey"; };
};
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
};
zone "." IN {
type hint;
file "/var/named/named.ca";
};
zone "localdomain" IN {
type master;
file "/var/named/localdomain.zone";
allow-update { none; };
};
zone "localhost" IN {
type master;
file "/var/named/localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "/var/named/named.local";
allow-update { none; };
};
zone "255.in-addr.arpa" IN {
type master;
file "/var/named/named.broadcast";
allow-update { none; };
};
zone "0.in-addr.arpa" IN {
type master;
file "/var/named/named.zero";
allow-update { none; };
};
zone "ns1.mydomain.net" {
type master;
file "/var/named/ns1.mydomain.net.db";
};
zone "ns2.mydomain.net" {
type master;
file "/var/named/ns2.mydomain.net.db";
};
I am confused about the ns1.mydomain.net and ns2.mydomain.net, surely these should be under one zone file mydomain.net.db? Can anyone please enlighhten me as to why WHM is creating the two zones seperately, or infact is creating as i believe subdomains?
I would like to run custom nameservers, but it says i only have 1 free ip. Do i need to purchase more ip addresses? When i goto 'Show or Delete Current IP Addresses' both my ip addresses are shown 90.90.90.90 and 90.90.90.91, but there is no delete button, it is only a list of the IPs in green.
Are there any fixes i can do, i dont understand why it is broken. How about resetting and performing a reinstall, where is the license file for WHM/cPanel stored, maybe i could move that out of the way, reinstall cPanel then re-register the license. Can i simply reinstall over the top and reset my settings to default?
View 1 Replies
View Related
Jun 6, 2008
I have a VPS hosting and have two IPs. Can I create multiple accounts using a shared IP in WHM?
I created but the page always showed failed
"Account Creation Status: failed (Your system has run out of avaiable ip addresses, or you do not have permission to use any more ip addresses. (Unable to find an ip address.) )"
View 6 Replies
View Related
Jun 4, 2007
Recently I adquired a new HD for one of my cpanel servers because the primary one was almost full at 90%, now i wanna create accounts in the new secondary HD. This HD is already monted as /home2 and ready to work, but I just dont know how to create the new accounts in WHM to use the secondary HD.... can anyone tell me how to do it using WHM ?
View 3 Replies
View Related
Jun 3, 2009
I've just put all my own domains on their own server, away from my clients' domains.
I don't really want to go through 60 Cpanel accounts creating an email address for myself in each.
Is there a way to create a single pop account in each account? I seem to recall there's a way to change the default email address to fail: or blackhole: server-wide so I guess there'll be a way to create a mail account.
View 2 Replies
View Related
Aug 7, 2008
Customer has requested the following:
"Create a zend id for your machine." This is apparently for them to create a product key for their software and have to bind to it?!
I have never heard of this and have been unable to locate any information on it.
This is a Centos box with php 5.2.5 installed:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
how to go about this or even what this is?
View 2 Replies
View Related
Jul 17, 2007
Transfer accounts to new server - unlimited quota in all accounts.
I trying
Code:
quotaoff -av
quotaon -av
/scripts/updatenow
/scripts/initquotas
/scripts/fixquotas
Code:
[root@serwer /]# /scripts/updatenow
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Running updatenow manually may cause /scripts to become
out of sync with the cPanel installation. This can cause
a variety of problems.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Code:
[root@serwer /]# /scripts/initquotas
Warning virtual file systems are mounted. Quota's may be counted as double for users who are currently logged in. Please have jailshell users logout before running quotacheck in the future! All jailed users will be logged out in 60 seconds!
Broadcast message from root (Tue Jul 17 19:47:41 2007):
Warning! The system is about to perform quota maintenance. All users will be
logged out in 60 seconds. PLEASE Do not log back in for 30 minutes, or you may
inadvertantly disable your account.
jailshell: no process killed
Quotas are now on
Code:
[root@serwer /]# /scripts/fixquotas
Installing Default Quota Databases......Done
Warning virtual file systems are mounted. Quota's may be counted as double for users who are currently logged in. Please have jailshell users logout before running quotacheck in the future! All jailed users will be logged out in 60 seconds!
Broadcast message from root (Tue Jul 17 19:49:17 2007):
Warning! The system is about to perform quota maintenance. All users will be
logged out in 60 seconds. PLEASE Do not log back in for 30 minutes, or you may
inadvertantly disable your account.
No filesystems with quota detected.
Resetting quota for adamkaro to 1024 M
No filesystems with quota detected.
Resetting quota for adammore to 1024 M
No filesystems with quota detected.
Resetting quota for adamna to 1536 M
No filesystems with quota detected.
Resetting quota for adasmp3 to 1024 M
View 14 Replies
View Related
Aug 2, 2008
We have about 3 resellers on one server and all of a sudden, when I log in to whm and click "Show Reseller Accounts", all accounts show under root.. What's even strager, is that under package colum, it says "undefined"
However, when I click "list accounts", all accounts show and they are properly setup up with the correct package and owner (not all root.. They also show to which reseller they belong).
how to fix the problem when I click "Show Reseller Accounts"?
View 3 Replies
View Related
Sep 14, 2007
create virtual environments using ssh
(virtuozzo).
(my host does not give VZCC license)
View 3 Replies
View Related
May 15, 2009
How can i create a /tmp partition (as cpanel recomends) in my openvz vps to install cpanel?
Quote:
/tmp 1 GB (1024 MB)
/ Grow to fill disk.
View 1 Replies
View Related
Jul 5, 2009
Im in /home/test
i need to create an archive from all test contain.
How can do it?
View 8 Replies
View Related
May 8, 2009
create VPS PACKAGES under my cent0s dedicated server?
View 14 Replies
View Related
Jun 18, 2008
How can I create a new account in SSH? how can I do this for one of our resellers?
we use cPanel.
View 3 Replies
View Related
Sep 14, 2008
can any body give me pdf or any linki that learn how to create vps on server?
View 12 Replies
View Related
Mar 27, 2008
I am been playing with tutorials online since yesterday and can't find any to do something I think is very simple.
In PHP, I have the full path to an image saved in variable $filename
How do I use the GD library to generate a 100x100 thumbnail of $filename and display it within my PHP code without having to use more PHP files or writing the new thumbnail image to a permanent location on the drive?
View 2 Replies
View Related
Jun 14, 2008
How can create a sub domain for one of our accounts in SSH?
we use cPanel.
View 9 Replies
View Related
May 27, 2008
I have cpanel on my server but my license have some problem and I cannot login to cpanel or WHM , I have root access.
I need to create a Database immediately as same as cpanel create that.
how can I create a database with user and user privileges (same as when I create in cpanel)?
View 8 Replies
View Related
Mar 15, 2008
i have server windows 2003.
ISS 6.
PHP 5.x
MySQL 5.0
how to create rules with ip/5hit/s is black list and auto ban ip with IPSec.
when test attack file .php
info test :
using code attack files.
attack file test.php ( code files : <?php echo "we are test" ; ?> )
Ex : attack files test.php ( http://mydomain.php/test.php )
attack 200hit/s ( all files .php is not run ) php application is hang.
also wherewith code attack. i tested asp, html. it isn't problem. ( 1879hit/s ) ( good working)
how to create rules ban ip with 5hit/s?
View 2 Replies
View Related
Jan 28, 2007
There is no directory for the root account on my server. The server admin tells me this:
"It looks like all the files in there were deleted. I suggest you terminate and recreate the site in order to reset all the relevant directories."
Can any one tell me the ssh command that will do this for me?
View 4 Replies
View Related
Mar 11, 2007
How may i create virtual ssl?
for example will that you install plesk,all site support of https or ssl
or por 2083 for cpanel
I want create one virtual ssl that was only https for self
my site is robo4u.com(example)
I lesson that we can with openssl but how may?
Config? setting? or ...
View 1 Replies
View Related
Aug 24, 2007
I am running a small VPS plan. I created one share account and login to cpanel but get some errors.
Can not create database from that cpanel .I don't know what i should do?
View 2 Replies
View Related
Nov 21, 2007
I see all the hosting providers are now offering rollovers, can someone please help on how to setup a rollover? I know you would have to have two different hosting providers using different backbones, but how do you have one provider pull the information to the other provider?
View 4 Replies
View Related
Jun 21, 2009
when i am trying to use php my admin i am getting
#1 - Can't create/write to file '/tmp/#sql_bba_0.MYI' (Errcode: 30)
when i am trying to delete a file from /tmp i am getting
rm: cannot remove `sess_***': Read-only file system
i have Linux box with cpanel,
View 6 Replies
View Related
Jun 20, 2009
How can I create additional ftp user using SSH and to give access only to a specified folder for example,
httpdocs/folder1/
View 7 Replies
View Related
Jun 9, 2009
how to create a separated DNS server?
It seems that the LSN DNS servers aren't reaching all of our customers and I've ruled everything out down to DNS.
We have a good VPS ready to take on the task of becoming our DNS servers.
View 2 Replies
View Related
May 15, 2009
how can i creat backup from my users every 12 houer on cpanel?
in standard mode. cpanel cant do it. it can backup every day.
View 3 Replies
View Related