Jump to content
Froxlor Forum


  • Content Count

  • Joined

  • Last visited

  • Days Won


Stephen last won the day on November 23 2010

Stephen had the most liked content!

Community Reputation

9 Neutral

About Stephen

  • Rank
    Advanced Froxie
  1. Stephen

    Froxlor and MariaDB

    I have Froxlor running with MariaDB. So far there appear to be no problems. So far it is as claimed on the MariaDB website that MariaDB is a drop in replacement for MySQL. Since starting this thread I have learned that PBXT is deprecated and that ACID compliance with MariaDB is best done using InnoDB. When browsing the Froxlor created MariaDB databases with phpMyAdmin I found that they are all MyISAM, even though InnoDB was set up to be the default engine. This has me concerned because there is lack of crash recovery with MyISAM. I would like to have Froxlor use a more reliable engine such as Aria or InnoDB. Is there a way to get Froxlor to do this?
  2. Stephen

    Download Only FTP Account

    I have a need to create an FTP account that allows the user only to download. I do not see an option for that when an FTP account is created or its options edited. The currently installed FTP is PureFTP. Would there be this a download only option if I installed ProFTP instead?
  3. Yes. But in the procedure given this disabling comes at the beginning of the "Final Steps" section, which is right after the end of the "Setting up the Froxlor vHost" section. At the end of this ?Setting up the Froxlor vHost" section there are instructions to log into Froxlor. If this error is to be expected until mod_PHP is disabled then there needs to be change in the instruction sequence given in the handbook. I completed the handbook's procedure with read permission for other in effect. As I write this I removed that permission and found Froxlor continued to work.
  4. I was following the proceedure in the FCGID Handbook at: http://redmine.froxlor.org/projects/froxlor/wiki/FCGID_-_handbook When I got to the last step under the heading "Setting up the Froxlor vHost" where apache is restarted Froxlor did not work anymore. What appeared in the browser was the the message: You have to make the file "lib/userdata.inc.php" readable for the http-process! I had to make the file: /var/www/froxlor/lib/userdata.inc.php readable by "others" for Froxlor to work again. Was this the right thing to do? Or should this change in permissions have been unncessary?
  5. Stephen

    Froxlor and MariaDB

    Will Froxlor work with MariaDB and its ACID compliant PBXT storage engine?
  6. Stephen

    [solved] Debian Package Dependencies

    This problem is solved. It wanted to install apache2 because php5 depends on it. I installed lighttpd and then php5-cgi. After this aptitude no longer insisted on installing apache2 or any of the others I did not want when I installed froxlor.
  7. I am attempting to install froxlor on a freshly created Debian 6 system. The response to the command "aptitude install froxlor" is: The following NEW packages will be installed: apache2-mpm-prefork{a} apache2-utils{a} apache2.2-bin{a} apache2.2-common{a} courier-authdaemon{a} courier-authlib{a} courier-authlib-mysql{a} courier-authlib-userdb{a} courier-base{a} courier-imap{a} courier-pop{a} expect{a} froxlor libapache2-mod-php5{a} libc-client2007e{a} libdbd-mysql-perl{a} libdbi-perl{a} libgd2-noxpm{a} libhtml-template-perl{a} libjpeg62{a} libnet-daemon-perl{a} libonig2{a} libphp-phpmailer{a} libplrpc-perl{a} libpng12-0{a} libpq5{a} libqdbm14{a libsasl2-modules{a} libsasl2-modules-sql{a} libsqlite0{a} libt1-5{a} libx11-6{a} libx11-data{a} libxau6{a} libxcb1{a} libxdmcp6{a} libxpm4{a} maildrop{a} mlock{a} mysql-client-5.5{a} mysql-server{a} mysql-server-5.5{a} mysql-server-core-5.5{a} php5{a} php5-cli{a} php5-common{a} php5-gd{a} php5-imap{a} php5-mysql{a} php5-suhosin{a} postfix{ab} postfix-mysql{a} proftpd-basic{a} proftpd-mod-mysql{a} tcl8.5{a} webalizer{a} wwwconfig-common{a} The trouble with this is I do not want to install apache because I use lighttpd which has, in fact, already been installed and in spite of this it wants to install apache. I do not want to install courier because I want to use dovecot, and I do not want to install proftpd because I want to use pureftpd. So now I am faced with either figuring out how to prevent these installations, or remove them later while maintaining the froxlor installation, by editing the aptitude installation files. Any package that has instructions for installation in froxlor's "Configuration" section should not be listed as a dependency in the Debian package. This is causing problems for me.
  8. Every five minutes crond is sending me this email: From root@frox.example.com Thu Nov 17 11:50:02 2011 X-Original-To: root From: root@frox.example.com (Cron Daemon) To: root@frox.example.com Subject: Cron <root@example> /usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php Content-Type: text/plain; charset=ANSI_X3.4-1968 X-Cron-Env: <PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin> X-Cron-Env: <SHELL=/bin/sh> X-Cron-Env: <HOME=/root> X-Cron-Env: <LOGNAME=root> Date: Thu, 17 Nov 2011 11:50:01 -0500 (EST) sh: /chmod: No such file or directory I believe this may be related to the problem I have I posted about at: http://redmine.froxlor.org/issues/978 How can I find out what file path chmod does not find?
  9. Stephen

    Froxlor 9.21 Fixit Script

    I thought earlier this script was not needed because I had awstats turned off at "Settings > Statistic Settings". When this is on this script is still needed as of version 0.9.25.
  10. Stephen

    Froxlor 9.21 Fixit Script

    Update for the menu path to the "Webserver reload command" field: "Server > Settings > Webserver settings > Webserver reload command". There is also a Bind9 reload command field that must also execute this script. It is found at: "Server > Settings > Nameserver settings > Nameservers"
  11. This eliminated aptitude wanting to install courier. But it still wants to install apache files: The following packages are BROKEN: libapache2-mod-php5 php5-cli The following NEW packages will be installed: apache2-mpm-prefork{a} apache2-utils{a} apache2.2-common{a} froxlor php5{a} php5-mysql{a} The froxlor installation files show apache as a dependency, not a recommend: # aptitude show froxlor ... Depends: apache2 | lighttpd | nginx, php5, php5-cli, php5-mysql, mysql-server, mysql-client, mysql-common, webalizer | awstats, wwwconfig-common Recommends: postfix-mysql | exim4-daemon-heavy, libsasl2-modules-sql, maildrop, courier-authlib-mysql | dovecot-common, courier-imap | dovecot-imapd, courier-pop | dovecot-pop3d, php5-gd, php5-suhosin, php5-imap, proftpd-mod-mysql | pure-ftpd-mysql, bind9 The problem is only half solved.
  12. lighttpd was already installed when I attempted to install froxlor: # whereis lighttpd lighttpd: /usr/sbin/lighttpd /etc/lighttpd /usr/lib/lighttpd /usr/lib64/lighttpd /usr/share/lighttpd /usr/share/man/man8 /lighttpd.8.gz
  13. I am attempting to install froxlor on a newly installed Debian 5. When I execute the commend "aptitude install froxlor" I get this: The following packages are BROKEN: libapache2-mod-php5 php5-cli php5-gd php5-imap The following NEW packages will be installed: apache2-mpm-prefork{a} apache2-utils{a} apache2.2-common{a} courier-authdaemon{a} courier-authlib{a} courier-authlib-mysql{a} courier-authlib-userdb{a} courier-base{a} courier-imap{a} courier-pop{a} expect{a} froxlor libsasl2-modules-sql{a} maildrop{a} php5{a} php5-mysql{a} php5-suhosin{a} postfix-mysql{a} tcl8.4{a} The following packages will be upgraded: php5-common I do not want apache installed. I am using lighttpd. I do not want courier installed. I want to use dovecot. Why does it insist in installing packages related to these two unwanted items? I also can't figure why it says "libapache2-mod-php5 php5-cli php5-gd php5-imap" are broken. I removed these earlier with an "aptitude purge" command.
  14. Stephen

    Froxlor 9.21 Fixit Script

    To keep my sites online I have had to execute the below script to work around Froxlor bugs. This script can be executed automatically whenever Froxlor updates the config files by going to "Server > Settings > Webserver reload command" and entering the path to this script in that field. This script assumes there is a glue record in the Bind9 zone file to get the IP numbers. A glue record is not something Froxlor automatically does yet. If you do not have one it is necessary to add one or alter this script. Froxlor can be made to create a bind9 glue record for the name server by creating a subdomain for the nameserver as a work around. In my instance I created the ns1 subdomain for my site just as it is done for any subdomain for a site. I find that if I do not have a glue record my site's domain name never gets associated with its IP number and so cannot be accessed by its URL. This script needs as the first argument the site's domain name. It assumes the nameserver has the ns1 subdomain. If you are using other than that this script must also be edited for that. The script will take as an optional second argument the action lighttpd and bind9 are to take. The default is reload. Do not forget to give this script execute permissions and to test this script before counting on it to work for you. In addition to this script, if the recommended lighttpd.conf file has been copied and pasted from "Server > Configuration" it is necessary to delete or comment out the line: include_shell "cat /etc/lighttpd/froxlor-diroptions/*.conf" This line is for a feature that does not yet work due to this issue: http://redmine.froxlor.org/issues/803 #!/bin/bash # Fix DNS Config Files # Get the glue record of $1 line=`pcregrep "^ns1[\s]*?IN[\s]*?A[\s]*?(\d*?\.\d*?\.\d*?\.\d*)" /etc/bind/domains/"$1".zone` # Extract the IP address from the glue record ipadd=`expr "$line" : '[0-9A-Za-z]*[ ]*IN[ ]*A[ ]*\([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*$\)'` # Escape the dots with \ ipadd="${ipadd//./\\.}" urlpat="${1//./\\.}" # Sometimes Froxlor will put the nameserver URL instead of the IP numbers in the allow-transfer sections # of froxlor_bind.conf. This will cause bind9 config files to fail to load and bind9 will fail to start. # Find the nameserver and replace with IP numbers: perl -p -i -e "s/ns1\.$urlpat/$ipadd/g" /etc/bind/froxlor_bind.conf # Add the + before = to all instances of "alias.url =" involving awstats-icon (This should be the second instance) # Issue http://redmine.froxlor.org/issues/803 find /etc/lighttpd/conf-enabled/vhosts -type f -exec perl -p -i -e 's/alias.url = \( \"\/awstats-icon/alias.url += \( \"\/awstats-icon/' '{}' + # Make the socket file settings consistent # Issue http://redmine.froxlor.org/issues/804 # Find the line that contains the location of the fcgi socket: line=`pcregrep "^[^#][\s]*?\"socket\"[\s]*?=>" /etc/lighttpd/lighttpd.conf` # Extract the socket file from the line: socket=`expr "$line" : '[^=]*=>[^\"]*\"\([^\"]*\)'` # Add socket number: socket="${socket}-0" # Insert socket into the vhost files: find /etc/lighttpd/conf-enabled -type f -exec perl -p -i -e 's%\"socket\"[\s]*=>[^,]*\"%\"socket\" => \"/var/run/lighttpd/froxlor.panel-froxlor.jail4judges.info-php-fpm.socket-0\"%' '{}' + wait if [ -n "$2" ] ; then command=$2 else command="reload" fi # Reload the configuration files /etc/init.d/lighttpd $command # If the socket already existed before restart or reload it gets deleted # instead of created. This makes sure it exists before exiting. i=0; while (($i<30)); do sleep 1 if [[ -S "$socket" ]]; then break fi /etc/init.d/lighttpd "$command" let i++; done /etc/init.d/bind9 "$command"
  15. Stephen

    [solved] PHP 5.3 Compatibility

    This upgrade problem is solved. See my thread at: http://forums.debian.net/viewtopic.php?f=5&t=63567 I still need to know about PHP 5.3. I will not upgrade to it yet because I have other software that is definitely not compatible with it. But the day will come when I will need to do this upgrade and so I need to know if the upgrade will break Froxlor. There is a need for system requirements information on the Froxlor website.