Changes

From SME Server
Jump to navigationJump to search
m
signal-event yum-modify
Line 3: Line 3:  
==Frequently Asked Questions==
 
==Frequently Asked Questions==
   −
I questa pagina sono contenute le domande più comuni (FAQ) riguardo SME 7, i problemi più comuni riscontrati dagli utenti nell'installazione e nell'aggiornamento potrai trovarli potrai trovarli qui.
+
I questa pagina sono contenute le domande più comuni (FAQ) riguardanti SME 7, la soluzione ai problemi più frequenti riscontrati dagli utenti nell'installazione e nell'aggiornamento potrai trovarla qui.
    
Se non trovi quello che stai cercando non disperare, prova a consultare il [http://bugs.contribs.org Bugzilla] di SME.
 
Se non trovi quello che stai cercando non disperare, prova a consultare il [http://bugs.contribs.org Bugzilla] di SME.
Line 34: Line 34:  
}}
 
}}
   −
{{DrawBoxNote|content=Un sistema installato con il cd SME 7.1 avrà abilitati i 5 repository elencati precedentemente, diversamente uno installato con il cd versione 7.0 e successivamente aggiornato a 7.1 avrà solo 3 repository abilitati. Dopo l'aggiornamento dovresti abilitare i repository ''Centos - os'' e ''Centos - updates'' utilizzando il server-manager.
+
{{Note box|Un sistema installato con il cd SME 7.1 avrà abilitati i 5 repository elencati precedentemente, diversamente uno installato con il cd versione 7.0 e successivamente aggiornato a 7.1 avrà solo 3 repository abilitati. Dopo l'aggiornamento dovresti abilitare i repository ''Centos - os'' e ''Centos - updates'' utilizzando il server-manager.
 
}}
 
}}
   −
