HOW TO FIX FEDORA CORE HEADACHES!

Computer builds, hardware and software discussion or troubleshooting, including peripherals. Essentially a general place to talk about desktop computers.
Locked
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

HOW TO FIX FEDORA CORE HEADACHES!

Post by Red Squirrel »

After this weekend, lot of my red hairs are now gray, heres a quick summary:

I migrated server from debian to FC5, installed needed stuff from CD and readded my config files and stuff.


Problems:
-samba DID NOT WORK, at all!
-procmail would not execute external applications (and it does not log it either)
-dovecot produces TONS of access denied errors in the logs, though it works.
-httpd wont start using "service httpd start" but will with just "httpd" at the cmd line

I have other issues, and will probably discover more as I move along, but these are the ones I've been concentrated on.


Fix? Its too simple... but it's the thing of finding it.

go to /etc/grub.conf and replace this:

Code: Select all

        kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/1
[code]

with this:
[code]
        kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/1 selinux=0
[code]

(note the selinux=0 part).  the line may be different so if it is, just add the selinux=0 part and it should work the same...


Reboot.  Your system should work.  


This is some random log files from random programs, that I'm posting so people searching these keywords on google will find this, and it will hopefully help them.


[code]
Jul  2 23:57:53 borg dovecot: imap(email_redsquirrel): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:05:42 borg dovecot: imap(email_news): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:07:17 borg dovecot: imap(email_ryan): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:07:43 borg dovecot: imap(email_news): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:07:57 borg dovecot: imap(email_news): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:09:27 borg dovecot: imap(email_ryan): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:10:03 borg dovecot: imap(email_news): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:11:06 borg dovecot: imap(email_news): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:11:17 borg dovecot: imap(email_news): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:12:46 borg dovecot: imap(email_ryan): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:13:28 borg dovecot: imap(email_news): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:17:17 borg dovecot: imap(email_ryan): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:17:17 borg dovecot: imap(email_services): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:17:17 borg dovecot: imap(email_redsquirrel): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:17:18 borg dovecot: imap(email_cron): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:17:18 borg dovecot: imap(email_news): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:17:18 borg dovecot: imap(email_webmaster): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:23:59 borg dovecot: imap(email_news): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:23:59 borg dovecot: imap(email_ryan): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:24:49 borg dovecot: imap(email_news): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:25:07 borg dovecot: imap(email_news): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:25:12 borg dovecot: imap(email_news): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:25:17 borg dovecot: imap(email_ryan): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:25:54 borg dovecot: imap(email_news): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:25:54 borg dovecot: imap(email_news): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:26:00 borg dovecot: imap(email_news): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:27:07 borg dovecot: imap(email_news): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:27:17 borg dovecot: imap(email_webmaster): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:27:17 borg dovecot: imap(email_services): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:27:17 borg dovecot: imap(email_redsquirrel): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:27:18 borg dovecot: imap(email_cron): ioctl(inotify_fd, FIONREAD) failed: Permission denied
Jul  3 00:28:11 borg dovecot: imap(email_news): ioctl(inotify_fd, FIONREAD) failed: Permission denied



  '/data/intranet/' does not exist or permission denied when connecting to [intranet] Error was Permission denied
[2006/07/02 23:24:52, 0] smbd/service.c:make_connection_snum(663)
  '/data/intranet/' does not exist or permission denied when connecting to [intranet] Error was Permission denied
[2006/07/02 23:24:52, 0] smbd/service.c:make_connection_snum(663)
  '/data/intranet/' does not exist or permission denied when connecting to [intranet] Error was Permission denied
[2006/07/02 23:24:52, 0] smbd/service.c:make_connection_snum(663)
  '/data/intranet/' does not exist or permission denied when connecting to [intranet] Error was Permission denied
[2006/07/02 23:45:57, 0] smbd/service.c:make_connection_snum(663)
  '/data/samba/shared/guests/' does not exist or permission denied when connecting to [guest] Error was Permission denied
[2006/07/02 23:45:57, 0] smbd/service.c:make_connection_snum(663)
  '/data/samba/shared/guests/' does not exist or permission denied when connecting to [guest] Error was Permission denied
[2006/07/02 23:45:57, 0] smbd/service.c:make_connection_snum(663)
  '/data/samba/shared/guests/' does not exist or permission denied when connecting to [guest] Error was Permission denied
[2006/07/02 23:45:57, 0] smbd/service.c:make_connection_snum(663)
  '/data/samba/shared/guests/' does not exist or permission denied when connecting to [guest] Error was Permission denied
[2006/07/02 23:45:58, 0] smbd/service.c:make_connection_snum(663)
  '/data/intranet/' does not exist or permission denied when connecting to [intranet] Error was Permission denied
[2006/07/02 23:45:58, 0] smbd/service.c:make_connection_snum(663)
  '/data/intranet/' does not exist or permission denied when connecting to [intranet] Error was Permission denied
[2006/07/02 23:45:58, 0] smbd/service.c:make_connection_snum(663)
  '/data/intranet/' does not exist or permission denied when connecting to [intranet] Error was Permission denied
[2006/07/02 23:45:58, 0] smbd/service.c:make_connection_snum(663)
  '/data/intranet/' does not exist or permission denied when connecting to [intranet] Error was Permission denied
[2006/07/02 23:45:59, 0] smbd/service.c:make_connection_snum(663)
  '/data/samba/public/' does not exist or permission denied when connecting to [public] Error was Permission denied
[2006/07/02 23:45:59, 0] smbd/service.c:make_connection_snum(663)
  '/data/samba/public/' does not exist or permission denied when connecting to [public] Error was Permission denied
