Re: [CentOS] RSync Issues

2009-10-11 Thread News Listener
man rsync

-i, --itemize-changes   output a change-summary for all updates
 --list-only list the files instead of copying them
 --ignore-existing   skip updating files that exist on receiver
-v, --verbose   increase verbosity

--existing, --ignore-non-existing
 This tells rsync to skip creating files (including directories) that do 
not exist yet on the destination. If this option is combined 
with the --ignore-existing option, no files will be updated (which can be 
useful if all you want to do is delete extraneous files).

 This option is a transfer rule, not an exclude, so it doesn't affect the 
data that goes into the file-lists, and thus it doesn't affect 
deletions. It just limits the files that the receiver requests to be 
transferred.

--ignore-existing
 This tells rsync to skip updating files that already exist on the 
destination (this does not ignore existing directories, or nothing 
would get done). See also --existing.

 This option is a transfer rule, not an exclude, so it doesn't affect the 
data that goes into the file-lists, and thus it doesn't affect 
deletions. It just limits the files that the receiver requests to be 
transferred.

 This option can be useful for those doing backups using the --link-dest 
option when they need to continue a backup run that got 
interrupted. Since a --link-dest run is copied into a new directory hierarchy 
(when it is used properly), using --ignore existing will 
ensure that the already-handled files don't get tweaked (which avoids a change 
in permissions on the hard-linked files). This does mean that 
this option is only looking at the existing files in the destination hierarchy 
itself.




ML schrieb:
> Hi All,
> 
> Rsyncing to a USB drive. I am in single user mode.
> 
> I am doing:
> 
> rsync -avx --stats --progress --ignore-existing --exclude 'home/backup/ 
> data' / /mnt/sdb2/
> 
> But I dont see if ignoring existing. A previous rsync stalled and now  
> it seems to be copying them again rather than ignoring them.
> 
> Does anyone have thoughts?
> 
> -ML

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Rythmbox and MP3

2009-10-11 Thread lostson

On Sun, 2009-10-11 at 06:22 +0100, Lucian @ lastdot.org wrote:
> On Sun, Oct 11, 2009 at 5:23 AM, Robert Spangler
>  wrote:
> > Hello,
> >
> > Can anyone tell me how to get the 2 in the Subject line to work?  I have 
> > read
> > a lot about adding this or that repo but still no joy as usually deps are
> > missing. :(

 Personally I use rpmfusion repo which you can fine here 

 http://rpmfusion.org/

 After you enable the repos for your system then as root run 

 yum install gstreamer-plugins-bad gstreamer-plugins-ugly

 This will get you the codecs you need to play mp3's

-- 
LostSon

http://lostsonsvault.org

CentOS - it's not just for servers ya know...


signature.asc
Description: This is a digitally signed message part
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] problem with old stable 0.1.1 roundcubemail contained in the deposit EPEL

2009-10-11 Thread fake...@fakessh.eu
Hi all
Hi list


my linux box is CentOS 5.3
it is properly updated
I use the old old  stable version 0.1.1 of roundcubemail , which is contained 
in the deposit EPEL
I preferred to continue using the version contained in the official 
repositories of CentOS

I configure a user roundcubemail on my mysql server
Here are the commands that I have applied to the server mysql

mysql -u roundcubemail -p
create database roundcubemail;
 GRANT SELECT, INSERT, UPDATE, DELETE ON roundcubemail.* 
TO 'roundcubemail'@'localhost' IDENTIFIED BY '*';
 FLUSH PRIVILEGES;
quit

I applied a small patch personal

// application constants
define('RCMAIL_VERSION', '0.1.1');
define('RCMAIL_CHARSET', 'UTF-8');
define('JS_OBJECT_NAME', 'rcmail');

// define global vars
$OUTPUT_TYPE = 'html';
$INSTALL_PATH = dirname(__FILE__);
$MAIN_TASKS = array('mail','settings','addressbook','logout');

if (empty($INSTALL_PATH))
  $INSTALL_PATH = './';
else
  $INSTALL_PATH .= '/';

//This is the little patch that clears the session cookie
if ( isset($_COOKIE['session']) and !empty($_COOKIE['session'] ))

{
 setcookie('session');
 unset($_COOKIE['session']); //sureté
}
//This is the little patch that clears the session cookie


my problem is that I see appear the login page I enter all data but I do not 
understand why I can not fit into the webmail

thanks for all your feedback
SL
nb : 'Buddha' peace themselve
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Rythmbox and MP3

2009-10-11 Thread Robert Spangler
On Sunday 11 October 2009 01:22, Lucian @ lastdot.org wrote:

