Sentora Support Forums
[MODULE] xBilling - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5)
+--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32)
+---- Forum: 3rd Party Module Support v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=41)
+---- Thread: [MODULE] xBilling (/showthread.php?tid=447)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24


RE: xBilling [MODULE] - modpluz - 01-28-2015

shoot...it should be "log" and not "logs"


RE: xBilling [MODULE] - aled2305 - 01-28-2015

(01-28-2015, 08:43 PM)modpluz Wrote: shoot...it should be "log" and not "logs"

No Sad 
Code:
tail -f /var/log/apache2/error.log tail: cannot open ‘/var/log/apache2/error.log’ for reading: No such file or directory tail: no files remaining

Would it be /var/log/httpd/error_log?


RE: xBilling [MODULE] - modpluz - 01-28-2015

(01-28-2015, 10:21 PM)aled2305 Wrote:
(01-28-2015, 08:43 PM)modpluz Wrote: shoot...it should be "log" and not "logs"

No Sad 

Code:
tail -f /var/log/apache2/error.log tail: cannot open ‘/var/log/apache2/error.log’ for reading: No such file or directory tail: no files remaining

Would it be /var/log/httpd/error_log?

On RHEL/CentOS, yes


RE: xBilling [MODULE] - aled2305 - 01-28-2015

(01-28-2015, 10:27 PM)modpluz Wrote: On RHEL/CentOS, yes

Okay so this is what I got...

Code:
tail -f /var/log/httpd/error_log [Tue Jan 27 15:30:01.684720 2015] [mpm_prefork:notice] [pid 451] AH00171: Graceful restart requested, doing restart [Tue Jan 27 15:30:01.802003 2015] [auth_digest:notice] [pid 451] AH01757: generating secret for digest authentication ... [Tue Jan 27 15:30:01.802715 2015] [lbmethod_heartbeat:notice] [pid 451] AH02282: No slotmem from mod_heartmonitor [Tue Jan 27 15:30:01.875570 2015] [mpm_prefork:notice] [pid 451] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations [Tue Jan 27 15:30:01.875590 2015] [core:notice] [pid 451] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND' [Tue Jan 27 16:35:01.546805 2015] [mpm_prefork:notice] [pid 451] AH00171: Graceful restart requested, doing restart [Tue Jan 27 16:35:01.741272 2015] [auth_digest:notice] [pid 451] AH01757: generating secret for digest authentication ... [Tue Jan 27 16:35:01.743909 2015] [lbmethod_heartbeat:notice] [pid 451] AH02282: No slotmem from mod_heartmonitor [Tue Jan 27 16:35:01.794486 2015] [mpm_prefork:notice] [pid 451] AH00163: Apache/2.4.6 (CentOS) configured -- resuming normal operations [Tue Jan 27 16:35:01.794506 2015] [core:notice] [pid 451] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'



RE: xBilling [MODULE] - andream - 01-29-2015

Hello @modpluz,
I'm getting the following issue : "Problem reading data from http://domain.tld/api/xbilling"
I checked php.ini and fopen() is currently ENABLED.
I didn't complete these fields in the xBilling module ( Public Key: Private Key: ).
Is it the reason? Where do I find such information?
Thank you!


RE: xBilling [MODULE] - TGates - 01-29-2015

(01-29-2015, 04:17 AM)andream Wrote: Hello @modpluz,
I'm getting the following issue : "Problem reading data from http://domain.tld/api/xbilling"
I checked php.ini and fopen() is currently ENABLED.
I didn't complete these fields in the xBilling module ( Public Key: Private Key: ).
Is it the reason? Where do I find such information?
Thank you!

this usually has to do with the .htaccess file in /etc/panel/ folder. It should have this in it near the top:

PHP Code:
# Standard Sentora Rewrite Ruleset
RewriteEngine on
RewriteRule 
^api/([^/\.]+)/?$ bin/api.php?m=$[L]
RewriteRule ^apps/([^/\.]+)/?$ etc/apps/$[L



RE: xBilling [MODULE] - aled2305 - 01-29-2015

@[modpluz] 

Any ideas on what's wrong with my setup... or should I just forget about it for now?

Thanks


RE: xBilling [MODULE] - modpluz - 01-29-2015

(01-29-2015, 06:24 PM)aled2305 Wrote: @[modpluz] 

Any ideas on what's wrong with my setup... or should I just forget about it for now?

Thanks

Hi, I will only be able to look into your server over the weekend, I may need you to be available as well.


RE: xBilling [MODULE] - aled2305 - 01-29-2015

(01-29-2015, 06:37 PM)modpluz Wrote:
(01-29-2015, 06:24 PM)aled2305 Wrote: @[modpluz] 

Any ideas on what's wrong with my setup... or should I just forget about it for now?

Thanks

Hi, I will only be able to look into your server over the weekend, I may need you to be available as well.

That would be great Smile 


RE: xBilling [MODULE] - SkiRac3rDud3 - 01-31-2015

(01-29-2015, 05:05 AM)TGates Wrote:
(01-29-2015, 04:17 AM)andream Wrote: Hello @modpluz,
I'm getting the following issue : "Problem reading data from http://domain.tld/api/xbilling"
I checked php.ini and fopen() is currently ENABLED.
I didn't complete these fields in the xBilling module ( Public Key: Private Key: ).
Is it the reason? Where do I find such information?
Thank you!

this usually has to do with the .htaccess file in /etc/panel/ folder. It should have this in it near the top:


PHP Code:
# Standard Sentora Rewrite Ruleset
RewriteEngine on
RewriteRule 
^api/([^/\.]+)/?$ bin/api.php?m=$[L]
RewriteRule ^apps/([^/\.]+)/?$ etc/apps/$[L

Im having this issue too, the only fix was to put the panel IP address in the server config in place of the panel URL. However, i just get the "API Error:" afterwards.