Current time: 11-13-2024, 04:23 PM Hello There, Guest! (LoginRegister)


Post Reply 
ispcp-setup bricht ab: trunk -> OpenSuse 10.3 (bind)
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #11
RE: ispcp-setup bricht ab: trunk -> OpenSuse 10.3 (bind)
Mit vServer selber habe ich noch so viel gemacht.
VMServer, OpenVZ, XEN, BSD-Jail wären hier so meine Stichwörter...

Greez BeNe
11-22-2007 06:12 PM
Visit this user's website Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #12
RE: ispcp-setup bricht ab: trunk -> OpenSuse 10.3 (bind)
openvcp in kombination mit vserver läuft ganz gut...
11-22-2007 06:19 PM
Visit this user's website Find all posts by this user Quote this message in a reply
hbaes Offline
Junior Member
*

Posts: 23
Joined: Nov 2007
Reputation: 0
Post: #13
RE: ispcp-setup bricht ab: trunk -> OpenSuse 10.3 (bind)
habe noch ein paar änderungen an manchen Dateien, v.a. Makefile für opensuse10. (awstats und fcgi aufrufe fehlten)

ich versuch gleich nocmals eine installation mit aktuellem trunk

Harald


Attached File(s)
.zip  bäs.zip (Size: 101.03 KB / Downloads: 1)
11-22-2007 08:41 PM
Find all posts by this user Quote this message in a reply
hbaes Offline
Junior Member
*

Posts: 23
Joined: Nov 2007
Reputation: 0
Post: #14
RE: ispcp-setup bricht ab: trunk -> OpenSuse 10.3 (bind)
[/php]und nochmals ein update Sad

ganz schön schwer den überblick über die ditri files zu halten wenn länger keiner was daran gemacht hat ....

Changelog:
PHP Code:
20071121  Harald Bäs-Fischlmair  (hbaes@chiemgaudata.de)
          
Makefile.opensuse10:              moved file to Makefile.opensuse103 (Documentation belongs to Distri OpenSuse10.3)
          
          
Makefile.opensuse103:             changed lineHOST_OS=opensuse10 to HOST_OS=opensuse103
          
          config
/Makefile:                  changed lineelif test $(HOST_OS) = opensuse10 then to
                                                elif test 
$(HOST_OS) = opensuse103 then in installSection
                                            changed line
elif test $(HOST_OS) = opensuse10 then to
                                                elif test 
$(HOST_OS) = opensuse103 then in uninstallSection
                                                
          configs
/dists/opensuse10/bind/Makefile:
                                            
changed all lines with namend.d to bind because ispcp-setup can find
                                            Config files only in 
/etc/ispcp/bind (Hardcoded in installer)
                                            
          
configs/dists/opensuse10/apache/Makefile:
                                            
changed all lines with apache2 to apache because ispcp-setup can find
                                            Config files only in 
/etc/ispcp/apache (Hardcoded in installer)
                                            
changed ROOT_APACHE_CONF=$(ROOT_CONF)/apache2
                                            changed rm 
-rf $(ROOT_APACHE_CONF)/conf.d/ispcp.conf
                                                      
          configs
/dists/opensuse10/ispcp.conf:
                                            
I compared the opensuse10/ispcp.conf with configs/ispcp.conf
                                            
                                            changed line 19 to
(typo in Suse): SERVER_HOSTNAME OpenSuse10.3 
                                            changed statement
BIND_CONF_FILE = /etc/named.d/named.conf to
                                                BIND_CONF_FILE 
= /etc/named.conf
                                            added missing statement
CMD_CHMOD = /bin/chmod
                                            added missing statement
CMD_SHELL = /bin/bash
                                            added missing statement
APACHE_CUSTOM_SITES_CONFIG_DIR = /etc/apache2/ispcp
                                            removed statement
MTA_SASLDB_LOCAL_DOMAIN isp-control.net
                                            added missing statement
BACKUP_ISPCP yes
                                            added missing statement
