Hey Yall,
SME 6.0x, Dual p2@333, 384mg ram, 2 SCSI discs, RAID1. This box has been running without issues for about 13 months.
Followed the instructions in the Troubleshooting FAQ to increase the upload limit. The text below is from the FAQ:
Anything using php should have it's limit set high to 50Mbyte with these 4 lines of code.
/sbin/e-smith/config setprop php PostMaxSize 50000000
/sbin/e-smith/config setprop php UploadMaxFilesize 50000000
/etc/e-smith/events/actions/conf-php
/etc/rc.d/init.d/httpd-e-smith graceful
No harm will be done ... just adjust 50000000 if you want less or more. If the machine slows down, maybe even starts thrashing you may want to give also time&space:
/sbin/e-smith/config setprop php MaxExecutionTime 1800
/sbin/e-smith/config setprop php MemoryLimit 100M /etc/e-smith/events/actions/conf-php
/etc/rc.d/init.d/httpd-e-smith graceful
Raising the http upload size in squid
mkdir -p /etc/e-smith/templates-custom/etc/squid/squid.conf
Place template fragment into temlplate directory:
echo "request_body_max_size 20 MB" > /etc/e-smith/templates-custom/etc/squid/squid.conf/85request_body_max_size
Expand (activate) Template:
/sbin/e-smith/expand-template /etc/squid/squid.conf
Restart squid to enable new settings:
/etc/init.d/squid restart
end FAQ.
I am now unable to access the Server-Manager Panel or my primary website. When I try to restart/start httpd I get the following error:
[root@zenon333 root]# /etc/rc.d/init.d/httpd-e-smith graceful
Stopping httpd: [FAILED]
Starting httpd: Allowed memory size of 100 bytes exhausted (tried to allocate 52 bytes) [ FAILED ]
I am not sure how to repair the problem or to undo the changes that I made.
Any help would be appreciated.
Joe