[2006/07/02 23:45:59, 0] smbd/service.c:make_connection_snum(663)
  '/data/samba/public/' does not exist or permission denied when connecting to [public] Error was Permission denied
[2006/07/02 23:45:59, 0] smbd/service.c:make_connection_snum(663)
  '/data/samba/public/' does not exist or permission denied when connecting to [public] Error was Permission denied
[2006/07/03 00:20:11, 0] smbd/service.c:make_connection_snum(663)
  '/data/samba/backup/' does not exist or permission denied when connecting to [backup] Error was Permission denied
[2006/07/03 00:20:11, 0] smbd/service.c:make_connection_snum(663)
  '/data/samba/shared/' does not exist or permission denied when connecting to [shared] Error was Permission denied
[2006/07/03 00:20:11, 0] smbd/service.c:make_connection_snum(663)
  '/data/intranet/' does not exist or permission denied when connecting to [intranet] Error was Permission denied
[2006/07/03 00:20:11, 0] smbd/service.c:make_connection_snum(663)
  '/data/samba/public/' does not exist or permission denied when connecting to [public] Error was Permission denied
[2006/07/03 00:20:11, 0] smbd/service.c:make_connection_snum(663)
  '/data/samba/backup_rom/' does not exist or permission denied when connecting to [backup_rom] Error was Permission denied


/bin/sh: /data/samba/shared/ryan/applications/news_parser/parser.app: Permission denied
procmail: Error while writing to "/data/samba/shared/ryan/applications/news_parser/parser.app"
procmail: Rescue of unfiltered data succeeded
From bogus@bogusdomain.com  Mon Jul  3 00:23:00 2006
 Subject: test
  Folder: /var/mail/email_news                                              993
/bin/sh: /data/samba/shared/ryan/applications/news_parser/parser.app: Permission denied
procmail: Error while writing to "/data/samba/shared/ryan/applications/news_parser/parser.app"
procmail: Rescue of unfiltered data succeeded
From bogus@bogusdomain.com  Mon Jul  3 00:24:13 2006
 Subject: test
  Folder: /var/mail/email_news                                              995
/bin/sh: /data/samba/shared/ryan/applications/news_parser/parser.app: Permission denied
procmail: Error while writing to "/data/samba/shared/ryan/applications/news_parser/parser.app"
procmail: Rescue of unfiltered data succeeded
From bogus@bogusdomain.com  Mon Jul  3 00:25:01 2006
 Subject: fdf
  Folder: /var/mail/email_news                                              995
/bin/sh: /data/samba/shared/ryan/applications/news_parser/parser.app: Permission denied
procmail: Error while writing to "/data/samba/shared/ryan/applications/news_parser/parser.app"
procmail: Rescue of unfiltered data succeeded
[code]



I hope this post helps people solve their FC5 headaches, specially with samba, the fact that its broken out of the box is just plain wrong...Well not samba is broken, but SE linux crap makes it broken.  I dont remember seeing an option for SE linux as package, only to disable it, but if you see it as a package.. DO NOT INSTALL!

SE Linux is like PVC piping, it stops even squirrels from getting in.  (squirrels aperently hate the taste of PVC... I've never tried it myself) 

[color=#888888][size=85]Archived topic from Iceteks,  old topic ID:4420, old post ID:35533[/size][/color]
Honk if you love Jesus, text if you want to meet Him!
User avatar
richardj
Posts: 1382
Joined: Fri Sep 10, 2004 11:02 pm

HOW TO FIX FEDORA CORE HEADACHES!

Post by richardj »

Image

Archived topic from Iceteks, old topic ID:4420, old post ID:35534
User avatar
jryan
Posts: 395
Joined: Wed Dec 18, 2002 1:19 am

HOW TO FIX FEDORA CORE HEADACHES!

Post by jryan »

As per our discussion from a few days ago, I noticed in alot of postings that SE Linux is incompatible with alot of different packages and even some file systems (ReiserFS being one of them). In the initial installation of Fedora Core 5 you can specify disabling SE Linux but if you're not watching for it, it can easily pass you by. I feel your frustration though lol.

Archived topic from Iceteks, old topic ID:4420, old post ID:35586
Anonymous

HOW TO FIX FEDORA CORE HEADACHES!

Post by Anonymous »

Greetings!

I just wanted you to know that I had this exact problem after installing FC5 yesterday. A google search turned up this page and the fix was precisely right.

Thanks, Squirrel you're a genius.

mrdyg

Archived topic from Iceteks, old topic ID:4420, old post ID:35650
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

HOW TO FIX FEDORA CORE HEADACHES!

Post by Red Squirrel »

Haha I'm glad it helped someone already. Crazy how fast this sites pages gets on google. :lol:

Archived topic from Iceteks, old topic ID:4420, old post ID:35652
Honk if you love Jesus, text if you want to meet Him!
User avatar
richardj
Posts: 1382
Joined: Fri Sep 10, 2004 11:02 pm

HOW TO FIX FEDORA CORE HEADACHES!

Post by richardj »

mrdyg wrote:

Thanks, Squirrel you're a genius.

mrdyg
:rolleyes:

AND--He does wiring---TOO!

Image :blink:

Archived topic from Iceteks, old topic ID:4420, old post ID:35656
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

HOW TO FIX FEDORA CORE HEADACHES!

Post by Red Squirrel »

Ironicly, you should see the inside of my PC... lot of DIY electrical work in there, including a spliced printer cable end that plugs into the switchbox on my desk... :D

Archived topic from Iceteks, old topic ID:4420, old post ID:35706
Honk if you love Jesus, text if you want to meet Him!
Locked