• 19-02-2014, 15:25:30
    #1
    selam arkadaşlar bir türlü çalıştıramadım işin garibi daha yeni kurdum..

    Stopping httpd: [FAILED]
    Starting httpd: httpd: Syntax error on line 184 of /etc/httpd/conf/httpd.conf: Syntax error on line 23 of /etc/httpd/conf/extra/httpd-vhosts.conf: Could not open configuration file /etc/httpd/conf/ips.conf: No such file or directory
    [root@beyaz ~]# service httpd restart
    Stopping httpd:                                            [FAILED]
    Starting httpd: httpd: Syntax error on line 50 of /etc/httpd/conf/httpd.conf: Syntax error on line 3 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/mod_htscanner2.so into server: /usr/lib/apache/mod_htscanner2.so: cannot open shared object file: No such file or directory
  • 19-02-2014, 18:12:50
    #2
    Merhaba

    httpdçconf bozulmuş herhangibir editme yaparken.Tekrar derlerseniz apacheyi sıkıntı düzelmesi gerekli.

    Altta verdiğim komut ile php 5,3 olarak derlicektir.

    cd /usr/local/directadmin/custombuild
    ./build set php5_ver 5.3
    ./build update
    ./build php n
  • 19-02-2014, 18:34:52
    #3
    Kurumsal PLUS
    httpd.conf dosyasında ilgili satırın inceleneip düzenlenmesi gerekli, isterseniz root bilgilerini pm atın bir bakayım.
  • 19-02-2014, 18:49:54
    #4
    MahsumCelik adlı üyeden alıntı: mesajı görüntüle
    Merhaba

    httpdçconf bozulmuş herhangibir editme yaparken.Tekrar derlerseniz apacheyi sıkıntı düzelmesi gerekli.

    Altta verdiğim komut ile php 5,3 olarak derlicektir.

    cd /usr/local/directadmin/custombuild
    ./build set php5_ver 5.3
    ./build update
    ./build php n
    benim php sürümüm

    PHP 5.5.9 (cli) (built: Feb 19 2014 11:35:30)
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
    ---

    Stopping httpd:                                            [FAILED]
    Starting httpd: httpd: Syntax error on line 185 of /etc/httpd/conf/httpd.conf: Syntax error on line 23 of /etc/httpd/conf/extra/httpd-vhosts.conf: Could not open configuration file /etc/httpd/conf/ips.conf: No such file or directory
    hata devam ediyor

    --R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 18:49:54 -->-> Daha önceki mesaj 18:44:51 --

    Bartuc adlı üyeden alıntı: mesajı görüntüle
    httpd.conf dosyasında ilgili satırın inceleneip düzenlenmesi gerekli, isterseniz root bilgilerini pm atın bir bakayım.
    httpd.conf :
    #
    # This is the main Apache HTTP server configuration file.  It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/2.4> for detailed information.
    # In particular, see
    # <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
    # for a discussion of each configuration directive.
    #
    # Do NOT simply read the instructions in here without understanding
    # what they do.  They're here only as hints or reminders.  If you are unsure
    # consult the online docs. You have been warned.
    
    #
    # ServerRoot: The top of the directory tree under which the server's
    # configuration, error, and log files are kept.
    #
    # Do not add a slash at the end of the directory path.  If you point
    # ServerRoot at a non-local disk, be sure to specify a local disk on the
    # Mutex directive, if file-based mutexes are used.  If you wish to share the
    # same ServerRoot for multiple httpd daemons, you will need to change at
    # least PidFile.
    #
    ServerRoot "/etc/httpd"
    
    #
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, instead of the default. See also the <VirtualHost>
    # directive.
    #
    # Change this to Listen on specific IP addresses as shown below to
    # prevent Apache from glomming onto all bound IP addresses.
    #
    #Listen 12.34.56.78:80
    Listen 80
    
    <IfModule unixd_module>
    #
    # If you wish httpd to run as a different user or group, you must run
    # httpd as root initially and it will switch.
    #
    # User/Group: The name (or #number) of the user/group to run httpd as.
    # It is usually good practice to create a dedicated user and group for
    # running httpd, as with most system services.
    #
    User apache
    Group apache
    </IfModule>
    #LoadModule dummy_module /usr/lib/apache/mod_dummy.so
    #LoadModule php5_module        /usr/lib/apache/libphp5.so
    Include /etc/httpd/conf/extra/httpd-phpmodules.conf
    
    #
    # ServerAdmin: Your address, where problems with the server should be
    # e-mailed.  This address appears on some server-generated pages, such
    # as error documents.  e.g. admin@your-domain.com
    #
    ServerAdmin admin@localhost
    DocumentRoot "/var/www/html"
    
    # Options and AllowOverrides
    Include conf/extra/httpd-directories.conf
    
    <IfModule dir_module>
        DirectoryIndex index.html index.htm index.shtml index.php index.php5 index.php4 index.php3 index.phtml index.cgi
    </IfModule>
    
    #
    # The following lines prevent .htaccess and .htpasswd files from being
    # viewed by Web clients.
    #
    <Files ".ht*">
        Require all denied
    </Files>
    
    #
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    # container, error messages relating to that virtual host will be
    # logged here.  If you *do* define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.
    #
    ErrorLog /var/log/httpd/error_log
    
    #
    # LogLevel: Control the number of messages logged to the error_log.
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    #
    LogLevel warn
    
    <IfModule log_config_module>
        #replace %b with %O for more accurate logging
        <IfModule mod_logio.c>
          LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
          LogFormat "%h %l %u %t \"%r\" %>s %O" common
          LogFormat "%O %I" bytes
    
          LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
        </IfModule>
    
        CustomLog /var/log/httpd/access_log common
    </IfModule>
    
    <IfModule alias_module>
        # Include some DirectAdmin alias
        Include conf/extra/httpd-alias.conf
    </IfModule>
    
    #DefaultType text/plain
    
    <IfModule mime_module>
        TypesConfig conf/mime.types
        AddType application/x-gzip .tgz
        AddEncoding x-compress .Z
        AddEncoding x-gzip .gz .tgz
        AddHandler cgi-script .cgi
        AddHandler type-map var
        AddType text/html .shtml
        AddOutputFilter INCLUDES .shtml
            AddType video/x-ms-asf .avi
            AddType video/mpeg .mpg
            AddType video/mpeg .mpeg
            AddType video/quicktime .mov
            AddType video/x-ms-wmv .wmv
    </IfModule>
    
    #
    # MaxRanges: Maximum number of Ranges in a request before
    # returning the entire resource, or one of the special
    # values 'default', 'none' or 'unlimited'.
    # Default setting is to accept 200 Ranges.
    #MaxRanges unlimited
    
    #
    # EnableMMAP and EnableSendfile: On systems that support it,
    # memory-mapping or the sendfile syscall may be used to deliver
    # files.  This usually improves server performance, but must
    # be turned off when serving from networked-mounted
    # filesystems or if support for these functions is otherwise
    # broken on your system.
    # Defaults: EnableMMAP On, EnableSendfile Off
    #
    #EnableMMAP off
    #EnableSendfile off
    
    #######################################################################################
    # For user configurations not maintained by DirectAdmin. Empty by default.
    #######################################################################################
    
    Include conf/extra/httpd-includes.conf
    
    
    #######################################################################################
    # Supplemental configuration
    #######################################################################################
    
    # Nginx reverse proxy configuration
    Include conf/extra/httpd-nginx.conf
    # Server-pool management (MPM specific)
    Include conf/extra/httpd-mpm.conf
    
    # Multi-language error messages
    Include conf/extra/httpd-multilang-errordoc.conf
    
    # Fancy directory listings
    Include conf/extra/httpd-autoindex.conf
    
    # Language settings
    Include conf/extra/httpd-languages.conf
    
    # User home directories
    #Include conf/extra/httpd-userdir.conf
    
    # Real-time info on requests and configuration
    Include conf/extra/httpd-info.conf
    
    # Suphp
    Include conf/extra/httpd-suphp.conf
    
    # Virtual hosts
    Include conf/extra/httpd-vhosts.conf
    # Local access to the Apache HTTP Server Manual
    #Include conf/extra/httpd-manual.conf
    
    # Distributed authoring and versioning (WebDAV)
    Include conf/extra/httpd-dav.conf
    
    # Various default settings
    Include conf/extra/httpd-default.conf
    
    # Secure (SSL/TLS) connections
    Include conf/extra/httpd-ssl.conf
    
    # Deflate module settings
    Include conf/extra/httpd-deflate.conf
    
    #######################################################################################
    # Do not change anything in files below, because they are rewritten by DirectAdmin    #
    #######################################################################################
    
    # This is needed for PHP
    Include conf/extra/httpd-php-handlers.conf
    # All the DirectAdmin vhosts
    Include conf/extra/directadmin-vhosts.conf
    
    #######################################################################################
    # End of included files that are rewritten by DirectAdmin                             #
    #######################################################################################
    
    <IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    </IfModule>
  • 19-02-2014, 18:55:59
    #5
    Kurumsal PLUS
    184. satır zaten boş, /etc/httpd/conf/extra/httpd-vhosts.conf dosyasının 23. satırından dolayı hata veriyor olabilir. Bu şekilde bir inceleme yapmak çok zor, sunucu üzerinde inceleyip deneme yapmak gerekli.
  • 19-02-2014, 20:32:02
    #6
    Bartuc adlı üyeden alıntı: mesajı görüntüle
    184. satır zaten boş, /etc/httpd/conf/extra/httpd-vhosts.conf dosyasının 23. satırından dolayı hata veriyor olabilir. Bu şekilde bir inceleme yapmak çok zor, sunucu üzerinde inceleyip deneme yapmak gerekli.
    pm attım hocam

    --R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 19:25:48 -->-> Daha önceki mesaj 18:58:57 --

    [root@beyaz ~]# service directadmin start
    Starting DirectAdmin: /bin/bash: /usr/local/directadmin/directadmin: cannot exec ute binary file [FAILED]
    şimdide bu hatayı alıyorum nedir bu yahu

    --R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 20:32:02 -->-> Daha önceki mesaj 19:25:48 --

    grep: /usr/local/directadmin/conf/directadmin.conf: No such file or directory
    ***********************************************
    Wed Feb 19 13:16:04 EST 2014 : ./set_permissions.sh da_files
    set /home/tmp root:root 1777 flag
    set /usr/local/directadmin diradmin:diradmin 755 flag
    set /usr/local/directadmin/conf diradmin:diradmin 600 flag -R
    set /usr/local/directadmin/conf diradmin:diradmin 700 flag
    ./set_permissions.sh: line 170: /usr/local/directadmin/directadmin: cannot execute binary file
    ls: /usr/local/directadmin/data/users: No such file or directory
    set_admin_perm
    set /usr/local/directadmin/data/tickets/*/*/* diradmin:diradmin 600 flag
    chown: cannot access `/usr/local/directadmin/data/tickets/*/*/*': No such file or directory
    chmod: cannot access `/usr/local/directadmin/data/tickets/*/*/*': No such file or directory
    [root@beyaz scripts]# ./set_permissions.sh da_files
    grep: /usr/local/directadmin/conf/directadmin.conf: No such file or directory
    ***********************************************
    Wed Feb 19 13:16:11 EST 2014 : ./set_permissions.sh da_files
    set /home/tmp root:root 1777 flag
    set /usr/local/directadmin diradmin:diradmin 755 flag
    set /usr/local/directadmin/conf diradmin:diradmin 600 flag -R
    set /usr/local/directadmin/conf diradmin:diradmin 700 flag
    ./set_permissions.sh: line 170: /usr/local/directadmin/directadmin: cannot execute binary file
    ls: /usr/local/directadmin/data/users: No such file or directory
    set_admin_perm
    set /usr/local/directadmin/data/tickets/*/*/* diradmin:diradmin 600 flag
    chown: cannot access `/usr/local/directadmin/data/tickets/*/*/*': No such file or directory
    chmod: cannot access `/usr/local/directadmin/data/tickets/*/*/*': No such file or directory
    hata açık ama çözemedım neden eksik kurulum yaptığını yardımcı olabilecek arkadaş yok mudur ?
  • 20-02-2014, 03:55:55
    #7
    cd /usr/local/directadmin

    ./directadmin i

    Eğer bu çalışmazsa, sunucunuzu formatlayıp yeniden kurulum yapmanızı öneririm.
  • 05-03-2014, 14:40:10
    #8
    aslında sorunun cevabı basit aynı problemi yaşayan arkadaşlar biraz daha dikkat etsinler ben 32 bit 64 bit dikkatsizliğine uğradığım için bi problemi yaşadım 32 bite 64 bit kurmaya çalışmışım