Welcome, Guest |
You have to register before you can post on our site.
|
Latest Threads |
ADD DOMAIN (can't find v...
Forum: Ehcp General, uncategorized yet
Last Post: RichardCrite
11-24-2024, 02:03 AM
» Replies: 29
» Views: 52,949
|
EHCP API1 error
Forum: Ehcp Development
Last Post: robind99
04-14-2023, 10:14 PM
» Replies: 4
» Views: 3
|
EHCP API Setup subdomain
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 67
|
EHCP auto startup nginx i...
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 0
|
VSFTPD
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 3
» Views: 5
|
PHP failed copy
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 3
|
install echp + node js
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 0
|
About Beta Software, Ehcp...
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 1
» Views: 1
|
La marque de l'enseigne C...
Forum: Ehcp Development
Last Post: shanmao
04-14-2023, 10:14 PM
» Replies: 1
» Views: 0
|
On portera une attention ...
Forum: Ehcp Development
Last Post: shanmao
04-14-2023, 10:14 PM
» Replies: 1
» Views: 1
|
|
|
Q & A : email import/migrate |
Posted by: ehcpdeveloper - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (1)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Guest: hi
Sent at 1:36 PM on Thursday
me: hi
Guest: am a new customer using ur product
I hav installed and it seems working great
me: .
Guest: ehcp
me: how can I help
you
thank you, nice
nice to hear that
Guest: how can I migrate old email users from unix machine to the new ehcp
me: what is format of your old email users ?
are they linux system users ?
do you have a list of those users, with passwords ?
Guest: yes, linux sytem users
I don't have the list
me: you may do this way:
get a list using /etc/passwd
then, you may add them, using some sql, to ehcp,
with default pass of 123456
for ex
does this enaugh for you ?
i will show you the sql.
in ehcp gui, bulk email add does not exist, but you can add using phpmyadmin.
Guest: how am I gonna read the passwd file
me: on linux console,
cat /etc/passwd
Guest: then, should I copy and paste somewhere else?
me: get that list, then, i will show you the way.
Guest: ok
me: extract only usrenames from that list.
is linux users and ehcp on same server ?
Sent at 1:46 PM on Thursday
Guest: no, not on the same server but, mail server is in an old redhat system
Sent at 1:48 PM on Thursday
me: ok, then get that passwd list, extract only usernames.
your email ?
what is your email ?
Guest: what about passwds
xx@yyyy.net
me: passwords will be reset to a default value.
we cannot extract pass.
Guest: xxxx@gmail.com
Sent at 1:50 PM on Thursday
Guest: so u mean my customers must reset their new passwords
me: yes, I know no other way.
all new passwords will be default newe one.
Sent at 1:51 PM on Thursday
Guest: am not good at linux but how does people migrate from linux mail servers to exchange or other mail servers
me: if passwords exist, in plain text format, they can be re-built.
if no passwords, then, all passes has to be reset.
in all systems.
Guest: I thinks mine is plain text format
me: passwords also plain text ?
sure ?
Sent at 1:54 PM on Thursday
Guest: how can I find out if it is plain text
/
Sent at 1:56 PM on Thursday
me: in any system, passwords are not plaintext
if you dont know, we can say they are not plaintext.
so, we have to reset all passwords.
is this okey for you ?
if yes, i will continue your process.
Sent at 2:09 PM on Thursday
Topic related to this:
http://www.ehcp.net/?q=node/871
http://www.ehcp.net/?q=node/869
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
|
|
|
setup a test dummy domain |
Posted by: ehcpdeveloper - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (4)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
hi,
suppose you need to setup/test a domain without buying it actually.
to do that:
* setup that domain in ehcp.
* open in your local computer, hosts file (/etc/hosts in linux, c:\windows\system32\drivers\etc\hosts in windows) ,
put following at end of that file:
youserverip www.testdomain.com
such as :
3.4.5.6 www.mygoogle.com
save hosts file,
close and open your browser.
you will be able to see that domain in your browser.
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
|
|
|
adding mysql db to existing users |
Posted by: ehcpdeveloper - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (1)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Thu, Jan 14 2010 6:31pm
Hi there,
I have some important to me questions:
1) Is there any way, to create database with existing user (eg. i have one user - admin and want to create many databases with this one user: admin@db1, admin@db2, admin@db3 ...)
2) Let say, i want create for some my users another domains, and want to add them to thiers panels, and DONT WANT create new panel users...
Thanks!
Tue, Jan 19 2010 4:49am - Admin Admin
1) that is directly possible. choose the domain, then, under mysql section. use links like "add db to existing user" or "add user to existing db". almost all combinations are possible about db.
2) this is also possible. but, if you setup your users as single domain owner, then, first, you need to increase maxdomains count in phpmyadmin, ehcp db, panelusers table. (if those users are already resellers, you dont need this.)
after setting that value, you may add new domains to those users, by loging in as that user.
sory for late answer, re-open ticket if you need more help, or open a case in ehcp.net forums section.
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
|
|
|
Q & A: webmail / mail problem, imap dropped connection |
Posted by: ehcpdeveloper - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (8)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Guest: http://panel.xxxxx.co.cc/webmail/src/login.php
user name sales@xxxxx.co.cc pass: xxxx
when trying to log in i get that error
me: 1min
i will check
Sent at 12:23 AM on Saturday
Guest: k thnxs
Sent at 12:25 AM on Saturday
me: what is your ip ?
cannot reach that url here.
i will try ip
Guest: 88.xxx
me: i cannot reach your ip too
is it open outside ?
Guest: yep
i'm logged in via ssh and web
me: sory, your ip is not reachable from here.
i cannot check
write here the error
Guest: i did.
ERROR: Connection dropped by IMAP server.
thats the error when i try logging in
Sent at 12:31 AM on Saturday
me: you have something wrong in your server.
now,
in your server console,
try
tail -f /var/log/syslog
then, re-try login
what you see in log ?
Sent at 12:33 AM on Saturday
Guest:
tail -f/var/log/syslog
Jan 8 23:17:19 Server1 imapd: chdir xxxxx.co.cc/sales/: No such file or directory
Jan 8 23:17:19 Server1 imapd: sales@xxxxx.co.cc: No such file or direct
me: ok.
now, do this:
go to ehcp gui,
delete that email,
then, re-add it
keep console open
then retry login
Guest: doing it now
Sent at 12:38 AM on Saturday
Guest: Jan 8 23:38:43 Server1 postfix/sendmail[23567]: fatal: open /etc/postfix/main.cf: No such file or directory
Jan 8 23:39:01 Server1 CRON[23570]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm)
Jan 8 23:39:43 Server1 imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 8 23:39:43 Server1 imapd: chdir xxxxx.co.cc/sales/: No such file or directory
Jan 8 23:39:43 Server1 imapd: sales@xxxxx.co.cc: No such file or directory
Sent at 12:40 AM on Saturday
me: may I login to your server ?
you have something more
which are in trouble
maybe, you may need to reinstall all
Sent at 12:42 AM on Saturday
Guest: ssh to xxx user: root pass: xxxx
Sent at 12:44 AM on Saturday
me: 2min
Sent at 12:46 AM on Saturday
Guest: k
Sent at 12:47 AM on Saturday
me: your postfix install has errors
what did you do to main.cf file of postfix ?
Guest: i never.. this server is a clean install and I ran the install for ehcp
me: ok.
1min
Sent at 12:50 AM on Saturday
Guest: k
Sent at 12:51 AM on Saturday
me: now
go to ehcp gui
options->fix mail configuration
Guest: Success sending info to daemon (fix mail configuration)
Sent at 12:53 AM on Saturday
Guest: just deleted the email account and re-added it.
Jan 8 23:53:34 Server1 postfix[24257]: fatal: /etc/mailname: cannot open file: No such file or directory
Jan 8 23:54:22 Server1 postfix/sendmail[24463]: fatal: /etc/mailname: cannot open file: No such file or directory
me: 2min
Guest: k
Sent at 12:57 AM on Saturday
Guest: sorry to be a pain
Sent at 1:02 AM on Saturday
Guest: i'll be right back .. gotta pop to the shop .. be back in 5 - 10 mins .. sorry
me: re-try login to webmail
now, it should be fixed
What I did: your /etc/postfix/main.cf was empty, i put a valid generic main.cf, then use ehcp->options->fix mail config, to make it suitable for your server.
then,
put something in /etc/mailname
then restart postfix.
Guest: working .. thank you very much
me: your postfix was broken somehow.. i fixed that
Guest: thank you very much for all your help
me: ok. have nice days with ehcp.
see you, bye
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
|
|
|
Q & A : easy install scripts |
Posted by: ehcpdeveloper - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (1)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Guest chat
Guest has joined.
Guest: Hi
Sent at 12:22 AM on Saturday
me: hi.
Guest: its yyyyy from xxxxx
me: .
Guest: did you have a good christmas?
me: yes, thanks
Guest: gdgd
you no these easy install scripts
how can i get jomoola in english
Sent at 12:25 AM on Saturday
me: english should be available
in install
just select english
doesnt it work ?
Sent at 12:26 AM on Saturday
Guest: no seems to be in turkish i think
me: give me your installation ip
for joomla
i will check
Guest: install ip? you mean were i installed to?
me: yes
or,
joomla url
where you see joomla installation
Guest: i uninstalled it
i will reinstall now
me: ok. do it, i will check
Guest: could you tell me if i add a new 1click install what do i put here scriptdirtocopy
me: for example,
the tgz/zip file
contains a directory like
html
then, that scriptdirtocopy is html
if zip file contains nothing, then leave it empty
you may leave empty.
that case, your script will be installed under what zip file contains.
Guest: ok ty
Sent at 12:33 AM on Saturday
Guest: are you the owner of ehcp?
here is install
http://www.xxxxx-hosting.co.uk/test/installation/index.php
me: yes
i say installation page
just scroll up
the languages
you will see english
Guest: yp
on my ehcp panel?
me: on joomla installation paged
Guest: yep did hat and finished install
chose english but site isnt in english
http://www.xxxxx-hosting.co.uk/test
me: did you do english install ?
if yes,
just you may edit joomla menus and so on
that may be a sample install
Guest: ok
can i re add the 1click install would that work
Sent at 12:40 AM on Saturday
me: yes sure
use add new script link
Guest: i added webspell but it didnt seem to install
me: may I check ?
in your ehcp ?
using admin user ?
Guest: sure
username admin
me: your ip ?
Guest: www.cp.xxxxxhosting.co.uk
http://www.cp.xxxxx-hosting.co.uk
me: admin pass ?
Guest: xxxx
me: that link only adds it to list of easy install scripts
now,
choose your domain
click on easy install scripts
you will see that in bottom
i saw
you did it right.
Guest: i chose my domain
1click installs then webspell
install but it doesnt install
Will copy/add script [webSPELL 4.2.1b] to domain: [xxxxx-hosting.co.uk] directory: [test3]
Click here to see that dir after a 30-60 seconds....
me: wait
that should take a time
to download & install
Guest: yep
me: is link ok ?
Guest: i went to webspeel site and copied the link
http://www.webspell.org/download.php?fileID=32
its a rar file
me: ok.
does it work now ?
Guest: it doesnt make the directory
nope not working
me: then, go to your server console
tail -f /var/log/ehcp.log
then, retry install
watch what happens in install
Guest: ok
Sent at 12:50 AM on Saturday
Guest: executing command :pwd the say unsupport extention deskteklenmeyen dosya uzantisi php?field=32
me: hmm.
ok.
understand
ehcp does not understand, the file extension
you need to provide a tgz, zip or rar
Guest: this because its a rar
me: the url is not in rar, so the error
to fix that
you may find another link
Guest: well i was going to download it upload it as a zip to my site then add that as the download link
me: or even copy that file manually to your server, in a known location, with rar extension
that seems a bug, somethgin like bug
i will fix that
installer does not download,
it checks before download... that seems a bug.
in ehcp
put that file in a known location ,
or 1min
i will put it in ehcp'site
Sent at 12:55 AM on Saturday
me: re-add that script
with url
http://www.ehcp.net/diger/webspell.rar
then re-install it
watch log
Guest: ok
how can i remove a script
the rar that i added
Sent at 1:02 AM on Saturday
Guest: still says unserported
i fixed it by calling it a zip
it worked
me: ok. good
Guest: what you said
me: was you able to install ?
Guest: http://www.xxxxx-hosting.co.uk/testnew/
it doesnt go to http://www.xxxxx-hosting.co.uk/testnew/install but it works
Sent at 1:06 AM on Saturday
me: if you like some other scripts, or want to suggest some, let me know.
so, you understand how to add to easy install scripts.
Guest: yep
i didnt think ubuntu could understand rar files
me: yes, it can..
you may delete unnecessary webspell's from easy install scripts, through phpmyadmin,
ehcp db,
scripts table
Guest: ok
i no a few scripts
i have a cp with heart internet they have loads
i was looking into adding a website builder
for people who carnt do it them selfs
carnt find anything php side
Sent at 1:11 AM on Saturday
Guest: carnt find were to remove them
scipts
i have no ehcp bd
Sent at 1:12 AM on Saturday
me: open phpmyadmin, using root mysql user,
you should see ehcp db
Guest: does root have a standerd password?
found it
Guest: i only have scrip
|
|
|
Mysql Remote Connect |
Posted by: Netlink - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (4)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Guys, I am trying to connect to my MYSQL DB from a remote server. From my local server this works fine for all my Domains
$DBTYPE = 'mysql';
$DBHOST = 'localhost';
$DBUSER = 'dbuser';
$DBPASSWORD = 'dbpassword';
$DBNAME = 'somedb';
// End Configuration
The remote script will be using same configuration info as above. It is just a bridge between one CMS script and another so when users sign up in one, they are automatically signed up in the other.
All is fine but need to kow how to connect to the DB since the two scripts are on two different servers.
This is what I ned to change
$DBHOST = 'localhost';
I have tried
$DBHOST = 'http://mydomain.com/mysql';
$DBHOST = 'http://mydomain.com/localhost';
$DBHOST = 'http://mysql.mydomain.com';
Last one of course needs a DNS change to work
I guess I am now finding out there is more to this than just the URL.
How can I accomplish the above?
Restored from old drupal forum, for user uid:2896 username:Netlink
You may reset your password to access your new account here.
|
|
|
Q & A : multi server : dns : primary & secondary |
Posted by: ehcpdeveloper - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (1)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
ehcp guest: sir how to make own dns to provide other website
ehcp guest: such ns1 ,ns2
ehcp guest: ip address 180.151.1.68 and 180.151.1.89
ehcp guest: i want to make two server
ehcp guest: primary and secondry
ehcpdeveloper odaya giriş yaptı.
ehcp guest: hello
ehcpdeveloper: 1min
ehcp guest: ok
ehcpdeveloper: do you want to manage both server using ehcp ?
ehcp guest: yes
ehcpdeveloper: 2nd server will be only dns ?
ehcpdeveloper: secondary dns ?
ehcp guest: yes
ehcp guest: only backup of primary server
ehcpdeveloper: ok.
ehcpdeveloper: 1min
ehcp guest: for load balancing
ehcpdeveloper: 1st, have a look at http://www.ehcp.net/?q=node/540
ehcpdeveloper: ns1 and ns2 already setup by default, in ehcp.
ehcpdeveloper: on same server,
ehcpdeveloper: if you want to have a secondary serveri
ehcpdeveloper: then, follow this procedure:
ehcp guest: ok
ehcpdeveloper: on server 1 (s1): install ehcp normally,
ehcpdeveloper: s1: get into mysql, give ehcp user the right to connect from ip of server2 (s2)
ehcpdeveloper: that is, mysql ehcp user in s2 should be able to connect to mysql of s1
ehcpdeveloper: then, on s2:
ehcpdeveloper: install ehcp normally,
ehcp guest: yes
ehcpdeveloper: 1min
ehcpdeveloper: in ehcp dir, open config.php,
ehcpdeveloper: replace: $dbhost='localhost';
ehcpdeveloper: with: $dbhost='ip of S1';
ehcpdeveloper: restart ehcp in S2, watch logs, debug S2 as described in http://ehcp.net/?q=node/771
ehcpdeveloper: in this case: S2 will connect to S1 through mysql, to syncronize bind/dns with domains.
ehcpdeveloper: so, S2 will be a secondary dns server.
ehcpdeveloper: in fact, S2 will also setup directories of domains too.., i think.
ehcp guest: ok
ehcpdeveloper: we may need a few manual tuning too.
ehcpdeveloper: this is a manual procedure,
ehcp guest: what
ehcpdeveloper: ehcp has multi-server support only for mysql directly,
ehcpdeveloper: separate dns can only be setup this way, manually.. no automatic way, yet..
ehcp guest: ok
ehcpdeveloper: 1m
ehcp guest: and what to do sir
ehcpdeveloper: 1min
ehcp guest: ok
ehcpdeveloper: i will find and send you, 1min
ehcp guest: ok
ehcpdeveloper: i found this: (since this is a multi server special install):
ehcpdeveloper: in classapp.php,
ehcpdeveloper: just below function daemon(){ , above while loop,
ehcpdeveloper: $this->syncDomains();
ehcpdeveloper: add that,
ehcpdeveloper: and,
ehcpdeveloper: on crontab of S2:
ehcpdeveloper: add:
ehcpdeveloper: */20 * * * * /etc/init.d/ehcp restart
ehcpdeveloper: that will restart ehcp daemon on every 20 minutes,
ehcpdeveloper: so that, your S2 will sycnhronize itself from S1
ehcpdeveloper: if you want a smaller time interval, reduce that 20
ehcpdeveloper: ok ?
ehcp guest: ok
ehcpdeveloper: this is what i can remember.. maybe we may need some more fine tune.
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
|
|
|
Q & A : open_basedir and domain problem |
Posted by: ehcpdeveloper - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (1)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Questions:
1st Problem
When invoked from any domain cp, get the following error:
Warning: Unknown: open_basedir restriction in effect. File(/usr/share/phpmyadmin/index.php) is not within the allowed path(s): (/var/www/vhosts/ehcp/) in Unknown on line 0
Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
Fatal error: Unknown: Failed opening required '/usr/share/phpmyadmin/index.php' (include_path='.') in Unknown on line 0
However when called from ip address no problem
2nd problem:
When creating new domains the path for the domains does not point to httpdocs, it does point to /var/www/vhosts/ehcp
Any Ideas?
Answers:
1.
since each domain has open_basedir restriction,
when you try to access phpmyadmin inside subdomains like cp.yourdomain.com, or in domains, you get that error.
that is normal. you cannot use phpmyadmin which is provided by system, unless you do some fine tuning.. (i will fix that in future versions of ehcp)
some solutions:
<li>http://ehcp.net/?q=node/704
<li>http://ehcp.net/?q=node/256
<li>manually copy phpmyadmin files into domain's directory,
2.
check these:
<li>http://ehcp.net/?q=node/161
<li>http://ehcp.net/?q=node/776
for all:
debugging may help a lot: http://ehcp.net/?q=node/771
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
|
|
|
Custom subdomain http |
Posted by: djanym - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (9)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Assalamu alaikum. How to add custom subdomain http? For now I see that there is only custom domain http.
Restored from old drupal forum, for user uid:2968 username:djanym
You may reset your password to access your new account here.
|
|
|
|