Posts: 108
Threads: 2
Joined: Aug 2014
Reputation:
0
Sex: Undisclosed
Thanks: 20
Given 17 thank(s) in 10 post(s)
RE: xBilling [MODULE]
01-28-2015, 08:43 PM
shoot...it should be "log" and not "logs"
Remi - Software Engineer, Sentora Module Developer, Owner, imerLabs
Please mark threads as SOLVED if your problem has been resolved.
Do not PM Staff Members for help unless asked to do so, this is so that others can benefit from your solution.
Do a SEARCH before asking in the forums, a solution may already exist.
Posts: 24
Threads: 6
Joined: Jan 2015
Reputation:
0
Sex: Male
Thanks: 3
Given 1 thank(s) in 1 post(s)
RE: xBilling [MODULE]
01-28-2015, 10:21 PM
(01-28-2015, 08:43 PM)modpluz Wrote: shoot...it should be "log" and not "logs"
No
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?
--- Eclectic Digital ---
--- Aled Evans ---
Posts: 108
Threads: 2
Joined: Aug 2014
Reputation:
0
Sex: Undisclosed
Thanks: 20
Given 17 thank(s) in 10 post(s)
RE: xBilling [MODULE]
01-28-2015, 10:27 PM
(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
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
Remi - Software Engineer, Sentora Module Developer, Owner, imerLabs
Please mark threads as SOLVED if your problem has been resolved.
Do not PM Staff Members for help unless asked to do so, this is so that others can benefit from your solution.
Do a SEARCH before asking in the forums, a solution may already exist.
Posts: 24
Threads: 6
Joined: Jan 2015
Reputation:
0
Sex: Male
Thanks: 3
Given 1 thank(s) in 1 post(s)
RE: xBilling [MODULE]
01-28-2015, 10:47 PM
(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'
--- Eclectic Digital ---
--- Aled Evans ---
Posts: 16
Threads: 1
Joined: Jan 2015
Reputation:
-1
Thanks: 2
Given 1 thank(s) in 1 post(s)
RE: xBilling [MODULE]
01-29-2015, 04:17 AM
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!
Posts: 3 ,662
Threads: 241
Joined: May 2014
Reputation:
85
Sex: Male
Thanks: 408
Given 599 thank(s) in 464 post(s)
RE: xBilling [MODULE]
01-29-2015, 05:05 AM
(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=$1 [L] RewriteRule ^apps/([^/\.]+)/?$ etc/apps/$1 [L]
-TGates - Project Council
SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE
Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Posts: 24
Threads: 6
Joined: Jan 2015
Reputation:
0
Sex: Male
Thanks: 3
Given 1 thank(s) in 1 post(s)
RE: xBilling [MODULE]
01-29-2015, 06:24 PM
(This post was last modified: 01-29-2015, 06:25 PM by aled2305.
Edit Reason: Posted by mistake
)
modpluz
Any ideas on what's wrong with my setup... or should I just forget about it for now?
Thanks
--- Eclectic Digital ---
--- Aled Evans ---
Posts: 108
Threads: 2
Joined: Aug 2014
Reputation:
0
Sex: Undisclosed
Thanks: 20
Given 17 thank(s) in 10 post(s)
RE: xBilling [MODULE]
01-29-2015, 06:37 PM
(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.
Remi - Software Engineer, Sentora Module Developer, Owner, imerLabs
Please mark threads as SOLVED if your problem has been resolved.
Do not PM Staff Members for help unless asked to do so, this is so that others can benefit from your solution.
Do a SEARCH before asking in the forums, a solution may already exist.
Posts: 24
Threads: 6
Joined: Jan 2015
Reputation:
0
Sex: Male
Thanks: 3
Given 1 thank(s) in 1 post(s)
RE: xBilling [MODULE]
01-29-2015, 07:59 PM
(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
--- Eclectic Digital ---
--- Aled Evans ---
Posts: 5
Threads: 0
Joined: Jan 2015
Reputation:
0
Thanks: 1
Given 2 thank(s) in 1 post(s)
RE: xBilling [MODULE]
01-31-2015, 03:33 AM
(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=$1 [L] RewriteRule ^apps/([^/\.]+)/?$ etc/apps/$1 [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.
|