HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   not working correctly (http://www.howtoforge.com/forums/showthread.php?t=120)

davidg 17th July 2005 11:50

not working correctly
 
Installed ISPconfig on SUSE 9.2 box, configured with your how-to's and everything installed great. I can log in but the management menu on the left side of the web page does not work, the error is HTTP 404 - File not found
Internet Explorer . I am using https://xxx.xxx.xxx:81 to log in. Should I uninstall, then re-install and use http instead of https? Thank you for your help.

till 17th July 2005 13:39

Quote:

Originally Posted by davidg
Installed ISPconfig on SUSE 9.2 box, configured with your how-to's and everything installed great. I can log in but the management menu on the left side of the web page does not work, the error is HTTP 404 - File not found
Internet Explorer . I am using https://xxx.xxx.xxx:81 to log in. Should I uninstall, then re-install and use http instead of https? Thank you for your help.

The left page is rendered with Javascript, check in your browser settings
if javascript is enabled or try to add your server to the thrusted sites.

If this does not help, try to reinstall ISPConfig:

1) run this command as root user on the shell
to uninstall ISPConfig:

/root/ispconfig/uninstall

2) Then install it again. It should work with https as well as with http


Till

davidg 17th July 2005 21:24

Still not working
 
Thank you for the very fast response.

I made corrections as you stated and the menu is still not working. I know thats a problem with Microsoft Internet Explorer, because it works on my Macintosh.

I uninstalled and reinstalled and everything is working except the proftpd.

Message log states:
unable to create ipbind 'xxx.xxx.x.51:21 already bound to 'ProFTPD Default Installation'

I have three ip's xxx.xxx.x.50, 51, 52 the errors only show up on the ip's 51 and 52 and the service won't start. ISPConfig shows offline and will not restart.

The other question I have is everytime I make change on the management screen I have to re-login.

Other question should I make a contribution or do you prefer the purchase of your commercial product. You guys need to be paid for all this!!

Thank you.

admin 18th July 2005 11:00

Quote:

Originally Posted by davidg
Thank you for the very fast response.

I made corrections as you stated and the menu is still not working. I know thats a problem with Microsoft Internet Explorer, because it works on my Macintosh.

I uninstalled and reinstalled and everything is working except the proftpd.

Message log states:
unable to create ipbind 'xxx.xxx.x.51:21 already bound to 'ProFTPD Default Installation'

I have three ip's xxx.xxx.x.50, 51, 52 the errors only show up on the ip's 51 and 52 and the service won't start. ISPConfig shows offline and will not restart.

This looks if there proftpd already has an active default configuration.
Here is a minimal proftpd.conf that works well with ISPConfig.

##### BEGIN proftpd.conf ################

ServerName "FTPServer"
ServerType standalone
DeferWelcome off

ShowSymlinks on
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
AllowOverwrite on

TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200

DisplayLogin welcome.msg
DisplayFirstChdir .message
LsDefaultOptions "-l"

MaxInstances 30

