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 : apache start problem |
Posted by: ehcpdeveloper - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (1)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
if your apache still not working,
this should be the error related:
98)Address already in use: make_sock: could not bind to address 216.18.22.101:80
no listening sockets available, shutting down
Unable to open logs
That means:
1- stop apache, /etc/init.d/apache2 stop
2- make sure no other apache instance or any other server that uses port 80 running, to check that, netstat -anp | grep tcp | grep 80
3- it says, unable to open logs. i suggest you to reset all apache/ehcp config files, so that, you may find at which point you get that error, to do that, follow http://ehcp.net/?q=node/771#comment-1177
4- ehcp debug page may also help you: http://ehcp.net/?q=node/771
in fact, you have a simple log dir problem. a directory exists in your configs, but not in system ... Maybe if there is an option of apache that creates those dirs automatically, that would be good..
hope those help..
On Wed, Dec 9, 2009 at 5:54 AM, > wrote:
> apache2/error.log attached
>
>
> ----- Original Message ----
> From: ehcp.net <info@ehcp.net>
> To: >
> Sent: Tue, December 8, 2009 8:43:02 PM
> Subject: Re: SSL Apache
>
> here is key point:
>
> executing command: /etc/init.d/apache2 restart
> (escapedcmd: /etc/init.d/apache2 restart)
> * Restarting web server apache2
> ...fail!
>
> please send also /var/log/apache2/error.log
>
> or let me in into your server by ssh.
> something is wrong in your configs or system.
> Most probably, some of your directories do not exist in your syste,
> which are configured in apache,
> apache tries to find those dirs, and give error if it cannot find.
>
>
>
> On Wed, Dec 9, 2009 at 2:20 AM, > wrote:
>> Dear ehcp.net;
>>
>> I checked the logs and no certificated configured error. I have attached the logs for your review. I hope this helps you with apache ssl routnes.
>>
>> How do I configure a ssl certificate or does your routine automatically configure it?
>>
>>
>>
>>
>> ----- Original Message ----
>> From: ehcp.net <info@ehcp.net>
>> To: >
>> Sent: Mon, December 7, 2009 8:09:33 AM
>> Subject: Re: SSL Apache
>>
>> ehcp has link in options->"fix apache config with ssl"
>> this makes a quick&dirty setup, which generates a self-signed
>> certificate, then use that in apache configs.
>> That command make necessary changes in all ehcp config files related
>> to apache(apachetemplate and so on), then, applies that config to
>> apache, then reload apache. You can see exact list of operations done
>> in install_lib.php
>>
>> If something went wrong with your case, you need to check out the logs
>> as described in http://ehcp.net/?q=node/771
>> if you are not able to open https://yourserverip, then, most probably
>> something is wrong in apache configs.. you need to check errors in
>> logs, especially syslog and apache2/error.log
>> I cannot give more info unless I see those logs..
>>
>>
>> I may also try to help you by connecting to your server by ssh.
>>
>> I am sory about those many banners/ads. I will remove them as much as
>> I can. as you saw, I made login page quite clear with version 0.29.12
>> As somebody says, i think to leave a small "donate" button.. or just
>> like wikipedia, "Wikipedia is a non-profit project: please donate
>> today."
>>
>> see you,
>>
>>
>> On Mon, Dec 7, 2009 at 1:09 PM, wrote:
>>> Dear bvidinli;
>>>
>>> I downloaded your panel and it is excellent except for the banners which I will edit later. I am willing to keep some of them because they might help customers, however the hosting ads are not appropriate in the context of my company providing these services as well.
>>>
>>> I tried using your ssl appache setup but was not able to open anything with Firefox latest version. Any ideas as to what this could actually be? I believe your ssl setup generates an internal ssl or self generated ssl certificate. What does the user have to do in order to access the sight. I am using Ubuntu 9.10 latest version. I cannot open anything on my server.
>>>
>>> Sincerely,
>>>
>>>
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 restriction |
Posted by: ehcpdeveloper - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (3)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Question:
Here is my problem.
I have a script. For it to work correctly the writer says
open_basedir must have “no Value”
He just took a look at my php.ini and said I need to correct it .
If you look at my php.ini here you will see Master value is setup correctly (meaning “open_basedir” is set to no value)
However Local value is not. See it here
http://xxxxx.com/phpinfo.php
You will see local is set to
var/www/vhosts/mydomain.com/mydomain.com
How can I set it to “no value”?
The only place I saw it was in /var/www/vhosts/ehcp/apachehcp.conf
If I try to edit it there Apache fails to start.
Please help
Answer:
You can find some posts about this topic in http://www.ehcp.net/?q=search/node/open_basedir
To explain (maybe again) your case:
<li>1st, making open_basedir empty, meaning disabling it, and be sure that, this is a serious server security hole, with disabled, website owner can do bad things with your server,
<li> however, if you still want to disable:
<li>to disable for all domains, edit apachetemplate file, then options->sync domains
<li>to disable for only a single domain, click "edit apache template", delete open_basedir line
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
|
|
|
ehcp email sending, pop3, outlook |
Posted by: ehcpdeveloper - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (23)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Question:
Hi,
I have a fresh install of Ubuntu 8.04 Server where EHCP latest version was installed last week. Until today near everything is working fine. I have some apps not working and with errors like “Sys. Information” but I’ll discuss this problems later. For now I’m much more concerned with the e-mail server thing. The system can send and receive e-mails normally using Squirrel mail web interface, but when I try to configure an e-mail client like “Microsoft Office Outlook” I have a bunch of errors with the SMTP connection. I have tried everything that I found in your forums and help files with no results. I work with hosting in Windows Server environments since 1998 but with Linux I’m a complete newbie. I think that the problem could be with the SMTP port. In my last Windows 2003 server I had an arrangement that the SMTP used ports 25 and 587 because some ISPs here in Japan and other countries are blocking port 25 for spam reasons. I would like to try to do the same ar
rangement with Ubuntu but I don’t know how! What are the commands and where to look for in Ubuntu or EHCP? What I’ll have to do to configure Outlook? Where can I find in the system (or in EHCP) information about the “mail.domain.com”, “port numbers”, and all other stuff related to the mail server (postfix)…?
Regards,
Answer:
mail system name may be one of:
www.yourdomain.com
yourdomain.com
mail.yourdomain.com
as long as you host all in one server.
normally, port 25 is setup by default,
you need to test outlook connection using pop3, with ssl/tls settings,
try tls, ssl one by one in outlook.
Dont forget to include @domain.com in your email username.
as you mentioned, your ISP may block your port 25.
is your server located on a datacenter, or your home such as dsl ?
if your server in home/dsl, and if your isp blocks port 25 toward your server, then you are in trouble, you need to make your ip static, and ask your ISP to open port 25.
try also this:
open console, in linux,
open file using:
<code>nano /etc/postfix/master.cf
add on bottom of file:
<code>submission inet n - - - - smtpd
save and exit
then:
<code>/etc/init.d/postfix restart
this way, your server will accept emails at port 587 rather than 25.
This may solve your problem.
Email things are hardest part of a hosting business.
in fact, it is not so hard, but, compared to other things, it is hardest. if you think, latest changes in ISP's regarding port 25/587, because of spam, email problems changes in time
on any subject, including email, debuggin your system may help you a lot in understanding and solving your problems. so, debug your system while dealing with email, as described in http://ehcp.net/?q=node/771
Good luck.
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
|
|
|
Q & A: howto use another space in my system for storage? |
Posted by: ehcpdeveloper - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (1)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Question:
I have a Big empty secondary 1TB drive. I need to point one of my domains to the secondary drive instead of the default /var/www/vhosts/somedomain.com/
Do you know how I can do that?
Answer:
you can do that like:
<code>mv /var/www/vhosts/yourftpusername <code>/var/www/vhosts/yourftpusername2
<code>ln -s /your/target/empty/drive/path <code>/var/www/vhosts/yourftpusername
<code>mv /var/www/vhosts/yourftpusername2/* /var/www/vhosts/yourftpusername/
<code>chown -Rvf vsftpd /var/www/vhosts/yourftpusername
This was simple linux so-called "symlinking".
I did not tested it but should work.
the idea is:
move your original data to a new name,
symlink your empty space to your original path
move your original data to your new symlink
make it ftp reachable (owned by vsftpd service)
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
|
|
|
Q & A: some help requests from ehcp users |
Posted by: ehcpdeveloper - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (2)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Guest: ERROR: Error connecting to IMAP server "localhost:143".Server error: (111) Connection refused
me: .
your imap is not functioning
Guest: i get it when i login to my webmail,,
me: you have many domains in your ehcp ?
Guest: no,,
me: then, I suggest to install ehcp again
now, your imap is not running normally
or,
alternatively,
reinstall imap things again
to do that,
1m
Guest: 1 m?
me: sudo aptitude install pop-before-smtp postfix saslauthd courier-authdaemon courier-imap courier-imap-ssl courier-pop courier-pop-ssl
1m=1min
this command: sudo aptitude install pop-before-smtp postfix saslauthd courier-authdaemon courier-imap courier-imap-ssl courier-pop courier-pop-ssl
Guest: ok i will do that,,thanks,,
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
|
|
|
HOWTO : Autoreply message |
Posted by: jmary - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (6)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Please see http://www.progression-asia.com/node/87
Restored from old drupal forum, for user uid:2659 username:jmary
You may reset your password to access your new account here.
|
|
|
Debug ehcp and your system |
Posted by: ehcpdeveloper - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (5)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
in many cases, debuging your system and ehcp may help you resolve your problem.
Either your problem is email, or domains, or anything else, following steps may help you to resolve your problem.
1.open a console on your server, then enter:
sudo tail -f /var/log/ehcp.log
This will monitor the running of ehcp daemon.. you will/may see many lines when you add domains/subdomains.. or do some operations in your ehcp gui
2. open a separate console on your server, then enter:
sudo tail -f /var/log/syslog
this will show almost all aspects of your server, including email send/receive.. so, this will be useful when debugin especially email problems.
3. to be sure, open a separate ssh console, then enter:
sudo /etc/init.d/ehcp restart
this will restart ehcp daemon (background process) and make sure operations on ehcp gui be applied to your system.
Without daemon, most gui operations will not be applied to system.
after doing this, watch your console on 1 and 2 and try to debug your system.
<li>Note that, these are not mostly necessary on many systems, I mean, ehcp will usually work out of box. These are only needed on some circumstances and may help you resolve your cases..
<li>If you changed your mysql ehcp user pass after installation, follow: http://www.ehcp.net/?q=node/92
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
|
|
|
Q & A: may I use another webmail ? |
Posted by: ehcpdeveloper - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (4)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Question:
Is there a way to use another email service besides SquirrelMail? I have used RoundCube in the past, and I would like to know if its compatable with EHCP?
Answer:
it is possible to use it,
but you need to install it manually..
squirrelmail has nothing to do with ehcp, it communicates with email system using standard imap protocols..
if you can setup another webmail system, using imap or pop, then you may use it..
I choosed squirrelmail because it is easy to install.
I had tested roundcube, but it requires many manual steps..
to be able to include roundcube into ehcp, we need to have an automated installer.
if anybody knows to install roundcube via a script, then, we can include it in ehcp.
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
|
|
|
Customize default EHCP pages |
Posted by: ryrobbo - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (2)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Hello,
I have found the login and control panel files and edited them successfully by removing the ads. I now want to do the same with the webmail template and the page you get when you type in the server IP.
Does anyone what the filenames of these files are called?
thanks.
Restored from old drupal forum, for user uid:2872 username:ryrobbo
You may reset your password to access your new account here.
|
|
|
|