ispCP - Board - Support
Running IspCPOmega on a different Port - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: Running IspCPOmega on a different Port (/thread-9646.html)



Running IspCPOmega on a different Port - ralfoertner - 02-17-2010 09:35 AM

Hello!

I am pretty new to IspCPOmega have just made my first successfull install.

I have IspCPOmega runing on a lenny vm behind a dsl-router with only on external IP.

Unfortunately all relevant ports 80 21 and so on are used by another server.

So I tried to use the port mapping feature of my router and mapped the internal ports of IspCPOmega to 5080 5021 and so on. But that didn't work.

It seems I have to change the ports that IspCPOmega and its servers are running on.

I made a few tries to do that but it didn't work.

Can anybody help!

Thank you!!!


RE: Running IspCPOmega on a different Port - kilburn - 02-17-2010 10:08 AM

Changing the port is as easy as:

1. Replace the "Listen:80" directive in /etc/apache2/ports.conf by your new port "Listen:XX".
2. Replace the port in the apache's part templates (look inside /etc/ispcp/apache/parts)
3. Copy /etc/ispcp/ispcp.conf to /etc/ispcp/ispcp.old.conf
4. Execute "perl /var/www/ispcp/engine/ispcp-update" and follow the instructions

Important: remind that you must use the server's internal IP when setting up ispcp, not the external one!


RE: Running IspCPOmega on a different Port - ralfoertner - 02-19-2010 10:42 AM

Hello Killburn!

Thank you!

I followed your instructions until point 4.

But I can' execute "perl /var/www/ispcp/engine/ispcp-update" because there isn't a script in there called "ispcp-update"??

One more question I also need to change the port of proftpd do you have also tip for that problem.

Thank you once more.


RE: Running IspCPOmega on a different Port - kilburn - 02-19-2010 01:07 PM

Sorry, the correct path is /var/www/ispcp/engine/setup/ispcp-update.

About proftpd... just look at proftpd's docs, I'm sure it's not hard.

You're welcome Smile


RE: Running IspCPOmega on a different Port - ralfoertner - 02-20-2010 07:44 AM

(02-19-2010 01:07 PM)kilburn Wrote:  Sorry, the correct path is /var/www/ispcp/engine/setup/ispcp-update.

About proftpd... just look at proftpd's docs, I'm sure it's not hard.

You're welcome Smile

So here I am once more...

Sorry I worked through points 1 to 4 - executed the script.

But ISCP is not reachable anymore (I tried to change to 5080).

I thought I missed to change some of the scripts in "parts" directory of apache. But I could not find any.

What may be wrong?


RE: Running IspCPOmega on a different Port - kilburn - 02-20-2010 09:34 AM

1. Use the logs luke... or paste them here so we can use them Wink
2. "netstat -tlnp" should show what programs are listening in which ports, post the output of this command too.