Page 6 of 11 FirstFirst ... 3456789 ... LastLast
Results 126 to 150 of 266
  1. #126
    Join Date
    Oct 2008
    Posts
    637
    Use the "remove" function. Removing a domain entry using domain.sh cleans up everything as if the domain never existed. So there is no need to re-setup your server.
    I've replied to your PM as well


    Tuxlite.com Complete LAMP and LNMP script for Debian and Ubuntu.

  2. #127
    I'm having problems using awstats. When I open domain.com/stats it gives me an error Symbolic link not allowed. What could be a problem?

  3. #128
    Join Date
    Oct 2008
    Posts
    637
    Have you waited 24 hours for the stats to be generated? If you want to access your stats page sooner, run the awstats code for that domain. You can find the line under /etc/logrotate.d/domain-domain.com


    Tuxlite.com Complete LAMP and LNMP script for Debian and Ubuntu.

  4. #129
    Quote Originally Posted by Scientist View Post
    Have you waited 24 hours for the stats to be generated? If you want to access your stats page sooner, run the awstats code for that domain. You can find the line under /etc/logrotate.d/domain-domain.com

    Worked like a charm. THANK YOU

  5. #130
    Join Date
    Oct 2008
    Posts
    637
    No prob


    Tuxlite.com Complete LAMP and LNMP script for Debian and Ubuntu.

  6. #131
    It is a little bit off topic but I’d like to give it a shot. I’m having a little problem with image file uploading using any browser. If I upload a small image file I’d say less than 50kb then it works fine but if I upload image file 1mb then after upload, it gives me 500 error. I’m just guessing but it could be a problem with php.ini settings. In my php.ini file_uploads = On, upload_max_filesize = 25M, max_file_uploads = 20. What could be a problem and why would it only allow uploading small files? If you can please just point me to the right direction so I can play with settings. Thank you in advance.

  7. #132
    Join Date
    Oct 2008
    Posts
    637
    You need to increase your upload time if your uploads can't complete in time.

    The two values to edit are =

    max_input_time in php.ini
    IPCCommTimeout in fcgid.conf

    Refer here for more info http://tuxlite.com/lamp-readme/


    Tuxlite.com Complete LAMP and LNMP script for Debian and Ubuntu.

  8. #133
    Quote Originally Posted by Scientist View Post
    You need to increase your upload time if your uploads can't complete in time.

    The two values to edit are =

    max_input_time in php.ini
    IPCCommTimeout in fcgid.conf

    Refer here for more info http://tuxlite.com/lamp-readme/

    I already tried everything and the problem doesn't go away. I can upload only small files less than 80-100kb and for all other image files I get 500 error. I'm just guessing here but could it be a problem with suhosin or mod_security?
    Last edited by startera; 04-15-2011 at 08:58 PM.

  9. #134
    Join Date
    Mar 2010
    Location
    Dallas
    Posts
    331
    What version of php are you using? Are you updating the php.ini for the correct version?

  10. #135
    Quote Originally Posted by dclardy View Post
    What version of php are you using? Are you updating the php.ini for the correct version?
    PHP 5.3.3-7

  11. #136
    Join Date
    Mar 2010
    Location
    Dallas
    Posts
    331
    Are you using FPM?

    I am guessing that you need to edit /etc/php5/fpm/php.ini

  12. #137
    Quote Originally Posted by dclardy View Post
    Are you using FPM?

    I am guessing that you need to edit /etc/php5/fpm/php.ini
    No, I used an option lampworker

  13. #138
    Join Date
    Mar 2010
    Location
    Dallas
    Posts
    331
    What version of the script did you use? Can you paste the link to it here?

  14. #139
    Join Date
    Mar 2010
    Location
    Dallas
    Posts
    331
    I mean for what OS. Like Ubuntu or debian?

  15. #140
    Quote Originally Posted by dclardy View Post
    What version of the script did you use? Can you paste the link to it here?
    added: The version I used for Debian 6

    I used version 1.1 The latest from tuxlite.com I believe the problem should be in suhosin area. I'll be playing with settings and I hope to find a solution soon

  16. #141
    Join Date
    Mar 2010
    Location
    Dallas
    Posts
    331
    I don't think that it is there, but you can look.

    Did you use the script for debian or ubuntu?

  17. #142
    Quote Originally Posted by dclardy View Post
    I don't think that it is there, but you can look.

    Did you use the script for debian or ubuntu?
    The version I used for Debian 6

  18. #143
    Join Date
    Mar 2010
    Location
    Dallas
    Posts
    331
    Can you see which of these files you have edited?

    /etc/php5/fpm/php.ini -- this one should not exist on your setup
    /etc/php5/cgi/php.ini -- this is the one you should edit for the installation you choose
    /etc/php5/apache2/php.ini -- will not change anything if you make changes to it

  19. #144
    Join Date
    Oct 2008
    Posts
    637
    Might be stating the obvious but have you restarted Apache after making the changes? Or is your upload speed extremely slow? I just tried uploading a 6MB file on the default settings on my test box and it went fine.


    Tuxlite.com Complete LAMP and LNMP script for Debian and Ubuntu.

  20. #145
    I keep editing /etc/php5/cgi/php.ini file. I'm trying to disable suhosin.session.encrypt by entering disable suhosin.session.cryptua and suhosin.session.cryptua=Off in php.ini but they still show up as ON in system info. Some of the options of suhosin blocks upload. I'll keep playing, I just need to find the right command and option to turn it off. Everything else script worked like a charm.

  21. #146
    Finally after playing with settings I found solution. I added in fcgid.conf MaxRequestLen 15555555 and it removed file size restriction during upload.

  22. #147
    Join Date
    Oct 2008
    Posts
    637
    Ah nice find! Completely overlooked that one.
    I suppose some of the heavier scripts like joomla/drupal etc might need more than the default value.


    Tuxlite.com Complete LAMP and LNMP script for Debian and Ubuntu.

  23. #148
    Scientist: I've used your previous domainsetup.sh and serversetup.sh, they are old versions (back when I posted here first time)

    Can I remove those scripts and download the updated ones? Will they work just fine? Are they compatible with what the previous scripts updated/did?

    Thanks

  24. #149
    Join Date
    Oct 2008
    Posts
    637
    Yes they are, except for the domain script because it has been updated quite considerably. If you want to use the new domain script, do the following:-

    1. Backup your domain's public_html and log directory to a temporary location
    2. Remove the domain using the old domainsetup.sh
    3. Re-add the domain using the new domain.sh
    4. Move the backed up files back

    Depending on which version you have, the older AWStats data may need to be manually moved as well.


    Tuxlite.com Complete LAMP and LNMP script for Debian and Ubuntu.

  25. #150
    I'd like AWSTATS log rotate hourly instead of daily. I changed /etc/logrotate.d/domain-domain.com file "daily" to "hourly" but it doesn't work. Any suggestions? Thank you

Page 6 of 11 FirstFirst ... 3456789 ... LastLast

Similar Threads

  1. CentOS or Ubuntu or Debian
    By Host4Geeks in forum Hosting Software and Control Panels
    Replies: 26
    Last Post: 08-24-2010, 04:50 AM
  2. Seems Debian BETTER than CentOS for LNMP VPS?
    By 21andy in forum VPS Hosting
    Replies: 8
    Last Post: 02-24-2010, 03:20 AM
  3. Debian Server - Professional LAMP Setup, Optimization + Hardening Needed
    By Netarch in forum Systems Management Requests
    Replies: 5
    Last Post: 07-16-2008, 11:49 AM
  4. Any decent guides for chrooting apache2 in ubuntu lamp installation?
    By Georgecooldude in forum Hosting Security and Technology
    Replies: 2
    Last Post: 05-12-2008, 06:42 PM
  5. Hassle Free CentOS/Ubuntu LAMP install disc?
    By RobinWrit in forum Colocation, Data Centers, IP Space and Networks
    Replies: 2
    Last Post: 03-05-2008, 01:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •