TRY THIS Unable to login in pbxinaflash

atux_null

New Member
Joined
Mar 18, 2016
Messages
10
Reaction score
0
Hi. New with the pbx in a flash and i have downloaded the image and installed it in a RPI 0 W.
the system asked me for a few passwords and i put either PassA or PassB. these passwords are just examples, not the real ones.
I can login through ssh to the system and i did update it. When i fire up the https://IP_ADDRESS:9001 webmin comes up and i can login with pi and the ssh password.
When i fire up in a browser the http://IP_address, the page of PBX comes up and i press the button to change to admin. It asks me for password and it is neither PassA nor PassB.

i did try to login as root (with sudo bash) and executed the update-passwords, at the end i got the following errors:

Updating passwords...
htpasswd: cannot open file /etc/pbx/wwwpasswd for read/write access
sed: couldn't open temporary file /etc/asterisk/sedtKqEJg: Permission denied
sed: couldn't open temporary file /etc/asterisk/sedOorNzf: Permission denied
sed: couldn't open temporary file /etc/asterisk/sedbsJQDh: Permission denied
sed: couldn't open temporary file /etc/asterisk/sedZIi4Il: Permission denied
sed: couldn't open temporary file /etc/asterisk/sedoZPM9j: Permission denied
Reloading FreePBX...
PHP Warning: include_once(/etc/asterisk/freepbx.conf): failed to open stream: No such file or directory in /var/lib/asterisk/bin/module_admin on line 16
PHP Warning: include_once(): Failed opening '/etc/asterisk/freepbx.conf' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/lib/asterisk/bin/module_admin on line 16
PHP Fatal error: Call to undefined function fpbx_framework_autoloader() in /var/lib/asterisk/bin/module_admin on line 21
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
touch: cannot touch ‘/etc/pbx/.passwords’: Permission denied
./update-passwords: line 131: /root/passwords.FAQ: Permission denied
./update-passwords: line 132: /root/passwords.FAQ: Permission denied
./update-passwords: line 133: /root/passwords.FAQ: Permission denied
./update-passwords: line 134: /root/passwords.FAQ: Permission denied
./update-passwords: line 135: /root/passwords.FAQ: Permission denied
./update-passwords: line 136: /root/passwords.FAQ: Permission denied
./update-passwords: line 137: /root/passwords.FAQ: Permission denied
./update-passwords: line 138: /root/passwords.FAQ: Permission denied
Done.
pi@pbxinaflash:/root$


How can i login to the pbx and start configuring trunks, extensions, etc, please?
 
i did try to execute this script with and without sudo. in both cases i gave as password the word yadafoo. Still the problem with incorrect password.
 
Looks like you have hosed the MySQL password for Asterisk. Are you out of disk space??
 
Hi. I have a 32GB card and the available space is:
pi@pbxinaflash:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 30G 3.1G 26G 11% /
devtmpfs 237M 0 237M 0% /dev
tmpfs 241M 0 241M 0% /dev/shm
tmpfs 241M 4.5M 237M 2% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 241M 0 241M 0% /sys/fs/cgroup
/dev/mmcblk0p1 60M 22M 39M 37% /boot
pi@pbxinaflash:~$

No luck in both of my installations
 

Members online

No members online now.

Forum statistics

Threads
26,696
Messages
174,453
Members
20,265
Latest member
irenelanda64
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top