trixbox 2.8 and yum updates (Error: Missing Dependency)

viopnewbie
Posts: 132
Member Since:
2007-12-19

I've installed the latest stable (2.8.0.3) on a new box.

trixbox itself works fine, unfortunately I can't do any updates because it fails with missing dependency.

at first, the problem was with package "nfs-utils", which I removed with "rpm -e nfs-utils" (based on the CentOS forum, it is a known problem).

then it got stuck again with the following:

Setting up Update Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: libevent-1.1a.so.1 for package: memcached
---> Package libevent.i386 0:1.4.13-1 set to be updated
--> Finished Dependency Resolution
memcached-1.2.2-2.rf.i386 from installed has depsolving problems
--> Missing Dependency: libevent-1.1a.so.1 is needed by package memcached-1.2.2-2.rf.i386 (installed)
Error: Missing Dependency: libevent-1.1a.so.1 is needed by package memcached-1.2.2-2.rf.i386 (installed)

which means that trixbox is using a custom version of libevent and/or memached and one brakes the other.

Any suggestions please?

Thank you.



tihovsky
Posts: 14
Member Since:
2007-05-17
Hi voipnewbie, Same here,

Hi voipnewbie,

Same here, except that my trixbox will go down every - let's say 6 hours or so... maybe you still haven't noticed that to happen.
I am currently troubleshooting what might be the issue thus finding your post, but no luck so far - currently at the same place with dependency issues as you...

I reinstalled trixbox using sataraid option - did you do the same?
After install I setup all trixbox packages and did yum update. Restart but problem is still present.

I installed on a box already used for prior version of trixbox used in production for 2 years without any issues, thus you could most probably also eliminate any HW issues to troubleshoot. Hope this helps.
If you find solution please let me know. I will do the same.

Thanks,
Tihomir



nttranbao
Posts: 189
Member Since:
2008-02-16
I have no solution for what

I have no solution for what you have been through, but just want to say that in my experience, once install Trixbox, do not yum update or recompile. Ofcourse you can add/remove packages from Packages Web Maint, but that's it.

--

----------------------
IT/VOIP consultancy, VOIP eStore, Support Forum
Bao Nguyen IT Co., Ltd.
http://www.baonguyen.vn
WE MAKE IT



tihovsky
Posts: 14
Member Since:
2007-05-17
Hi nttranbao! Thanks for

Hi nttranbao!

Thanks for your help, however isn't trixbox freepbx web interface doing the same thing in the background once I do package update/install?
Doing ps -eaf I can also see /usr/sbin/yum-updatesd process running, so I guess updates are done periodically in automated fashion anyway?

Thanks,
Tihomir



nttranbao
Posts: 189
Member Since:
2008-02-16
Hi tihovsky, Exact of what

Hi tihovsky,

Exact of what you said. When you install FreePBX modules, they are compiled from the source code.

What I mean is FreePBX modules get compiled from the right source codes, with proper existing linux packages, i.e C++ and correspondent libraries. If you do a yum update, it may affect the perfect dependent relationship of both linux and asterisk packages. Moreover, FreePBX source code is "authentic", which differ from Trixbox case. For example, Trixbox use modified Asterisk source code, and it's hard to get that exact modified one from RPM repository.

To taste of what I mean, try recompile Zaptel driver or only chan_sip.so from your Trixbox (do not try on production one), and see for yourself the new system's stability.

Back to the case of you, problems with dependencies. I think one possible way is to trace back to the root of it, and replace/upgrade gradually from then. After each replacement, test and verify there's nothing wrong with the new system. But it is obviously a no-one-want-to-do task.

One last thing: FreePBX should be okay most of the time if you only install other packages with same framework version. If from 2.5 to 2.8 or 3.x, the previous statement will not hold true anymore.

--

----------------------
IT/VOIP consultancy, VOIP eStore, Support Forum
Bao Nguyen IT Co., Ltd.
http://www.baonguyen.vn
WE MAKE IT



tihovsky
Posts: 14
Member Since:
2007-05-17
Thanks for help

Thanks for help nttranbao!
Now it worked for 7 hours or so ... I am still monitoring closely to see what is happening - will update if anything found.
Will also inspect all packages to see if I installed something that shouldn't be there.