BACKUP_DOMAINS yes
                                            added missing line
#
                                            
added missing line# Developer Mode
                                            
added missing line#
                                            
added missing statementDEBUG 0
          
          configs
/dists/opensuse10/apache/parts/als_entry.tpl:
                                            
added missing line: Include {CUSTOM_SITES_CONFIG_DIR}/{ALS_NAME}.conf
          
          configs
/dists/opensuse10/apache/parts/awstast_b.tpladded file
          
          configs
/dists/opensuse10/apache/parts/awstast_e.tpladded file
          
          configs
/dists/opensuse10/apache/parts/awstast_entry.tpladded file
          
          configs
/dists/opensuse10/apache/parts/awstast_mentry.tpladded file
          
          configs
/dists/opensuse10/apache/parts/custom.conf.tpladded file
          
          configs
/dists/opensuse10/apache/parts/dmn_awstats_dynamic_entry.tpladded file
          
          configs
/dists/opensuse10/apache/parts/dmn_awstats_static_entry.tpladded file
          
          configs
/dists/opensuse10/apache/01_awstats.confupdated file from configs/apache/01_awstats.conf
          
          configs
/dists/opensuse10/awstats/awstats.ispcp_tpl.confupdated hole file from configs/awstats/awstats.ispcp_tpl.conf
          
          configs
/dists/opensuse10/bind/parts/db_master_e.tplupdated hole file from configs/bind/parts/db_master_e.tpl (Added comments)
          
          
configs/dists/opensuse10/cron.d/parts/dmn_awstats_b.tpladded file
          
          configs
/dists/opensuse10/cron.d/parts/dmn_awstats_e.tpladded file
          
          configs
/dists/opensuse10/cron.d/parts/dmn_awstats_entry.tpladded file
          
          configs
/dists/opensuse10/cron.d/parts/dmn_cutom_b.tpladded file
          
          configs
/dists/opensuse10/cron.d/ispcp:  
                                            
added cron entry: {BACKUP_ROOT_DIR}/ispcp-backup-ispcp noreport &>{LOG_DIR}/ispcp-backup-all-mngr.log
                                            added cron entry
Remove Daemon Logs older than 14 days
                                                              find 
{LOG_DIR}/* -maxdepth 1 -type f -mtime +14 -print | egrep '.*\.gz$' | xargs -r /bin/rm
                                            changed cron entry for AWSTATS: change {AWSTATS} to
                                                {AW-ENABLED}15    */
6    *    *    *    root {AWSTATS_ROOT_DIR}/awstats_updateall.pl now -awstatsprog={AWSTATS_ENGINE_DIR}/awstats.pl >/dev/null 2>&1
                                            changed cron entry 
for RootKIThunterchange 0     0,12    *    *    *    root rkhunter --createlogfile --cronjob to
                                                
{RK-ENABLED}0     */12    *    *    *    root {RKHUNTER} --scan-knownbad-files --check-deletet --cronjob --createlogfile {RKHUNTER_LOG}>/dev/null 2>&1
                                            added cron entry
: {CR-ENABLED}0     */12    *    *    *    root {CHKROOTKIT} &> {CHKROOTKIT_LOG}
                                            
added cron entry: {TOOLS_ROOT_DIR}/ispcpphptemp.sh >/dev/null 2>&1      
                                            added template paths 
for AWSTAT: [{DMN_NAME}] AWStats static tasks START.
                                                [{
DMN_NAME}] AWStats static tasks END.
          
          
configs/dists/opensuse10/database/database.sqlupdated from configs/database/database.sql
          
          configs
/dists/opensuse10/database/languages.sqlupdated from configs/database/languages.sql
          
          configs
/dists/opensuse10/fcgi/parts/master/php4/php.iniupdated from configs/fcgi/parts/master/php4/php.ini
          
          configs
/dists/opensuse10/fcgi/parts/master/php5/php.iniupdated from configs/fcgi/parts/master/php5/php.ini
          
          configs
