Redhat8 és openwebmail (hosszú)

BERES Laszlo beres.laszlo at sys-admin.hu
2006. Aug. 21., H, 16:00:43 CEST


Horváth Péter írta:

> A gép is régi amin ez van.  Próbálkoztam a 9-essel frissíteni, de 20 CD
> bootolás próbálkozásból
> kb 1-nél nem fagy le a telepítő az egér felismerésénél. CentOS-al

Milyen egér, USB-s, soros?

> A CentOS-t otthon próbáltam. Az is elég új, nincs 3 hónapja hogy leszedtem.

Tehát 4.3-as?

> De van output. Access denied kb. 10 file-ra, aztán kilép. De a cgi sem
> működik, hibák kerülnek az error.log -ba

Kicsit részletesebben? :)

> Talán az lehet a baj hogy a redhat könyvtárból vettem le az
> openwebmail.org-rĂłl ?!

Kipróbáltam, igaz, FC5-tel (fc4 csomaggal):

[root at rumzeiss ~]# wget
http://www.openwebmail.org/openwebmail/download/redhat/rpm/release/openwebmail-2.52-1.i386.rpm
--15:53:27--
http://www.openwebmail.org/openwebmail/download/redhat/rpm/release/openwebmail-2.52-1.i386.rpm
           => `openwebmail-2.52-1.i386.rpm'
IP keresés www.openwebmail.org... 64.34.165.170
Connecting to www.openwebmail.org|64.34.165.170|:80... kapcsolĂłdva.
HTTP kérés elküldve, várom a választ... 200 OK
Hossz: 8.246.762 (7.9M) [application/x-rpm]

100%[=================================================================================================================>]
8.246.762    424.31K/s    ETA 00:00

15:53:55 (289.08 KB/s) - `openwebmail-2.52-1.i386.rpm' saved
[8246762/8246762]

[root at rumzeiss ~]# rpm -Uvh openwebmail-2.52-1.i386.rpm
warning: openwebmail-2.52-1.i386.rpm: Header V3 DSA signature: NOKEY,
key ID cfb164d8
error: Failed dependencies:
        perl-suidperl is needed by openwebmail-2.52-1.i386
        perl-Text-Iconv is needed by openwebmail-2.52-1.i386

[root at rumzeiss ~]# yum install perl-suidperl perl-Text-Iconv
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
dries                                                                [1/8]
dries                     100% |=========================|  951 B    00:00
livna                                                                [2/8]
livna                     100% |=========================|  951 B    00:00
flash                                                                [3/8]
flash                     100% |=========================|  951 B    00:00
core                                                                 [4/8]
core                      100% |=========================|  951 B    00:00
jpackage-fedora                                                      [5/8]
jpackage-fedora           100% |=========================|  951 B    00:00
jpackage-generic                                                     [6/8]
jpackage-generic          100% |=========================|  951 B    00:00
extras                                                               [7/8]
extras                    100% |=========================|  951 B    00:00
updates                                                              [8/8]
updates                   100% |=========================|  951 B    00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for perl-suidperl to pack into transaction set.
perl-suidperl-5.8.8-5.i38 100% |=========================|  22 kB    00:00
---> Package perl-suidperl.i386 4:5.8.8-5 set to be updated
---> Downloading header for perl-Text-Iconv to pack into transaction set.
perl-Text-Iconv-1.4-4.fc5 100% |=========================| 4.9 kB    00:00
---> Package perl-Text-Iconv.i386 0:1.4-4.fc5 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 perl-Text-Iconv         i386       1.4-4.fc5        extras             19 k
 perl-suidperl           i386       4:5.8.8-5        updates            56 k

Transaction Summary
=============================================================================
Install      2 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 75 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): perl-suidperl-5.8. 100% |=========================|  56 kB    00:00
(2/2): perl-Text-Iconv-1. 100% |=========================|  19 kB    00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: perl-Text-Iconv              ######################### [1/2]
  Installing: perl-suidperl                ######################### [2/2]

Installed: perl-Text-Iconv.i386 0:1.4-4.fc5 perl-suidperl.i386 4:5.8.8-5
Complete!

[root at rumzeiss ~]# rpm -Uvh openwebmail-2.52-1.i386.rpm
warning: openwebmail-2.52-1.i386.rpm: Header V3 DSA signature: NOKEY,
key ID cfb164d8
Preparing...                ###########################################
[100%]
   1:openwebmail            ###########################################
[100%]

You may login with non-root account from
http://rumzeiss/cgi-bin/openwebmail/openwebmail.pl


[root at rumzeiss ~]# /var/www/cgi-bin/openwebmail/openwebmail-tool.pl --init

Please change '/var/www/cgi-bin/openwebmail/etc/dbm.conf' from

dbm_ext                 .db
dbmopen_ext             none
dbmopen_haslock         no

to

dbm_ext                 .db
dbmopen_ext             .db
dbmopen_haslock         no


And execute '/var/www/cgi-bin/openwebmail/openwebmail-tool.pl --init' again!

ps: If you are running openwebmail in persistent mode,
    don't forget to 'touch openwebmail*.pl', so speedycgi
    will reload all scripts, modules and conf files in --init.

Megtettem.

[root at rumzeiss ~]# /var/www/cgi-bin/openwebmail/openwebmail-tool.pl --init

creating db /var/www/cgi-bin/openwebmail/etc/maps/b2g ...done.
creating db /var/www/cgi-bin/openwebmail/etc/maps/g2b ...done.
creating db /var/www/cgi-bin/openwebmail/etc/maps/lunar ...done.
Welcome to the Open WebMail!

This program is going to send a short message back to the developer,
so we could have the idea that who is installing and how many sites are
using this software, the content to be sent is:

OS: Linux 2.6.17-1.2174_FC5 i686
Perl: 5.008008
WebMail: OpenWebMail 2.52 20060502

Send the site report?(Y/n) n

Thank you.


-- 

BÉRES László	       RHCE
senior IT engineer, trainer
--------- következő rész ---------
Egy nem text típusú csatolt állomány át lett konvertálva...
Név: smime.p7s
TĂ­pus: application/x-pkcs7-signature
Méret: 1518 bytes
Leírás: S/MIME Cryptographic Signature
Url : http://lista.sulinet.hu/pipermail/techinfo/attachments/20060821/06cacbad/smime.bin


További információk a(z) Techinfo levelezőlistáról