SkykingOH
Posts: 9541
Member Since:
2007-12-17
I want to clarify a few

I want to clarify a few points:

1 - The package manager is running yum from the trixbox web interface. You can cause the same amount of mayhem as you can from the command line with this utility.

2 - FreePBX (AKA PBXSettings) module admin is relatively safe. It does not install compiled code, only FreePBX modules

3 - Compiling a module such as chan_sip without building all the packages is a disaster

4 - The instructions in the wiki for installing Asterisk 1.4 on 1.2 still contain the correct steps for building Asterisk on a current trixbox

--

Scott

aka "Skyking"



tihovsky
Posts: 14
Member Since:
2007-05-17
So here is the log after

So here is the log after system blocks - no logons possible anymore, existing putty TCPIP connection persists.
All SIP phones disconnect from the system.

>uptime
17:34:49 up 7:58, 1 user, load average: 0.13, 0.04, 0.01

>ps -eaf | grep -c ""
96 processes, while normally it is 92/93 processes

>free
total used free shared buffers cached
Mem: 1026604 886392 140212 0 127184 573552
-/+ buffers/cache: 185656 840948
Swap: 1052152 0 1052152

>df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/md0 301659520 1998988 284089940 1% /
/dev/md1 101018 23508 72294 25% /boot
tmpfs 513300 0 513300 0% /dev/shm

tail from /var/log/asterisk/full will give normal log until below point
...
[May 17 16:23:51] VERBOSE[9137] logger.c: -- Executing [s@macro-record-enable:1] GotoIf("SIP/726-00000036", "1?check") in new stack
[May 17 16:23:51] VERBOSE[9137] logger.c: -- Goto (macro-record-enable,s,4)
[May 17 16:23:51] VERBOSE[9137] logger.c: -- Executing [s@macro-record-enable:4] AGI("SIP/726-00000036", "recordingcheck,20100517-162351,1274106231.142") in new stack
[May 17 16:23:51] VERBOSE[9137] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
NOTE THIS ONE AS THIS STARTS HERE: [May 17 16:23:51] DEBUG[2904] pbx.c: FONALITY: This thread has already held the conlock, skip locking
[May 17 16:23:51] VERBOSE[9137] logger.c: recordingcheck,20100517-162351,1274106231.142: Outbound recording not enabled
[May 17 16:23:51] VERBOSE[9137] logger.c: -- AGI Script recordingcheck completed, returning 0
...
[May 17 16:24:39] DEBUG[2904] pbx.c: FONALITY: This thread has already held the conlock, skip locking
...
[May 17 16:26:34] DEBUG[2904] pbx.c: FONALITY: This thread has already held the conlock, skip locking
...
[May 17 16:38:11] DEBUG[2904] pbx.c: FONALITY: This thread has already held the conlock, skip locking
...
[May 17 16:40:31] VERBOSE[9389] logger.c: == Spawn extension (macro-hangupcall, s, 9) exited non-zero on 'SIP/740-00000037' in macro 'hangupcall'
[May 17 16:40:31] VERBOSE[9389] logger.c: -- Hungup 'DAHDI/1-1'
[May 17 16:40:31] VERBOSE[9389] logger.c: == Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on 'SIP/740-00000037' in macro 'dialout-trunk'
[May 17 16:40:31] VERBOSE[9389] logger.c: == Spawn extension (from-internal, 312306, 4) exited non-zero on 'SIP/740-00000037'
[May 17 16:40:31] DEBUG[2904] pbx.c: FONALITY: This thread has already held the conlock, skip locking
[May 17 17:33:33] NOTICE[2911] chan_sip.c: Peer '726' is now Lagged. (8409ms / 2000ms)
[May 17 17:33:33] NOTICE[2911] chan_sip.c: Peer '775' is now UNREACHABLE! Last qualify: 11
[May 17 17:33:33] NOTICE[2911] chan_sip.c: Peer '779' is now UNREACHABLE! Last qualify: 10
[May 17 17:33:33] NOTICE[2911] chan_sip.c: Peer '740' is now UNREACHABLE! Last qualify: 8
[May 17 17:33:33] DEBUG[2904] pbx.c: FONALITY: This thread has already held the conlock, skip locking
[May 17 17:33:33] DEBUG[2904] pbx.c: FONALITY: This thread has already held the conlock, skip locking
[May 17 17:33:33] DEBUG[2904] pbx.c: FONALITY: This thread has already held the conlock, skip locking
[May 17 17:33:33] DEBUG[2904] pbx.c: FONALITY: This thread has already held the conlock, skip locking
[May 17 17:35:10] ERROR[2926] /usr/src/redhat/BUILD/asterisk16-1.6.0.22/include/asterisk/lock.h: db.c line 504 (ast_db_gettree): Deadlock? waited 65 sec for mutex '&dblock'?
[May 17 17:35:10] ERROR[2926] /usr/src/redhat/BUILD/asterisk16-1.6.0.22/include/asterisk/lock.h: db.c line 224 (ast_db_del): '&dblock' was locked here.
[May 17 17:36:15] ERROR[2926] /usr/src/redhat/BUILD/asterisk16-1.6.0.22/include/asterisk/lock.h: db.c line 504 (ast_db_gettree): Deadlock? waited 130 sec for mutex '&dblock'?
[May 17 17:36:15] ERROR[2926] /usr/src/redhat/BUILD/asterisk16-1.6.0.22/include/asterisk/lock.h: db.c line 224 (ast_db_del): '&dblock' was locked here.