*Un altro metodo per abilitare i repository di defaul è descitto qui [[:AddingSoftware#Restoring_Default_Yum_Repositories]]
     −
====Reconfigure / post-upgrade and reboot====
+
*Un altro metodo per abilitare i repository di default è descritto in [[:Adding_Software#Restoring_Default_Yum_Repositories]]
*When is a post-upgrade and reboot required?
  −
The server manager yum installer has no way of determining whether
  −
any configuration files will change if all are re-expanded or to know which
  −
binaries have changed (or use libraries which have now changed) and therefore
  −
need to be restarted. The only '''safe''' option is to reconfigure and restart
  −
everything.
     −
After clicking '''Reconfigure''' check the Status message and that the server does actually reboot.
+
====Riconfigurazione / post-upgrade e reboot====
Rarely circumstances arise that prevent the reconfigure from triggering. If so run the following,
+
*Quando sono necessari i comandi post-upgrade e reboot?
 +
La procedura di installazione di pacchetti tramite server-manager non ha modo di
 +
determinare se sono stati modificati dei file di configurazione e quindi la necessità di
 +
un riavvio del sistema.
 +
Solo l'opzione '''safe''' riconfigura e fa ripartire tutto.
   −
  signal-event post-upgrade; signal-event reboot
+
Dopo aver selezionato '''Riconfigura''' il server inizierà la procedura di reboot.
 +
Nei rari casi in cui il server non entri in modalità di riconfigurazione si possono utilizzare i
 +
comandi
 +
 
 +
  signal-event post-upgrade; signal-event reboott
   −
====Updating from SME 7.x to SME 7.2====
+
====Aggiornare da SME 7.x a SME 7.2====
First, install the latest yum support files:
+
Per prima cosa bisogna installare gli ultimi file di configurazione per yum:
 
  yum update smeserver-support smeserver-yum yum yum-plugin-fastest-mirror python-sqlite
 
  yum update smeserver-support smeserver-yum yum yum-plugin-fastest-mirror python-sqlite
 
  signal-event post-upgrade; signal-event reboot
 
  signal-event post-upgrade; signal-event reboot
   −
Now, clean your yum cache and update, forcing your system to use the default repositories
+
Ora si deve svuotare la cache di yum e forzare il sistema ad usare i repositories di default
 
  yum clean all
 
  yum clean all
 
  yum --disablerepo=* \
 
  yum --disablerepo=* \
Line 68: Line 69:  
  signal-event post-upgrade; signal-event reboot
 
  signal-event post-upgrade; signal-event reboot
   −
Finally, reset your yum repositories to the new defaults (post SME 7.1)
+
Ultmo passo è il settare i repositories di yum ai nuovi usati di default (per versioni successive a SME 7.1)
 
  cd /home/e-smith/db/
 
  cd /home/e-smith/db/
 
  mv yum_repositories yum_repositories.po
 
  mv yum_repositories yum_repositories.po
 
  /etc/e-smith/events/actions/initialize-default-databases
 
  /etc/e-smith/events/actions/initialize-default-databases
  expand-template /etc/yum.conf
+
  signal-event yum-modify
   −
Also see [http://wiki.contribs.org/Updating_to_SME_7.2 Updating to SME 7.2] for additional steps that may be necessary.
+
Consulta anche [http://wiki.contribs.org/Updating_to_SME_7.2 Updating to SME 7.2] per eventuali ulteriori passaggi che potrebbero essere necessari.
   −
====General====
+
====Informazioni generali====
*Please Wait - Yum Running (prereposetup)
+
*Cosa significa il messaggio 'Please Wait - Yum Running (prereposetup)' ?
This means Yum is working out what updates are available.
+
Significa che yum sta cercando eventuali update presenti.
Occasionally such as when large sets of updates are released this could take 10+ minutes to complete
+
In caso siano presenti molti aggiornamenti il processo potrebbe impiegare tempi molto lunghi, anche superiori a 10 minuti
   −
*Yum doesn't seem to be working correctly. What do I do now?
+
*Yum sembra non funzionare correttamente. Cosa posso fare?
If for some reason you can't get yum to work correctly, try:
+
Se per qualche motivo yum non dovesse funzionare correttamente puoi provare
 
  yum clean metadata
 
  yum clean metadata
  or possibly 'yum clean all'
+
  oppure 'yum clean all'
 
  yum update
 
  yum update
   −
*Fix for 'Metadata file does not match checksum'
+
*Come posso risolvere l'errore 'Metadata file does not match checksum' ?
Typical error message
+
Il tipico messaggio che si ha è
 
  http://apt.sw.be/fedora/3/en/i386/dag/repodata/primary.xml.gz:  
 
  http://apt.sw.be/fedora/3/en/i386/dag/repodata/primary.xml.gz:  
 
  [Errno -1] Metadata file does not match checksum Trying other mirror.
 
  [Errno -1] Metadata file does not match checksum Trying other mirror.
 
  Error: failure: repodata/primary.xml.gz from dag: [Errno 256] No more mirrors to try.
 
  Error: failure: repodata/primary.xml.gz from dag: [Errno 256] No more mirrors to try.
   −
To flush the up stream proxies, using wget, run:
+
Per ripristinare la lista corretta dei repository utilizzando wget si usa:
    
  wget --cache=off http://apt.sw.be/fedora/3/en/i386/dag/repodata/filelists.xml.gz
 
  wget --cache=off http://apt.sw.be/fedora/3/en/i386/dag/repodata/filelists.xml.gz
Line 100: Line 101:  
  yum update
 
  yum update
   −
* An unclean shutdown during a system update can put the system into a state where it's difficult to recover.
+
* Uno spegnimento imprevisto durante un aggiornamento può mettere il sistema in uno stato instabile difficile da risolvere
Try not to kick the power cord and use a UPS
+
Cerca di non staccare la spina elettrica e usa un UPS! :)
 +
 
 +
* Dove posso trovare maggiori informazioni su yum e come viene usato in SME?
 +
[[:Adding_Software ]], man yum, http://linux.duke.edu/projects/yum/
 +
 
 +
====Utilizzo e gestione dei repository====
 +
 
 +
*Qual'è la procedura per aggiungere altri repository per yum?
 +
L'esempio seguente usa il repository dungog settandolo come disabilitato.
 +
Il repository si configura da command line con l'opzione --enablerepo= .
 +
 
 +
db yum_repositories set dungog repository \
 +
Name 'SME Server 7 - dungog' \
 +
BaseURL 'http://sme.dungog.net/packages/smeserver/7.0/i386/dungog/' \
 +
EnableGroups yes \
 +
GPGCheck no \
 +
Visible no \
 +
status disabled
 +
 
 +
*Come posso rimuovere i repository di yum?
 +
 
 +
db yum_repositories delete repositoryname
 +
signal-event yum-modify
 +
 
 +
*Come si disabilita un repository potendolo poi riabilitare in futuro con --enablerepo= ?
   −
* Where can I go to learn more about yum, and about how SME uses it?
+
db yum_repositories repositoryname setprop status disabled
[[:AddingSoftware ]], man yum, http://linux.duke.edu/projects/yum/
+
signal-event yum-modify
    
===Client Computers===
 
===Client Computers===
Line 299: Line 324:  
and http://xxx.xxx.xxx.xxx/ is the IP address of the internal or external server eg 192.168.1.20 or 122.456.12.171 (it must be the publicly accessible IP if an external server)
 
and http://xxx.xxx.xxx.xxx/ is the IP address of the internal or external server eg 192.168.1.20 or 122.456.12.171 (it must be the publicly accessible IP if an external server)
   −
{{DrawBoxNote|content=If you have added the internal or external server's domain name as a virtual domain on the SME Server, you must remove it prior to issueing these commands. This ProxyPass has only been tested with http (not https). Some have reported success with https however YMMV. The server-manager domains panel will show the proxy pass entry but you will not be able to edit it. A ProxyPass panel is in the works, see [[bugzilla:1612]].
+
{{Note box|If you have added the internal or external server's domain name as a virtual domain on the SME Server, you must remove it prior to issueing these commands. This ProxyPass has only been tested with http (not https). Some have reported success with https however YMMV. The server-manager domains panel will show the proxy pass entry but you will not be able to edit it. A ProxyPass panel is in the works, see [[bugzilla:1612]].
 
}}
 
}}
   Line 408: Line 433:  
==Email==
 
==Email==
   −
{{DrawBoxNote|content=Please refer to the [[:Email]] Page }}
+
{{Note box|Please refer to the [[:Email]] Page }}
    
==Known Problems==
 
==Known Problems==
 
This section is to be used to document problems that cannot or will not be fixed through development of SME7.
 
This section is to be used to document problems that cannot or will not be fixed through development of SME7.
   −
{{DrawBoxNote|content=Please refer to the [[:KnownProblems]] page}}
+
{{Note box|Please refer to the [[:KnownProblems]] page}}

Navigation menu