TRIXBOX - /admin/config.php Errors -- Please Help *** Pulling My Hair Out***

WasifKhan
Posts: 19
Member Since:
2008-09-17

OK here we go.

I just installed a fresh copy of Trixbox without any hickups. Configured the whole system, trunks, routing, calls everything is working perfect. My problem is actually Webinterface and I need help. When I go to web brower and type

http://myservername/admin/config.php

It takes me to web interface FreePBX administration page. Major problem on page is that if I make changes I see on top in oranage Apply Configuration Changes. When I click that nothing happens and my changes are not written. I have to physically go to brower and type

http://myservername/admin/config.php?handler=reload

which actually goes and writes the value and displays a white web page that has bucnh of data. How can I fix this? what is the problem?

In server status window it shows Asterisk, OP Panel, MySQL, Webserver etc... with their status. Webserver frequently shows Error, but if you reload the page it goes away and comes back after a little while. What is the issue there?

During administration using browser quite often you get javascript error saying object does not support this property of method. I would really appreciate your help.

I am a new linux user, but have extensive IT background and can follow a good advise.

Thanks in advance and look forward to your suggestions.



SkykingOH
Posts: 9541
Member Since:
2007-12-17
I think your install is

I think your install is messed up.

If you can reinstall make sure you runt he mediacheck (it's an option before you press enter on the live CD to install trixbox).

I am hesitant if you are not a Linux guy to hae you remove and install the guicore if it is easier for you to reinstall. Might be a good chance to test your backup.

--

Scott

aka "Skyking"



WasifKhan
Posts: 19
Member Since:
2008-09-17
Install

Scott,
Thanks for a quick reply. Install went very smoothly. I have no problems making or receiving calls. I would hate to reinstall the whole thing. I was hoping it would be a small simple issue as the error seems to be javascript.

http://myserveripaddress/maint/index.php?freepbx

when this url is loaded.. I get javascript error on line 257 character 3. and says object does not support this method or property ..

also system status tab (http://myserveripaddress/maint/index.php?home) always shows webserver running..

I think the problem is index.php file?freepbx ...cause that is where I am having problems.



SkykingOH
Posts: 9541
Member Since:
2007-12-17
That would indicate the

That would indicate the package is corrupted.

The GUI does not effect call processing.

--

Scott

aka "Skyking"



WasifKhan
Posts: 19
Member Since:
2008-09-17
So What are my options. What should I do.

So what should I do. Is there a way for me to just install the GUI part of this application.?



SkykingOH
Posts: 9541
Member Since:
2007-12-17
There may be, I don't feel

There may be, I don't feel comfortable giving you a command that could cause you to loose your database or have other problems that would need to be resolved.

I don't have time to test a solution.

--

Scott

aka "Skyking"



busster8
Posts: 388
Member Since:
2006-06-25
re-install

Can you back up the system, fresh install, then recover?



WasifKhan
Posts: 19
Member Since:
2008-09-17
New informatoin -- Please look at this and advise.

I was looking in install.log to find out if I find any errors.. following is what I have found.. .

Installing aastra-xml-scripts - 2.0.0-2.noarch
grep: /etc/asterisk/phpagi.conf: No such file or directory
/var/tmp/rpm-tmp.40807: line 29: [: -eq: unary operator expected
/var/tmp/rpm-tmp.40807: line 40: asterisk: command not found

^Gmysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
.
Installing tb-config - 2.6.0-12.i386
mv: cannot stat `/etc/asterisk/vm_email.inc.new': No such file or directory
mv: cannot stat `/etc/asterisk/vm_general.inc.new': No such file or directory
sed: can't read /etc/sysconfig/i18n: No such file or directory
Installing tb-tftpboot - 2.6.0-1.i386

mv: cannot stat `/etc/asterisk/vm_email.inc.new': No such file or directory
mv: cannot stat `/etc/asterisk/vm_general.inc.new': No such file or directory
sed: can't read /etc/sysconfig/i18n: No such file or directory



pca
Posts: 383
Member Since:
2007-01-17
Other apps

Did you by chance install some non-standard application like isymphony or whatever? Uninstall it (them) if you did. This is more than likely a freepbx issue and there are a couple of threads on this type of behavior there (freepbx.org forum). Hope that helps.



WasifKhan
Posts: 19
Member Since:
2008-09-17
No Special Apps

Nope, nothing extra. I downloaded ISO from trixbox website and went through installation. I have not installed anything other than the standard install of ISO from Trix.



kevern
Posts: 134
Member Since:
2008-08-16
I concurr with Scott

I concurr with Scott



WasifKhan
Posts: 19
Member Since:
2008-09-17
** OK , If I reintall the whole thin...

Ok

Guys, You can see why I am reluctant to do a re-install. I was hoping . linux won't be like windows. problem = reinstall windows. anyway.. the concern is what actually went wrong and what will change if I do complete and fresh reinstall. I have the ISO image that I downloaded that I burnt and used for installation. Any idea what those errors/warnings mean in my previous post?

I know I am asking lots of questions, I just want to learn and understand as well.

Regards



WasifKhan
Posts: 19
Member Since:
2008-09-17
Just Reinstalled - Same Problem :((

Hi,

I just did a reinstall and I have the exact same problem. Now What?



SkykingOH
Posts: 9541
Member Since:
2007-12-17
Did you install from the

Did you install from the same media? Prior to installation (when the ISO first boots) there is an option to run media check. Does it pass?

As I first indicated your problem sounds like a corrupt package.

As I indicated to you in a previous reply you can install and uninstall any package with yum. You can also get in a lot of trouble quickly.

I have never had to reinstall Linux and I can't think of the last time we had to reinstall Windows. It's the same analog, you have to have the sys admin skills.

One other thing that helps, if you know the concepts and not the commands I have never failed to find an answer for Linux on Google with searches such as "Centos enable routing between interfaces" you have to try a few permutations but the answer is at your finger tips.

--

Scott

aka "Skyking"



WasifKhan
Posts: 19
Member Since:
2008-09-17
Did install from the same media -

When I burnt the CD it did package validation and verified data on it. I did not see any option for media check.. when I boot computer it boots from CD and than goes through prompts .. it never asked for media check..

look forward to your reply



SkykingOH
Posts: 9541
Member Since:
2007-12-17
Boot from the CD and hit the

Boot from the CD and hit the ? key instead of pressing return.

--

Scott

aka "Skyking"



WasifKhan
Posts: 19
Member Since:
2008-09-17
OK.. I have tried that.. no luck

Ok,

ISO image seems to be good. I have tried everything. Just to make sure.. I went online again to download another ISO image just in case.. but now all the mirror sites are down I am unable to down load .. I went in freepbx forums and man those people dont like Trixbox .. its finger pointing. :)

I need help to get this working. and will greatly appreciate it. As stated.. I have not problems with install, no problems with configuration.. only issues are the one I described above...

Scott .. make my world where Trixbox works !



SkykingOH
Posts: 9541
Member Since:
2007-12-17
Quote: SO image seems to be
Quote:
SO image seems to be good.

Did you use the media check from the Linux loader when you boot the cd-rom?

Quote:
I went in freepbx forums and man those people dont like Trixbox .. its finger pointing. :)

Yep, I don't run the trixbox 'forked'version of FreePBX either.

--

Scott

aka "Skyking"



WasifKhan
Posts: 19
Member Since:
2008-09-17
Problem Sovled !!! - Imagine that

Ok. I pulled so much hair, I think I am going bald...

ISO was fine, installation was fine, configuration was fine. It turns out that on the computer that I was using to access Web Interface, had CA firewall which was preventing cookies and preventing script executions. I added the domain/ip to trusted sites ..suddenly everything started working.

P.S. What is forked version of Tribox? what I download is that forked verison?



SkykingOH
Posts: 9541
Member Since:
2007-12-17
Well, you live and learn.

Well, you live and learn. Would think the firewall would cause problems with other applications.

It's not a forked version of trixbox, trixbox 'forked' FreePBX.

Basically trixbox takes a snapshot of the FreePBX code and then redistributes it with trixbox branding. trixbox is, as of yesterday behind a major new release of FreePBX. Now we will see how long it takes for Fonality to get the latest in the repository. See the post on FreePBX 2.5 for all the great new features. It works like a champ.

You can install the new FreePBX but you won't be using the trixbox repository for your downloads. I can't recommend this unless you know what you are doing.

--

Scott

aka "Skyking"



WasifKhan
Posts: 19
Member Since:
2008-09-17
One More Question -- Thanks For Your Help Scott

Ok,

I got everything running. I have one last question. When I installed Trixbox it created few users and generic passwords. Can you please tell me which ones are default users and what their default passwords are so that I can change the passwords.

Thanks for your help again.

REgards



SkykingOH
Posts: 9541
Member Since:
2007-12-17
What type of users? You can

What type of users? You can change the maint password with passwd-maint

trixbox does not create any logins with shell access.

login as root with the pwd supplied at login then change the password using the passwd command.

--

Scott

aka "Skyking"



WasifKhan
Posts: 19
Member Since:
2008-09-17
In my Notices Section - I am getting...

Default SQL Password UsedYou are using the default SQL password that is widely known, you should set a secure password
Added 0 minutes ago
(core.AMPDBPASS)

Default Asterisk Manager Password UsedYou are using the default Asterisk Manager password that is widely known, you should set a secure password
Added 0 minutes ago
(core.AMPMGRPASS)

also when I try to connect to Mysql using I get that erro:

mysql -u root -p
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)



SkykingOH
Posts: 9541
Member Since:
2007-12-17
If your box is inside a

If your box is inside a trusted network I would not bother with changing the passwords. If you look throught the forum posts there are several active threads on changing the SQL and Asterisk Manager PWD.

--

Scott

aka "Skyking"



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.