And here it stops... more or less this is all I could have dig up while it worked.
Any help greatly appreciated.

Box works for almost 8 hours after restart.
At this point I even think it could be something in regards to NTP syncing time?
Will try to point it to local time sources for the night or disable it temporary and check again in the morning.

Thanks,
Tihomir



andrew
Posts: 1472
Member Since:
2006-05-30
Looks like there was an

Looks like there was an update to memcached. It should be working now.



szafar
Posts: 16
Member Since:
2006-06-04
I just tried again. Same

I just tried again. Same results. Even ran yum clean all before doing yum update.
--> Finished Dependency Resolution
memcached-1.4.5-1.el5.rf.i386 from trixbox28 has depsolving problems
--> Missing Dependency: libevent-1.1a.so.1 is needed by package memcached-1.4.5-1.el5.rf.i386 (trixbox28)
Error: Missing Dependency: libevent-1.1a.so.1 is needed by package memcached-1.4.5-1.el5.rf.i386 (trixbox28)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest



Nico54
Posts: 8
Member Since:
2006-07-20
Hi, I have exactly the same

Hi,

I have exactly the same problem with trixbox 2.6 :

--> Finished Dependency Resolution
memcached-1.2.2-2.rf.i386 from installed has depsolving problems
--> Missing Dependency: libevent-1.1a.so.1 is needed by package memcached-1.2.2-2.rf.i386 (installed)
Error: Missing Dependency: libevent-1.1a.so.1 is needed by package memcached-1.2.2-2.rf.i386 (installed)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.



tihovsky
Posts: 14
Member Since:
2007-05-17
OK, I disabled NTP last

OK, I disabled NTP last night didn't help - I again needed to reboot in the morning. So much for that.
In the meantime I also destroyed FreePBX web interface by paying with yum and different CentOS distribution libraries, but asterisk still works fine.

Today is a new day, so after hours I will reinstall everything from scratch (v.2.8.0.3) without doing any updates.
Will update you all with any findings afterward.



nttranbao
Posts: 189
Member Since:
2008-02-16
Yes, I completely agree on

Yes, I completely agree on "without doing any updates" but "update you all with any findings afterward".

Good luck and please, no yum update if you want an easy life.

One more thing, if used in production box, 2.6.2.3 is worth a try.

--

----------------------
IT/VOIP consultancy, VOIP eStore, Support Forum
Bao Nguyen IT Co., Ltd.
http://www.baonguyen.vn
WE MAKE IT



viopnewbie
Posts: 132
Member Since:
2007-12-19
My install is a complete new

My install is a complete new install, not raid and/or upgrade.

The problem is caused by trixbox custom RPM, the guy who made them did a really bad job and wasn't careful.

The custom memcached requires a library from libevent, when yum tries to upgrade libevent to a newer version it stops because memcached requires this specific libevent and won't allow for another one.

