update failing on trixbox 2.6.1
I'm new to asterisk / trixbox but have 5 years exp with linux.
It's a fresh install and i'm trying to update / add packages from the PACKAGES menu.
however, it's returning an error message "error: the XML response that was returned by the server was invalid recieved: "
i've even updated the core packages and tried again with same result.
Anyone got any surgestions?
thanks
I'm having similar problems....
When I click on the Submit button in the Repositories screen: I get an Internet Explorer error that says "Inernet Explorer cannot open the Internet site http://www.mysite.com/maint/index.php?repo&."
If I refresh the page, then the page is redisplayed correctly.
Then, if I only have CentOS Base Packages selected and I click on Packages, within a few seconds I get this error: Error: the XML response that was returned from the server is invalid. Received: Cannot write to file (cache/outputYumAvailList.txt).
At that point, the Downloading updated package list 'message' just stays on the screen and nothing else ever happens.
If I have the trixbox AND the CentOS Base Package repositories selected, then I usually don't get this error (but sometimes I do).
John
at the console do a yum clean all then try again
also you should check /etc/resolv.conf for vaild dns servers
I tried 'yum clean all' and double-checked the dns servers and I still have the same problem.
John
jrayfield and my problem are diferent. I don't have a problem selecting repositories...
yum command not worked... i resterted server AND router just incase
:EDIT
my resolv.conf is empty.... and yet trixbox has my DNS and router settings...
going to populate and double check my other network settings and then retry
:EDIT2
entries into resolv.conf havn't helped...
i'm going to run down the network diagnostic route and see if i can spot it...
would help to know the domain it trying to get to....
i've been through the normal network diagnostics and from a console i can ping websites, so DNS and gateways are correct
Still got the same result...
I went into the repositories and deselected everything except CentOS Base Packages and tried again and this time i got a diferent error...
"error: the XML response that was returned by the server was invalid
recieved:
cannot write to file (cache/outputYumAvailList.txt)"
I've tried chmod 777 on /var/cache with no luck
Conclusion:
1) the XML file from Trixbox Stable is missing or the site is down
2) Yum cant write to file cache/outputYumAvailList.txt
any help with these two appreciated
thanks
Do you have a firewall that could be blocking streams on Port 80?
You say you performed network diagnostics yet you did not show your results. Can you ping yum.trixbox.org?
Try using wget to grab any file from the repository and see how that works.
Comwarrior, I AM getting the same error that you're getting (you apparently didn't read all of my post). But, I'm also getting another error that you are not getting.
I'll just repost my problems under another topic so that it doesn't get confusing under this topic.
John
Help.. same problem as Comwarrior .. nothing mentioned above works.
Error: the XML response that was returned from the server is invalid.
Received:
Cannot write to file (cache/outputYumAvailList.txt)
Hi,
Any updates on this? Has anyone been able to fix this problem? I can ping yum.trixbox.com, but unable to browse to Packages.
Thanks,
Ibrahim
I have been trying for a week to update. No joy. I don't think it's our boxes. I saw this same problem last year and just had to keep trying once a week. It took a few months but was finally able to update. I believe its a problem at trixbox.com.
I had the same problem in 3 boxes out of 4
downloaded the iso of trixbox 2.6.2.1.13 and installed on vmware server 2.0
everithing seems to work fine except when I selected packages,
after a while got the error:
Error: the XML response that was returned from the server is invalid.
Received:
so tried burning a cd and installed in a real box P4 3ghz 2gb ram, same result
so tried again with the same result
so tried again in vmware and finally the packages appeared
the network is the same for all the previous installations with version 2.6.1 worked fine for a long time
in my site (10 extensions) and in a customer's site (50 extensions).
what's going on, why some installations work and some other not?
I did the same procedute to install all the 4 systems.
thanks for your help
Riccardo Alparone (ITALY)
With a clean install of 2.6.2.1
Try editing /etc/php.ini and changing max_execution_time and memory_limit to the values below.
max_execution_time = 200 memory_limit = 256M
We are not crazy. I have just found multiple posts with the same issue. I am ccing my entries below.
I'm encountering the same. Fresh install, right out of the box. Will keep looking for a solution, but I sure wish someone could shed some light on this one for me.
(Head slamming into desk, repeatedly until resolution is found)
Steps to reproduce (using v2.6.2.1):
1. Log into maint/index.php module and click on "Packages" (maint/index.php?packages)
2. A few seconds later, you will get a dialogue box named "The page at http:// says:" that says:
"Error: the XML response that was returned from the server is invalid.
Received:
Cannot write to file (cache/outputYumAvailList.txt)"
- Running the command "yum clean all" does not correct the issue.
- The file located at /etc/resolv.conf is empty.
- Editing the /etc/php.ini file and changing max_execution_time and memory_limit to the higher values does not correct the issue.
- Editing the /etc/php.ini file and changing max_execution_time and memory_limit to the higher values does not correct the issue.
Triple posting won't solve your issue either. The memory_limit is the fix for this. Did you restart the web server (service httpd restart) after the change was made?
Thanks SkykingOH,
I keep forgetting the restart httpd
edit /etc/php.ini and changing max_execution_time and memory_limit to the values below.
max_execution_time = 300
memory_limit = 256M
restart asterisk : service asterisk restart
restart httpd: service httpd restart
Hey,
For the benefit of googlebot; changing the php timeout and memory fixed this problem for me. I too was getting
Error: the XML response that was returned from the server is invalid.
Received:
on the Trixbox packages screen.
All is good now!
Cheers,
Simon.
Sorry guys I am a complete NOB, what is the command to change the php.ini?
Since this is your first post you get one get out of free card. You can use the nano or vi editor to change the file. Command is nano filename.
You could have found this out with a Google search of 'CentOS editors'
It's also covered in the getting started guides 'trixbox without tears' and the Sureteq guide. I suggest you read one or the other.
New guy
use WinSCP it has an editor built in.
I suggest not using the WinSCP editor. I have heard of several instances where odd line breaks and non-printable characters caused module load problems.
I can also confirm that the following steps fixed it for me:
edit /etc/php.ini and changing max_execution_time and memory_limit to the values below.
max_execution_time = 300
memory_limit = 256M
restart asterisk : service asterisk restart #I actually skipped this and everything worked fine...
restart httpd: service httpd restart
The above suggestion did fix the problem.
TB 2.6.1.10
I also had to apply Kerry fix to the "Can't Login Problem" (rm /var/www/html/maint/cache/guidRegistered)
Thanks.


Member Since:
2008-10-04