מקום טוב להתחיל בו הוא הורדה של הגרסה העדכנית של דרופל בעברית.
להורדת דרופל בעבריתלשפות וגרסאות אחרות, Drupal.org
יש לנו באתר מדריכים שונים, הכוללים מדריך להתקנת דרופל על המחשב המקומי או על שרת אירוח באינטרנט, כמו גם מדריכים לעיצוב ופיתוח.
בעזרת המדריכים השונים באתר ובעזרת קבוצות הדיון שלנו, אפשר למצוא את כל המידע הנחוץ להקמה והתאמה אישית של אתרי דרופל. כדאי לבדוק גם את ערוצי התמיכה הנוספים שלנו

מה הכוונה apache קורס? מה
מה הכוונה apache קורס? מה מופיע בלוג השגיאות שלו?
מצטער שלא ציינתי: אני משתמש
מצטער שלא ציינתי: אני משתמש ב-xampp. כשאני מנסה לגשת לאתר, ויסטה (כן, ויסטה :-( ) מודיע לי בחינניות שה-apache http server אינו מגיב. והדפדפן באמת לא מצליח להגיע לאתר (יענו, localhost/mysite)
רועי
אני מכיר את הבעייה, והיא
אני מכיר את הבעייה, והיא קורית גם באחד המחשבים אצלי:
כאשר מפעילים optimize_css, המחשב הזה (זה קורה רק במחשב אחד בלבד) פשוט לא מגיב והוא מחזיר 404 במקום להחזיר את הפלט HTML של דרופל.
לא הצלחתי להבין ממה זה נגרם, הפתרון שלנו הוא... לעבוד עם מחשב אחר לצורך בדיקות מול אקספלורר. אני אשמח לפתרון חכם יותר.
גם אתה וגם השולח המקורי - בלי
גם אתה וגם השולח המקורי - בלי לוגים, לא ניתן לדעת מה קרה לשרת שלכם.
הערה קטנה לפני שאני מתחיל...
הערה קטנה לפני שאני מתחיל... אצלי הבעייה נגרמת מכך שאני מפעיל Optimize CSS, ולא מפני שאני מכבה כמו שכתוב בכותרת של ה־thread הזה.
והינה הכיף מתחיל. זה חלקים מ-error.log של apache כאשר LogLevel debug:
- server started -[Mon Jul 06 08:57:39 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.9-2 configured -- resuming normal operations
[Mon Jul 06 08:57:39 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Jul 06 08:57:39 2009] [notice] Parent: Created child process 3604
[Mon Jul 06 08:57:39 2009] [debug] mpm_winnt.c(487): Parent: Sent the scoreboard to the child
[Mon Jul 06 08:57:39 2009] [notice] Child 3604: Child process is running
[Mon Jul 06 08:57:39 2009] [info] Parent: Duplicating socket 200 and sending it to child process 3604
[Mon Jul 06 08:57:39 2009] [debug] mpm_winnt.c(408): Child 3604: Retrieved our scoreboard from the parent.
[Mon Jul 06 08:57:39 2009] [debug] mpm_winnt.c(605): Parent: Sent 1 listeners to child 3604
[Mon Jul 06 08:57:39 2009] [debug] mpm_winnt.c(564): Child 3604: retrieved 1 listeners from parent
[Mon Jul 06 08:57:39 2009] [notice] Child 3604: Acquired the start mutex.
[Mon Jul 06 08:57:39 2009] [notice] Child 3604: Starting 64 worker threads.
[Mon Jul 06 08:57:39 2009] [notice] Child 3604: Starting thread to listen on port 80.
- pulled first page, with preprocess_css -
[Mon Jul 06 08:59:14 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.9-2 configured -- resuming normal operations
[Mon Jul 06 08:59:14 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Jul 06 08:59:14 2009] [notice] Parent: Created child process 1376
[Mon Jul 06 08:59:14 2009] [debug] mpm_winnt.c(487): Parent: Sent the scoreboard to the child
[Mon Jul 06 08:59:14 2009] [notice] Child 1376: Child process is running
[Mon Jul 06 08:59:14 2009] [info] Parent: Duplicating socket 200 and sending it to child process 1376
[Mon Jul 06 08:59:14 2009] [debug] mpm_winnt.c(408): Child 1376: Retrieved our scoreboard from the parent.
[Mon Jul 06 08:59:14 2009] [debug] mpm_winnt.c(605): Parent: Sent 1 listeners to child 1376
[Mon Jul 06 08:59:14 2009] [debug] mpm_winnt.c(564): Child 1376: retrieved 1 listeners from parent
[Mon Jul 06 08:59:14 2009] [notice] Child 1376: Acquired the start mutex.
[Mon Jul 06 08:59:14 2009] [notice] Child 1376: Starting 64 worker threads.
[Mon Jul 06 08:59:14 2009] [notice] Child 1376: Starting thread to listen on port 80.
- pulled second page, no preprocess_css -
{no errors}
אין לי שמץ של מושג מה זה אומר.
אם זה עוזר לך, הינה הלוגים כאשר LogError error
- start + pull a normal page -[Mon Jul 06 09:04:00 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.9-2 configured -- resuming normal operations
[Mon Jul 06 09:04:00 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Jul 06 09:04:00 2009] [notice] Parent: Created child process 516
[Mon Jul 06 09:04:00 2009] [notice] Child 516: Child process is running
[Mon Jul 06 09:04:00 2009] [notice] Child 516: Acquired the start mutex.
[Mon Jul 06 09:04:00 2009] [notice] Child 516: Starting 64 worker threads.
[Mon Jul 06 09:04:00 2009] [notice] Child 516: Starting thread to listen on port 80.
- pull a processed css page -
[Mon Jul 06 09:04:54 2009] [notice] Parent: child process exited with status 3221225477 -- Restarting.
[Mon Jul 06 09:04:54 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.9-2 configured -- resuming normal operations
[Mon Jul 06 09:04:54 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Jul 06 09:04:54 2009] [notice] Parent: Created child process 1208
[Mon Jul 06 09:04:54 2009] [notice] Child 1208: Child process is running
[Mon Jul 06 09:04:54 2009] [notice] Child 1208: Acquired the start mutex.
[Mon Jul 06 09:04:54 2009] [notice] Child 1208: Starting 64 worker threads.
[Mon Jul 06 09:04:54 2009] [notice] Child 1208: Starting thread to listen on port 80.
[Mon Jul 06 09:04:54 2009] [notice] Parent: child process exited with status 3221225477 -- Restarting.
[Mon Jul 06 09:04:54 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.9-2 configured -- resuming normal operations
[Mon Jul 06 09:04:54 2009] [notice] Server built: Dec 10 2008 00:10:06
[Mon Jul 06 09:04:54 2009] [notice] Parent: Created child process 3740
[Mon Jul 06 09:04:54 2009] [notice] Child 3740: Child process is running
[Mon Jul 06 09:04:54 2009] [notice] Child 3740: Acquired the start mutex.
[Mon Jul 06 09:04:54 2009] [notice] Child 3740: Starting 64 worker threads.
[Mon Jul 06 09:04:54 2009] [notice] Child 3740: Starting thread to listen on port 80.
כרגיל, אני לא ממש מבין למה תוכניות פשוט מתות כמו זבובים על מהערכות הפעלה של מיקרוספט. ובאופן לא קונסיסטנטי כזה... מילא אם היה קורה כל הזמן, על כל המחשבים. איחסה פיחסה.
אני לא מכיר את מערכת ההפעלה
אני לא מכיר את מערכת ההפעלה הזו, אבל יש לך אפשרות לעבוד עם prefork? עבודה עם worker thread, למרות שנשמעת על פניו יותר הגיונית ורצויה, בפועל עושה הרבה בעיות (בעיקר דווקא בגלל האפליקציות, אבל בעיות הן בעיות)
הנה הלוג שלי: [Tue Jul 07
הנה הלוג שלי:
[Tue Jul 07 19:26:34 2009] [notice] Digest: generating secret for digest authentication ...
[Tue Jul 07 19:26:34 2009] [notice] Digest: done
[Tue Jul 07 19:26:40 2009] [notice] Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i PHP/5.2.9 configured -- resuming normal operations
[Tue Jul 07 19:26:40 2009] [notice] Server built: Dec 10 2008 00:10:06
[Tue Jul 07 19:26:40 2009] [notice] Parent: Created child process 4704
[Tue Jul 07 19:26:43 2009] [notice] Digest: generating secret for digest authentication ...
[Tue Jul 07 19:26:43 2009] [notice] Digest: done
[Tue Jul 07 19:26:46 2009] [notice] Child 4704: Child process is running
[Tue Jul 07 19:26:46 2009] [notice] Child 4704: Acquired the start mutex.
[Tue Jul 07 19:26:46 2009] [notice] Child 4704: Starting 250 worker threads.
[Tue Jul 07 19:26:46 2009] [notice] Child 4704: Starting thread to listen on port 443.
[Tue Jul 07 19:26:46 2009] [notice] Child 4704: Starting thread to listen on port 80.
[Tue Jul 07 19:28:08 2009] [notice] Parent: child process exited with status 3221225725 -- Restarting.
[Tue Jul 07 19:28:09 2009] [notice] Digest: generating secret for digest authentication ...
[Tue Jul 07 19:28:09 2009] [notice] Digest: done
[Tue Jul 07 19:28:12 2009] [notice] Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i PHP/5.2.9 configured -- resuming normal operations
[Tue Jul 07 19:28:12 2009] [notice] Server built: Dec 10 2008 00:10:06
[Tue Jul 07 19:28:12 2009] [notice] Parent: Created child process 6864
[Tue Jul 07 19:28:15 2009] [notice] Digest: generating secret for digest authentication ...
[Tue Jul 07 19:28:15 2009] [notice] Digest: done
[Tue Jul 07 19:28:18 2009] [notice] Child 6864: Child process is running
[Tue Jul 07 19:28:18 2009] [notice] Child 6864: Acquired the start mutex.
[Tue Jul 07 19:28:18 2009] [notice] Child 6864: Starting 250 worker threads.
[Tue Jul 07 19:28:18 2009] [notice] Child 6864: Starting thread to listen on port 80.
[Tue Jul 07 19:28:18 2009] [notice] Child 6864: Starting thread to listen on port 443.
[Tue Jul 07 19:28:22 2009] [notice] Parent: child process exited with status 3221225725 -- Restarting.
[Tue Jul 07 19:28:22 2009] [notice] Digest: generating secret for digest authentication ...
[Tue Jul 07 19:28:22 2009] [notice] Digest: done
[Tue Jul 07 19:28:24 2009] [notice] Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i PHP/5.2.9 configured -- resuming normal operations
[Tue Jul 07 19:28:24 2009] [notice] Server built: Dec 10 2008 00:10:06
[Tue Jul 07 19:28:24 2009] [notice] Parent: Created child process 6968
[Tue Jul 07 19:28:28 2009] [notice] Digest: generating secret for digest authentication ...
[Tue Jul 07 19:28:28 2009] [notice] Digest: done
[Tue Jul 07 19:28:30 2009] [notice] Child 6968: Child process is running
[Tue Jul 07 19:28:30 2009] [notice] Child 6968: Acquired the start mutex.
[Tue Jul 07 19:28:30 2009] [notice] Child 6968: Starting 250 worker threads.
[Tue Jul 07 19:28:30 2009] [notice] Child 6968: Starting thread to listen on port 443.
[Tue Jul 07 19:28:30 2009] [notice] Child 6968: Starting thread to listen on port 80.
רועי
שניכם - נסו להקטין את מספר ה
שניכם - נסו להקטין את מספר ה worker threads ל -1 ותראו אם הבעיה ממשיכה לקרות.
שינתי את ההגדרה וזה עדיין
שינתי את ההגדרה וזה עדיין מקריס את apache. הינה הלוגים לאחר מעשה:
[Wed Jul 08 10:10:05 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.10 DAV/2 configured -- resuming normal operations[Wed Jul 08 10:10:05 2009] [notice] Server built: Dec 10 2008 00:10:06
[Wed Jul 08 10:10:05 2009] [notice] Parent: Created child process 1724
[Wed Jul 08 10:10:05 2009] [notice] Child 1724: Child process is running
[Wed Jul 08 10:10:05 2009] [notice] Child 1724: Acquired the start mutex.
[Wed Jul 08 10:10:05 2009] [notice] Child 1724: Starting 1 worker threads.
[Wed Jul 08 10:10:05 2009] [notice] Child 1724: Starting thread to listen on port 80.
[Wed Jul 08 10:10:17 2009] [notice] Parent: child process exited with status 3221225725 -- Restarting.
[Wed Jul 08 10:10:17 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.10 DAV/2 configured -- resuming normal operations
הינה ההגדרות שאני משתמש בהן:
<IfModule mpm_winnt.c>ThreadsPerChild 1
MaxRequestsPerChild 0
</IfModule>
ניסיתי לשחק עם ההגדרות של מספר thread ומספר הילדים פר בקשה, וזה גורם לאותה בעייה (קריא זה לא הפתרון).
סתם כבדרך אגב, מצאתי מאמר מעניין בוויקיפדיה: http://en.wikipedia.org/wiki/Comparison_of_WAMPs שבעקבותיו מצאתי את Uniform Server. בינתיים, למעט האופסי הזה, נראה מאוד מבטיח.
אין מספיק מידע בלוגים. לדעתי
אין מספיק מידע בלוגים. לדעתי גם כדאי לבדוק את הלוגים של PHP - יכול להיות שהבעיה מגיעה משם.