In other words, there is no solution, unless trixbox developers do a better job and fix their dependencies.

For those who want to upgrade everything else, you can run:

rpm -e nfs-utils
yum --exclude=memcached --exclude=libevent update

thats it.



tihovsky
Posts: 14
Member Since:
2007-05-17
OK so this is what I get

OK so this is what I get immediately after fresh install of 2.8.0.3, when trying to install wanpipe modules using web interface in order to install sangoma card support:

------------------------------------------------------------
Loaded plugins: fastestmirror, kmod
Loading mirror speeds from cached hostfile
* addons: centos.mirroraustria.at
Excluding Packages from CentOS-5 - Addons
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package wanpipe-modules-2.6.18-128.1.10.el5.i686 0:3.4.2.3-0 set to be updated
--> Processing Dependency: zaptel 1.4.12.9 for package: wanpipe-modules-2.6.18-128.1.10.el5
---> Package wanpipe-util.i686 0:3.4.2.3-0 set to be updated
--> Running transaction check
---> Package zaptel.i686 0:1.4.12.9-1_trixbox set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

Package Arch Version Repository
Size

Installing:
wanpipe-modules-2.6.18-128.1.10.el5 i686 3.4.2.3-0 trixbox 5.1 M
wanpipe-util i686 3.4.2.3-0 trixbox 7.0 M
Installing for dependencies:
zaptel i686 1.4.12.9-1_trixbox trixbox 4.7 M

Transaction Summary

Install 3 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total size: 17 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test

Transaction Check Error:
file /usr/share/man/man8/astribank_tool.8.gz from install of zaptel-1.4.12.9-1_trixbox.i686 conflicts with file from package dahdi-tools-doc-2.2.0-4_trixbox.i386
file /usr/share/man/man8/fpga_load.8.gz from install of zaptel-1.4.12.9-1_trixbox.i686 conflicts with file from package dahdi-tools-doc-2.2.0-4_trixbox.i386
file /usr/share/man/man8/fxotune.8.gz from install of zaptel-1.4.12.9-1_trixbox.i686 conflicts with file from package dahdi-tools-doc-2.2.0-4_trixbox.i386
file /usr/share/man/man8/xpp_blink.8.gz from install of zaptel-1.4.12.9-1_trixbox.i686 conflicts with file from package dahdi-tools-doc-2.2.0-4_trixbox.i386
file /usr/share/man/man8/xpp_sync.8.gz from install of zaptel-1.4.12.9-1_trixbox.i686 conflicts with file from package dahdi-tools-doc-2.2.0-4_trixbox.i386
file /usr/lib/libtonezone.so.1 from install of zaptel-1.4.12.9-1_trixbox.i686 conflicts with file from package libtonezone-2.2.0-4_trixbox.i386
file /usr/lib/libtonezone.so.1.0 from install of zaptel-1.4.12.9-1_trixbox.i686 conflicts with file from package libtonezone-2.2.0-4_trixbox.i386
file /etc/udev/rules.d/xpp.rules from install of zaptel-1.4.12.9-1_trixbox.i686 conflicts with file from package dahdi-linux-2.2.0-4_trixbox.i386
file /usr/sbin/astribank_hexload from install of zaptel-1.4.12.9-1_trixbox.i686 conflicts with file from package dahdi-tools-2.2.0-4_trixbox.i386
file /usr/sbin/astribank_tool from install of zaptel-1.4.12.9-1_trixbox.i686 conflicts with file from package dahdi-tools-2.2.0-4_trixbox.i386
file /usr/sbin/fpga_load from install of zaptel-1.4.12.9-1_trixbox.i686 conflicts with file from package dahdi-tools-2.2.0-4_trixbox.i386
file /usr/sbin/fxotune from install of zaptel-1.4.12.9-1_trixbox.i686 conflicts with file from package dahdi-tools-2.2.0-4_trixbox.i386
file /usr/sbin/xpp_blink from install of zaptel-1.4.12.9-1_trixbox.i686 conflicts with file from package dahdi-tools-2.2.0-4_trixbox.i386
file /usr/sbin/xpp_sync from install of zaptel-1.4.12.9-1_trixbox.i686 conflicts with file from package dahdi-tools-2.2.0-4_trixbox.i386

