Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to start Apache (fixed)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2196

PostPosted: Sat Dec 08, 2012 10:05 pm    Post subject: Unable to start Apache (fixed) Reply with quote

This is a brand new installation of apache.

Code:
gmedia bigun # /etc/init.d/apache2 start
/etc/init.d/apache2: line 60: 29411 Segmentation fault      ${APACHE2} ${APACHE2_OPTS} -t > /dev/null 2>&1
 * apache2 has detected an error in your setup:
/etc/init.d/apache2: line 60: 29413 Segmentation fault      ${APACHE2} ${APACHE2_OPTS} -t
 * ERROR: apache2 failed to start


Obviously there's an issue with the /etc/apache2/httpd.conf file, but it's not very specific about what the issue is. Here are the flags I installed with:

Code:
gmedia bigun # emerge -vp apache

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] www-servers/apache-2.2.23:2  USE="ssl -debug -doc -ldap (-selinux) -static -suexec -threads" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias -asis -auth_digest -authn_dbd -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -log_forensic -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http -proxy_scgi -reqtimeout -substitute -version" APACHE2_MPMS="-event -itk -peruser -prefork -worker" 0 kB


*edit*

Hang tight, I read somewhere that the SSL flag causes issues with apache on the Raspberry Pi, let me remove that flag and re-install.

*edit*

Nope, removed the ssl flag and it still fails.
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim


Last edited by Bigun on Tue Dec 18, 2012 12:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54028
Location: 56N 3W

PostPosted: Sat Dec 08, 2012 11:33 pm    Post subject: Reply with quote

Bigun,

From my Pi.
Code:
 [ebuild   R    ] www-servers/apache-2.4.3:2  USE="ssl suexec threads -debug -doc -ldap (-selinux) -static" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias -access_compat -asis -auth_digest -authn_dbd -cache_disk -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -lbmethod_bybusyness -lbmethod_byrequests -lbmethod_bytraffic -lbmethod_heartbeat -log_forensic -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http -proxy_scgi -reqtimeout -slotmem_shm -substitute -version" APACHE2_MPMS="-event -itk -peruser -prefork -worker" 0 kB


That was built with gcc-4.6.3

From memory, there is a missing dependency, so it failed for me the first time and I could only get it to Segfault too. In the end I rebuilt everything, rather than building mostly in a cross environment.
Buiding locally showed the missing dependency.

Ah, I posted the fix
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2196

PostPosted: Sun Dec 09, 2012 1:48 am    Post subject: Reply with quote

NeddySeagoon wrote:
Bigun,

From my Pi.
Code:
 [ebuild   R    ] www-servers/apache-2.4.3:2  USE="ssl suexec threads -debug -doc -ldap (-selinux) -static" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias -access_compat -asis -auth_digest -authn_dbd -cache_disk -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -lbmethod_bybusyness -lbmethod_byrequests -lbmethod_bytraffic -lbmethod_heartbeat -log_forensic -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http -proxy_scgi -reqtimeout -slotmem_shm -substitute -version" APACHE2_MPMS="-event -itk -peruser -prefork -worker" 0 kB


That was built with gcc-4.6.3

From memory, there is a missing dependency, so it failed for me the first time and I could only get it to Segfault too. In the end I rebuilt everything, rather than building mostly in a cross environment.
Buiding locally showed the missing dependency.

Ah, I posted the fix


It built fine, it's getting it started that seems to be the issue. I'm going to try to rebuild matching your flags (minus the ssl flag) and see what happens.
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2196

PostPosted: Sun Dec 09, 2012 12:40 pm    Post subject: Reply with quote

Nope, I've mimicked the flags, please don't tell me I need to emerge -e apache like you did, do I?
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54028
Location: 56N 3W

PostPosted: Sun Dec 09, 2012 1:53 pm    Post subject: Reply with quote

Bigun,

It built fine for me too, even with emerge -e apache and it still segfaulted.

Set nss globally and see what needs to be rebuilt. Heres my emerge --info from the Pi running apache.
Its in my DMZ and I don't have any distcc helpers there yet as everything else there runs hardened.
I don't feel like playing with hardened on Pi just yet.

