This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
121
I can build it / Re: OpenVZ with CWP
« on: July 24, 2017, 09:05:38 PM »
Question to Administrator, Igor S. or any other CWP developer:
What it means "Failed to include API File!!!". After executing "curl http://192.168.199.107:2030/api/?key=Ez6T2extKTDx37Ltvcz&api=account_new&domain=example.com&username=testuser&password=testpass&package=1&email=test@born2host.com&inode=10000&nofile=100&nproc=25" I get Failed to include API File!!!. The key is correct, I added all possible IP addresses that I can come out with from the local network + the external IP - It doesn`t seem to be IP problem. Please, decode for me this "Failed to include API File!!!" to be able to continue work on the VPS panel.
What it means "Failed to include API File!!!". After executing "curl http://192.168.199.107:2030/api/?key=Ez6T2extKTDx37Ltvcz&api=account_new&domain=example.com&username=testuser&password=testpass&package=1&email=test@born2host.com&inode=10000&nofile=100&nproc=25" I get Failed to include API File!!!. The key is correct, I added all possible IP addresses that I can come out with from the local network + the external IP - It doesn`t seem to be IP problem. Please, decode for me this "Failed to include API File!!!" to be able to continue work on the VPS panel.
122
I can build it / Re: OpenVZ with CWP
« on: July 24, 2017, 03:50:07 AM »
Ok now. The problem with the bash is fixed and it`s creating new Virtual Machines, now to fix the api call to add new user to CWP.
Note: For good or for bad the module is going to be with a bash installer, because we will need some programs like lshw for example.
Stay tuned.
Note: For good or for bad the module is going to be with a bash installer, because we will need some programs like lshw for example.
Stay tuned.
123
New Modules / Re: WHMCS integration with CWP
« on: July 22, 2017, 02:29:22 PM »
Do not disable NAT, just add the internal IP of the server (ex. 192.168.1.2) as allowed in api_allowed.conf.
For me the permissions are those:
For me the permissions are those:
Code: [Select]
-rw-r--r-- 1 hosting hosting 6107 Jun 29 22:58 centoswebpanel.php
-rw-r--r-- is: Code: [Select]
chmod 644 file
Don`t forget to change the owner of the file not to be root:Code: [Select]
chown -R username.username
You can check it by:Code: [Select]
(small letters): LL /home/user_where_is_your_whmcs/public_html/modules/servers/centoswebpanel/
124
New Modules / Re: [module] Auto Login FTP
« on: July 22, 2017, 02:22:11 PM »
Now it works like a charm. Thanks.
125
New Modules / Re: WHMCS integration with CWP
« on: July 21, 2017, 08:26:04 AM »
Do you have NAT enabled? Did you checked all the permissions of the files?
126
New Modules / Re: [module] Auto Login FTP
« on: July 21, 2017, 08:17:21 AM »
Error! Couldn't authenticate your login
Ding Tested on CWP6pro.
Ding Tested on CWP6pro.
127
I can build it / Re: OpenVZ with CWP
« on: July 20, 2017, 06:44:50 PM »
Hello guys,
Everything was going ok up to now. Now I headbanged with a problem with executing a shell command through php with so many variables. As of bash documentation "var=${1}...${255}", but ... something goes wrong when sending all the needed variables to the bash script. If anybody got any (advanced) skills in bash I will be very thankful for the help or the release time will be extended again until I find the way to fix it. The other way is to rewrite half of the source code in php and to write like 60 bash files each one to be ready for each OS with specific options like 512M ram, 1G swap, 5G disk space and to send only 3-4 variables to this script. But I don`t see it as a better decision. Will see. Any help is welcome.
Everything was going ok up to now. Now I headbanged with a problem with executing a shell command through php with so many variables. As of bash documentation "var=${1}...${255}", but ... something goes wrong when sending all the needed variables to the bash script. If anybody got any (advanced) skills in bash I will be very thankful for the help or the release time will be extended again until I find the way to fix it. The other way is to rewrite half of the source code in php and to write like 60 bash files each one to be ready for each OS with specific options like 512M ram, 1G swap, 5G disk space and to send only 3-4 variables to this script. But I don`t see it as a better decision. Will see. Any help is welcome.
128
I can build it / Re: OpenVZ with CWP
« on: July 15, 2017, 09:46:37 PM »
Hello people,
I just got an unexpected travel to Hungary on wednesday for around 10 days. I will take all I need with me and make myself access to the developing machine, but since I got an important job there I will use any free minute to continue developing the module. This will again expand in time the release, but I have no choice. Please excuse me for that.
I just got an unexpected travel to Hungary on wednesday for around 10 days. I will take all I need with me and make myself access to the developing machine, but since I got an important job there I will use any free minute to continue developing the module. This will again expand in time the release, but I have no choice. Please excuse me for that.
129
New Modules / Re: [module] Wordpress Installer / Uninstaller
« on: July 15, 2017, 08:41:58 PM »
I use it. Up to now I have no problems with it. If there`s something I`ll let you know.
130
Installation / Re: CWP account API error in creation a new account in WHMCS
« on: July 15, 2017, 06:00:20 AM »
Try the module that I fixed and if you still have problems we will see.
You can find it here: http://forum.centos-webpanel.com/new-modules/whmcs-integration-with-cwp/
You can find it here: http://forum.centos-webpanel.com/new-modules/whmcs-integration-with-cwp/
131
Apache / Re: CWP7 - Apache won't start after changing hostname
« on: July 15, 2017, 05:53:36 AM »
Also turn off the ssl for a while, start it and create new certificate.
132
New Modules / Re: Documentation for development
« on: July 08, 2017, 10:38:07 PM »
When I finish with the OpenVZ I will focus on Migrate CWP->CWP. Unless somebody do it before that
133
New Modules / Re: WHMCS integration with CWP
« on: July 08, 2017, 04:49:33 PM »
During to a planned maintanence Born 2 Host will be down since 09/07/2017 00:30 until 09/07/2017 14:30 (+/- 2h). Any downloads will be unavailable until that time. Sorry for any problems that this may cause.
134
I can build it / Re: OpenVZ with CWP
« on: July 07, 2017, 08:03:18 PM »
So again I am away from the developing machine and again I forgot to setup my routers to have access to it. Good that I got another server here, so I can start to work on the client panel here and later to merge them.
135
I can build it / Re: OpenVZ with CWP
« on: July 07, 2017, 11:41:52 AM »
robbyq I didn`t understand about this $3 and % you were talking about.
by the way everybody can change his root password after logging in the VM with simple command "passwd".
so, yeah. I will remove the "Root Password".
I`m still thinking how to make the single ports -> to be random generated from 40000 to 65535 or the admin to choose/write it manual. Even from 60000 to 65535 is too much for a single server to handle this much VMs. I think that 2000 ports will be more than enough for a single server to be reserved for VMs. Also there are few more config options which I still don`t know how will be better to make them. And the downloader - to download all available OpenVZ templates or the administrator to download the templates manually and from there to short the list of available OSs that users can choose. For the moment the Downloader is downloading all available which I found in google after 2 weeks deep search for templates. At the moment there are 61 distributions, but most of them are different versions of the same Linux. I was wondering to cut the oldest ones and to leave just the last releases, but like this the admin can`t offer VPS with 128MB RAM for example and that`s why I left them.
Sorry for the delay with the panel but I have my other business to care about, my garden, my bees, now I`m making full renovation of the house alone, MY FAMILY and tomorrow I`m waiting guests from NY. It`s hard to find 1 hour of free time to work on it. Mostly after 2AM and 6AM I got to start other work again. But the admin part is almost done. Soon can be released for testing and if the tests pass without any errors I can give it for release. Then I can start with the Client part.
by the way everybody can change his root password after logging in the VM with simple command "passwd".
so, yeah. I will remove the "Root Password".
I`m still thinking how to make the single ports -> to be random generated from 40000 to 65535 or the admin to choose/write it manual. Even from 60000 to 65535 is too much for a single server to handle this much VMs. I think that 2000 ports will be more than enough for a single server to be reserved for VMs. Also there are few more config options which I still don`t know how will be better to make them. And the downloader - to download all available OpenVZ templates or the administrator to download the templates manually and from there to short the list of available OSs that users can choose. For the moment the Downloader is downloading all available which I found in google after 2 weeks deep search for templates. At the moment there are 61 distributions, but most of them are different versions of the same Linux. I was wondering to cut the oldest ones and to leave just the last releases, but like this the admin can`t offer VPS with 128MB RAM for example and that`s why I left them.
Sorry for the delay with the panel but I have my other business to care about, my garden, my bees, now I`m making full renovation of the house alone, MY FAMILY and tomorrow I`m waiting guests from NY. It`s hard to find 1 hour of free time to work on it. Mostly after 2AM and 6AM I got to start other work again. But the admin part is almost done. Soon can be released for testing and if the tests pass without any errors I can give it for release. Then I can start with the Client part.