Error Summary
-------------------------------------------------------------------------------------------------------------------------------------

So WTF is zaptel modules v 1.4 doing on a fresh install of trixbox 2.8?

To repair the problem before I used following two commands:
yum install wanpipe-modules-2.6.18-128.1.10.el5
yum install wanpipe-util
but now I am reluctant based on prior comments not to use yum manually as it breaks stuff.
What to do?



nttranbao
Posts: 189
Member Since:
2008-02-16
Yum install from proper rpm

Yum install from proper rpm repository should be fine. My comments aim more at "upgrading" process.

To install wanpipe, since it fails with Packages GUI, you can manually download the 2 files from sangoma.com, and do 2 commands of "rpm -i wanpipe...." as instructed in sangoma wiki.

--

----------------------
IT/VOIP consultancy, VOIP eStore, Support Forum
Bao Nguyen IT Co., Ltd.
http://www.baonguyen.vn
WE MAKE IT



viopnewbie
Posts: 132
Member Since:
2007-12-19
Once again, this feels like

Once again, this feels like an abandoned project...



tihovsky
Posts: 14
Member Since:
2007-05-17
Did install wanpipe modules

Did install wanpipe modules last night and it worked, so newly installed system is now connected to outside world and fully setup.

However problem with trixbox server v.2.8.0.3 blocking every couple of hours still remains in the same manner as described before.
I checked dmesg, /var/log/messages, /var/log/wanrouter, processes, memory usage, disk free, sangoma card for alarms, asterisk with verbosity far beyond regular - but nothing seems to be jumping out as being wrong there.
Crontab is listing: 26 * * * * /var/lib/asterisk/bin/freepbx-cron-scheduler.php

Do you know of any tasks that should normally be scheduled by default approx 8 hours after startup of the trixbox/CentOS?
Somehow it always seemed to block around 8 hours of uptime so far...

Any other ideas on what to check?
Note - I would really like to stay on 2.8.0.3 because of skype/gtalk integration in mind...



SnOwMaN
Posts: 29
Member Since:
2006-12-23
There seems to be 2

There seems to be 2 conversations occuring here,

have any one got a solution to the yum update error?

Setting up Update Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: libevent-1.1a.so.1 for package: memcached
---> Package libevent.i386 0:1.4.13-1 set to be updated
---> Package nfs-utils.i386 1:1.0.9-44.el5 set to be updated
--> Finished Dependency Resolution
memcached-1.2.2-2.rf.i386 from installed has depsolving problems
--> Missing Dependency: libevent-1.1a.so.1 is needed by package memcached-1.2.2-2.rf.i386 (installed)
Error: Missing Dependency: libevent-1.1a.so.1 is needed by package memcached-1.2.2-2.rf.i386 (installed)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest



edk1
Posts: 9
Member Since:
2007-08-09
The issue is that the

The issue is that the trixbox repository contains a version of memcached (which is required by the tbm-GUIcore package) that is linked to the specific version of libevent-1.1a. You can run yum update --skip-broken to update all the other packages, but until trixbox updates memcached to link to the new libevent, you will not be able to update the CentOS libevent or nfs-utils packages. rpmforge contains a newer memcached, but it also has a lot of other dependencies, and I am not sure whether the newer version of memcached will work the the tbm-GUIcore package. So I say either update everything else, and wait for trixbox to update the memcached package in their repository, or wait until trixbox updates their repository before doing the upgrade.

Ed Kwon
IT Manager, Weber Distribution



Nico54
Posts: 8
Member Since:
2006-07-20
The update is now OK for

The update is now OK for Trixbox 2.8, but not yet for Trixbox 2.6 ...



tihovsky
Posts: 14
Member Since:
2007-05-17
Hi Nico54, I still have

Hi Nico54,

I still have problem of trixbox blocking after some time and all that I tried so far failed to keep it working alright.
So update you refer to fixed things for you? Should I try doing yum update now in a hope it will repair it?



Nico54
Posts: 8
Member Since:
2006-07-20
Hi, I have 2 Trixbox server

Hi,