<Directory /*>
Umask 022 022
AllowOverwrite on
</Directory>

DefaultRoot ~
IdentLookups off
UseReverseDNS off
ServerIdent on "FTP Server ready."

Include /etc/proftpd_ispconfig.conf

##### END proftpd.conf ################


Quote:

Originally Posted by davidg
The other question I have is everytime I make change on the management screen I have to re-login.

Have you enabled cookies?

Is the URL in the variable: $go_info["server"]["server_url"] in the
ISPConfig configuration file correct for your server? The path of the
config file is: /home/admispconfig/ispconfig/lib/config.inc.php

Quote:

Originally Posted by davidg
Other question should I make a contribution or do you prefer the purchase of your commercial product. You guys need to be paid for all this!!

Thank you.

This project has no donation button yet. It will be kind if you could
tell other poeple about our project :)

Till

davidg 19th July 2005 08:54

Still problems after uninstall and reinstall of ISPconfig

Proftpd does not start with the last line in the proftpd.conf:
Include /etc/proftpd_ispconfig.conf

If I comment out the line proftpd starts.
The error is:
notice: 'FTPServer' (192.168.0.50:21) already bound to 'FTPServer
bindings.c:880: notice: unable to create ipbind '192.168.0.50': Address already in use

notice: 'FTPServer' (192.168.0.51:21) already bound to 'FTPServer
bindings.c:880: notice: unable to create ipbind '192.168.0.51': Address already in use

notice: 'FTPServer' (192.168.0.52:21) already bound to 'FTPServer
bindings.c:880: notice: unable to create ipbind '192.168.0.52': Address already in use

Proftpd did start before the uninstall and reinstall
In ISPConfig status shows offline for ftp server.

Thanks for your help.

till 19th July 2005 10:57

Quote:

Originally Posted by davidg
Still problems after uninstall and reinstall of ISPconfig

Proftpd does not start with the last line in the proftpd.conf:
Include /etc/proftpd_ispconfig.conf

If I comment out the line proftpd starts.
The error is:
notice: 'FTPServer' (192.168.0.50:21) already bound to 'FTPServer
bindings.c:880: notice: unable to create ipbind '192.168.0.50': Address already in use

notice: 'FTPServer' (192.168.0.51:21) already bound to 'FTPServer
bindings.c:880: notice: unable to create ipbind '192.168.0.51': Address already in use

notice: 'FTPServer' (192.168.0.52:21) already bound to 'FTPServer
bindings.c:880: notice: unable to create ipbind '192.168.0.52': Address already in use

Proftpd did start before the uninstall and reinstall
In ISPConfig status shows offline for ftp server.

Thanks for your help.


1) Have you stopped proftpd before changing the configuration?
You can try a "killall proftpd" before you start it.

2) Is the file /etc/proftpd_ispconfig.conf there and what is the
content of the file.

3) Are there any other FTP daemons running on your Server?

falko 19th July 2005 11:00

Quote:

2) Is the file /etc/proftpd_ispconfig.conf there and what is the
content of this file.
Yes, can you post your /etc/proftpd_ispconfig.conf here?

davidg 19th July 2005 11:26

Commands entered
"killall proftpd"
proftpd: no process killed

server1:/ # /etc/init.d/proftpd start
Starting ProFTPD Server: - warning: "ProFTPD" address/port (192.168.0.50:21) already in use by "FTPServer"
failed

Yes, proftpd_ispconfig.conf is at /etc/proftpd_ispconfig.conf
Contents of proftpd_ispconfig.conf:
###################################
#
# ISPConfig proftpd Configuration File
# Version 1.0
#
###################################
<VirtualHost 192.168.0.50>
DefaultRoot ~
AllowOverwrite on
Umask 002
</VirtualHost>
<VirtualHost 192.168.0.51>
DefaultRoot ~
AllowOverwrite on
Umask 002
</VirtualHost>
<VirtualHost 192.168.0.52>
DefaultRoot ~
AllowOverwrite on
Umask 002
</VirtualHost>

no other ftp server is running, if I comment out the proftpd_ispconfig.conf line then the ftp service starts and I can ftp into the server.

Also remember this is on a re-install of ispconfig, I had no errors with ftp on the first install.

Thanks for all your help.

falko 19th July 2005 11:38

Can you check if the line
Code:

Include /etc/proftpd_ispconfig.conf
is included more than once in /etc/proftpd.conf?

davidg 19th July 2005 11:49

As far as I can see there is not 2 instances of the line in proftpd.conf.

Here is my proftpd.conf file. I commented out the original file created by ispconfig and copied over the post from earlier to test proftpd.conf. I had to comment out the line #LsDefaultOptions "-l" because there was an error when proftpd started.

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

#ServerName "Default FTP Server"
#ServerType standalone
#DefaultServer on

# Port 21 is the standard FTP port.
#Port 21

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
#Umask 022

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
#MaxInstances 30

# Set the user and group under which the server will run.
#User nobody
#Group nogroup

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~
#IdentLookups off
#ServerIdent on "Default FTP Server Ready"

# Normally, we want files to be overwriteable.
#AllowOverwrite on

# Bar use of SITE CHMOD by default
#<Limit SITE_CHMOD>
# DenyAll
#</Limit>

# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
#<Anonymous ~ftp>
# User ftp
# Group ftp

# We want clients to be able to login with "anonymous" as well as "ftp"
# UserAlias anonymous ftp

# Limit the maximum number of anonymous logins
# MaxClients 10

# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
# DisplayLogin welcome.msg
# DisplayFirstChdir .message

# Limit WRITE everywhere in the anonymous chroot
# <Limit WRITE>
# DenyAll
# </Limit>
#</Anonymous>




#Include /etc/proftpd_ispconfig.conf

#Copied from user post

ServerName "FTPServer"
ServerType standalone
DeferWelcome off

ShowSymlinks on
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
AllowOverwrite on

TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200

DisplayLogin welcome.msg
DisplayFirstChdir .message
#LsDefaultOptions "-l"

MaxInstances 30

<Directory /*>
Umask 022 022
AllowOverwrite on
</Directory>

DefaultRoot ~
IdentLookups off
UseReverseDNS off
ServerIdent on "FTP Server ready."

Include /etc/proftpd_ispconfig.conf


All times are GMT +2. The time now is 12:20.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.