ispCP - Board - Support
I found ispCP Omega bug... or is not? - 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: I found ispCP Omega bug... or is not? (/thread-16135.html)



I found ispCP Omega bug... or is not? - petru2012 - 06-17-2012 04:42 PM

I found one deficiency or issue. I created one user called user1 and I gave all permissions with option visudo. After that, because, as ssh could not access the htdocs folder with that user, I try give permission for that with next ssh commands (login as root):

Code:
chown -R user1:user1 /var/www/virtual/mydomain1.com/htdocs/
chown -R user1:user1 /var/www/virtual/mydomain2.com/htdocs/
chown -R user1:user1 /var/www/virtual/
chown -R user1:user1 /var/www/

After that I can't access my website's, the error is:
Quote:You don't have permission to access /page/index.html on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

I tried to repeat the above commands, like this:
Code:
chown -R root:root /var/www/virtual/mydomain1.com/htdocs/
chown -R root:root /var/www/virtual/mydomain2.com/htdocs/
chown -R root:root /var/www/virtual/
chown -R root:root /var/www/
but did not fix anything.

Please, can someone help me with some advice? Or you can tell me CHMOD you have all folders and files from the directory var/.

please, Sad


RE: I found ispCP Omega bug... or is not? - petru2012 - 06-17-2012 06:05 PM

Return with other explanations:

It seems that does not start mysql server, simply not recognize the MySQL root and user password.

I try uninstall/install mysql server and reinstall ispcp but I can not access the administrator control panel.

I think I was looking for another VPS panel. By!


RE: I found ispCP Omega bug... or is not? - petru2012 - 06-17-2012 11:11 PM

ispCP Omega I think it needs a chance... only one chance ...

To try ... maybe someone answer me. I reinstalled system (Debian Squeeze 6) and in the admin control panel ispCP I tried to add the second IP (IP is exactly the same that I use when I configured ispcp = I mean the second IP). In control panel there is only "eth0" option. So, I added the second IP and got the mail message:

Quote:Dear admin,

I'm an automatic email sent by your ns1.mydomain.com (IP) server.

A critical error just was encountered while executing function virtual_netcard_add() in
/var/www/ispcp/engine/tools/ispcp-net-interfaces-mngr.

Error encountered was:
Error while trying to add IP XXXXX to network card 'eth0'!

Why the error above occurs?


RE: I found ispCP Omega bug... or is not? - giovy01 - 06-20-2012 05:18 AM

mee too have the error.


RE: I found ispCP Omega bug... or is not? - xclanet - 06-21-2012 06:14 AM

answering your first question: You can't change the owner and group of those folders.
ISPCP creates a special user and group for each website he creates. Apache and the other services have rights on those folders.

So, if you did that... you broke all your install. To repair it, you'll have to look on Apache config to see what user:group is set for each folder.