I just wanted to share my experience with a nasty message i got after I rebooted vicidialnow. First I have to mention, that one hard disk had an hardware failure, but hence, it was a raid ... after syncing the new hdd everything seemed fine. Since the machine was running for 50 days I thought a reboot might be good (its a hardware-raid controlled by bios). I did that remotely in the night and I just wondered why asterisk wasn't started automatically after reboot (but httpd/mysqld/crond were). I did it manually. In the end I could not really test functionality since at night no calls are routed to that machine.
The next morning agents could log-in but could not make any calls; Asterisk CLI said something like
- Code: Select all
Unable to open '/dev/zap/pseudo: No such device
First thing I found out was that "lsmod" did not show either zaptel nor ztdummy. A modprobe with both worked fine. After that all needed "devices" under /dev/zap (inclusively) were created "on the fly". So i thought something got weird with udev, but here everything seemed fine,too.
Then I was checking for all start scripts and : surprise, surprise :
/etc/rc.d/rc.local was not executable (644)
Since this is the file where I have "modprobe zaptel" (etc.) I chmod'ed it to 755, made a reboot and zaptel/ztdummy was loaded on reboot.
I do not have the lightest clue why, when, what or even who changed the file setting of such an important start-script, and it took some hours to hunt it down. May this thread save someone's time to get his / her machine running again.
If anyone has a possible answer to the question how that could have happened, I'll be quite thankful ...
best wishes, r0n