Grokbase
x

Tomas Ruprich (ru...@uikt.mendelu.cz)

Profile | Posts (8)

User Information

Display Name:Tomas Ruprich
Partial Email Address:ru...@uikt.mendelu.cz
Posts:
8 total
8 in CentOS

5 Most Recent

All Posts
1) Tomas Ruprich Re: [CentOS] HA software advice
| +1 vote
Wed, Jan 23, 2008 ve 04:24:43PM -0500, Scott McClanahan napsal: Well, exactly as you say... if you...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Wed, Jan 23, 2008 ve 04:24:43PM -0500, Scott McClanahan napsal:
>
> On Wed, 2008-01-23 at 22:20 +0100, Tomas Ruprich wrote:
> > yum install heartbeat
> >
> > Very robust, very reliable, easy to configure, easy to use :-) We use it
> > for almost every critical server for about 3 years without any problem.
> >
> > http://www.linux-ha.org/
> >
> > Tomá¹ Ruprich <ruprich@uikt.mendelu.cz>
> > DCD IICT MUAF Brno <www.mendelu.cz, is.mendelu.cz>
> >   tel.: +420 545 132 885, +420 602 127 744
> >   [email protected: t...@jabber.cz]
> >
>
> I had originally considered heartbeat but just didn't know if version 2
> was overkill. It's a pretty capable package and I just didn't want to
> get in over my head for this project. Is version 2 still pretty simple
> if you want it to be?
>

Well, exactly as you say... if you want it to be, it can be still pretty
simple :)

I don't know any software which could be simplier and still so reliable
for mission critical usage.
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
2) Tomas Ruprich Re: [CentOS] HA software advice
| +1 vote
yum install heartbeat Very robust, very reliable, easy to configure, easy to use :-) We use it for...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
yum install heartbeat

Very robust, very reliable, easy to configure, easy to use :-) We use it
for almost every critical server for about 3 years without any problem.

http://www.linux-ha.org/

  Tomá¹ Ruprich <ruprich@uikt.mendelu.cz>
  DCD IICT MUAF Brno <www.mendelu.cz, is.mendelu.cz>
  tel.: +420 545 132 885, +420 602 127 744
  [email protected: t...@jabber.cz]

Wed, Jan 23, 2008 ve 03:51:13PM -0500, Scott McClanahan napsal:

> We are in need of some very basic software that will give us the ability
> to swing an ip address from one host to another during controlled
> maintenance or host failure. For now the IP address will be the only
> resource that is shared and there will never be a need for shared
> storage. Eventually we may want to monitor processes for health
> (probably just read in pid file) and it would be great if the
> recommended software had this ability as well but not completely
> necessary. The process monitoring part is just me trying to think ahead
> but it definitely wouldn't be needed in the near future.
>
> Ideally, this should be light weight user land code that hopefully
> already comes easily with the distribution :)
>
> Any suggestions?  Thanks.
>
> _______________________________________________
> CentOS mailing list
> [email protected: C...@centos.org]
> http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
3) Tomas Ruprich Re: [CentOS] Directory index forbidden by rule: /var/www/html/
| +1 vote
Directory index is a feature of apache, which: - if there is a file named in DirectoryIndex...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Directory index is a feature of apache, which:
- if there is a file named in DirectoryIndex directive (usually
   index.html) in the requested directory, then show it (i think this is
made by mod_dir)
- if not, then create a list of files, if you have mod_autoindex loaded
   and Options +Indexes in directory configuration