I have 2 Trixbox server : one in Trixbox 2.8, and an other in Trixbox 2.6

With trixbox 2.8, the problem was solved by :
yum clean all
yum update

But in Trixbox 2.6, I have always this error :
memcached-1.2.2-2.rf.i386 from installed has depsolving problems
--> Missing Dependency: libevent-1.1a.so.1 is needed by package memcached-1.2.2-2.rf.i386 (installed)
Error: Missing Dependency: libevent-1.1a.so.1 is needed by package memcached-1.2.2-2.rf.i386 (installed)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.



tihovsky
Posts: 14
Member Since:
2007-05-17
Confirmed for 2.8. is OK

Confirmed for 2.8. is OK now.
I just updated, no errors during the update process reported - let's hope it fixes my problem... ;)



jfarr
Posts: 9
Member Since:
2009-07-13
2.8 works but how about 2.6

2.8 has been fixed but 2.6 is still not working. Any news on when the repository will be updated?



rrichiez
Posts: 566
Member Since:
2006-12-07
I have the same problem in 2.6

Hi all

Any word? i have three boxes with 2.6 and the same issue is there....

thanks

rrichiez



wvt
Posts: 38
Member Since:
2007-09-25
Issue exists on 2.4.2 as

Issue exists on 2.4.2 as well as well as libpri.so.1.0 missing.

I know, old build it's getting replaced in next week or two.



jfarr
Posts: 9
Member Since:
2009-07-13
So is 2.6 to be considered

So is 2.6 to be considered dead? I know this was fixed on 2.8 about 2 weeks ago but haven't heard anything on 2.6. Should the issue on 2.6 get its own thread as the original title of this thread references 2.8.



Nico54
Posts: 8
Member Since:
2006-07-20
always the same problem with

always the same problem with 2.6, and no information.
It gets really depressing.



tihovsky
Posts: 14
Member Since:
2007-05-17
Unfortunately guys I cannot

Unfortunately guys I cannot help with that issue - I guess you will have to wait until v.2.6 packages are updated too.
As I promised followup here it is.

In order to resolve my other issues with PBX freezing, I also downgraded to 2.6 in the meantime and continued to have problem with blocking of the PBX every 8 hours or so.

I managed to resolve that issue by adding "noapic nosmp nolapic clock=pit acpi=no" to grub menu file
nano /etc/grub.conf
so that it states something like:
kernel /vmlinuz-2.6.18-128.1.10.el5 ro root=/dev/md0 noapic nosmp nolapic clock=pit acpi=no
This made box run for more than 2 days now which obviously solves it without causing any visible important issues.
Maybe I really overdid it by disabling everything I could find a switch for, so now I will have to do fine tuning
to identify what exactly was causing the issue. Will update again once identified.
Note that BIOS disabling of everything not needed (serial & parallel ports, on-board sound card, ACPI power options) did not help in my case.

I also had another issues on 2.6 with chan_woomera module filling up /var/log/asterisk/full.
To resolve it (contrary to information that I found) I needed to put line
noload => chan_woomera.so
to [modules] section of /etc/asterisk/modules.conf file, and not in [global] section as prior announced by someone from Sangoma.
Only upon doing so and restarting asterisk it stopped clogging the log.
I confirm Sangoma PRI 101d card continued working even after disabling this woomera module.

Next plan is to reinstall box again on v.2.8 when I will have more time as I still want new features with Skype/Gtalk.
It seems that same issues were bugging me there, so I guess same fixes will work too...



LINUXCONNECTED
Posts: 1
Member Since:
2010-06-22
possible solution

i try to solution this bug and i delete de libevent
and reinstall again libevent

i hope can help us

regards from colombia

pachoz600@hotmail.com



Nico54
Posts: 8
Member Since:
2006-07-20
Hi, How did you remove

Hi,

How did you remove libevent without remove all packages Trixbox ?

Have you testing successfully ?

Thanks



tihovsky
Posts: 14
Member Since:
2007-05-17
Noapic

So just FYI as I promised to update - I just determined noapic was causing the issue.
Hardware for trixbox is IBM ThinkCentre PC. Now it works fine.



nedim.zecic
Posts: 4
Member Since:
2007-05-12
noapic

