New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

B3: Software Reinstall

Got problems with your B2 or B3? Share and get helped!
Post Reply
romtoc
Posts: 19
Joined: 21 Jun 2011, 04:18

B3: Software Reinstall

Post by romtoc »

Hello,
Yesterday I was enough idiot to "CHMOD -R 777 /"
Yes. I CHMODed the root. :cry:
Then I lost access to FTP, SCP and SSH, with only the web interface working fine.
Today I reinstalled the B3 OS from an USB stick.

After the reinstallation, the above problems are the same, but now I can't open the admin panel.
My website's users will kill me.

Please help me, as I will leave Bucharest in less than three days.
Last edited by romtoc on 21 Jun 2011, 08:42, edited 1 time in total.
Many thanks,
Matei Cristian Dumitru
http://www.romtoc.net/
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Re: B3: Software Reinstall

Post by Eek »

I am unsure how you could have killed everything using only chmod 777 /
but can't you access http://b3.local ?
maybe a good idea would be to retry the re-installation from USB
cheers
Eek
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: B3: Software Reinstall

Post by Ubi »

did you type

Code: Select all

chmod -R 777 / 
or

Code: Select all

chmod 777 / 
?
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: B3: Software Reinstall

Post by Ubi »

oh yes, and what did you read in the http error logs and /var/log/messages?
romtoc
Posts: 19
Joined: 21 Jun 2011, 04:18

Re: B3: Software Reinstall

Post by romtoc »

1) sorry, I wrote

Code: Select all

chmod -R 777 /
2)
Ubi wrote:oh yes, and what did you read in the http error logs and /var/log/messages?
I am a linux dummy. I didn't even know about that file.
Many thanks,
Matei Cristian Dumitru
http://www.romtoc.net/
ryz
Posts: 183
Joined: 12 Feb 2009, 06:03

Re: B3: Software Reinstall

Post by ryz »

Eek wrote:I am unsure how you could have killed everything using only chmod 777 /
but can't you access http://b3.local ?
maybe a good idea would be to retry the re-installation from USB
He has already reinstalled the system but he has still problems
romtoc wrote:Hello,
After the reinstallation, the above problems are the same, but now I can't open the admin panel.
My website's users will kill me.
The problem is that a lot of demons does sanity checking and only allow users that has secure permissions to enter the system. SSH is one such demon it checks both the home account and some key files for ssh in the home account.

So the problem now is most likely the permission on the home accounts since I guess you did keep the home accounts when you did the reinstall. I am afraid that there is no easy way to get the permission back in a good state for the home accounts.
romtoc
Posts: 19
Joined: 21 Jun 2011, 04:18

Re: B3: Software Reinstall

Post by romtoc »

ryz wrote:
Eek wrote:I am unsure how you could have killed everything using only chmod 777 /
but can't you access http://b3.local ?
maybe a good idea would be to retry the re-installation from USB
He has already reinstalled the system but he has still problems
romtoc wrote:Hello,
After the reinstallation, the above problems are the same, but now I can't open the admin panel.
My website's users will kill me.
The problem is that a lot of demons does sanity checking and only allow users that has secure permissions to enter the system. SSH is one such demon it checks both the home account and some key files for ssh in the home account.

So the problem now is most likely the permission on the home accounts since I guess you did keep the home accounts when you did the reinstall. I am afraid that there is no easy way to get the permission back in a good state for the home accounts.

Look, I know I'm a beginner, but is there any way to do a full reinstall of the system?
I mean, without keeping files/user accounts or anything.
Many thanks,
Matei Cristian Dumitru
http://www.romtoc.net/
ryz
Posts: 183
Joined: 12 Feb 2009, 06:03

Re: B3: Software Reinstall

Post by ryz »

I did take a quick look at the configuration file for the B3 usb install image and it does default to a total reinstall so unless you did change the configuration file called bubba.cfg in the root of the usb it should have done a total reinstall of the system. I would guess that it did not reinstall at all. It can be quite problematic to get the B3 to install from an USB stick. It is quite picky with how the USB stick is configured. If you search the forum you should find a lot of topic on this.
romtoc
Posts: 19
Joined: 21 Jun 2011, 04:18

Re: B3: Software Reinstall

Post by romtoc »

Hello,
I am sorry for the problems I caused you (time loss).
I fixed it using another USB stick.

Thanks for your help. :D
Many thanks,
Matei Cristian Dumitru
http://www.romtoc.net/
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Re: B3: Software Reinstall

Post by Eek »

No worries, glad it is working again.
cheers
Eek
romtoc
Posts: 19
Joined: 21 Jun 2011, 04:18

Re: B3: Software Reinstall

Post by romtoc »

Thanks!
If you want, visit my BUBBA-Hosted IRC Server on [url]irc://irc.romtoc.tk/Romtoc[/url]
Many thanks,
Matei Cristian Dumitru
http://www.romtoc.net/
Post Reply