(I recommend http://httpd.apache.org/docs/2.2/mod/mod_dir.html and
http://httpd.apache.org/docs/2.2/mod/mod_autoindex.html)

I believe, this comes because your /var/www/html contains no index
mentioned in DirectoryIndex rule. What is the content of /var/www/html?

best regards
-------------------------------------------------------------------------------
Tomá¹ Ruprich [email protected: ru...@uikt.mendelu.cz]
  DCD IICT MUAF Brno
  tel.: +420 545 132 885, +420 602 127 744
-------------------------------------------------------------------------------

Tue, Oct 09, 2007 ve 08:34:21AM -0700, Rogelio Bastardo napsal:

> I'm looking to troubleshoot this error when I run "tail
> /etc/httpd/logs/error_log"
>
> [Tue Oct 09 07:22:59 2007] [error] [client 127.0.0.1] Directory index
> forbidden by rule: /var/www/html/
>
> (I get this when I run Nagios' "./check_http -H 127.0.0.1".)
>
> All I did was install CentOS and then modify httpd.conf to include
> "ServerName 192.168.1.10:80" and also run " htpasswd -c
> /etc/nagios/htpasswd.users nagiosadmin".
>
> Is this a permissions issue on my /var/www/html/ folder?
>
> I tried to get the Apache page to serve properly, and it's not doing that.
> And when I try from another computer, I don't see anything in the logs,
> which made me think it was an IPTABLES issue (which it doesn't appear to
> be).
>
> Chain RH-Firewall-1-INPUT (2 references)
> target prot opt source destination
> ACCEPT     all  --  anywhere             anywhere
> ACCEPT icmp -- anywhere anywhere icmp any
> ACCEPT ipv6-crypt-- anywhere anywhere
> ACCEPT ipv6-auth-- anywhere anywhere
> ACCEPT udp -- anywhere 224.0.0.251 udp dpt:5353
> ACCEPT udp -- anywhere anywhere udp dpt:ipp
> ACCEPT all -- anywhere anywhere state
> RELATED,ESTAB                 LISHED
> ACCEPT tcp -- anywhere anywhere state NEW tcp
> dpt:s                 sh
> ACCEPT tcp -- anywhere anywhere state NEW tcp
> dpt:h                 ttp
> ACCEPT tcp -- anywhere anywhere state NEW tcp
> dpt:f                 tp
> ACCEPT tcp -- anywhere anywhere state NEW tcp
> dpt:s                 mtp
> REJECT all -- anywhere anywhere reject-with
> icmp-ho                 st-prohibited

> _______________________________________________
> CentOS mailing list
> [email protected: C...@centos.org]
> http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
4) Tomas Ruprich Re: [CentOS] strange chgrp behavior
| +1 vote
Thanks for your reply and your time, i've reported it to centos bug tracking system. I will try it...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Thanks for your reply and your time,
i've reported it to centos bug tracking system. I will try it also on
RHEL and if it occurs, i'll sent it also to the RH.

> ISTM it's a bug and should be reported on both CentOS and RH tracking
> systems. Two errors are apparent. One may be difficult to correct.
>
> As you originally discovered, the user ID is being change during
> execution of the command to change a group. And it is using the ID from
> the symbolic link owner, as you later noticed.
>
> The 2nd bug is a recursion into the original directory via the symbolic
> link when dereference is not suppressed. IMO, recursion should not
> occur, but I know from a programming background that it takes a little
> foresight, thought and intense effort to avoid this sort of trap.

I think, that dereferrence should occure (at least for my coreutils
version); man chgrp:
--dereference
affect the referent of each symbolic link, rather than the symbolic
link itself (this is the default)

> As an afterthought, how valid is it to have user control files that are
> supposed to be contained in an "invisible" directory in the user's
> $HOME? This presents a "non-standard" structure that offers increased
> opportunities for mishaps of various types.
>
> --
> Bill
>

Well, that's another point, but that's not my job here :( I realized
this behavior on shared home directories server. These homes are
used by Win domain in classrooms, on terminal services, etc. It's not my
business to control, if some users (or local administrators) create symlink
to their home directory... But maybe i should write some little audit
scrip, which would search for these...

thanks,
Tomas
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos
5) Tomas Ruprich Re: [CentOS] strange chgrp behavior
| +1 vote
Thu, Aug 30, 2007 ve 06:05:49PM +0200, Tomas Ruprich napsal: just to be accurate, this doesn't...
CentOS
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
Thu, Aug 30, 2007 ve 06:05:49PM +0200, Tomas Ruprich napsal:
> Greetings,
> i had a following problem, which on one side i have already solved, but
> on other side i don't thing it should behave this way and wish somebody to
> tell if it is feature or bug ;-)
>
> [[email protected: r...@machine] home]# chown user user/
> [[email protected: r...@machine] home]# ls -ld /home/user
> drwxr-xr-x  66 user staff 4096 /home/user
> [[email protected: r...@machine] home]# chgrp -R staff user/
> [[email protected: r...@machine] home]# ls -ld user/
> drwxr-xr-x  66 root staff 4096 user/
>               ^^^^^^

just to be accurate, this doesn't happen when using --no-dereference and it is not
changing permissions to root, but to user who is the owner of the link, so:

[[email protected: r...@machine] home]# ls -la user/.openoffice/user/work
lrwxrwxrwx 1 nobody root 13 Aug 28 14:35 user/.openoffice/user/work -> /home/user
[[email protected: r...@machine] home]# ls -ld /home/user
drwxr-xr-x  66 user staff 4096 /home/user
[[email protected: r...@machine] home]# chgrp -R staff user/
[[email protected: r...@machine] home]# ls -ld user/
drwxr-xr-x  66 nobody staff 4096 user/

-------------------------------------------------------------------------------
Tomá¹ Ruprich [email protected: ru...@uikt.mendelu.cz]
  DCD IICT MUAF Brno
  tel.: +420 545 132 885, +420 602 127 744
-------------------------------------------------------------------------------
_______________________________________________
CentOS mailing list
[email protected: C...@centos.org]
http://lists.centos.org/mailman/listinfo/centos

spacer
Profile | Posts (8)
Home > People > Tomas Ruprich