@tihovsky
Can you please tell me how did you finally solved system hanging issue on Trixbox 2.8.0.4. I have the same problem. Is it enough to add boot parameter noapic?



dean.collins
Posts: 139
Member Since:
2006-06-01
AGREE.

AGREE.

--

Cheers,
Dean Collins
www.Cognation.net
Delivering Your Solutions Now.



NZ.Nebbie
Posts: 1
Member Since:
2010-08-01
FIX

Ok I had this problem too so i forced the update of libevent

1.) Download libevent:
{wget ftp://ftp.muug.mb.ca/mirror/centos/5.5/os/x86_64/CentOS/libevent-1.4.13-1.i386.rpm}

2.) Update and Force no Dependency's:
{rpm --nodeps -U libevent-1.4.13-1.i386.rpm}

3.) Now update the system:
{yum -y update}

Thanks
Bevin



Nico54
Posts: 8
Member Since:
2006-07-20
It's no good ! I followed

It's no good !

I followed this, but now memcached fails with error :
memcached: error while loading shared libraries: libevent-1.1a.so.1: cannot open shared object file: No such file or directory



htg_netops
Posts: 3
Member Since:
2008-09-19
This worked for me

yum update fix:

Execute these Commands

rpm -e nfs-utils

then execute:

yum --exclude=memcached --exclude=libevent update



Nico54
Posts: 8
Member Since:
2006-07-20
OK. Finally, there is no

OK.

Finally, there is no perfect solution.

libevent and memcached can not be updated without conflict ...



andrew
Posts: 1472
Member Since:
2006-05-30
If you ever have a

If you ever have a dependency problem during an update you can delete the offending package. Any packages required by the updated system will be automatically installed so you don't have to worry about deleting a package that you need.

For example to resolve this problem uses these commands

rpm -e --nodeps libevent memcached
yum -y update



mducharme
Posts: 3
Member Since:
2010-08-31
I have this same problem

I have this same problem with 2.6 and would like a solution.. I cannot update any packages at all through the package manager or otherwise.



tbergerot
Posts: 3
Member Since:
2008-10-22
Fixed!!!

Andrew,

Thank you so much for the fix (rpm -e --nodeps), it worked fine for me.

I've been searching for ages to find a fix, so

THANK YOU SO MUCH !!!!!!!!

Thomas



cyrano
Posts: 12
Member Since:
2008-09-14
libevent, memcached, nfs-utils

hi...

since the update of libevent did not work i deletet memcached installed the newest version of libevent... that hat the consequenz that nts-utils has been updated to. now trying to reinstall memcached did not work anymore since the dependencies seams to fixed with the libevent version 1.1.

my problem now is... how do i get back to all the older verisons????

yum remove nfs-utils
yum remove libevent
yum remove memcached

and then trying to : yum install libevent 1.1 dit not work

so i would be very thankfull if someone could help me restore the the version of this three programs as they wehre befor...



christospen
Posts: 3
Member Since:
2010-08-10
mysql

Hello,
I have installed trixbox 2.8 iso and after that Gnome window environment. I Just want to ask you how i can login in mysql so i can create databases?

Thank you



msinkm
Posts: 9
Member Since:
2007-03-06
2.6 fix

I had this problem, and tried just removing memcached because some people on the forum say that it is a security risk (which I believe, but I am well protected by the router.) BIG mistake!!! Php myadmin wouldn't work right, nor did freepbx reports, and of course the pulldown menus didn't look right. Well thank heaven there was a version backed up at yum.trixbox.org and I could do an rpm install.

I basically followed nz.nebbie's instructions, replacing libevent with memcached.

Also, I believe the key element to getting it working was creating 3 symbolic links in /usr/lib:

/usr/lib/libevent-1.1a.so.1 --> /usr/lib/libevent-1.4.so.2.1.3
/usr/lib/libevent_core-1.1a.so.1 --> /usr/lib/libevent_core-1.4.so.2.1.3
/usr/lib/libevent_extra-1.1a.so.1 --> /usr/lib/libevent_extra-1.4.so.2.1.3

This seems to get rid of Nico 54's problem.

Hope this helps



Comment viewing options

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