Code:
Pi_Net ~ # emerge --info
Portage 2.2.0_alpha144 (default/linux/arm/10.0/armv6j/server, gcc-4.6.3, glibc-2.16.0, 3.2.27+ armv6l)
=================================================================
System uname: Linux-3.2.27+-armv6l-ARMv6-compatible_processor_rev_7_-v6l-with-gentoo-2.2
Timestamp of tree: Sat, 08 Dec 2012 04:45:01 +0000
ld GNU ld (GNU Binutils) 2.23
distcc 3.1 armv6j-hardfloat-linux-gnueabi [disabled]
app-shells/bash:          4.2_p39
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.9-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.2
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.4
sys-devel/binutils:       2.23
sys-devel/gcc:            4.5.3-r2, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo arm_on_Raspberry_Pi_overlay
ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv6j-hardfloat-linux-gnueabi"
CFLAGS="-O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard"
CHOST="armv6j-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=armv6j -mfpu=vfp -mfloat-abi=hard"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=softfp"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nodoc noinfo noman parallel-fetch \
                  preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=softfp"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/
                  http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
                  http://gentoo.tiscali.nl/
                  http://gentoo.mneisen.org/
                  http://gentoo.mirror.pw.edu.pl/
                  http://gentoo.prz.rzeszow.pl
                  http://mirror.uni-c.dk/pub/gentoo/
                  http://mirror.gentoo.no/
                  http://mirror.mdfnet.se/mirror/gentoo
                  http://ftp.gentoo.bg/ http://distfiles.gentoo.bg/
                  http://mirrors.ludost.net/gentoo/
                  http://mirror.hamakor.org.il/pub/mirrors/gentoo/
                  http://ftp.dei.uc.pt/pub/linux/gentoo/"
INSTALL_MASK="*.la"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude=metadata/cache"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 \
                --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.10.119/gentoo-portage"
USE="acl apache2 arm berkdb bindist bzip2 cli cracklib crypt cups cxx fortran gdbm gpm iconv ipv6 minimal modules mudflap ncurses nls nptl nss openmp pam \
     pcre pppd readline session snmp ssl tcpd threads unicode xml zlib"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null \
                   plug rate route share shm softvol"
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm \
                     authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter \
                     file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack \
                     vhost_alias"
CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump"
CAMERAS="ptp2"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
ELIBC="glibc"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 \
                 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx"
INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap omapfb dummy v4l"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"

Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Reformatted for easy reading in a post.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2196

PostPosted: Tue Dec 11, 2012 10:19 pm    Post subject: Reply with quote

I copied the use flags, and it's re-compiling quite a few things, I expect it to be done late tomorrow or the day after sometime.
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2196

PostPosted: Wed Dec 12, 2012 4:58 pm    Post subject: Reply with quote

This is embarrassing, I've ran into a different issue:

Code:
/dev/sdc3         417792 417638       154  100% /mnt/gentoo


The emerge of some packages failed due to the inodes all being used.

This is after I've emptied /tmp and /usr/portage/distfiles

What are some other ways to free inodes in Gentoo so I can proceed?
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54028
Location: 56N 3W

PostPosted: Wed Dec 12, 2012 10:16 pm    Post subject: Reply with quote

Bigun,

You need one inode per file. The number of inodes are set at filesystem create time an cannot be changed.

You need to delete some files on the filesystem thats out of inodes.
If the portage tree is there, set some excludes in in make.conf like this
Code:
PORTAGE_RSYNC_EXTRA_OPTS="--exclude=metadata/cache"
and drop things like kde and gnome from the portage tree on the Pi, or anything else you are not likely to need.

The PORTAGE_RSYNC_EXTRA_OPTS= will stop these directories being synched but your need to remove them by hand. I'm not sure if wildcards work or not, so sci-* may exclude all of the sci-* ebuilds, for example. The tree uses lots of inodes as its many small files.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2196

PostPosted: Thu Dec 13, 2012 12:41 am    Post subject: Reply with quote

Great little how to here.

Trying to get things running again here soon hopefully.

*edit*

I got so annoyed with dealing with iNodes, I went ahead and bought a 16 GB card and copied everything to it. It's booted and building again. ugh!
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2196

PostPosted: Fri Dec 14, 2012 11:04 am    Post subject: Reply with quote

I've applied the flags, and apache still fails to start. I'll post some of my info, maybe you'll see something:

