Jump to content
Froxlor Forum

DavidCK

Members
  • Posts

    56
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by DavidCK

  1. 9 hours ago, d00p said:

    Are you using php-7.0+ as required? Did you check the error log what causes the 500 internal server error?

    Yes, php - 7.0.33 

     

    Error log:

     AH01071: Got error 'PHP message: PHP Parse error:  syntax error, unexpected '\\' (T_NS_SEPARATOR), expecting identifier (T_STRING) in /var/www/froxlor/lib/init.php(521) : eval()'d code on line 6\n'
     

  2. Hi Everyone!

    I upgraded my froxlor installation to the last version, but I got error 500 after auto updating on admin page.

    I went to the terminal and found this:

    Possible reason: Froxlor update
    Information: Current version in database: 0.9.40.1 (DB: 201809280) - version of Froxlor files: 0.10.                            8 (201911220))
    Solution: Please visit your Froxlor admin interface for further information.
     

    I can't visit froxlor admin interface because it's down (error 500)

    Any idea?

    Thanks in advance.

     

  3. On 4/17/2019 at 8:18 AM, Aakash Karn said:

    Hi i tried to install it on Digital Ocean server , tried ubuntu , debian and centOs as well . I wasted my two days , can i get any tutorial as i could't find any proper one  .

    Hi. I have the latest version running on Digital Ocean, AWS, and google. Send me a direct message. I can help you. 

  4. Not enough memory? 

    Feb  4 01:10:42  kernel: [10323.321102] Out of memory: Kill process 6700 (mysqld) score 170 or sacrifice child
    Feb  4 01:10:42  kernel: [10323.338759] Killed process 6700 (mysqld) total-vm:646748kB, anon-rss:85280kB, file-rss:0kB, shmem-rss:0kB
    Feb  4 01:10:42  systemd[1]: mariadb.service: Main process exited, code=killed, status=9/KILL
    Feb  4 01:10:42  systemd[1]: mariadb.service: Unit entered failed state.
    Feb  4 01:10:42  systemd[1]: mariadb.service: Failed with result 'signal'.
    Feb  4 01:10:47  systemd[1]: mariadb.service: Service hold-off time over, scheduling restart.
    Feb  4 01:10:47  systemd[1]: Stopped MariaDB 10.1.37 database server.
    Feb  4 01:10:47  systemd[1]: Starting MariaDB 10.1.37 database server...
    Feb  4 01:10:47  mysqld[7045]: 2019-02-04  1:10:47 140575933501888 [Note] /usr/sbin/mysqld (mysqld 10.1.37-MariaDB-0+deb9u1) starting as process 7045 ...
    Feb  4 01:10:48  systemd[1]: mariadb.service: Main process exited, code=exited, status=1/FAILURE
    Feb  4 01:10:48 systemd[1]: Failed to start MariaDB 10.1.37 database server.
    Feb  4 01:10:48  systemd[1]: mariadb.service: Unit entered failed state.
    Feb  4 01:10:48  systemd[1]: mariadb.service: Failed with result 'exit-code'.
    Feb  4 01:10:49  froxlor[7049]: SQLSTATE[HY000] [2002] Connection refused
    Feb  4 01:10:49  froxlor[7049]: --- DEBUG: #0 /var/www/froxlor/lib/classes/database/class.Database.php(297): PDO->__construct('mysql:dbname=st...', 'stuser', 'DB_UNPRIV_PWD...', Array) #1 /var/www/froxlor/lib/classes/dat$

  5. 51 minutes ago, d00p said:

    Anything in the system logs? 

    Feb  4 00:24:03  froxlor[4011]: SQLSTATE[HY000] [2002] Connection refused
    Feb  4 00:24:03 froxlor[4012]: SQLSTATE[HY000] [2002] Connection refused
    Feb  4 00:24:03  froxlor[4012]: --- DEBUG: #0 /var/www/froxlor/lib/classes/database/class.Database.php(297): PDO->__construct('mysql:dbname=st...', 'stuser', 'DB_UNPRIV_PWD...', Array) #1 /var/www/froxlor/lib/classes/dat$
    Feb  4 00:24:03  froxlor[4011]: --- DEBUG: #0 /var/www/froxlor/lib/classes/database/class.Database.php(297): PDO->__construct('mysql:dbname=st...', 'stuser', 'DB_UNPRIV_PWD...', Array) #1 /var/www/froxlor/lib/classes/dat$
    Feb  4 00:24:03 ip-172-26-13-168 postfix/pickup[2534]: 99CAC8207F: uid=0 from=<root>
     

    Feb  4 00:29:18 kernel: [ 7839.329991] Out of memory: Kill process 4203 (mysqld) score 178 or sacrifice child
    Feb  4 00:29:18  kernel: [ 7839.334578] Killed process 4203 (mysqld) total-vm:646552kB, anon-rss:89300kB, file-rss:0kB, shmem-rss:0kB
    Feb  4 00:29:18  systemd[1]: mariadb.service: Main process exited, code=killed, status=9/KILL
    Feb  4 00:29:18  systemd[1]: mariadb.service: Unit entered failed state.
    Feb  4 00:29:18  systemd[1]: mariadb.service: Failed with result 'signal'.

  6. Hello,

    I've been getting database connection errors on my websites for more than week. I got this error:

    froxlor[3673]: SQLSTATE[HY000] [2002] Connection refused
    froxlor[3673]: --- DEBUG: #0 /var/www/froxlor/lib/classes/database/class.Database.php(297): PDO->__construct('mysql:d                                                                                                                        

    bname=st...', 'stuser', 'DB_UNPRIV_PWD...', Array) #1 /var/www/froxlor/lib/classes/database/class.Database.php(183):                                                                                                                         Database::getDB() #2 /var/www/froxlor/lib/cron_init.php(92): Database::__callStatic('query', Array) #3 /var/www/froxl                      or/scripts/froxlor_master_cronjob.php(20): include_once('/var/www/froxlo...') #4 {main}
     

    I've solved them with this command: sevice mariadb restart. However, I found today that the databases which my customers created are not working. For example, I ran a fresh wordpress installation today and the database created by customers is not connecting to complete the installation.


     

    Any guess?

    I appreciate your help. 

  7. 3 hours ago, docho said:

    Aaand there we go again -> Error 503 ?
    The only thing I did, was creating a new customer. No further steps.

    I now ran the cronjob again, but that didn't help.
    The fpm-service fails to start, but I don't know why, yet.

    Hmm - the customer-folder in /var/customers/webs/ belongs to a non-existing uid and gid 10000 and the fpm-service tells me

    " ERROR: [pool mycustomer.mydomain] cannot get uid for user 'mycustomer'"

    So I guess there has to be something more, I was missing.

    Hi, Docho.

    Can you paste the cronjob output here?

  8. 2 hours ago, d00p said:

    It's really hard to help if i have to ask for everything.

    hahaha. Thank you! It is working.

    I used to have froxlor running on Ubuntu, so I got confused when I didn't error restarting apache2. 

    Solution:

    1) /etc/init.d/apache2 stop

    2) a2dismod suexec proxy_fcgi actions

    3) a2enmod php7.0

    4) rm vhost located in /etc/apache2/sites-enabled/

    5)/etc/init.d/apache2 start

    6) Open your panel http(s)://(your ip)

    7) Check settings. In my case (Use libnss-extrausers instead of libnss-mysql ) was unchecked.

    8 ) Go to configuration and follow the config files webserver, cronjob, libnss-extrausers, and PHP-FPM

    Regards,
     

  9. 1 hour ago, Pineo said:

    Getting the 503 error as well. How do you make sure the fpm config is adjusted properly, d00p?

     Hi Pineo. Could run the master cronjob command adding --force --debug? copy the input here. Try stopping and starting apache2 or the web server that you are using looking for any error. If you provide these info it could be easier to help you. 

    Regards,

  10. 5 hours ago, d00p said:

    I'd say you did not adjust your fpm config and thus the path where the pool configs are being generated is not the one needed.

    Hi d00p, how can I change the path if the web panel interface is not working? I've looking for that file in /etc/php/7.0/ but the pool.d folder is empty. Do you know where can I find that file?

    Thanks. 

  11. Hi Guys!

    I started a fresh froxlor installation on Debian 9.5. Everything worked great until I finished the setup for the PHP-FPM. I got a 503 error in all the pages including the main panel website. I don't know where I can start looking for errors. I ran the cronjob code and I don't get any error. Apache is stopping, running, loading, and starting without errors. Does anyone can help me? 

    *UPDATE*

    I found this line: [information] apache::reload: fpm config directory "/etc/php/7.0/fpm/pool.d/" is empty. Creating dummy. after running the master cronjob command. Could it be related with the error? 

  12. Hello Everyone.

    I tried to update my server to the last version of froxlor, but the the auto-update extract the new files in /var/www/html/ and my panel installation is located in /var/www/html/froxlor so I can not update my panel.

    Can anyone help me?

    Thanks

  13. 8 hours ago, d00p said:

    Google postfix submission port and/or ssl, as google says:

    • All outgoing traffic to port 25 (SMTP) is blocked.
    • Most outgoing traffic to port 465 or 587 (SMTP over SSL) is blocked, except for known Google IP addresses.

     

    Hi,

    Do you know how to change the postfix default ports on froxlor??

  14. On 8/4/2017 at 6:30 PM, adamjedgar said:

    Hi guys,

     

    I have a google cloud compute debian instance

    I have been experimenting with a couple of alternatives to cpanel. Just installed virtualmin and now am looking at froxlor.

     

    I have followed the install outline as documented.

    1. I setup a google cloud launcher LAMP

    2. navigated in browser to <myserveripadress> to ensure apache is working (which it is)

    3. downloaded froxlor to /var/www/ directory

    4. chown froxlor to www-data:www-data (i also checked to ensure my webserver is running as www-data)

     

    Now when i attempt to navigate to http://<mywerveripadress>/froxlor i get the following error in browser 

    "NOTFOUND" the requested URLwas not found on this server.

     

    now when i ssh into server, froxlor is definatelly in /var/www/ directory.

    permissions are  0755 www-data:www-data

     

    i am not sure what i have done wrong?

     

    has anyone with experience in installing this on google cloud got any advice?

    Hello I'm running a froxlor server on google cloud computers too. Do you have a problem with the mailling ports? thanks for your answer.

  15. Hi there,

     

    just wanted to share some information about setting up proftpd as sftp server with froxlor users.

     

    I searched for this solution but couldn't find anything that suited my needs.

     

    So, what I wanted to achieve was the following:

    • Using Froxlor FTP-Account management
    • No SSH Access for FTP-Users
    • Chroot for FTP-Users
    • No FTP Protocol  (to avoid Firewall-Config-Nightmares)
    • No interference with standard ssh access

    The setup was quite easy/straight-forward:

     

    1st edit /etc/proftpd/modules.conf and add following line:

    LoadModule mod_sftp.c
    

     2nd edit /etc/proftpd/sql.conf and add following line:

    Include /etc/proftpd/sftp.conf
    

    3rd create file /etc/proftpd/sftp.conf with following content:

    <IfModule mod_sftp.c>
    SFTPEngine				on
    SFTPLog					/var/log/proftpd/sftp.log
    SFTPHostKey				/etc/ssh/ssh_host_dsa_key
    SFTPHostKey				/etc/ssh/ssh_host_rsa_key
    </IfModule>
    

    4th restart proftpd:

    service proftpd restart
    

    Now your users are able to login to SFTP using standard FTP Port 21 (and you only need to open that port in your firewall), SSH File Transfer Protocol and will only be able to write to the FTP-Directory (i.e. customers home).

     

    Hope this helps someone.

     

    Hello Men, one question. This works with the port 21 or 22?

     

    regards,

×
×
  • Create New...