/dists/opensuse10/fcgi/parts/master/php4-fcgi-starter.tplupdated from configs/fcgi/parts/master/php4-fcgi-starter.tpl
          
          configs
/dists/opensuse10/fcgi/parts/master/php5-fcgi-starter.tplupdated from configs/fcgi/parts/master/php5-fcgi-starter.tpl
          
          configs
/dists/opensuse10/fcgi/parts/php4/php.iniupdated from configs/fcgi/parts/php4/php.ini
          
          configs
/dists/opensuse10/fcgi/parts/php5/php.iniupdated from configs/fcgi/parts/php5/php.ini
          
          configs
/dists/opensuse10/fcgi/parts/php4-fcgi-starter.tplupdated from configs/fcgi/parts/php4-fcgi-starter.tpl
          
          configs
/dists/opensuse10/fcgi/parts/php5-fcgi-starter.tplupdated from configs/fcgi/parts/php5-fcgi-starter.tpl
          
          configs
/dists/opensuse10/init.d/ispcp_network
                                            
added line: ${IPTABLES} -I ISPCP_INPUT -p tcp --dport 443 2>> "$LOGFILE"
                                            
added line: ${IPTABLES} -I ISPCP_OUTPUT -p tcp --sport 443 2>> "$LOGFILE"
                                            
added line: ${IPTABLES} -I ISPCP_INPUT  -p tcp --dport 587 2>> "$LOGFILE"
                                            
added line: ${IPTABLES} -I ISPCP_OUTPUT -p tcp --sport 587 2>> "$LOGFILE"
                                            
added line: ${IPTABLES} -I ISPCP_INPUT  -p tcp --dport 995 2>> "$LOGFILE"
                                            
added line: ${IPTABLES} -I ISPCP_OUTPUT -p tcp --sport 995 2>> "$LOGFILE"
                                            
added line: ${IPTABLES} -I ISPCP_INPUT  -p tcp --dport 993 2>> "$LOGFILE"
                                            
added line: ${IPTABLES} -I ISPCP_OUTPUT -p tcp --sport 993 2>> "$LOGFILE"
          
          
configs/dists/opensuse10/logrotate/ispcp:
                                            
added logfile rotation for xferlog
                                            added logfile rotation 
for ftp_traff.log
                                                                                                                          
          
                                            
          docs
/OpenSuse/opensuse103-packages:
                                            
added package 'make' at top to the list of necessary applications.
                                              (
make ist not automatically installed if minimal-Version of OpenSuSE 10.3 is installed)
                                            
added package 'awstats'
                                                                                        
          
docs/OpenSuse/INSTALL:
                                            
added additional OpenSUSE Repository server:/php/openSUSE_10.3 (latest PHP Packages)
                                            
added additional OpenSUSE Repository network:/utilities/openSUSE_10.3 (includes awstast)
                                            
added additional OpenSUSE repository home:/lemmy04/openSUSE_10.3 (rkhunter update)
                                            
corrected line# yast -i `cat /docs/opensuse103/opensuse103-packages` to
                                                    # yast -i `cat docs/OpenSuse/opensuse103-packages`
                                            
corrected line# smart install `cat /docs/opensuse103/opensuse103-packages` to
                                                    # smart install `cat docs/OpenSuse/opensuse103-packages`
                                                    
20071122  Harald Bäs-Fischlmair  (hbaes@chiemgaudata.de)
          
configs/dists/opensuse10/Makefile:
                                            
added make install make uninstall for awstats
                                            added make install 
make uninstall for fcgi
                                            
          docs
/OpenSuse/INSTALL:
                                            
added Point 7 in Installation:
                                                    
"7. Check if Services will start automatically"
                                                
          
configs/dists/opensuse10/apache/Makefile:
                                            
added linecp ./01_awstats.conf $(SYSTEM_CONF)/apache

configs
/dists/opensuse10/ispcp.conf:
                                            
changed TRAFF_LOG_DIR = /var/log
                                            
          configs