emerge --info:
Code:
gmedia bigun # emerge --info                                                                                                 
Portage 2.1.11.31 (default/linux/arm/10.0/armv6j/server, gcc-4.6.3, glibc-2.15-r3, 3.2.27+ armv6l)
=================================================================
System uname: Linux-3.2.27+-armv6l-ARMv6-compatible_processor_rev_7_-v6l-with-gentoo-2.1
Timestamp of tree: Tue, 04 Dec 2012 07:30:01 +0000
ld GNU ld (GNU Binutils) 2.22
distcc 3.1 armv6j-hardfloat-linux-gnueabi [enabled]
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="*"
CBUILD="armv6j-hardfloat-linux-gnueabi"
CFLAGS="-O2 -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard"
CHOST="armv6j-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=softfp"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe -march=armv6j -mfpu=vfp -mfloat-abi=softfp"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/var/binary"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude=metadata/cache --exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.10.203/gentoo-portage"
USE="acl alsa apache2 arm berkdb bindist bzip2 cli cracklib crypt cups cxx fbcon fortran gd gdbm gif gpm iconv ipv6 joystick jpeg mad minimal modules mp3 mudflap ncurses nls nptl nss openal openmp pam pcre php png pppd quicktime readline session snmp ssl tcpd theora threads truetype unicode x264-static xml xv xvid zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap omapfb dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON


The only two packages that would not compile were:

Code:
[ebuild   R   ~] sys-devel/gcc-4.6.3:4.6  USE="cxx fortran mudflap nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -go -graphite -gtk (-hardened) (-libssp) (-multilib) -multislot -nopie -nossp -objc -objc++ -objc-gc {-test} -vanilla (-nocxx%)" 70,352 kB
[ebuild   R    ] sys-devel/gcc-4.5.4:4.5  USE="cxx fortran mudflap nls nptl openmp (-altivec) -bootstrap -build -doc (-fixed-point) -gcj -graphite -gtk (-hardened) (-libssp) -lto (-multilib) -multislot -nopie -nossp -objc -objc++ -objc-gc {-test} -vanilla (-nocxx%)" 64,908 kB


But they seemed to be just default flag changes anyway.

One thing I did notice is that you're on ~arm architecture, you think that makes a difference?
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2196

PostPosted: Sat Dec 15, 2012 9:37 am    Post subject: Reply with quote

Just FYI for everyone, I'm changing to the ~arm USE flag, updating the system now, I'll get back to the thread with results when I have them.
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3919
Location: Hamburg

PostPosted: Sat Dec 15, 2012 10:05 am    Post subject: Reply with quote

/me just wondering what a gdb back trace of the core dumps would say ...
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2196

PostPosted: Tue Dec 18, 2012 12:13 pm    Post subject: Reply with quote

That fixed it, somewhere in the ~arm keyword lies the key to get apache running. Too lazy to find it, good luck to the next person.
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54028
Location: 56N 3W

PostPosted: Tue Dec 18, 2012 12:30 pm    Post subject: Reply with quote

Bigun,

I have always used ~arch - since I started on Gentoo in mid 2002. Apache will build but segfault on ~arm unless the nss USE flag is set.
Its a bug in one of the ebuilds in the dependency tree somewhere. I suspect its not ~arm specific but I've not attempted to follow up on something faster than a Pi yet.

Did apache run for you with the default setup or did you need to make changes to the configs to reduce the memory footprint?
I did memory footprint pruning before I added USE=nss globally.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2196

PostPosted: Tue Dec 18, 2012 2:38 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Bigun,

I have always used ~arch - since I started on Gentoo in mid 2002. Apache will build but segfault on ~arm unless the nss USE flag is set.
Its a bug in one of the ebuilds in the dependency tree somewhere. I suspect its not ~arm specific but I've not attempted to follow up on something faster than a Pi yet.

Did apache run for you with the default setup or did you need to make changes to the configs to reduce the memory footprint?
I did memory footprint pruning before I added USE=nss globally.


On the default config, literally after the last package updated, I ran the init script and it started. I even tested it by opening the "It Works!" page on my local machine.
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54028
Location: 56N 3W

PostPosted: Tue Dec 18, 2012 3:11 pm    Post subject: Reply with quote

Bigun,

Thanks - I may undo my memory footprint reduction stuff but kernel seeds mirror 4 works (my Pi) so I'll wait and see.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2196

PostPosted: Tue Dec 18, 2012 3:17 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Bigun,

Thanks - I may undo my memory footprint reduction stuff but kernel seeds mirror 4 works (my Pi) so I'll wait and see.


You may want to note that I've loaded apache with PHP support. I'm planning to form a "menu system" of sorts to play media. It will be accessible via a web browser on the internal network. I have no idea if that makes a difference or not.
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum