OOPS

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

OOPS

Postby uselessinfoguru » Thu Aug 24, 2017 12:17 pm

so I did a bad thing. chmod -R 777 /var and chmod -R 777 /
I now have root access again by logging into single user mode and setting the correct permissions for the Home, usr, root, etc, and var directories
I do not have remote SSH or FTP access, and the system is not recording, even tho i did chown -R asterisk /var/spool/asterisk and chmod -R 777 /var/spool/asterisk

any help would be appreciated

correction there are recordings from today in the /var/spool/monitor/ directory -in.wav and -out.wav files, but they are not moving to monitorDONE/ORIG or monitorDONE/MP3
VERSION: 2.14-736a | BUILD: 200204-2336| Cluster Setup
uselessinfoguru
 
Posts: 74
Joined: Tue Jul 25, 2017 10:27 pm

Re: OOPS

Postby felipecl » Fri Aug 25, 2017 8:59 am

Fix ssh login:
#cd /etc/ssh/
#chmod 600 moduli
#chmod 644 ssh_config
#chmod 644 ssh_host_dsa_key.pub
#chmod 644 ssh_host_key.pub
#chmod 644 ssh_host_rsa_key.pub
#chmod 600 ssh_host_dsa_key
#chmod 600 ssh_host_key
#chmod 600 ssh_host_rsa_key
#chmod 640 sshd_config
/etc/init.d/sshd start
(and/or)
/etc/init.d/sshd reload

With this you arrange the remote access by ssh. I hope to see you.
felipecl
 
Posts: 6
Joined: Fri Aug 11, 2017 10:56 am

Re: OOPS

Postby uselessinfoguru » Wed Aug 30, 2017 10:24 am

ok, luckily, the databases weren't corrupt, so ran ADMIN_backup.pl, installed new from vicibox 7.0.3, restored the backup, since the file and folder permissions do not carry over with backup and restore, everything worked beautifully.
VERSION: 2.14-736a | BUILD: 200204-2336| Cluster Setup
uselessinfoguru
 
Posts: 74
Joined: Tue Jul 25, 2017 10:27 pm


Return to Support

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 82 guests