/dists/opensuse10/courier/Makefile:
                                            
addedchmod o-rw $(ROOT_AUTHLIB_CONF)/userdb
                                            added
chmod g-rw $(ROOT_AUTHLIB_CONF)/userdb 

Updated again


Attached File(s)
.zip  bäs.zip (Size: 101.89 KB / Downloads: 0)
(This post was last modified: 11-23-2007 12:20 AM by hbaes.)
11-22-2007 10:57 PM
Find all posts by this user Quote this message in a reply
hbaes Offline
Junior Member
*

Posts: 23
Joined: Nov 2007
Reputation: 0
Post: #15
RE: ispcp-setup bricht ab: trunk -> OpenSuse 10.3 (bind)
Hallo und guten morgen zusammen.

so hab wieder ein update ...
zB.: php5 sollte auch installiert sein ;-)))

hier ncoh die letzten Änderungen:
PHP Code:
configs/Makefile.opensuse103:
                                            
addedSYSTEM_SCOREBOARDS=$(INST_PREF)/var/www/scoreboards
                                            added
: $(SYSTEM_MAKE_DIRS) $(INST_PREF)/var/log/proftpd
                                                                                   
          docs
/OpenSuse/opensuse103-packages:
                                            
added package 'iptables'
                                            
          
configs/dists/opensuse10/ispcp.conf:                                            
                                            
changedCMD_IPTABLES = /usr/sbin/iptables

20071123  Harald Bäs
-Fischlmair  (hbaes@chiemgaudata.de)
          
docs/OpenSuse/opensuse103-packages:
                                            
added packages for php5 

einiges ist mir noch aufgefallen:
- die Berechtigung für das Verzeichnis gui/phptmp ist noch falsch
ein [/php]chmod g+w[/php] hilft hier weiter ...
- beim Upload einer sprache wird die nach /tmp geladen, danach schreit openbasedir das es darauf nicht zugreifen darf ...

@joximu:
bist Du einigermaßen zufrieden mit meiner arbeit ?

Harald


Attached File(s)
.zip  bäs.zip (Size: 102.56 KB / Downloads: 5)
(This post was last modified: 11-23-2007 04:15 PM by hbaes.)
11-23-2007 04:15 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #16
RE: ispcp-setup bricht ab: trunk -> OpenSuse 10.3 (bind)
Hallo Harald

Quote:@joximu:
bist Du einigermaßen zufrieden mit meiner arbeit ?

hehe - natürlich :-) ich muss das nun am Weekend mal installieren und dann kommt's in den Trunk.

Ich finde diese Sache mit "ein Configbaum für jede Distri" sowieso etwas mühsam und bastle im Kopf an einer anderen/einfacheren Lösung - weiss aber nicht, ob die noch im ispCP 1.0 Platz hat...

Das mit /tmp anstatt dem eigentlich upload Ordner ist ärgerlich. Ich dachte früher, das betrifft nur ein paar einzelne Distributionen, scheint nun aber auch bei suse angekommen zu sein. Da wurde wohl PHP anders kompiliert - mal sehen, was ich da noch rausbekomme. (Im phpinfo sind ja die Kompilierangaben oben drin, vielleicht finden wir das das Problem)

Gruss Joximu
11-23-2007 08:53 PM
Visit this user's website Find all posts by this user Quote this message in a reply
hbaes Offline
Junior Member
*

Posts: 23
Joined: Nov 2007
Reputation: 0
Post: #17
RE: ispcp-setup bricht ab: trunk -> OpenSuse 10.3 (bind)
@ Joximu

habe noch ein paar unsaubere Sachen im Bezug auf fcgi gefunden und bin grad dabei diese zu "bereinigen" zB.: heisst das cgi bei php5 jetzt php-cgi5 und nicht php5-cgi Rolleyes
Außerdem läuft der Postfix bei mir nicht in "original" config...

*seufz*

Harald
11-24-2007 12:30 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)