>  > Can anyone tell me how to get the 2 in the Subject line to work?  I have
>  > read a lot about adding this or that repo but still no joy as usually
>  > deps are missing. :(
>  >
>
>  Usually rpm -Uhv
> 
> http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.
>el5.rf.i386.rpm does the job for me.

Thank you for the reply.  I have 4.8 installed and it seems that rpmforge 
doesn't have the rpm's for my distro

No Match for argument: gstreamer-plugins-bad
No Match for argument: gstreamer-plugins-ugly


-- 

Regards
Robert

Linux User #296285
http://counter.li.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Rythmbox and MP3

2009-10-11 Thread Robert Spangler
On Sunday 11 October 2009 05:35, lostson wrote:

>  > > Can anyone tell me how to get the 2 in the Subject line to work?  I
>  > > have read a lot about adding this or that repo but still no joy as
>  > > usually deps are missing. :(
>
>   Personally I use rpmfusion repo which you can fine here
>
>   http://rpmfusion.org/
>
>   After you enable the repos for your system then as root run
>
>   yum install gstreamer-plugins-bad gstreamer-plugins-ugly
>
>   This will get you the codecs you need to play mp3's

This repo doesn't have anything for my Distro 4.8.
Thanks for the reply.


-- 

Regards
Robert

Linux User #296285
http://counter.li.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Rythmbox and MP3

2009-10-11 Thread cornel panceac
2009/10/11 Robert Spangler 

> On Sunday 11 October 2009 01:22, Lucian @ lastdot.org wrote:
>
> >  > Can anyone tell me how to get the 2 in the Subject line to work?  I
> have
> >  > read a lot about adding this or that repo but still no joy as usually
> >  > deps are missing. :(
> >  >
> >
> >  Usually rpm -Uhv
> >
> >
> http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1
> .
> >el5.rf.i386.rpm does the job for me.
>
> Thank you for the reply.  I have 4.8 installed and it seems that rpmforge
> doesn't have the rpm's for my distro
>

see
http://rpmrepo.org/RPMforge/Using
and check
http://apt.sw.be/redhat/el4/en/i386/rpmforge/RPMS/gstreamer-ffmpeg-0.8.3-0.2.el4.rf.i386.rpm


>
> No Match for argument: gstreamer-plugins-bad
> No Match for argument: gstreamer-plugins-ugly
>
>
> --
>
> Regards
> Robert
>
> Linux User #296285
> http://counter.li.org
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Linux counter #213090
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Launch applications on GNOME startup ?

2009-10-11 Thread Niki Kovacs
Hi,

I just installed and configured Conky, and I'd like to automatically 
launch it whenever I start a GNOME session. I expected to see some sort 
of Preferences>Launch Applications on Startup, some user-specific 
equivalent of rc.local, but there doesn't seem to be such an entry.

Any suggestions?

Niki
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Launch applications on GNOME startup ?

2009-10-11 Thread Jay Leafey

Niki Kovacs wrote:

Hi,

I just installed and configured Conky, and I'd like to automatically 
launch it whenever I start a GNOME session. I expected to see some sort 
of Preferences>Launch Applications on Startup, some user-specific 
equivalent of rc.local, but there doesn't seem to be such an entry.


Any suggestions?



"System->Preferences->More Preferences->Sessions" comes to mind...

--
Jay Leafey - Memphis, TN
jay.lea...@mindless.com


smime.p7s
Description: S/MIME Cryptographic Signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Possible to run iscsi-target and initiator on same server?

2009-10-11 Thread Ross Walker

On Oct 10, 2009, at 12:29 AM, C Linus Hicks  wrote:

> On Fri, 2009-10-09 at 21:42 -0400, Ross Walker wrote:
>> On Oct 9, 2009, at 6:14 PM, C Linus Hicks wrote:
>>>
>>> So for iet, that means /etc/iet/ietd.conf should define the Lun like
>>> this:
>>>
>>> Lun 0 Path=/dev/sdb,Type=blockio,ScsiId=asmdg,ScsiSN=dg0
>>>
>>> If that's all it takes to make it do blockio instead of fileio, then
>>> that is already the case. Deadlocks on the cache pages - wouldn't  
>>> that
>>> only affect I/O and not logging in?
>>
>> Ok, well at least that's covered.
>>
>> Is iptables disabled?
>>
>> Also the latest version of IET won't advertise the loopback on
>> discovery unless you are discovering on that same same loopback
>> address. You can still statically connect though, which I recommend
>> for loopback connections.
>
> Yep, iptables doesn't run on that machine, the service is disabled.  
> And
> I'm just using the one IP address on that machine.
>
> Here's my /var/lib/iscsi/ifaces/iface0 file:
>
> iface.transport_name = tcp
> iface.hwaddress = 00:1D:92:B4:50:6E
>
> Is the transport_name for loopback still tcp?
> The discovery appears to work properly:
>
> [r...@lh6 iscsi]# iscsiadm -m discovery -t st -p 10.200.1.6:3260 -I  
> iface0 -P 1
>Target: iqn.2009-10.net.linush:storage.disk1.sys1.asmdg
>Portal: 10.200.1.6:3260,1
>   Iface Name: iface0
>
> I found a way to make the entry in /var/lib/iscsi/static which is  
> just a
> symbolic link back to the entry in /var/lib/iscsi/nodes, but you  
> must be
> seeing different documentation because I don't see any thing that  
> talks
> about logging in using the static entry. At any rate, I run this  
> command
> and get the output as shown:
>
> [r...@lh6 iscsi]# iscsiadm -m node -T iqn. 
> 2009-10.net.linush:storage.disk1.sys1.asmdg -p 10.200.1.6:3260 -l
> Logging in to [iface: iface0, target: iqn. 
> 2009-10.net.linush:storage.disk1.sys1.asmdg, portal: 10.200.1.6,3260]
> iscsiadm: Could not login to [iface: iface0, target: iqn. 
> 2009-10.net.linush:storage.disk1.sys1.asmdg, portal: 10.200.1.6,3260]:
> iscsiadm: initiator reported error (8 - connection timed out)
>
> And here's the node:
>
> [r...@lh6 iscsi]# cat nodes/iqn.2009-10.net.linush 
> \:storage.disk1.sys1.asmdg/10.200.1.6\,3260\,1/iface0
> # BEGIN RECORD 2.0-868
> node.name = iqn.2009-10.net.linush:storage.disk1.sys1.asmdg
> node.tpgt = 1
> node.startup = manual
> iface.hwaddress = 00:1D:92:B4:50:6E
> iface.iscsi_ifacename = iface0
> iface.net_ifacename = default
> iface.transport_name = tcp
> node.discovery_port = 0
> node.discovery_type = static
> node.session.initial_cmdsn = 0
> node.session.initial_login_retry_max = 4
> node.session.cmds_max = 128
> node.session.queue_depth = 32
> node.session.auth.authmethod = None
> node.session.timeo.replacement_timeout = 120
> node.session.err_timeo.abort_timeout = 15
> node.session.err_timeo.lu_reset_timeout = 30
> node.session.err_timeo.host_reset_timeout = 60
> node.session.iscsi.FastAbort = Yes
> node.session.iscsi.InitialR2T = No
> node.session.iscsi.ImmediateData = Yes
> node.session.iscsi.FirstBurstLength = 262144
> node.session.iscsi.MaxBurstLength = 16776192
> node.session.iscsi.DefaultTime2Retain = 0
> node.session.iscsi.DefaultTime2Wait = 2
> node.session.iscsi.MaxConnections = 1
> node.session.iscsi.MaxOutstandingR2T = 1
> node.session.iscsi.ERL = 0
> node.conn[0].address = 10.200.1.6
> node.conn[0].port = 3260
> node.conn[0].startup = manual
> node.conn[0].tcp.window_size = 524288
> node.conn[0].tcp.type_of_service = 0
> node.conn[0].timeo.logout_timeout = 15
> node.conn[0].timeo.login_timeout = 15
> node.conn[0].timeo.auth_timeout = 45
> node.conn[0].timeo.noop_out_interval = 5
> node.conn[0].timeo.noop_out_timeout = 5
> node.conn[0].iscsi.MaxRecvDataSegmentLength = 131072
> node.conn[0].iscsi.HeaderDigest = None,CRC32C
> node.conn[0].iscsi.IFMarker = No
> node.conn[0].iscsi.OFMarker = No
> # END RECORD
>
>> From ifconfig:
>
> eth2  Link encap:Ethernet  HWaddr 00:1D:92:B4:50:6E
>  inet addr:10.200.1.6  Bcast:10.200.1.255  Mask:255.255.255.0

What does the ietd.conf, initiators.allow and targets.allow look like?

What is your network setup? Are you using a vif on the loopback?

-Ross

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Possible to run iscsi-target and initiator on same server?

2009-10-11 Thread C Linus Hicks
On Sun, 2009-10-11 at 12:36 -0400, Ross Walker wrote:
> What does the ietd.conf, initiators.allow and targets.allow look like?
> 
> What is your network setup? Are you using a vif on the loopback?

There's no VIF on loopback. The machine running iet has two NICs, the
private interconnect should not be playing a role. It's IP address is
10.200.2.2/24 while the local subnet is 10.200.1.0/24 and the iet
machine is IP address 10.200.1.6.

ietd.conf
--
Target iqn.2009-10.net.linush:storage.disk1.sys1.asmdg
Lun 0 Path=/dev/sdb,Type=blockio,ScsiId=asmdg,ScsiSN=dg0
HeaderDigest None
DataDigest None
MaxConnections 1
InitialR2T No
ImmediateData Yes
MaxRecvDataSegmentLength 262144
MaxXmitDataSegmentLength 262144
MaxBurstLength 524288
FirstBurstLength 262144
MaxOutstandingR2T 8
DataPDUInOrder Yes
DataSequenceInOrder Yes
ErrorRecoveryLevel 0


initiators.allow

ALL 10.200.1.0/24


targets.allow

ALL 10.200.1.0/24


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Launch applications on GNOME startup ?

2009-10-11 Thread Jake Shipton
On 11/10/09 17:28, Niki Kovacs wrote:
> Hi,
>
> I just installed and configured Conky, and I'd like to automatically
> launch it whenever I start a GNOME session. I expected to see some sort
> of Preferences>Launch Applications on Startup, some user-specific
> equivalent of rc.local, but there doesn't seem to be such an entry.
>
> Any suggestions?
>
> Niki
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
>
Hi, assuming the application can be started from terminal without issues 
you could go to:

System > Preferences > More Preferences > Sessions

And onto the "Start up" tab.

Click "Add" and here, you will need to enter a command (such as 
/usr/bin/conky)

Not quite sure what conky is, as I've never used it, so this may or may 
not work for you. But give it a try :-)

Hope this helps.

-- 

Jake

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Possible to run iscsi-target and initiator on same server?

2009-10-11 Thread C Linus Hicks
On Sun, 2009-10-11 at 15:13 -0400, C Linus Hicks wrote:
> There's no VIF on loopback. The machine running iet has two NICs, the
> private interconnect should not be playing a role. It's IP address is
> 10.200.2.2/24 while the local subnet is 10.200.1.0/24 and the iet
> machine is IP address 10.200.1.6.

>From running strace on the iscsid daemon, it appears to be taking what
looks to me like an unexpected error. In the text below, look for the
first series of "poll" system calls. Just after that section is where I
initiate the iscsiadm login command. Then about 100 lines later on, it
issues a connect call that returns "-1 EINPROGRESS (Operation now in
progress)". Then it goes back to polling, this time on two sockets
including the one it just tried to connect on. In a little while it
probably reaches the retry limit and closes that socket. It makes
another connect attempt that fails with the same error. There are a
total of five connect attempts, but I have cut out some of the repeated
text.

strace output:
--
execve("/sbin/iscsid", ["iscsid", "-f", "-c", "/etc/iscsi/iscsid.conf"], [/* 29 
vars */]) = 0
brk(0)  = 0x28de000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2ac7443dc000
uname({sys="Linux", node="lh6.linush.net", ...}) = 0
access("/etc/ld.so.preload", R_OK)  = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)  = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=161740, ...}) = 0
mmap(NULL, 161740, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2ac7443dd000
close(3)= 0
open("/lib64/libc.so.6", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\332\341_2\0\0\0"..., 
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1713096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2ac744405000
mmap(0x325fe0, 3494168, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0x325fe0
mprotect(0x325ff4c000, 2097152, PROT_NONE) = 0
mmap(0x326014c000, 20480, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14c000) = 0x326014c000
mmap(0x3260151000, 16664, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3260151000
close(3)= 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2ac744406000
arch_prctl(ARCH_SET_FS, 0x2ac744406250) = 0
mprotect(0x326014c000, 16384, PROT_READ) = 0
mprotect(0x325f01b000, 4096, PROT_READ) = 0
munmap(0x2ac7443dd000, 161740)  = 0
rt_sigaction(SIGINT, {0x41ec00, [], SA_RESTORER, 0x325fe30280}, {SIG_DFL, [], 
0}, 8) = 0
rt_sigaction(SIGPIPE, {0x41ec00, [], SA_RESTORER, 0x325fe30280}, {SIG_DFL, [], 
0}, 8) = 0
rt_sigaction(SIGTERM, {0x41ec00, [], SA_RESTORER, 0x325fe30280}, {SIG_DFL, [], 
0}, 8) = 0
brk(0)  = 0x28de000
brk(0x28ff000)  = 0x28ff000
open("/sys/module/scsi_transport_iscsi/version", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2ac7443dd000
read(3, "2.0-871\n", 4096)  = 8
close(3)= 0
munmap(0x2ac7443dd000, 4096)= 0
write(2, "iscsid: ", 8iscsid: ) = 8
write(2, "transport class version 2.0-871."..., 55transport class version 
2.0-871. iscsid version 2.0-868) = 55
write(2, "\n", 1
)   = 1
umask(0177) = 022
socket(PF_FILE, SOCK_STREAM, 0) = 3
bind(3, {sa_family=AF_FILE, path=@"ISCSIADM_ABSTRACT_NAMESPACE"}, 110) = 0
listen(3, 32)   = 0
socket(PF_NETLINK, SOCK_RAW, 8) = 4
getpid()= 28308
bind(4, {sa_family=AF_NETLINK, pid=28308, groups=0001}, 12) = 0
open("/etc/iscsi/initiatorname.iscsi", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=50, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2ac7443dd000
read(5, "InitiatorName=iqn.2009-10.net.li"..., 4096) = 50
read(5, "", 4096)   = 0
close(5)= 0
munmap(0x2ac7443dd000, 4096)= 0
open("/etc/iscsi/initiatorname.iscsi", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=50, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x2ac7443dd000
read(5, "InitiatorName=iqn.2009-10.net.li"..., 4096) = 50
read(5, "", 4096)   = 0
close(5)= 0
munmap(0x2ac7443dd000, 4096)= 0
uname({sys="Linux", node="lh6.linush.net", ...}) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x2ac7444062e0) = 28309
getpriority(PRIO_PROCESS, 0)= 20
setpriority(PRIO_PROCESS, 0, 4294967286) = 0
getpriority(PRIO_PROCESS, 0)  

[CentOS] SVN hell!

2009-10-11 Thread Guy Boisvert
Hi!

I'm trying to install SVN on a latest version of CentOS (5.3).  I just 
did:

yum install subversion
yum install mod_dav_svn


Then i edited /etc/httpd/conf.d/subversion.conf

and here is the content:


DAV svn
SVNParentPath /var/www/svn

# Limit write permission to list of valid users.

   # Require SSL connection for password protection.
   # SSLRequireSSL

   AuthType Basic
   AuthName "SVN 1"
   AuthUserFile /etc/svn/svn-auth-conf
   Require valid-user




After, i did:
=
mkdir -p //var/www/svn/applitv
svnadmin create /var/www/svn/applitv
svn mkdir file://localhost/var/www/svn/applitv/trunk -m "create"
svn mkdir file://localhost/var/www/svn/applitv/branches -m "create"
svn mkdir file://localhost/var/www/svn/applitv/tags -m "create"
chown -R apache:apache /var/www/svn


Finally, i created the AUTH file:
=
htpasswd -cm /etc/svn/svn-auth-conf user1
htpasswd -m /etc/svn/svn-auth-conf user2




I use the following URL to connect to the server:
=
http://10.0.4.32/svn/applitv



And i receive the following response:
=
This XML file does not appear to have any style information associated 
with it. The document tree is shown below.

−



Could not open the requested SVN filesystem




In the log /etc/httpd/conf.d/subversion.conf, i have:
=
[Sun Oct 11 15:48:39 2009] [error] [client 10.0.2.98] (20014)Internal 
error: Can't open file '/var/www/svn/applitv/format': Permission denied
[Sun Oct 11 15:48:39 2009] [error] [client 10.0.2.98] Could not fetch 
resource information.  [500, #0]
[Sun Oct 11 15:48:39 2009] [error] [client 10.0.2.98] Could not open the 
requested SVN filesystem  [500, #13]
[Sun Oct 11 15:48:39 2009] [error] [client 10.0.2.98] Could not open the 
requested SVN filesystem  [500, #13]
[Sun Oct 11 15:48:39 2009] [error] [client 10.0.2.98] Could not fetch 
resource information.  [403, #0]
[Sun Oct 11 15:48:39 2009] [error] [client 10.0.2.98] (2)No such file or 
directory: The URI does not contain the name of a repository.  [403, 
#190001]


What i find very strange is this:
=
[r...@svn mnt]# ll /var/www/svn/applitv/format
-r--r--r-- 1 apache apache 2 Oct 11 11:40 /var/www/svn/applitv/format

The "format" file (which contains the value "5") is readable.

I searched a lot on Google but i still can't figure out what's going on. 
  Any help would be appreciated!


MISC INFOS:
===
[r...@svn www]# uname -a
Linux svn.[removed].com 2.6.18-164.el5xen #1 SMP Thu Sep 3 04:47:32 EDT 
2009 i686 athlon i386 GNU/Linux
(Guest running under Xen CentOS X64 Host)

[r...@svn www]# cat /etc/issue
CentOS release 5.3 (Final)

httpd-2.2.3-22.el5.centos.2
mod_dav_svn-1.4.2-4.el5_3.1


Thanks!

Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Possible to run iscsi-target and initiator on same server?

2009-10-11 Thread Ross Walker
On Oct 11, 2009, at 3:13 PM, C Linus Hicks  wrote:

> On Sun, 2009-10-11 at 12:36 -0400, Ross Walker wrote:
>> What does the ietd.conf, initiators.allow and targets.allow look  
>> like?
>>
>> What is your network setup? Are you using a vif on the loopback?
>
> There's no VIF on loopback. The machine running iet has two NICs, the
> private interconnect should not be playing a role. It's IP address is
> 10.200.2.2/24 while the local subnet is 10.200.1.0/24 and the iet
> machine is IP address 10.200.1.6.
>
> ietd.conf
> --
> Target iqn.2009-10.net.linush:storage.disk1.sys1.asmdg
>Lun 0 Path=/dev/sdb,Type=blockio,ScsiId=asmdg,ScsiSN=dg0
>HeaderDigest None
>DataDigest None
>MaxConnections 1
>InitialR2T No
>ImmediateData Yes
>MaxRecvDataSegmentLength 262144
>MaxXmitDataSegmentLength 262144
>MaxBurstLength 524288
>FirstBurstLength 262144
>MaxOutstandingR2T 8
>DataPDUInOrder Yes
>DataSequenceInOrder Yes
>ErrorRecoveryLevel 0
>
>
> initiators.allow
> 
> ALL 10.200.1.0/24
>
>
> targets.allow
> 
> ALL 10.200.1.0/24

I'm a little confused now, you are running IET and open-iscsi on the  
same host, buy using an external interface for the connection between  
the two instead of the loopback? You would get much better throughput  
on the loopback.

-Ross

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Possible to run iscsi-target and initiator on same server?

2009-10-11 Thread Ross Walker
On Oct 11, 2009, at 5:14 PM, C Linus Hicks  wrote:

> On Sun, 2009-10-11 at 15:13 -0400, C Linus Hicks wrote:
>> There's no VIF on loopback. The machine running iet has two NICs, the
>> private interconnect should not be playing a role. It's IP address is
>> 10.200.2.2/24 while the local subnet is 10.200.1.0/24 and the iet
>> machine is IP address 10.200.1.6.
>
>> From running strace on the iscsid daemon, it appears to be taking  
>> what
> looks to me like an unexpected error. In the text below, look for the
> first series of "poll" system calls. Just after that section is  
> where I
> initiate the iscsiadm login command. Then about 100 lines later on, it
> issues a connect call that returns "-1 EINPROGRESS (Operation now in
> progress)". Then it goes back to polling, this time on two sockets
> including the one it just tried to connect on. In a little while it
> probably reaches the retry limit and closes that socket. It makes
> another connect attempt that fails with the same error. There are a
> total of five connect attempts, but I have cut out some of the  
> repeated
> text.

I don't know much about open-iscsi, just IET and the best way to  
diagnose iSCSI problems is via tcpdump and wireshark not strace.

Is the iscsi-target service running?

-Ross

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SVN hell!

2009-10-11 Thread Ian Wilson
Hi Guy;


On Sun, Oct 11, 2009 at 5:41 PM, Guy Boisvert  wrote:
> What i find very strange is this:
> =
> [r...@svn mnt]# ll /var/www/svn/applitv/format
> -r--r--r-- 1 apache apache 2 Oct 11 11:40 /var/www/svn/applitv/format

Do you have SELinux enabled?

Also, what are the permissions on the underlying directory
(/var/www/svn/applitv)

Also, I would recommend updating the version of your subversion and
mod_dav_svn that's currently installed;  there was a security
vulnerability that could result in some nastyness (details at:
http://freshmeat.net/articles/red-hat-updated-subversion-packages-fix-multiple-security-issues
)

Ian

-- 
Ian Wilson
ian.m.wil...@gmail.com
http://ianwilson.org || http://www.ians-blog.com

Solving site load issues with database replication is a lot like
solving your own personal problems with heroin -- at first, it sorta
works, but after a while things just get out of hand.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SVN hell!

2009-10-11 Thread Clint Dilks
Guy Boisvert wrote:
> Hi!
>
>   I'm trying to install SVN on a latest version of CentOS (5.3).  I just 
> did:
>
> yum install subversion
> yum install mod_dav_svn
>
>
> Then i edited /etc/httpd/conf.d/subversion.conf
>
> and here is the content:
> 
> 
> DAV svn
> SVNParentPath /var/www/svn
>
> # Limit write permission to list of valid users.
> 
># Require SSL connection for password protection.
># SSLRequireSSL
>
>AuthType Basic
>AuthName "SVN 1"
>AuthUserFile /etc/svn/svn-auth-conf
>Require valid-user
> 
> 
>
>
> After, i did:
> =
> mkdir -p //var/www/svn/applitv
> svnadmin create /var/www/svn/applitv
> svn mkdir file://localhost/var/www/svn/applitv/trunk -m "create"
> svn mkdir file://localhost/var/www/svn/applitv/branches -m "create"
> svn mkdir file://localhost/var/www/svn/applitv/tags -m "create"
> chown -R apache:apache /var/www/svn
>
>
> Finally, i created the AUTH file:
> =
> htpasswd -cm /etc/svn/svn-auth-conf user1
> htpasswd -m /etc/svn/svn-auth-conf user2
>
>
>
>
> I use the following URL to connect to the server:
> =
> http://10.0.4.32/svn/applitv
>
>
>
> And i receive the following response:
> =
> This XML file does not appear to have any style information associated 
> with it. The document tree is shown below.
>
> −
> 
> 
> 
> Could not open the requested SVN filesystem
> 
> 
>
>
> In the log /etc/httpd/conf.d/subversion.conf, i have:
> =
> [Sun Oct 11 15:48:39 2009] [error] [client 10.0.2.98] (20014)Internal 
> error: Can't open file '/var/www/svn/applitv/format': Permission denied
> [Sun Oct 11 15:48:39 2009] [error] [client 10.0.2.98] Could not fetch 
> resource information.  [500, #0]
> [Sun Oct 11 15:48:39 2009] [error] [client 10.0.2.98] Could not open the 
> requested SVN filesystem  [500, #13]
> [Sun Oct 11 15:48:39 2009] [error] [client 10.0.2.98] Could not open the 
> requested SVN filesystem  [500, #13]
> [Sun Oct 11 15:48:39 2009] [error] [client 10.0.2.98] Could not fetch 
> resource information.  [403, #0]
> [Sun Oct 11 15:48:39 2009] [error] [client 10.0.2.98] (2)No such file or 
> directory: The URI does not contain the name of a repository.  [403, 
> #190001]
>
>
> What i find very strange is this:
> =
> [r...@svn mnt]# ll /var/www/svn/applitv/format
> -r--r--r-- 1 apache apache 2 Oct 11 11:40 /var/www/svn/applitv/format
>
> The "format" file (which contains the value "5") is readable.
>
> I searched a lot on Google but i still can't figure out what's going on. 
>   Any help would be appreciated!
>
>
> MISC INFOS:
> ===
> [r...@svn www]# uname -a
> Linux svn.[removed].com 2.6.18-164.el5xen #1 SMP Thu Sep 3 04:47:32 EDT 
> 2009 i686 athlon i386 GNU/Linux
> (Guest running under Xen CentOS X64 Host)
>
> [r...@svn www]# cat /etc/issue
> CentOS release 5.3 (Final)
>
> httpd-2.2.3-22.el5.centos.2
> mod_dav_svn-1.4.2-4.el5_3.1
>
>
> Thanks!
>
> Guy Boisvert, ing.
> IngTegration inc.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   
Are you running Security Enchanced Linux on the server ?  A quick search 
here at http://subversion.tigris.org/faq.html

Found this

chcon -R -h -t httpd_sys_content_t /PATH_TO_REPOSITORY/

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Launch applications on GNOME startup ?

2009-10-11 Thread Niki Kovacs
Jake Shipton a écrit :

>>
> Hi, assuming the application can be started from terminal without issues 
> you could go to:
> 
> System > Preferences > More Preferences > Sessions
> 
> And onto the "Start up" tab.
> 
> Click "Add" and here, you will need to enter a command (such as 
> /usr/bin/conky)
> 
> Not quite sure what conky is, as I've never used it, so this may or may 
> not work for you. But give it a try :-)
> 
> Hope this helps.
> 

Yeah it helped, thanks ! Conky is a nifty application that lets you 
display various information on your desktop.

check it out,

Niki
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Possible to run iscsi-target and initiator on same server?

2009-10-11 Thread C Linus Hicks
On Sun, 2009-10-11 at 17:43 -0400, Ross Walker wrote:
> I'm a little confused now, you are running IET and open-iscsi on the  
> same host, buy using an external interface for the connection between  
> the two instead of the loopback? You would get much better throughput  
> on the loopback.

Sure, that makes sense. Given that /var/lib/iscsi/ifaces/iface0 seems to
require a MAC address, I did not think there was a way to do that.
Perhaps you could enlighten me...


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SVN hell!

2009-10-11 Thread Les Mikesell
Guy Boisvert wrote:
> Hi!
> 
>   I'm trying to install SVN on a latest version of CentOS (5.3).  I just 
> did:
> 
> yum install subversion
> yum install mod_dav_svn

Your permission problem is probably selinux-related, but aside from that, the 
version of subversion in the centos repo is ancient.  If you are just starting 
out, I'd use whatever 1.6 version you can find in rpmforge or elsewhere.

-- 
   Les Mikesell
lesmikes...@gmail.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Possible to run iscsi-target and initiator on same server?

2009-10-11 Thread C Linus Hicks
On Sun, 2009-10-11 at 17:51 -0400, Ross Walker wrote:
> I don't know much about open-iscsi, just IET and the best way to  
> diagnose iSCSI problems is via tcpdump and wireshark not strace.
> 
> Is the iscsi-target service running?

[r...@lh6 iscsi]# netstat -nlp | grep 3260
tcp0  0 0.0.0.0:32600.0.0.0:*   
LISTEN  16475/ietd  
tcp0  0 :::3260 :::*
LISTEN  16475/ietd  


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SVN hell!

2009-10-11 Thread Guy Boisvert
Ian Wilson wrote:
> Hi Guy;
> 
> 
> On Sun, Oct 11, 2009 at 5:41 PM, Guy Boisvert  
> wrote:
>> What i find very strange is this:
>> =
>> [r...@svn mnt]# ll /var/www/svn/applitv/format
>> -r--r--r-- 1 apache apache 2 Oct 11 11:40 /var/www/svn/applitv/format
> 
> Do you have SELinux enabled?
> 
> Also, what are the permissions on the underlying directory
> (/var/www/svn/applitv)
> 
> Also, I would recommend updating the version of your subversion and
> mod_dav_svn that's currently installed;  there was a security
> vulnerability that could result in some nastyness (details at:
> http://freshmeat.net/articles/red-hat-updated-subversion-packages-fix-multiple-security-issues
> )
> 
> Ian
> 


[r...@svn ~]# cat /selinux/enforce
0
[r...@svn ~]#

So it's permissive mode (0).  I checked that before posting!  Thanks for 
your hint anyway.

As for updating subversion and mod_dav_svn, i have the latest versions 
from CentOS repositories and this server is only for internal use so i 
don't think i'll do it for now.  Thanks again for the hint.


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SVN hell!

2009-10-11 Thread Clint Dilks
Guy Boisvert wrote:
> Ian Wilson wrote:
>   
>> Hi Guy;
>>
>>
>> On Sun, Oct 11, 2009 at 5:41 PM, Guy Boisvert  
>> wrote:
>> 
>>> What i find very strange is this:
>>> =
>>> [r...@svn mnt]# ll /var/www/svn/applitv/format
>>> -r--r--r-- 1 apache apache 2 Oct 11 11:40 /var/www/svn/applitv/format
>>>   
>> Do you have SELinux enabled?
>>
>> Also, what are the permissions on the underlying directory
>> (/var/www/svn/applitv)
>>
>> Also, I would recommend updating the version of your subversion and
>> mod_dav_svn that's currently installed;  there was a security
>> vulnerability that could result in some nastyness (details at:
>> http://freshmeat.net/articles/red-hat-updated-subversion-packages-fix-multiple-security-issues
>> )
>>
>> Ian
>>
>> 
>
>
> [r...@svn ~]# cat /selinux/enforce
> 0
> [r...@svn ~]#
>
> So it's permissive mode (0).  I checked that before posting!  Thanks for 
> your hint anyway.
>
> As for updating subversion and mod_dav_svn, i have the latest versions 
> from CentOS repositories and this server is only for internal use so i 
> don't think i'll do it for now.  Thanks again for the hint.
>
>
> Guy Boisvert, ing.
> IngTegration inc.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>   
Hi,

There have still situations where permissive mode is not the same as 
disabled.  I suggest that you try disabling to see if the the behavior 
is different.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SVN hell!

2009-10-11 Thread Guy Boisvert
Clint Dilks wrote:
>   
> Hi,
> 
> There have still situations where permissive mode is not the same as 
> disabled.  I suggest that you try disabling to see if the the behavior 
> is different.

vim /etc/selinux/config
==> SELINUX=disabled

Rebooted, then same result:
===
(Firefox: http://10.0.4.32/svn/applitv)
This XML file does not appear to have any style information associated 
with it. The document tree is shown below.

−



Could not open the requested SVN filesystem




[r...@svn ~]# tail -6 /var/log/httpd/error_log
[Sun Oct 11 18:56:26 2009] [error] [client 10.0.2.4] (20014)Internal 
error: Can't open file '/var/www/svn/applitv/format': Permission denied
[Sun Oct 11 18:56:26 2009] [error] [client 10.0.2.4] Could not fetch 
resource information.  [500, #0]
[Sun Oct 11 18:56:26 2009] [error] [client 10.0.2.4] Could not open the 
requested SVN filesystem  [500, #13]
[Sun Oct 11 18:56:26 2009] [error] [client 10.0.2.4] Could not open the 
requested SVN filesystem  [500, #13]
[Sun Oct 11 18:56:26 2009] [error] [client 10.0.2.4] File does not 
exist: /var/www/html/favicon.ico
[Sun Oct 11 18:56:29 2009] [error] [client 10.0.2.4] File does not 
exist: /var/www/html/favicon.ico




[r...@svn ~]# ll /var/www/svn/applitv
total 56
drwxr-xr-x 2 apache apache 4096 Oct 11 11:58 conf
drwxr-xr-x 2 apache apache 4096 Oct 11 11:40 dav
drwxr-sr-x 5 apache apache 4096 Oct 11 11:40 db
-r--r--r-- 1 apache apache2 Oct 11 11:40 format
drwxr-xr-x 2 apache apache 4096 Oct 11 11:40 hooks
drwxr-xr-x 2 apache apache 4096 Oct 11 11:40 locks
-rw-r--r-- 1 apache apache  229 Oct 11 11:40 README.txt

[r...@svn ~]# ll /var/www/svn
total 16
drwxr-xr-x 7 apache apache 4096 Oct 11 11:40 applitv
drw-rw-r-- 7 apache apache 4096 Oct 11 10:31 repos


So i'm stumped!


Maybe i'll have to use the advice from Les Mikesell & Ian Wilson and 
configure SourceForge...

Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] current howto for DSL?

2009-10-11 Thread mark
Drew wrote:
>> A lot changes in 7 years
>>
>> Anyway, so I just fire up adsl-setup, and it should walk me through; then
>> run adsl-start? At that point, should I be able to browse to Verizon's
>> setup your account website?
> 
> If the ADSL modem provides an Ethernet jack w/ DHCP then it's usually
> even simpler then that. Just plug your computer in, fire up the DHCP
> client and away you go. Both our local ISPs, Telus (ADSL) and Shaw
> (Cable), use that sort of setup and I've never had to touch the
> defaulting networking config, other then the firewall, on a linux box.

Actually, I've read that that's going away. Anyway, I wasn't, but I ran 
adsl-setup, then adsl-connect, and I was in business.

mark

-- 
"...As I got about three steps past, he registered. Long brown
hair like a hippie. Big full beard too. Broad shoulders and
sensative features. Work shirt, jeans, and beat-up boots. A
carpenter's tool belt around his hips. And he was on a crutch."
- Lady Slings the Booze, Spider Robinson
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Resolv.conf with multiple adaptors on multiple networks

2009-10-11 Thread mark
Kemp, Larry wrote:
> That will work great. One box...two NICS, running ipchains. If you are

Um, did you meant iptables? ipchains is a tiny bit dated

mark

-- 
"...As I got about three steps past, he registered. Long brown
hair like a hippie. Big full beard too. Broad shoulders and
sensative features. Work shirt, jeans, and beat-up boots. A
carpenter's tool belt around his hips. And he was on a crutch."
- Lady Slings the Booze, Spider Robinson
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SVN hell!

2009-10-11 Thread Ian Wilson
On Sun, Oct 11, 2009 at 7:05 PM, Guy Boisvert  wrote:
> So i'm stumped!

That's ok.

Have you tried switching to the apache user ('su - apache') to see if
you can touch a file/read files in that directory?  I'm still thinking
this is a permissions issue.

Ian
-- 
Ian Wilson
ian.m.wil...@gmail.com
http://ianwilson.org || http://www.ians-blog.com

Solving site load issues with database replication is a lot like
solving your own personal problems with heroin -- at first, it sorta
works, but after a while things just get out of hand.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Simple way to banish IP addresses ?

2009-10-11 Thread mark
Toby Bluhm wrote:
> Toby Bluhm wrote:
>> Niki Kovacs wrote:
>>>
>>> I just set up a web server... and my bandwidth is being eaten by some 
>>> chinese folks trying to brute-force-ssh their way into the machine.
>>>
>>> Is there a simple way to banish either single IP addresses or, maybe 
>>> even better, whole IP classes ? I know it's feasible with iptables, but 
>>> is there something more easily configurable ?

Let me note that at work, the security group has a script set up that does it 
automagically, after so many attempts.

And every morning or two in the logs, I see attacks from China, or Mexico, or 
Spain, or Taiwan... but then, we are a well-known site.

mark, supporting the NIH

-- 
"The Pluto Files", Neil Degrasse Tyson.
Pluto shall rise again! - whitroth
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SVN hell!

2009-10-11 Thread Peter Hinse
Am 12.10.09 01:05, schrieb Guy Boisvert:

> [r...@svn ~]# ll /var/www/svn
> total 16
> drwxr-xr-x 7 apache apache 4096 Oct 11 11:40 applitv
> drw-rw-r-- 7 apache apache 4096 Oct 11 10:31 repos

My repos directory has permissions 0750 - try to change into each
directory as user apache und touch files there as suggested by Ian.

Peter.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 10 Year old IT Infrastructure

2009-10-11 Thread mark
Brian Mathis wrote:
> On Sat, Oct 10, 2009 at 2:14 PM, Giovanni P. Tirloni  
> wrote:
>> On Oct 10, 2009, at 3:08 PM, Alan McKay wrote:
>>
 The better solution would be to make sure you are prepared for when
 the hardware does fail.  Inform the client that you understand that

>>> This is by far the best approach if you want to bring them along.  It
>>> has to be THEIR decision, so the best way to get them to make that
>>> decision is to sit back and say "OK, if you don't want to upgrade that
>>> is fine, but we still have to make sure we are prepared for when that
>>> hardware fails, so here is what we'll do ..."
>>>
>>> That will probably scare the crap out of them enough to change their
>>> minds :-)

Got it: what you need to do is set up a meeting to prepare a disaster recovery 
plan. Most business have, or are willing to look at them (at least 
post-Katrina). Make sure that they know just how *long* it will take to bring 
new systems online if there's a fire, or flood, or hurricane, or twister

Then bring up the age of the servers and maintenance. As part of the plan, of 
course, spec out replacement hardware, and any performance increases it would 
bring

mark

mark
-- 
Right, breathing is addictive, as shown by the withdrawal
symptoms. - Steve Gruenwald
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Launch applications on GNOME startup ?

2009-10-11 Thread Niki Kovacs
Jake Shipton a écrit :
> 
> Not quite sure what conky is, as I've never used it, so this may or may 
> not work for you. But give it a try :-)
> 

Here's an example of what Conky may look like, after a bit of tweaking:

http://www.kikinovak.net/images/conky.png

Cheers,

Niki
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PHP 5.2

2009-10-11 Thread Karanbir Singh
On 10/10/09 01:23, mbneto wrote:
> I'll have a look.   I was hoping that the RH based rpms would be
> available to maintain the same update process.

There was and has been some uncertainity around the redhat webappstack 
packages. I think were at a stage where much of that does not matter 
anymore. So moving to setting up and managing them in a more elegant way 
than the testing repos should be possible.

in terms of timeline - there is a slightly wider conversation that needs 
to be had around the whole idea of 'stacks' and what is and isnt ok for 
centos to work with.

since there is a clear product from upstream, might be worthwhile 
pushing with the WAS stuff first and then moving to expand into other 
stacks.

- KB
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SVN hell! [RESOLVED]

2009-10-11 Thread Guy Boisvert
Peter Hinse wrote:
> Am 12.10.09 01:05, schrieb Guy Boisvert:
> 
>> [r...@svn ~]# ll /var/www/svn
>> total 16
>> drwxr-xr-x 7 apache apache 4096 Oct 11 11:40 applitv
>> drw-rw-r-- 7 apache apache 4096 Oct 11 10:31 repos
> 
> My repos directory has permissions 0750 - try to change into each
> directory as user apache und touch files there as suggested by Ian.
> 
> Peter.

Bingo!  You were right on it Peter!  Thanks!

I dunno why i didn't see it before but /var/www/svn was 0550...

There are days like that, where it's like you can't see your noze in 
your own face...


Apologies to the list for all this and thanks to everybody that helped me.


Guy Boisvert, ing.
IngTegration inc.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Simple way to banish IP addresses ?

2009-10-11 Thread Oliver Ransom
The best way to do it is with iptables. If you want something "more  
easily configurable" then some front end for it would be most useful.  
Webmin most likely provides a graphical interface to do it.

Adding rules to drop traffic from IPs or whole subnets is not that  
difficult if you have a basic understand of IPv4 networking.

There are some well documented examples on this page (including one to  
do what you're after):
http://www.dd-wrt.com/wiki/index.php/Iptables_command#Examples

Regards,
Oliver

On 12/10/2009, at 9:52 AM, mark wrote:

> Toby Bluhm wrote:
>> Toby Bluhm wrote:
>>> Niki Kovacs wrote:

 I just set up a web server... and my bandwidth is being eaten by  
 some
 chinese folks trying to brute-force-ssh their way into the machine.

 Is there a simple way to banish either single IP addresses or,  
 maybe
 even better, whole IP classes ? I know it's feasible with  
 iptables, but
 is there something more easily configurable ?
> 
> Let me note that at work, the security group has a script set up  
> that does it
> automagically, after so many attempts.
>
> And every morning or two in the logs, I see attacks from China, or  
> Mexico, or
> Spain, or Taiwan... but then, we are a well-known site.
>
>   mark, supporting the NIH
>
> -- 
> "The Pluto Files", Neil Degrasse Tyson.
> Pluto shall rise again! - whitroth
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Simple way to banish IP addresses ?

2009-10-11 Thread Lucian @ lastdot.org
On Fri, Oct 9, 2009 at 7:35 PM, Niki Kovacs  wrote:
> Hi,
>
> I just set up a web server... and my bandwidth is being eaten by some
> chinese folks trying to brute-force-ssh their way into the machine.
>
> Is there a simple way to banish either single IP addresses or, maybe
> even better, whole IP classes ? I know it's feasible with iptables, but
> is there something more easily configurable ?
>
> Cheers,
>
> Niki
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

The best way is iptables.
If you know you dont/wont have any relations within China/Taiwan/etc
you could ban whole subnets.
It would help to use ipset in conjunction with iptables, just for
optimisation's sake :)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Possible to run iscsi-target and initiator on same server?

2009-10-11 Thread Ross Walker
On Oct 11, 2009, at 6:22 PM, C Linus Hicks  wrote:

> On Sun, 2009-10-11 at 17:51 -0400, Ross Walker wrote:
>> I don't know much about open-iscsi, just IET and the best way to
>> diagnose iSCSI problems is via tcpdump and wireshark not strace.
>>
>> Is the iscsi-target service running?
>
> [r...@lh6 iscsi]# netstat -nlp | grep 3260
> tcp0  0 0.0.0.0:3260 
> 0.0.0.0:*   LISTEN  16475/ietd
> tcp0  0 ::: 
> 3260 :::*LISTEN   
> 16475/ietd

Can you send a short tcpdump between initiator and target during  
discovery/login?

-Ross

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 10 Year old IT Infrastructure

2009-10-11 Thread R-Elists

> 
> Specific arguments I can think of would be:
> - Hard/Impossible to find replacement hardware
> - Lack of support for both H/W and S/W
> - Possibly unable to run current versions of CentOS
> - Higher probability of hardware failures over time
> - Performance bottlenecks
> 
> Any other thoughts?
> 
> Shawn
> 
> __

Shawn,

i dont think you mentioned the specific hardware involved...

i.e. brand and model number and config

it makes a difference in how we would approach it...

mainly because we have some 10 year old and older hardware that has been
running rock solid it's entire life and we expect several more years out of
some of it...

we keep hot and cold spares of everything though...

to be semi generic, i am talking about business / industrial rackmount
Compaq & HP servers, and some telco quality Cisco of course...

:-)

please do share...

 - rh

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Possible to run iscsi-target and initiator on same server?

2009-10-11 Thread C Linus Hicks
On Sun, 2009-10-11 at 23:26 -0400, Ross Walker wrote:
> Can you send a short tcpdump between initiator and target during  
> discovery/login?

Sure. Note that all this traffic is on the "lo" interface.

The discovery command and tcpdump output:

[r...@lh6 ~]# iscsiadm -m discovery -t st -p 10.200.1.6:3260 -P 1
Target: iqn.2009-10.net.linush:storage.disk1.sys1.asmdg
Portal: 10.200.1.6:3260,1
   Iface Name: iface0


[r...@lh6 iscsi]# tcpdump -i lo -n -vv
00:03:04.584545 IP (tos 0x0, ttl  64, id 55720, offset 0, flags [DF], proto: 
TCP (6), length: 60) 10.200.1.6.20331 > 10.200.1.6.iscsi-target: S, cksum 
0x4851 (correct), 3727115272:3727115272(0) win 32792 
00:03:04.584547 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF], proto: TCP 
(6), length: 60) 10.200.1.6.iscsi-target > 10.200.1.6.20331: S, cksum 0x6389 
(correct), 3721615280:3721615280(0) ack 3727115273 win 32768 
00:03:04.584559 IP (tos 0x0, ttl  64, id 55721, offset 0, flags [DF], proto: 
TCP (6), length: 52) 10.200.1.6.20331 > 10.200.1.6.iscsi-target: ., cksum 
0x4c2e (correct), 1:1(0) ack 1 win 129 
00:03:04.584608 IP (tos 0x0, ttl  64, id 55722, offset 0, flags [DF], proto: 
TCP (6), length: 100) 10.200.1.6.20331 > 10.200.1.6.iscsi-target: P 1:49(48) 
ack 1 win 129 
00:03:04.584615 IP (tos 0x0, ttl  64, id 51728, offset 0, flags [DF], proto: 
TCP (6), length: 52) 10.200.1.6.iscsi-target > 10.200.1.6.20331: ., cksum 
0x4bfd (correct), 1:1(0) ack 49 win 128 
00:03:04.584623 IP (tos 0x0, ttl  64, id 55723, offset 0, flags [DF], proto: 
TCP (6), length: 304) 10.200.1.6.20331 > 10.200.1.6.iscsi-target: P 49:301(252) 
ack 1 win 129 
00:03:04.584626 IP (tos 0x0, ttl  64, id 51729, offset 0, flags [DF], proto: 
TCP (6), length: 52) 10.200.1.6.iscsi-target > 10.200.1.6.20331: ., cksum 
0x4afc (correct), 1:1(0) ack 301 win 133 
00:03:04.584668 IP (tos 0x0, ttl  64, id 51730, offset 0, flags [DF], proto: 
TCP (6), length: 244) 10.200.1.6.iscsi-target > 10.200.1.6.20331: P 1:193(192) 
ack 301 win 133 
00:03:04.584684 IP (tos 0x0, ttl  64, id 55724, offset 0, flags [DF], proto: 
TCP (6), length: 52) 10.200.1.6.20331 > 10.200.1.6.iscsi-target: ., cksum 
0x4a3c (correct), 301:301(0) ack 193 win 133 
00:03:04.584706 IP (tos 0x0, ttl  64, id 55725, offset 0, flags [DF], proto: 
TCP (6), length: 100) 10.200.1.6.20331 > 10.200.1.6.iscsi-target: P 301:349(48) 
ack 193 win 133 
00:03:04.584714 IP (tos 0x0, ttl  64, id 55726, offset 0, flags [DF], proto: 
TCP (6), length: 68) 10.200.1.6.20331 > 10.200.1.6.iscsi-target: P, cksum 
0x17d2 (incorrect (-> 0x3b43), 349:365(16) ack 193 win 133 
00:03:04.584719 IP (tos 0x0, ttl  64, id 51731, offset 0, flags [DF], proto: 
TCP (6), length: 52) 10.200.1.6.iscsi-target > 10.200.1.6.20331: ., cksum 
0x49fc (correct), 193:193(0) ack 365 win 133 
00:03:04.584908 IP (tos 0x0, ttl  64, id 51732, offset 0, flags [DF], proto: 
TCP (6), length: 192) 10.200.1.6.iscsi-target > 10.200.1.6.20331: P 
193:333(140) ack 365 win 133 
00:03:04.586785 IP (tos 0x0, ttl  64, id 55727, offset 0, flags [DF], proto: 
TCP (6), length: 52) 10.200.1.6.20331 > 10.200.1.6.iscsi-target: F, cksum 
0x4969 (correct), 365:365(0) ack 333 win 137 
00:03:04.586807 IP (tos 0x0, ttl  64, id 51733, offset 0, flags [DF], proto: 
TCP (6), length: 52) 10.200.1.6.iscsi-target > 10.200.1.6.20331: F, cksum 
0x496a (correct), 333:333(0) ack 366 win 133 
00:03:04.586816 IP (tos 0x0, ttl  64, id 55728, offset 0, flags [DF], proto: 
TCP (6), length: 52) 10.200.1.6.20331 > 10.200.1.6.iscsi-target: ., cksum 
0x4966 (correct), 366:366(0) ack 334 win 137 

16 packets captured
32 packets received by filter
0 packets dropped by kernel


--

Check the timestamps and you will see either three or six second delays
between groups of three packets.

[r...@lh6 ~]# iscsiadm -m node -T 
iqn.2009-10.net.linush:storage.disk1.sys1.asmdg -p 10.200.1.6:3260 -I iface0 -l 
Logging in to [iface: iface0, target: 
iqn.2009-10.net.linush:storage.disk1.sys1.asmdg, portal: 10.200.1.6,3260]
iscsiadm: Could not login to [iface: iface0, target: 
iqn.2009-10.net.linush:storage.disk1.sys1.asmdg, portal: 10.200.1.6,3260]: 
iscsiadm: initiator reported error (8 - connection timed out)


[r...@lh6 iscsi]# tcpdump -i lo -n -vv
00:01:07.521652 IP (tos 0x0, ttl  64, id 4451, offset 0, flags [DF], proto: TCP 
(6), length: 60) 10.200.1.6.20326 > 10.200.1.6.iscsi-target: S, cksum 0x9796 
(correct), 3606955323:3606955323(0) win 32792 
00:01:07.521653 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF], proto: TCP 
(6), length: 60) 10.200.1.6.iscsi-target > 10.200.1.6.20326: S, cksum 0xe4a1 
(correct), 3609851344:3609851344(0) ack 3606955324 win 32768 
00:01:07.521661 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF], proto: TCP 
(6), length: 40) 10.200.1.6.20326 > 10.200.1.6.iscsi-target: R, cksum 0x9fe8 
(correct), 3606955324:3606955324(0) win 0
00:01:10.521958 IP (tos 0x0, ttl  64, id 4452, offset 0, flags [DF], proto: TCP 
(6

Re: [CentOS] 10 Year old IT Infrastructure

2009-10-11 Thread James Matthews
Approach him like this. Tell him if he plans on moving his business forward
within the next 5 years he should think accordingly.

On Sun, Oct 11, 2009 at 11:26 PM, R-Elists  wrote:

>
> >
> > Specific arguments I can think of would be:
> > - Hard/Impossible to find replacement hardware
> > - Lack of support for both H/W and S/W
> > - Possibly unable to run current versions of CentOS
> > - Higher probability of hardware failures over time
> > - Performance bottlenecks
> >
> > Any other thoughts?
> >
> > Shawn
> >
> > __
>
> Shawn,
>
> i dont think you mentioned the specific hardware involved...
>
> i.e. brand and model number and config
>
> it makes a difference in how we would approach it...
>
> mainly because we have some 10 year old and older hardware that has been
> running rock solid it's entire life and we expect several more years out of
> some of it...
>
> we keep hot and cold spares of everything though...
>
> to be semi generic, i am talking about business / industrial rackmount
> Compaq & HP servers, and some telco quality Cisco of course...
>
> :-)
>
> please do share...
>
>  - rh
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
http://www.goldwatches.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 10 Year old IT Infrastructure

2009-10-11 Thread Stephen Nelson-Smith
Morning,

On 10 Oct 2009, at 17:12, Brian Mathis wrote:
> The better solution would be to make sure you are prepared for when
> the hardware does fail.  Inform the client that you understand that
> they don't want to upgrade the servers, and that hardware failure is
> not a case of "if" but "when".  Lay out a plan to them describing what
> would happen when that occurs, and how you will make sure that their
> downtime is minimal.

Can't agree more.  You want to present to the client that you care  
first and foremost about their business needs.  It's a simple  
calculation - work out what's involved in maintaining the old systems,  
and compare that to the cost of upgrading.  These sorts of  
conversations are often about the difference between operational  
expenditure and capital expenditure - your client may be willing to  
pay more long term support costs, and not be prepared to buy new  
hardware and pay you to upgrade the systems.

It sounds to me that you want to upgrade because you're assuming it's  
the right thing to do.  That's a big assumption - go through the  
business cases, and make sure your client understands you're on their  
side which ever way the decision goes.

S.
--
Stephen Nelson-Smith,
Technical Director,
Atalanta Systems Ltd,
http://www.atalanta-systems.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] PHP 5.2

2009-10-11 Thread Stephen Nelson-Smith

On 10 Oct 2009, at 01:23, mbneto wrote:

> Hi Sergey,
>
> I'll have a look.   I was hoping that the RH based rpms would be  
> available to maintain the same update process.

Why not just build the packages yourself, until the project gets  
webstack available?

http://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/RHWAS/SRPMS/php-5.2.9-2.el5s2.src.rpm

S.
--
Stephen Nelson-Smith,
Technical Director,
Atalanta Systems Ltd,
http://www.atalanta-systems.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos