public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] trouble with apache on amd64
@ 2008-09-22  2:49 Allan Gottlieb
  0 siblings, 0 replies; 4+ messages in thread
From: Allan Gottlieb @ 2008-09-22  2:49 UTC (permalink / raw
  To: gentoo-user

For some reason I don't get USERDIR working on my amd64 box.

Below is attached the output from
/etc/init.d/apache2 dumpconfig















^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user] trouble with apache on amd64
@ 2008-09-22  3:03 Allan Gottlieb
  2008-09-22  3:20 ` Norberto Bensa
  0 siblings, 1 reply; 4+ messages in thread
From: Allan Gottlieb @ 2008-09-22  3:03 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2249 bytes --]

Sorry for the aborted send a few minutes ago.

For some reason I am not getting USERDIR on amd64.
Attached below is the output of /etc/init.d/apache2 configdump

The trouble is apparently early in the output

/usr/sbin/apache2 started with '-D DEFAULT_VHOST -D INFO -D LANGUAGE -D MANUAL -D SSL -D SSL_DEFAULT_VHOST -d /usr/lib64/apache2 -f /etc/apache2/httpd.conf'

On my x86 system there is -D USERDIR.  My /etc/make.conf on amd64 is

    # Please consult /etc/make.conf.example for a more detailed example.
    CFLAGS="-march=nocona -O2 -pipe"
    CXXFLAGS="${CFLAGS}"
    CHOST="x86_64-pc-linux-gnu"
    MAKEOPTS="-j3"
    # These are the USE flags that were used in addition to what is provided by the
    # profile used for building.
    # Since my profile is -desktop, I get quite a few use flags for "free".
    USE="avahi doc gnome-keyring guile java mmx nsplugin scanner sse sse2"
    USE="$USE -kde -qt3 -qt3support -qt4"

    LINGUAS="en_US"

    INPUT_DEVICES="keyboard mouse evdev"
    VIDEO_CARDS="nvidia nv"

    SANE_BACKENDS=" "

    GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ "
    SYNC="rsync://rsync.gentoo.org/gentoo-portage"

    APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd \
                     authn_dbm authn_default authn_file authz_dbm authz_default \
                     authz_groupfile authz_host authz_owner authz_user autoindex \
                     cache dav dav_fs dav_lock dbd deflate dir disk_cache env \
                     expires ext_filter file_cache filter headers ident imagemap \
                     include info log_config logio mem_cache mime mime_magic \
                     negotiation proxy proxy_ajp proxy_balancer proxy_connect \
                     proxy_http rewrite setenvif so speling status unique_id \
                     userdir usertrack vhost_alias"


The APACHE2_MODULES line is copied from the x86 file.

I have built (twice) apache2 with this make.conf.  I am fairly sure this
will be an embarrassing omision on my part but I can't remember doing
anything else when I build apache a while ago on x86.

Thanks in advance for any help you can give.
allan





[-- Attachment #2: output from /etc/init.d/apache2 dumpconfig --]
[-- Type: text/plain, Size: 14582 bytes --]

/usr/sbin/apache2 started with '-D DEFAULT_VHOST -D INFO -D LANGUAGE -D MANUAL -D SSL -D SSL_DEFAULT_VHOST -d /usr/lib64/apache2 -f /etc/apache2/httpd.conf'

   Configuration:
          In file: /etc/apache2/httpd.conf
           163: User apache
           164: Group apache
          In file: /etc/apache2/modules.d/00_apache_manual.conf
             9: AliasMatch
          ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br))?(/.*)?$
          "/usr/share/doc/apache-2.2.9-r1/manual$1"
            11: <Directory "/usr/share/doc/apache-2.2.9-r1/manual">
            12:   Options Indexes
            13:   AllowOverride None
            14:   Order allow,deny
            15:   Allow from all
            17:   <Files *.html>
            18:     SetHandler type-map
              :   </Files>
            21:   SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|pt-br)/
          prefer-language=$1
            22:   RedirectMatch 301
          ^/manual(?:/(de|en|es|fr|ja|ko|pt-br)){2,}(/.*)?$ /manual/$1$2
            24:   LanguagePriority en de es fr ja ko pt-br
            25:   ForceLanguagePriority Prefer Fallback
              : </Directory>
          In file: /etc/apache2/modules.d/00_default_settings.conf
             5: Timeout 300
             9: KeepAlive On
            14: MaxKeepAliveRequests 100
            18: KeepAliveTimeout 15
            25: UseCanonicalName Off
            30: AccessFileName .htaccess
            38: ServerTokens Prod
            46: ServerSignature On
            54: HostnameLookups Off
            70: ErrorLog /var/log/apache2/error_log
            75: LogLevel warn
            78: <Directory />
            79:   Options FollowSymLinks
            80:   AllowOverride None
            81:   Order deny,allow
            82:   Deny from all
              : </Directory>
            95: DirectoryIndex index.html index.html.var
           100: <FilesMatch "^\.ht">
           101:   Order allow,deny
           102:   Deny from all
              : </FilesMatch>
          In file: /etc/apache2/modules.d/00_languages.conf
            41: AddLanguage ca .ca
            42: AddLanguage cs .cz .cs
            43: AddLanguage da .dk
            44: AddLanguage de .de
            45: AddLanguage el .el
            46: AddLanguage en .en
            47: AddLanguage eo .eo
            48: AddLanguage es .es
            49: AddLanguage et .et
            50: AddLanguage fr .fr
            51: AddLanguage he .he
            52: AddLanguage hr .hr
            53: AddLanguage it .it
            54: AddLanguage ja .ja
            55: AddLanguage ko .ko
            56: AddLanguage ltz .ltz
            57: AddLanguage nl .nl
            58: AddLanguage nn .nn
            59: AddLanguage no .no
            60: AddLanguage pl .po
            61: AddLanguage pt .pt
            62: AddLanguage pt-BR .pt-br
            63: AddLanguage ru .ru
            64: AddLanguage sv .sv
            65: AddLanguage zh-CN .zh-cn
            66: AddLanguage zh-TW .zh-tw
            73: LanguagePriority en ca cs da de el eo es et fr he hr it ja
          ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW
            78: ForceLanguagePriority Prefer Fallback
            85: AddCharset us-ascii.ascii .us-ascii
            86: AddCharset ISO-8859-1 .iso8859-1 .latin1
            87: AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen
            88: AddCharset ISO-8859-3 .iso8859-3 .latin3
            89: AddCharset ISO-8859-4 .iso8859-4 .latin4
            90: AddCharset ISO-8859-5 .iso8859-5 .cyr .iso-ru
            91: AddCharset ISO-8859-6 .iso8859-6 .arb .arabic
            92: AddCharset ISO-8859-7 .iso8859-7 .grk .greek
            93: AddCharset ISO-8859-8 .iso8859-8 .heb .hebrew
            94: AddCharset ISO-8859-9 .iso8859-9 .latin5 .trk
            95: AddCharset ISO-8859-10 .iso8859-10 .latin6
            96: AddCharset ISO-8859-13 .iso8859-13
            97: AddCharset ISO-8859-14 .iso8859-14 .latin8
            98: AddCharset ISO-8859-15 .iso8859-15 .latin9
            99: AddCharset ISO-8859-16 .iso8859-16 .latin10
           100: AddCharset ISO-2022-JP .iso2022-jp .jis
           101: AddCharset ISO-2022-KR .iso2022-kr .kis
           102: AddCharset ISO-2022-CN .iso2022-cn .cis
           103: AddCharset Big5.Big5 .big5 .b5
           104: AddCharset cn-Big5 .cn-big5
           106: AddCharset WINDOWS-1251 .cp-1251 .win-1251
           107: AddCharset CP866 .cp866
           108: AddCharset KOI8 .koi8
           109: AddCharset KOI8-E .koi8-e
           110: AddCharset KOI8-r .koi8-r .koi8-ru
           111: AddCharset KOI8-U .koi8-u
           112: AddCharset KOI8-ru .koi8-uk .ua
           113: AddCharset ISO-10646-UCS-2 .ucs2
           114: AddCharset ISO-10646-UCS-4 .ucs4
           115: AddCharset UTF-7 .utf7
           116: AddCharset UTF-8 .utf8
           117: AddCharset UTF-16 .utf16
           118: AddCharset UTF-16BE .utf16be
           119: AddCharset UTF-16LE .utf16le
           120: AddCharset UTF-32 .utf32
           121: AddCharset UTF-32BE .utf32be
           122: AddCharset UTF-32LE .utf32le
           123: AddCharset euc-cn .euc-cn
           124: AddCharset euc-gb .euc-gb
           125: AddCharset euc-jp .euc-jp
           126: AddCharset euc-kr .euc-kr
           128: AddCharset EUC-TW .euc-tw
           129: AddCharset gb2312 .gb2312 .gb
           130: AddCharset iso-10646-ucs-2 .ucs-2 .iso-10646-ucs-2
           131: AddCharset iso-10646-ucs-4 .ucs-4 .iso-10646-ucs-4
           132: AddCharset shift_jis .shift_jis .sjis
          In file: /etc/apache2/modules.d/00_mod_autoindex.conf
             5: Alias /icons/ "/var/www/localhost/icons/"
             7: <Directory "/var/www/localhost/icons">
             8:   Options Indexes MultiViews
             9:   AllowOverride None
            10:   Order allow,deny
            11:   Allow from all
              : </Directory>
            23: IndexOptions FancyIndexing VersionSort
            28: AddIconByEncoding (CMP,/icons/compressed.gif) x-compress
          x-gzip
            30: AddIconByType (TXT,/icons/text.gif) text/*
            31: AddIconByType (IMG,/icons/image2.gif) image/*
            32: AddIconByType (SND,/icons/sound2.gif) audio/*
            33: AddIconByType (VID,/icons/movie.gif) video/*
            35: AddIcon /icons/binary.gif .bin .exe
            36: AddIcon /icons/binhex.gif .hqx
            37: AddIcon /icons/tar.gif .tar
            38: AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
            39: AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
            40: AddIcon /icons/a.gif .ps .ai .eps
            41: AddIcon /icons/layout.gif .html .shtml .htm .pdf
            42: AddIcon /icons/text.gif .txt
            43: AddIcon /icons/c.gif .c
            44: AddIcon /icons/p.gif .pl .py
            45: AddIcon /icons/f.gif .for
            46: AddIcon /icons/dvi.gif .dvi
            47: AddIcon /icons/uuencoded.gif .uu
            48: AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
            49: AddIcon /icons/tex.gif .tex
            50: AddIcon /icons/bomb.gif core
            52: AddIcon /icons/back.gif ..
            53: AddIcon /icons/hand.right.gif README
            54: AddIcon /icons/folder.gif ^^DIRECTORY^^
            55: AddIcon /icons/blank.gif ^^BLANKICON^^
            59: DefaultIcon /icons/unknown.gif
            75: ReadmeName README.html
            76: HeaderName HEADER.html
            80: IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
          In file: /etc/apache2/modules.d/00_mod_info.conf
             5: <Location /server-info>
             6:   SetHandler server-info
             7:   Order deny,allow
             8:   Deny from all
             9:   Allow from 127.0.0.1
              : </Location>
          In file: /etc/apache2/modules.d/00_mod_log_config.conf
             4: LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
          \"%{User-Agent}i\"" combined
             5: LogFormat "%h %l %u %t \"%r\" %>s %b" common
             7: LogFormat "%{Referer}i -> %U" referer
             8: LogFormat "%{User-Agent}i" agent
             9: LogFormat "%v %h %l %u %t \"%r\" %>s %b %T" script
            10: LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
          \"%{User-Agent}i\" VLOG=%{VLOG}e" vhost
            14: LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
          \"%{User-Agent}i\" %I %O" combinedio
            15: LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
          \"%{User-Agent}i\" %I %O" vhostio
            23: CustomLog /var/log/apache2/access_log common
          In file: /etc/apache2/modules.d/00_mod_mime.conf
             8: DefaultType text/plain
            13: TypesConfig /etc/mime.types
            26: AddType application/x-compress .Z
            27: AddType application/x-gzip .gz .tgz
            52: MIMEMagicFile /etc/apache2/magic
          In file: /etc/apache2/modules.d/00_mpm.conf
             7: PidFile /var/run/apache2.pid
            31: StartServers 5
            32: MinSpareServers 5
            33: MaxSpareServers 10
            34: MaxClients 150
            35: MaxRequestsPerChild 10000
          In file: /etc/apache2/modules.d/40_mod_ssl.conf
             5: SSLRandomSeed startup builtin
             6: SSLRandomSeed connect builtin
            41: AddType application/x-x509-ca-cert .crt
            42: AddType application/x-pkcs7-crl .crl
            49: SSLPassPhraseDialog builtin
            55: SSLSessionCache shmcb:/var/run/ssl_scache(512000)
            56: SSLSessionCacheTimeout 300
            61: SSLMutex file:/var/run/ssl_mutex
          In file: /etc/apache2/vhosts.d/00_default_ssl_vhost.conf
             9: Listen 443
            11: <VirtualHost _default_:443>
            12:   ServerName localhost
          In file: /etc/apache2/vhosts.d/default_vhost.include
             4:   ServerAdmin root@localhost
            12:   DocumentRoot "/var/www/localhost/htdocs"
            15:   <Directory "/var/www/localhost/htdocs">
            26:     Options Indexes FollowSymLinks
            31:     AllowOverride All
            34:     Order allow,deny
            35:     Allow from all
              :   </Directory>
            61:   ScriptAlias /cgi-bin/ "/var/www/localhost/cgi-bin/"
            66:   <Directory "/var/www/localhost/cgi-bin">
            67:     AllowOverride None
            68:     Options None
            69:     Order allow,deny
            70:     Allow from all
              :   </Directory>
          In file: /etc/apache2/vhosts.d/00_default_ssl_vhost.conf
            14:   ErrorLog /var/log/apache2/ssl_error_log
            17:   TransferLog /var/log/apache2/ssl_access_log
            22:   SSLEngine on
            27:   SSLCipherSuite
          ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
            35:   SSLCertificateFile /etc/apache2/ssl/server.crt
            43:   SSLCertificateKeyFile /etc/apache2/ssl/server.key
           129:   <FilesMatch "\.(cgi|shtml|phtml|php)$">
           130:     SSLOptions +StdEnvVars
              :   </FilesMatch>
           133:   <Directory "/var/www/localhost/cgi-bin">
           134:     SSLOptions +StdEnvVars
              :   </Directory>
           166:   BrowserMatch ".*MSIE.*" nokeepalive ssl-unclean-shutdown
          downgrade-1.0 force-response-1.0
           174:   CustomLog /var/log/apache2/ssl_request_log "%t %h
          %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
              : </VirtualHost>
          In file: /etc/apache2/vhosts.d/00_default_vhost.conf
            26: Listen 80
            29: NameVirtualHost *:80
            38: <VirtualHost *:80>
            39:   ServerName localhost
          In file: /etc/apache2/vhosts.d/default_vhost.include
             4:   ServerAdmin root@localhost
            12:   DocumentRoot "/var/www/localhost/htdocs"
            15:   <Directory "/var/www/localhost/htdocs">
            26:     Options Indexes FollowSymLinks
            31:     AllowOverride All
            34:     Order allow,deny
            35:     Allow from all
              :   </Directory>
            61:   ScriptAlias /cgi-bin/ "/var/www/localhost/cgi-bin/"
            66:   <Directory "/var/www/localhost/cgi-bin">
            67:     AllowOverride None
            68:     Options None
            69:     Order allow,deny
            70:     Allow from all
              :   </Directory>
          In file: /etc/apache2/vhosts.d/00_default_vhost.conf
              : </VirtualHost>

Server Settings

   Server Version: Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8g
   Server Built: Sep 21 2008 18:33:22
   Module Magic Number: 20051115:15
   Hostname/port: localhost:80
   Timeouts: connection: 300    keep-alive: 300
   MPM Name: Prefork
   MPM Information: Max Daemons: 150 Threaded: no Forked: yes
   Server Architecture: 64-bit
   Server Root: /usr/lib64/apache2
   Config File: /etc/apache2/httpd.conf
   Server Built With: -D APACHE_MPM_DIR="server/mpm/prefork" -D
          APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped
          addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D
          SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D
          AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT="/usr" -D
          SUEXEC_BIN="/usr/sbin/suexec" -D
          DEFAULT_ERRORLOG="logs/error_log" -D
          AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types" -D
          SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"

   Server Module List
          mod_vhost_alias.c
          mod_usertrack.c
          mod_unique_id.c
          mod_ssl.c
          mod_speling.c
          mod_setenvif.c
          mod_rewrite.c
          mod_negotiation.c
          mod_mime_magic.c
          mod_mime.c
          mod_logio.c
          mod_log_config.c
          mod_info.c
          mod_include.c
          mod_imagemap.c
          mod_ident.c
          mod_headers.c
          mod_filter.c
          mod_ext_filter.c
          mod_expires.c
          mod_env.c
          mod_dir.c
          mod_deflate.c
          mod_dbd.c
          mod_cgi.c
          mod_autoindex.c
          mod_authz_user.c
          mod_authz_owner.c
          mod_authz_host.c
          mod_authz_groupfile.c
          mod_authz_default.c
          mod_authz_dbm.c
          mod_authn_file.c
          mod_authn_default.c
          mod_authn_dbm.c
          mod_authn_dbd.c
          mod_authn_anon.c
          mod_auth_basic.c
          mod_alias.c
          mod_actions.c
          mod_so.c
          http_core.c
          prefork.c
          core.c

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] trouble with apache on amd64
  2008-09-22  3:03 [gentoo-user] trouble with apache on amd64 Allan Gottlieb
@ 2008-09-22  3:20 ` Norberto Bensa
  2008-09-22 11:36   ` Allan Gottlieb
  0 siblings, 1 reply; 4+ messages in thread
From: Norberto Bensa @ 2008-09-22  3:20 UTC (permalink / raw
  To: gentoo-user

>
> On my x86 system there is -D USERDIR.

And what's on your /etc/conf.d/apache2 ?

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] trouble with apache on amd64
  2008-09-22  3:20 ` Norberto Bensa
@ 2008-09-22 11:36   ` Allan Gottlieb
  0 siblings, 0 replies; 4+ messages in thread
From: Allan Gottlieb @ 2008-09-22 11:36 UTC (permalink / raw
  To: gentoo-user

At Mon, 22 Sep 2008 00:20:25 -0300 Norberto Bensa <nbensa@gmail.com> wrote:

>>
>> On my x86 system there is -D USERDIR.
>
> And what's on your /etc/conf.d/apache2 ?

Bingo, thanks.

I dealt with /etc/apache2.  My error was forgetting that there was in
addition /etc/conf.d/apache2.

thanks again,
allan



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-09-22 11:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-22  3:03 [gentoo-user] trouble with apache on amd64 Allan Gottlieb
2008-09-22  3:20 ` Norberto Bensa
2008-09-22 11:36   ` Allan Gottlieb
  -- strict thread matches above, loose matches on Subject: below --
2008-09-22  2:49 Allan Gottlieb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox