Koozali.org: home of the SME Server

userpanel-mailsort, chi l'ha visto?

Offline mauro

  • ****
  • 101
  • +0/-0
userpanel-mailsort, chi l'ha visto?
« on: June 18, 2007, 05:02:06 PM »
Ciao a tutti
   sto cercando di creare alcune regole per la gestione della posta e ho installato userpanel-mailsorting. Purtroppo accedendo al server sotto user-manager il panel compare nella lista a sinistra ma quando clicco ho il seguente errore:

Quote
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Gli altri userpanels funzionano regolarmente.
Ho verificato sotto /etc/e-smith/web/panels/user/cgi-bin ed esiste un file userpanel-mailsort non vuoto, cos'altro posso verificare?
Grazie
   Mauro
All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer.
-- IBM maintenance manual (1975)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Errore su userpanel-mailsort
« Reply #1 on: June 18, 2007, 05:40:59 PM »
Quote from: "mauro"
Ciao a tutti
   sto cercando di creare alcune regole per la gestione della posta e ho installato userpanel-mailsorting. Purtroppo accedendo al server sotto user-manager il panel compare nella lista a sinistra ma quando clicco ho il seguente errore:

Quote
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Gli altri userpanels funzionano regolarmente.
Ho verificato sotto /etc/e-smith/web/panels/user/cgi-bin ed esiste un file userpanel-mailsort non vuoto, cos'altro posso verificare?
Grazie
   Mauro


ciao Mauro e benvenuto su sme/contribs :-)

prima di tutto ti chiedo di mettere sbj più.... aderenti al problema.. leggendo il titolo mi ero immaginato un problema totalmente diverso ;-)

veniamo al punto..

per capire cosa sta succedendo fai così:

- apri la console/sessione ssh e loggati come root
- digita:
Code: [Select]

tail -f /var/log/httpd/admin_error.log

- lancia su interfaccia web il panel da te richiesto
- verifica sulla console i messaggi che scorrono.. dovresti leggere l'errore.
- inserisci l'errore nel motore di ricerca di questo sito :-)
- se non trovi, inseriscilo in google :-)
- se non trovi, posta l'errore e vediamo di darti una mano ;-)

ciao, a presto

Stefano

Offline mauro

  • ****
  • 101
  • +0/-0
userpanel-mailsort, chi l'ha visto?
« Reply #2 on: June 19, 2007, 10:28:25 AM »
Ciao Stefano, grazie per il benvenuto.

Riguardo al subject, ok, chercherò di essere un po' meno... creativo la prossima volta.

Per quanto riguarda il mio problema, ho verificato grazie al log che mi hai suggerito che mancava un rpm (perl-Unicode-IMAPUtf7, si vede che non era elencato nelle dipendenze???), però non sono andato molto avanti. Ora l'errore nel log è:

Quote
[Tue Jun 19 10:17:39 2007] [error] [client 127.0.0.1] Could not open processmail DB
[Tue Jun 19 10:17:39 2007] [error] [client 127.0.0.1] Compilation failed in require at /etc/e-smith/web/panels/user/cgi-bin/userpanel-mailsort line 21.
[Tue Jun 19 10:17:39 2007] [error] [client 127.0.0.1] BEGIN failed--compilation aborted at /etc/e-smith/web/panels/user/cgi-bin/userpanel-mailsort line 21.
[Tue Jun 19 10:17:39 2007] [error] [client 127.0.0.1] Premature end of script headers: userpanel-mailsort


 
La prima riga dovrebbe essere eloquente.... almeno per gli esperti :?

Ciao
All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer.
-- IBM maintenance manual (1975)

Offline Stefano

  • *
  • 10,894
  • +3/-0
userpanel-mailsort, chi l'ha visto?
« Reply #3 on: June 19, 2007, 10:49:55 AM »
Quote from: "mauro"
Ciao Stefano, grazie per il benvenuto.

Riguardo al subject, ok, chercherò di essere un po' meno... creativo la prossima volta.

Per quanto riguarda il mio problema, ho verificato grazie al log che mi hai suggerito che mancava un rpm (perl-Unicode-IMAPUtf7, si vede che non era elencato nelle dipendenze???), però non sono andato molto avanti. Ora l'errore nel log è:

Quote
[Tue Jun 19 10:17:39 2007] [error] [client 127.0.0.1] Could not open processmail DB
[Tue Jun 19 10:17:39 2007] [error] [client 127.0.0.1] Compilation failed in require at /etc/e-smith/web/panels/user/cgi-bin/userpanel-mailsort line 21.
[Tue Jun 19 10:17:39 2007] [error] [client 127.0.0.1] BEGIN failed--compilation aborted at /etc/e-smith/web/panels/user/cgi-bin/userpanel-mailsort line 21.
[Tue Jun 19 10:17:39 2007] [error] [client 127.0.0.1] Premature end of script headers: userpanel-mailsort


 
La prima riga dovrebbe essere eloquente.... almeno per gli esperti :?

Ciao


Ciao

ho dato un'occhiata in giro ed ho qualche domanda da porti..

che rpm hai installato? dove lo hai trovato?

questo perchè il fatto che non trovi il db mi fa pensare:
- che non sia il contrib per sme 7.x (nella quale i db di conf. hanno cambiato percorso)
- che manchi un rpm del tipo smeserver-xxx che crea/inizializza i db di conf.

Ciao

Stefano

Offline mauro

  • ****
  • 101
  • +0/-0
userpanel-mailsort, chi l'ha visto?
« Reply #4 on: June 19, 2007, 11:40:25 AM »
Ciao
l'rpm è il seguente:

smeserver-mailsorting-1.2-6.el4.sme
Credo di averlo recuperato dal repository dungog:

http://sme.dungog.net/packages/smeserver/7.0/i386/dungog/
All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer.
-- IBM maintenance manual (1975)

Offline Stefano

  • *
  • 10,894
  • +3/-0
userpanel-mailsort, chi l'ha visto?
« Reply #5 on: June 19, 2007, 01:26:55 PM »
Quote from: "mauro"
Ciao
l'rpm è il seguente:

smeserver-mailsorting-1.2-6.el4.sme
Credo di averlo recuperato dal repository dungog:

http://sme.dungog.net/packages/smeserver/7.0/i386/dungog/


ciao Mauro

ho il sospetto tu debba installare anche smeserver-userpanel, sempre da dungog

ciao

Stefano

Offline mauro

  • ****
  • 101
  • +0/-0
userpanel-mailsort, chi l'ha visto?
« Reply #6 on: June 19, 2007, 02:05:57 PM »
Ce l'ho già....

smeserver-userpanel-0.9-10
All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer.
-- IBM maintenance manual (1975)

Offline mauro

  • ****
  • 101
  • +0/-0
userpanel-mailsort, chi l'ha visto?
« Reply #7 on: July 06, 2007, 10:13:55 AM »
Se a qualcun altro dovesse capitare in futuro, basta fare un:

Code: [Select]
touch /home/e-smith/db/processmail

Ciao
All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can't get them together again, there must be a reason. By all means, do not use a hammer.
-- IBM maintenance manual (1975)

Offline Stefano

  • *
  • 10,894
  • +3/-0
userpanel-mailsort, chi l'ha visto?
« Reply #8 on: July 06, 2007, 10:33:52 AM »
Quote from: "mauro"
Se a qualcun altro dovesse capitare in futuro, basta fare un:

Code: [Select]
touch /home/e-smith/db/processmail

Ciao


ottimo..

ti consiglio di comunicarlo all'autore del contrib, in modo che venga fatto automaticamente

Ciao

Stefano