[질문] 커널컴파일만하면 아파치 실행이 않됩니다.

dripping의 이미지

래드헷 9.0에서 커널을 2.4.21 소스를받아서 다시 컴파일 했습니다.
그러나 아파치는 절대로 실행되지 않는군요. 정지와 실행을 해봐도 플롬프트는
아무 에러없이 즉 아무메시지 가 없습니다. 아래 비슷한경우가 있어서 해보았지만 역쉬..
그리고 9.0은 이미 마운트가 된는것 같고요.. /var/shm이라는(만들어서도 해봄) 폴더가 없습니다.
/proc/sys/kernel/shmpath 도 없고요. 누가 방법아시는 분 해결방법좀 가르쳐주세요..
제발 부탁합니다.

----------------------------------------------------------------------------------------
시스템 V 공유 메모리를 사용하기 위해서는 shm 시스템을
/var/shm 디렉토리에 마운트시켜 주어야 한다. 이렇게
하지 않으면 아파치 웹 서버 등이 동작하지 않을 것이다!

# mount -t shm none /var/shm

부팅 시 자동으로 마운트되도록 하려면 /etc/fstab 에 등록해 준다.

none /var/shm shm defaults 0 0
-----------------------------------------------------------------------------------------

제가 컴파일한 시스템의 정보입니다.

Filesystem 1K-blocks Used Available Use% Mounted on

/dev/hda2 38906828 12509820 24420612 34% /
/dev/hda1 101089 13291 82579 14% /boot
none 128244 0 128244 0% /dev/shm
/dev/ram0 3963 1043 2716 28% /mnt/ramdisk0

lilo.conf

prompt
timeout=50
default=linux
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
lba32

image=/boot/vmlinuz
label=linux-2.4.21
initrd=/boot/initrd-2.4.21.img
read-only
root=/dev/hda2

image=/boot/vmlinuz-2.4.20-8
label=linux_old
initrd=/boot/initrd-2.4.20-8.img
read-only
append="root=LABEL=/"

codebank의 이미지

커널 파일 시스템 부분에서 가상메모리 부분의 설정이 빠진것 같네요.

http://kldp.org/KoreanDoc/html/Kernel-KLDP/specfs.html

위 문서를 참조해서

Virtual memory file system support (former shm fs) :

부분을 활성화 시켜보세요. 지금 확인이 불가능하지만 없을 가능성도 있네요.

------------------------------
좋은 하루 되세요.

requiem의 이미지

커널컴파일시에 공유메모리 사용과 관련된 옵션 하나를 체크하시지 않은듯 한데요.

dripping의 이미지

가상 메모리쪽은 설정했는데.. 공유메모리라면 어느쪽인지 구체적으로 부탁드립니다. -_-;; 정말 죄송합니다.

[*] Quota support x x
x x <M> Kernel automounter support x x
x x <*> Kernel automounter version 4 support (also supports v3) x x
x x < > Reiserfs support x x
x x <M> Ext3 journalling file system support x x
x x [ ] JBD (ext3) debugging support x x
x x < > DOS FAT fs support x x
x x <*> Compressed ROM file system support x x
x x [*] Virtual memory file system support (former shm fs) x x
x x <*> ISO 9660 CDROM file system support x x
x x [*] Microsoft Joliet CDROM extensions x x
x x [ ] Transparent decompression extension x x
x x < > JFS filesystem support
< > Minix fs support x x
x x <M> FreeVxFS file system support (VERITAS VxFS(TM) compatible) x x
x x <M> NTFS file system support (read only) x x
x x < > OS/2 HPFS file system support x x
x x [*] /proc file system support x x
x x [*] /dev/pts file system for Unix98 PTYs x x
x x < > QNX4 file system support (read only) x x
x x <M> ROM file system support x x
x x <*> Second extended fs support x x
x x < > System V/Xenix/V7/Coherent file system support x x
x x < > UDF file system support (read only) x x
x x < > UFS file system support (read only) x x
x x Network File Systems --->
x x Partition Types ---> x x
x x Native Language Support ---> x x

-----------------------------------
밥먹고하자! *^_^*

metaljin의 이미지

apache 로그를 머저 확인하시는게 ...

만세

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.