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 !

Apache default directory or Phpmyadmin

Got problems with your B2 or B3? Share and get helped!
Post Reply
Mediahuone
Posts: 5
Joined: 07 Nov 2010, 08:01

Apache default directory or Phpmyadmin

Post by Mediahuone »

Hi,

I'm trying to install phpmyadmin on B3 so I need the htdocs-directory to install phpmyadmin though the SSH.

If Phpmyadmin is installed, could you give me a address to get into the main page of phpmyadmin.

Best regards,
Matti
Mediahuone
Posts: 5
Joined: 07 Nov 2010, 08:01

Re: Apache default directory or Phpmyadmin

Post by Mediahuone »

Hi,

Now I've another concern. I installed webmin but I really don't know how the heck I can get in to it?

I'm sorry that I'm bothering with noob questions but I'm really a newbie in Linux :)

Matti
Ubi
Posts: 1549
Joined: 17 Jul 2007, 09:01

Re: Apache default directory or Phpmyadmin

Post by Ubi »

Did you bother to read through the documentation that came with webmin (or phpmyadmin for that matter)?
try
http://b3:10000

Ubi
Mediahuone
Posts: 5
Joined: 07 Nov 2010, 08:01

Re: Apache default directory or Phpmyadmin

Post by Mediahuone »

Hi,

Yes, I tried b3:10000 on winxp and b3.local:10000 on my Mac. Neither worked. While installing it says:

Code: Select all

root@b3:/home/web# dpkg -i webmin_1.520_all.deb
(Reading database ... 38672 files and directories currently installed.)
Unpacking webmin (from webmin_1.520_all.deb) ...
Port 10000 is already in use
dpkg: error processing webmin_1.520_all.deb (--install):
 subprocess new pre-installation script returned error exit status 2
Errors were encountered while processing:
 webmin_1.520_all.deb
What should I do? :?
DanielM
Posts: 637
Joined: 28 Mar 2008, 06:37
Location: Sweden

Re: Apache default directory or Phpmyadmin

Post by DanielM »

Mediahuone wrote:Port 10000 is already in use
This is because Excitos own ftd (the file transfer daemon used for downloading files) uses port 10000-14000. I guess the easiest solution would be to edit the file /etc/ftd/ftdconfig.ini and change the variable listenportstart from 10000 to 10001 to free the port (might need a "/etc/init.d/filetransferdaemon restart" to re-read the settings).

After that you should probably run a "dpkg-reconfigure webmin" to try again.

/Daniel
Mediahuone
Posts: 5
Joined: 07 Nov 2010, 08:01

Re: Apache default directory or Phpmyadmin

Post by Mediahuone »

Hi. I changed the port (and refreshed) and deleted all files that were installed uncorrectly and tried to install it, but linux is complaining:

Code: Select all

dpkg: dependency problems prevent configuration of webmin:
 webmin depends on libnet-ssleay-perl; however:
  Package libnet-ssleay-perl is not installed.
 webmin depends on libauthen-pam-perl; however:
  Package libauthen-pam-perl is not installed.
 webmin depends on apt-show-versions; however:
  Package apt-show-versions is not installed.
dpkg: error processing webmin (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 webmin
root@b3:/home/web# 
I've gotten very frustrated with this because my client is waiting. Please and help me.

/Matti
DanielM
Posts: 637
Joined: 28 Mar 2008, 06:37
Location: Sweden

Re: Apache default directory or Phpmyadmin

Post by DanielM »

Mediahuone wrote:

Code: Select all

dpkg: dependency problems prevent configuration of webmin:
 webmin depends on libnet-ssleay-perl; however:
  Package libnet-ssleay-perl is not installed.
 webmin depends on libauthen-pam-perl; however:
  Package libauthen-pam-perl is not installed.
 webmin depends on apt-show-versions; however:
  Package apt-show-versions is not installed.
dpkg: error processing webmin (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 webmin
root@b3:/home/web# 
Since you're installing using dpkg no dependencies are taken care of, like they do when installing using apt-get. So if you first install the packages mentioned (apt-get install libnet-ssley-perl libauthen-pam-perl apt-show-versions) and then try again I think it would work better.

/Daniel
Mediahuone
Posts: 5
Joined: 07 Nov 2010, 08:01

Re: Apache default directory or Phpmyadmin

Post by Mediahuone »

Hi! Now I managed to install webmin with success. Thanks for help!

Now I've problem with going to admin page of Webmin. I've tried to put b3:10000/b3.local:10000 (on Mac) and the IP instead of b3/b3.local with no change.

Can this have something to do with modem/router?

/Matti R.
Post Reply