Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
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 !

Admin-Site: Internal Server error 500

Got problems with your B2 or B3? Share and get helped!
Post Reply
MaverikCH
Posts: 58
Joined: 09 Mar 2009, 15:03
Location: Bern, Switzerland
Contact:

Admin-Site: Internal Server error 500

Post by MaverikCH »

My problem is i can't access the server over ssh. though i am not able to place the commands already stated in the forum.

Status: Connecting to 192.168.2.13...
Response: fzSftp started
Command: open "[email protected]" 22
Command: Pass: ******
Error: Authentication failed.
Error: Critical error
Error: Could not connect to server

i tried user root and pw excito as stated in the manual.
and i tried the WAN and LAN port. same result.

and booting the harddisk as operating system my boot manager tell me: bootsector not found or corrupt.

is there no usb stick image which i can boot up with and it would fix only the corrupt files used for apache?
Xet
Posts: 53
Joined: 12 May 2008, 02:40

Post by Xet »

root isn't allowed to login via ssh.
You got to login as a "regular" user and use "su".
MaverikCH
Posts: 58
Joined: 09 Mar 2009, 15:03
Location: Bern, Switzerland
Contact:

Post by MaverikCH »

what you mean with use "su"?
you mean with regular user the ones crared over buba admin site?
Xet
Posts: 53
Joined: 12 May 2008, 02:40

Post by Xet »

I assume that you have created a user on your bubba, from the admin page for example, and given that users shell access. If not, start by doing that.

Login via ssh to your bubba using that regular user.
Once logged in issue the command

Code: Select all

su 
When promted for a password enter the password for root, which is "excito" by default.

After looking a bit better at you first post I must ask: Do you really use a SSH-client? By the looks of it, it seems like you try to use sftp.
MaverikCH
Posts: 58
Joined: 09 Mar 2009, 15:03
Location: Bern, Switzerland
Contact:

Post by MaverikCH »

do i have gave ssh? don't remember.problem is i can't access the admin site because apache has a misconfiguration. thats why i'm trying all this.

i tried with filezilla client which uses putty. but yes its sftp over SSH.
hta wont work? i think using putty alone or filezilla useing putty as interface doens't matter.

i case of not aktivating the ssh for regular user. is there any other way?
Xet
Posts: 53
Joined: 12 May 2008, 02:40

Post by Xet »

Do you have a regular user on your Bubba?
With regular, I mean a user that you have created from wed-admin, before apache was misconfigured.
If so, login, using putty, with that user. Do not use Filezilla, as it's a FTP-client....
If you don't have a regular user, I have no idea how to fix it, besides doing a fresh installation.
MaverikCH
Posts: 58
Joined: 09 Mar 2009, 15:03
Location: Bern, Switzerland
Contact:

Post by MaverikCH »

well great. reinstall though. access denied with putty.
and only accessing the adminn part doesn't work. will take time to copy my 60 gb data. what pisses me off ;)
MaverikCH
Posts: 58
Joined: 09 Mar 2009, 15:03
Location: Bern, Switzerland
Contact:

Post by MaverikCH »

OK, following:
i mananged to fix it without formating.

firstly i downlaoded the image, extracted to the usb stick and have customized the buba.cfg.

All options set to NO (it is literated) for enabling rescue system option

bootet up with rescue system option: you need to have network cable on WAN port and DHCP for WAN.

then mounted the disk (rescue system laods with a thin version of linux)
mount /dev/sda /mnt

afterwards i logged in with root on the bubba over putty. enabled my regular user

cd ..
cd ..
(for going back to root-directory /

the file for eabling ssh is in:
cd /mnt/etc/passwd

edit the file with vi like:
vi passwd

Manual for using vi
http://www.lagmonster.org/docs/vi.html

search for the line with your userhome like .../home/(username):
After "/home/(username):" it needs to say: /bin/bash

edit and close file afterwards

now boot up the bubba regular over LAN port (without USB stick) and then login with putty using your regular user and password. voila.

now write su and then type the password from root in. afterwards type
apt-get -y update

then
apt-get -y dist-upgrade

done. the admin page is fixed.
Post Reply