redhat-list Digest, Vol 84, Issue 5

amiteshsahay at aol.com amiteshsahay at aol.com
Mon Feb 7 14:04:00 UTC 2011


 

  @Mark,



I am well aware that this mailing list is purely for REDHAT, but you see there are system admins who work on both redhat and windows platform, so my question is fro them, and not for a egoist like you.Instead of suggesting unwanted things and wasting time mind your business. So please if you do not have answer to my question then please do not bother to use your figures on the keyboard. You first of all go to a nursery school, learn how to behave in the public forum... My request to admin, please remove this pathetic rude person from the mailing list.

Regards, 
Amitesh Sahay



 

 

-----Original Message-----
From: redhat-list-request <redhat-list-request at redhat.com>
To: redhat-list <redhat-list at redhat.com>
Sent: Sat, Feb 5, 2011 10:33 pm
Subject: redhat-list Digest, Vol 84, Issue 5


Send redhat-list mailing list submissions to

	redhat-list at redhat.com



To subscribe or unsubscribe via the World Wide Web, visit

	https://www.redhat.com/mailman/listinfo/redhat-list

or, via email, send a message with subject or body 'help' to

	redhat-list-request at redhat.com



You can reach the person managing the list at

	redhat-list-owner at redhat.com



When replying, please edit your Subject line so it is more specific

than "Re: Contents of redhat-list digest..."





Today's Topics:



   1. Re: RHEL4 Sun Java Messaging Server deadlock (was:

      redhat-list	Digest, Vol 84, Issue 3) (???? ?????? (Imed Chihi))

   2. error:- Web Server terminated while loading (amiteshsahay at aol.com)

   3. Re: error:- Web Server terminated while loading - remove from

      list,	please (m.roth at 5-cent.us)

   4. Issue with SSH (Matty Sarro)

   5. Re: Issue with SSH (Madan Thapa)

   6. Re: Issue with SSH (m.roth at 5-cent.us)

   7. Re: Issue with SSH (Matty Sarro)

   8. Re: Issue with SSH (Madan Thapa)

   9. adding a printer with system-config-printer (Martini, Dave)

  10. Re: adding a printer with system-config-printer (Abhilash abhi)

  11. How to add a perl script as a system startup daemon in redhat

      (Abhilash abhi)

  12. Re: How to add a perl script as a system startup daemon in

      redhat (Kyle O'Donnell)

  13. Re: How to add a perl script as a system startup daemon in

      redhat (Carl T. Miller)





----------------------------------------------------------------------



Message: 1

Date: Fri, 4 Feb 2011 20:47:27 +0100

From: (Imed Chihi) ???? ?????? 	<imed.chihi at gmail.com>

To: redhat-list at redhat.com

Subject: Re: RHEL4 Sun Java Messaging Server deadlock (was:

	redhat-list	Digest, Vol 84, Issue 3)

Message-ID:

	<AANLkTikZOdvX-tTkd0Z133bJTh+ooqWQp50A+eaHKgX+ at mail.gmail.com>

Content-Type: text/plain; charset=UTF-8



> Date: Wed, 02 Feb 2011 13:14:02 -0500

> From: John Dalbec <jpdalbec at ysu.edu>

> To: redhat-list at redhat.com

> Subject: Re: RHEL4 Sun Java Messaging Server deadlock

> Message-ID: <4D499EEA.5000002 at ysu.edu>

> Content-Type: text/plain; charset=ISO-8859-1; format=flowed

>

> On 1/6/2011 12:00 PM, redhat-list-request at redhat.com wrote:

>> Message: 3

>> Date: Wed, 5 Jan 2011 22:37:29 +0100

>> From: (Imed Chihi) ???? ?????? ? ? ? ?<imed.chihi at gmail.com>

>> To:redhat-list at redhat.com

>> Subject: Re: RHEL4 Sun Java Messaging Server deadlock (was:

>> ? ? ? redhat-list ? ? Digest, Vol 83, Issue 3)

>>> > ?Date: Tue, 04 Jan 2011 12:46:47 -0500

>>> > ?From: John Dalbec<jpdalbec at ysu.edu>

>>> > ?To:redhat-list at redhat.com

>>> > ?Subject: Re: redhat-list Digest, Vol 83, Issue 2

>>> >

>>> > ?I got Alt+SysRq+t output, but it looks corrupted in /var/log/messages.

>>> > ?I suspect that syslogd couldn't keep up with klogd and the ring buffer

>>> > ?wrapped. ?The system is not starved for CPU, but then I have 24 cores.

>>> > ?If 32-bit +> ?16GB is trouble then why does the kernel-hugemem package

>>> > ?even exist? ?Or is that actually a 64-bit kernel?

>> The kernel-hugemem is a 32-bit-only kernel. ?When RHEL 4 was released

>> (around February 2005), 64-bit systems we not that ubiquitous. ?It

>> still made sense to use a 32-bit OS with the typical 8 GB servers.

>>

>> The context has changed now, and Red Hat no longer support more than

>> 16 GB on 32-bit platforms as of RHEL 5.

>>

>> The output from Alt+SysRq+m should always fit in a kernel log buffer.

>> Try collecting that one to be certain that the issue is related to VM

>> management. ?However, I'd seriously suggest moving to RHEL 4 for

>> x86_64 as you should still be able to run your 32-bit application,

>> minus a whole class of VM hassles.

>>

>> ? -Imed

>

> The SysRq-m output had some per-cpu stuff that I don't trust because

> every core was reporting the same numbers. ?The system-wide information

> follows. ?Under DMA it says "all_unreclaimable? yes" but there appears

> to be plenty of free space. ?Do you see any problems?

> Thanks,

> John

>

> Free pages: ? ?26020480kB (25984832kB HighMem)

> Active:719264 inactive:873204 dirty:2982 writeback:0 unstable:0

> free:6505120 slab:198687 mapped:367369 pagetables:6741

> DMA free:12528kB min:32kB low:64kB high:96kB active:0kB inactive:0kB

> present:16384kB pages_scanned:0 all_unreclaimable? yes

> protections[]: 0 0 0

> Normal free:23120kB min:7976kB low:15952kB high:23928kB active:443852kB

> inactive:505268kB present:4014080kB pages_scanned:0 all_unreclaimable? no

> protections[]: 0 0 0

> HighMem free:25984832kB min:512kB low:1024kB high:1536kB

> active:2433204kB inactive:2987548kB present:31621120kB pages_scanned:0

> all_unreclaimable? no

> protections[]: 0 0 0

> DMA: 4*4kB 6*8kB 3*16kB 2*32kB 3*64kB 3*128kB 2*256kB 0*512kB 1*1024kB

> 1*2048kB 2*4096kB = 12528kB

> Normal: 1982*4kB 867*8kB 22*16kB 7*32kB 4*64kB 2*128kB 2*256kB 1*512kB

> 2*1024kB 2*2048kB 0*4096kB = 23120kB

> HighMem: 6*4kB 8975*8kB 22157*16kB 25695*32kB 44932*64kB 21426*128kB

> 9300*256kB 4706*512kB 3330*1024kB 1529*2048kB 1901*4096kB = 25984832kB

> 1293500 pagecache pages

> Swap cache: add 0, delete 0, find 0/0, race 0+0

> 0 bounce buffer pages

> Free swap: ? ? ? 16777208kB

> 8912896 pages of RAM

> 7864320 pages of HIGHMEM

> 597583 reserved pages

> 719482 pages shared

> 0 pages swap cached



all_unreclaimable is a flag which, when set, tells the virtual memory

daemons not to bother scanning pages in the zone in question in order

to try to free memory.  Anyway, the DMA zone is insignificantly tiny

(16MB) that it cannot possibly have any effect in a 32GB machine.



By the way, there seems to be plenty of free HighMem memory, so the

problem cannot possibly be due to overcommit.



Based on the above, I could suggest two theories to explain what's happening:



1. you have a Normal zone starvation

Try to set vm.lower_zone_protection to something large enough like 100 MB:

sysctl -w vm.lower_zone_protection 100

If this theory is correct, then the setting should fix the issue.



2. you have a pagecache flushing storm

A huge size of dirty pages from the IO of large data sets would stall

the system while being sync'ed to disk.  This typically occurs once

the pagecache size has grown to significant sizes.  Mounting the

filesystem in sync mode (mount -oremount,sync /dev/device) would "fix"

the issue.  However, synchronous IO is painfully slow, but the test

would at least tell where the problem is.  If this turns out to be the

problem, then we could think of other less annoying options for a

bearable fix.



Good luck,



 -Imed



-- 

Imed Chihi - ???? ??????

http://perso.hexabyte.tn/ichihi/







------------------------------



Message: 2

Date: Fri, 4 Feb 2011 15:07:10 -0500 (EST)

From: amiteshsahay at aol.com

To: redhat-list at redhat.com

Subject: error:- Web Server terminated while loading

Message-ID: <8CD92BE3D67FA4C-1630-F771 at webmail-d062.sysops.aol.com>

Content-Type: text/plain; charset="utf-8"





 



 

Dear Member, 

Hello,

 

I am working with BMC providing support to its clients forthe product called 

(PERFORMANCE MANAGER ? PATROL), it?s a server monitoringproduct. I am trying to 

install a component of this product on WINDOWS SERVER2003 environment known as 

(AGENT). I am new to windows way of installation. I amgetting an error :- ?Web 

Server terminated whileloading?. Please anybody who is aware of this product, 

and could help me outfrom this situation with explaining the logic behind it.

 

Thank you in advance.

 

Regards, 

Amitesh Sahay







------------------------------



Message: 3

Date: Fri, 4 Feb 2011 15:19:52 -0500

From: m.roth at 5-cent.us

To: "General Red Hat Linux discussion list" <redhat-list at redhat.com>

Subject: Re: error:- Web Server terminated while loading - remove from

	list,	please

Message-ID:

	<feaf6d9c1f55abae7f4cb400d7a60a72.squirrel at host290.hostmonster.com>

Content-Type: text/plain;charset=iso-8859-1



amiteshsahay at aol.com wrote:

>

> Dear Member,

> Hello,

>

> I am working with BMC providing support to its clients forthe product

> called (PERFORMANCE MANAGER ??? PATROL), it???s a server

> monitoringproduct. I am trying to install a component of this product on

> WINDOWS SERVER2003 environment known as (AGENT). I am new to windows way

> of installation. I amgetting an error :- ???Web Server terminated

> whileloading???. Please anybody who is aware of this product, and could

> help me outfrom this situation with explaining the logic behind it.

>

> Thank you in advance.

>

> Regards,

> Amitesh Sahay

>

First, *if* this is a real post, and not a forged email, you're obviously

not qualified for your job. *IF* you were qualified to actually be allowed

to touch a keyboard, you'd know THIS IS NOT A WINDOWS mailing list, and

has NOTHING AT ALL to do with windows.



Please quit your job, and either go back to school, or find one for which

you are qualified.



Will the list admin please remove this idiot from the mailing list?



         mark







------------------------------



Message: 4

Date: Fri, 4 Feb 2011 15:27:08 -0500

From: Matty Sarro <msarro at gmail.com>

To: General Red Hat Linux discussion list <redhat-list at redhat.com>

Subject: Issue with SSH

Message-ID:

	<AANLkTinhes6N-vxfv26v0zQZAqdq+V43YAqctU0G8imG at mail.gmail.com>

Content-Type: text/plain; charset=UTF-8



We have two servers that synchronize between one another using SSH.

The user that the software uses for some reason isn't working. When

you ssh into the server using the user, you are prompted for a

password. When you enter the password, you get an authentication

failure. We have verified the password, and recreated it numerous

times. SSH still doesn't appear to be working. Anyone have any clues?



Here is whats in /var/log/secure:



Feb  4 15:25:10 basmanps01 sshd[30754]: pam_tally(sshd:auth): user

USERNAME (501) tally 14412, deny 5

Feb  4 15:25:10 basmanps01 sshd[30686]: Postponed keyboard-interactive

for USERNAME from 10.253.140.74 port 36951 ssh2

Feb  4 15:25:10 basmanps01 sshd[30754]: pam_unix(sshd:auth):

authentication failure; logname= uid=0 euid=0 tty=ssh ruser=

rhost=baschips01  user=USERNAME

Feb  4 15:25:11 basmanps01 sshd[30685]: error: PAM: Authentication

failure for USERNAME from baschips01

Feb  4 15:25:11 basmanps01 sshd[30755]: pam_tally(sshd:auth): user

USERNAME (501) tally 14413, deny 5

Feb  4 15:25:11 basmanps01 sshd[30686]: Postponed keyboard-interactive

for USERNAME from 10.253.140.74 port 36951 ssh2

Feb  4 15:25:11 basmanps01 sshd[30755]: pam_unix(sshd:auth):

authentication failure; logname= uid=0 euid=0 tty=ssh ruser=

rhost=baschips01  user=USERNAME

Feb  4 15:25:14 basmanps01 sshd[30685]: error: PAM: Authentication

failure for USERNAME from baschips01

Feb  4 15:25:14 basmanps01 sshd[30685]: Failed none for USERNAME from

10.253.140.74 port 36951 ssh2

Feb  4 15:25:14 basmanps01 sshd[30685]: Failed password for USERNAME

from 10.253.140.74 port 36951 ssh2

Feb  4 15:25:14 basmanps01 sshd[30686]: Disconnecting: Too many

authentication failures for USERNAME







------------------------------



Message: 5

Date: Sat, 5 Feb 2011 02:13:06 +0530

From: Madan Thapa <madan.feedback at gmail.com>

To: General Red Hat Linux discussion list <redhat-list at redhat.com>

Subject: Re: Issue with SSH

Message-ID:

	<AANLkTimSftXxx5zxLq8VWe+VpuUGNB7sCejS2A_AUgmC at mail.gmail.com>

Content-Type: text/plain; charset=ISO-8859-1



what does the file  /etc/pam.d/sshd  look like?







On Sat, Feb 5, 2011 at 1:57 AM, Matty Sarro <msarro at gmail.com> wrote:



> We have two servers that synchronize between one another using SSH.

> The user that the software uses for some reason isn't working. When

> you ssh into the server using the user, you are prompted for a

> password. When you enter the password, you get an authentication

> failure. We have verified the password, and recreated it numerous

> times. SSH still doesn't appear to be working. Anyone have any clues?

>

> Here is whats in /var/log/secure:

>

> Feb  4 15:25:10 basmanps01 sshd[30754]: pam_tally(sshd:auth): user

> USERNAME (501) tally 14412, deny 5

> Feb  4 15:25:10 basmanps01 sshd[30686]: Postponed keyboard-interactive

> for USERNAME from 10.253.140.74 port 36951 ssh2

> Feb  4 15:25:10 basmanps01 sshd[30754]: pam_unix(sshd:auth):

> authentication failure; logname= uid=0 euid=0 tty=ssh ruser=

> rhost=baschips01  user=USERNAME

> Feb  4 15:25:11 basmanps01 sshd[30685]: error: PAM: Authentication

> failure for USERNAME from baschips01

> Feb  4 15:25:11 basmanps01 sshd[30755]: pam_tally(sshd:auth): user

> USERNAME (501) tally 14413, deny 5

> Feb  4 15:25:11 basmanps01 sshd[30686]: Postponed keyboard-interactive

> for USERNAME from 10.253.140.74 port 36951 ssh2

> Feb  4 15:25:11 basmanps01 sshd[30755]: pam_unix(sshd:auth):

> authentication failure; logname= uid=0 euid=0 tty=ssh ruser=

> rhost=baschips01  user=USERNAME

> Feb  4 15:25:14 basmanps01 sshd[30685]: error: PAM: Authentication

> failure for USERNAME from baschips01

> Feb  4 15:25:14 basmanps01 sshd[30685]: Failed none for USERNAME from

> 10.253.140.74 port 36951 ssh2

> Feb  4 15:25:14 basmanps01 sshd[30685]: Failed password for USERNAME

> from 10.253.140.74 port 36951 ssh2

> Feb  4 15:25:14 basmanps01 sshd[30686]: Disconnecting: Too many

> authentication failures for USERNAME

>

> --

> redhat-list mailing list

> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe

> https://www.redhat.com/mailman/listinfo/redhat-list

>





------------------------------



Message: 6

Date: Fri, 4 Feb 2011 15:50:08 -0500

From: m.roth at 5-cent.us

To: "General Red Hat Linux discussion list" <redhat-list at redhat.com>

Subject: Re: Issue with SSH

Message-ID:

	<c4a21bc3a19e510adddba5bfe39795e4.squirrel at host290.hostmonster.com>

Content-Type: text/plain;charset=iso-8859-1



Matty Sarro wrote:

> We have two servers that synchronize between one another using SSH.

> The user that the software uses for some reason isn't working. When

> you ssh into the server using the user, you are prompted for a

> password. When you enter the password, you get an authentication

> failure. We have verified the password, and recreated it numerous

> times. SSH still doesn't appear to be working. Anyone have any clues?



First: did it ever work? If so, what are the permissions on ~<user>/.ssh?

Second: if not,

         a) what does your system-auth look like?

         b) what files are in system[12]:~<user>/.ssh?



     mark







------------------------------



Message: 7

Date: Fri, 4 Feb 2011 15:57:43 -0500

From: Matty Sarro <msarro at gmail.com>

To: General Red Hat Linux discussion list <redhat-list at redhat.com>

Subject: Re: Issue with SSH

Message-ID:

	<AANLkTinpp4jt2Kxg8e2SfvRoPLnjsybfFhWEJEAWujR+ at mail.gmail.com>

Content-Type: text/plain; charset=UTF-8



#%PAM-1.0

auth       include      system-auth

account    required     pam_nologin.so

account    include      system-auth

password   include      system-auth

session    optional     pam_keyinit.so force revoke

session    include      system-auth

session    required     pam_loginuid.so





I actually just disabled PAM in /etc/ssh/sshd_config and it appears to

be working now. Is not using PAM a security issue?









On Fri, Feb 4, 2011 at 3:43 PM, Madan Thapa <madan.feedback at gmail.com> wrote:

> what does the file ?/etc/pam.d/sshd ?look like?

>

>

>

> On Sat, Feb 5, 2011 at 1:57 AM, Matty Sarro <msarro at gmail.com> wrote:

>

>> We have two servers that synchronize between one another using SSH.

>> The user that the software uses for some reason isn't working. When

>> you ssh into the server using the user, you are prompted for a

>> password. When you enter the password, you get an authentication

>> failure. We have verified the password, and recreated it numerous

>> times. SSH still doesn't appear to be working. Anyone have any clues?

>>

>> Here is whats in /var/log/secure:

>>

>> Feb ?4 15:25:10 basmanps01 sshd[30754]: pam_tally(sshd:auth): user

>> USERNAME (501) tally 14412, deny 5

>> Feb ?4 15:25:10 basmanps01 sshd[30686]: Postponed keyboard-interactive

>> for USERNAME from 10.253.140.74 port 36951 ssh2

>> Feb ?4 15:25:10 basmanps01 sshd[30754]: pam_unix(sshd:auth):

>> authentication failure; logname= uid=0 euid=0 tty=ssh ruser=

>> rhost=baschips01 ?user=USERNAME

>> Feb ?4 15:25:11 basmanps01 sshd[30685]: error: PAM: Authentication

>> failure for USERNAME from baschips01

>> Feb ?4 15:25:11 basmanps01 sshd[30755]: pam_tally(sshd:auth): user

>> USERNAME (501) tally 14413, deny 5

>> Feb ?4 15:25:11 basmanps01 sshd[30686]: Postponed keyboard-interactive

>> for USERNAME from 10.253.140.74 port 36951 ssh2

>> Feb ?4 15:25:11 basmanps01 sshd[30755]: pam_unix(sshd:auth):

>> authentication failure; logname= uid=0 euid=0 tty=ssh ruser=

>> rhost=baschips01 ?user=USERNAME

>> Feb ?4 15:25:14 basmanps01 sshd[30685]: error: PAM: Authentication

>> failure for USERNAME from baschips01

>> Feb ?4 15:25:14 basmanps01 sshd[30685]: Failed none for USERNAME from

>> 10.253.140.74 port 36951 ssh2

>> Feb ?4 15:25:14 basmanps01 sshd[30685]: Failed password for USERNAME

>> from 10.253.140.74 port 36951 ssh2

>> Feb ?4 15:25:14 basmanps01 sshd[30686]: Disconnecting: Too many

>> authentication failures for USERNAME

>>

>> --

>> redhat-list mailing list

>> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe

>> https://www.redhat.com/mailman/listinfo/redhat-list

>>

> --

> redhat-list mailing list

> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe

> https://www.redhat.com/mailman/listinfo/redhat-list

>







------------------------------



Message: 8

Date: Sat, 5 Feb 2011 02:42:17 +0530

From: Madan Thapa <madan.feedback at gmail.com>

To: General Red Hat Linux discussion list <redhat-list at redhat.com>

Subject: Re: Issue with SSH

Message-ID:

	<AANLkTi=8GECzSUzVennVh=-sWNGf94XAH9CDh9cffejd at mail.gmail.com>

Content-Type: text/plain; charset=ISO-8859-1



Try this command :





 cd /etc/pam.d ; grep -lr pam_listfile .                 ( notice dot at the

end)









and see, if it lists any file that is using pam_listfile option.





if it is, paste the content of that file





























On Sat, Feb 5, 2011 at 2:27 AM, Matty Sarro <msarro at gmail.com> wrote:



> #%PAM-1.0

> auth       include      system-auth

> account    required     pam_nologin.so

> account    include      system-auth

> password   include      system-auth

> session    optional     pam_keyinit.so force revoke

> session    include      system-auth

> session    required     pam_loginuid.so

>

>

> I actually just disabled PAM in /etc/ssh/sshd_config and it appears to

> be working now. Is not using PAM a security issue?

>

>

>

>

> On Fri, Feb 4, 2011 at 3:43 PM, Madan Thapa <madan.feedback at gmail.com>

> wrote:

> > what does the file  /etc/pam.d/sshd  look like?

> >

> >

> >

> > On Sat, Feb 5, 2011 at 1:57 AM, Matty Sarro <msarro at gmail.com> wrote:

> >

> >> We have two servers that synchronize between one another using SSH.

> >> The user that the software uses for some reason isn't working. When

> >> you ssh into the server using the user, you are prompted for a

> >> password. When you enter the password, you get an authentication

> >> failure. We have verified the password, and recreated it numerous

> >> times. SSH still doesn't appear to be working. Anyone have any clues?

> >>

> >> Here is whats in /var/log/secure:

> >>

> >> Feb  4 15:25:10 basmanps01 sshd[30754]: pam_tally(sshd:auth): user

> >> USERNAME (501) tally 14412, deny 5

> >> Feb  4 15:25:10 basmanps01 sshd[30686]: Postponed keyboard-interactive

> >> for USERNAME from 10.253.140.74 port 36951 ssh2

> >> Feb  4 15:25:10 basmanps01 sshd[30754]: pam_unix(sshd:auth):

> >> authentication failure; logname= uid=0 euid=0 tty=ssh ruser=

> >> rhost=baschips01  user=USERNAME

> >> Feb  4 15:25:11 basmanps01 sshd[30685]: error: PAM: Authentication

> >> failure for USERNAME from baschips01

> >> Feb  4 15:25:11 basmanps01 sshd[30755]: pam_tally(sshd:auth): user

> >> USERNAME (501) tally 14413, deny 5

> >> Feb  4 15:25:11 basmanps01 sshd[30686]: Postponed keyboard-interactive

> >> for USERNAME from 10.253.140.74 port 36951 ssh2

> >> Feb  4 15:25:11 basmanps01 sshd[30755]: pam_unix(sshd:auth):

> >> authentication failure; logname= uid=0 euid=0 tty=ssh ruser=

> >> rhost=baschips01  user=USERNAME

> >> Feb  4 15:25:14 basmanps01 sshd[30685]: error: PAM: Authentication

> >> failure for USERNAME from baschips01

> >> Feb  4 15:25:14 basmanps01 sshd[30685]: Failed none for USERNAME from

> >> 10.253.140.74 port 36951 ssh2

> >> Feb  4 15:25:14 basmanps01 sshd[30685]: Failed password for USERNAME

> >> from 10.253.140.74 port 36951 ssh2

> >> Feb  4 15:25:14 basmanps01 sshd[30686]: Disconnecting: Too many

> >> authentication failures for USERNAME

> >>

> >> --

> >> redhat-list mailing list

> >> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe

> >> https://www.redhat.com/mailman/listinfo/redhat-list

> >>

> > --

> > redhat-list mailing list

> > unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe

> > https://www.redhat.com/mailman/listinfo/redhat-list

> >

>

> --

> redhat-list mailing list

> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe

> https://www.redhat.com/mailman/listinfo/redhat-list

>





------------------------------



Message: 9

Date: Fri, 4 Feb 2011 14:51:59 -0800

From: "Martini, Dave" <martini1 at llnl.gov>

To: "redhat-list at redhat.com" <redhat-list at redhat.com>

Subject: adding a printer with system-config-printer

Message-ID:

	<E31B7D3A65F480468C8067980C42DDB1E246D3AB6B at NSPEXMBX-C.the-lab.llnl.gov>

	

Content-Type: text/plain; charset="us-ascii"



I'm adding an HP laserjet printer that is on the IP network using 

system-config-printer

And choosing ldp/lpr it asks for a hostname and a printername.

Since this printer is on the IP network and not connected to a host specifically

What information do I need to put into the hostname field?

Thanks.

Dave Martini

LLNL





------------------------------



Message: 10

Date: Sat, 5 Feb 2011 12:11:53 +0530

From: Abhilash abhi <abhilashck72 at gmail.com>

To: General Red Hat Linux discussion list <redhat-list at redhat.com>

Subject: Re: adding a printer with system-config-printer

Message-ID:

	<AANLkTimKnq6KETge3vknpUJ4DFqkfQmEfoj5ybkZ5v8- at mail.gmail.com>

Content-Type: text/plain; charset=ISO-8859-1



HI Dave,



Can you please clarify the request..Printer is not connected to any machine

in the network ? It should definitely have an IP associated with it..you can

give the hostname of the server printer is connected to and configure it as

ipp..





On Sat, Feb 5, 2011 at 4:21 AM, Martini, Dave <martini1 at llnl.gov> wrote:



> I'm adding an HP laserjet printer that is on the IP network using

> system-config-printer

> And choosing ldp/lpr it asks for a hostname and a printername.

> Since this printer is on the IP network and not connected to a host

> specifically

> What information do I need to put into the hostname field?

> Thanks.

> Dave Martini

> LLNL

> --

> redhat-list mailing list

> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe

> https://www.redhat.com/mailman/listinfo/redhat-list

>







-- 



Regards,

Abhilash





------------------------------



Message: 11

Date: Sat, 5 Feb 2011 21:24:51 +0530

From: Abhilash abhi <abhilashck72 at gmail.com>

To: redhat-list at redhat.com

Subject: How to add a perl script as a system startup daemon in redhat

Message-ID:

	<AANLkTinAuNY_KA_rq6XbyeXaoaxy-V6jfSn6GZBH=aQX at mail.gmail.com>

Content-Type: text/plain; charset=ISO-8859-1



Hello,



I have a perlscript. I want to run that script at system startup(as a

startup daemon) in redhat.

i have put that script in /etc/init.d and try adding that to chkconfig using

[root at localhost init.d]# chkconfig --add changehttpadress

service changehttpadress does not support chkconfig

but that wont work since its a perl script(not bash).



So how can i run that in system startup. Need to add any daemon modules in

the perl script so that chkconfig will detect that as a valid service ?



Any suggestions and solutions is highly appreciated. Thanks in advance.



-- 



Regards,

Abhilash





------------------------------



Message: 12

Date: Sat, 5 Feb 2011 11:07:11 -0500

From: "Kyle O'Donnell" <redhat at isprime.org>

To: General Red Hat Linux discussion list <redhat-list at redhat.com>

Subject: Re: How to add a perl script as a system startup daemon in

	redhat

Message-ID:

	<AANLkTin2rsbw4kGuCbwCeeUpr2NBnaFnAkFV0WwAzVs1 at mail.gmail.com>

Content-Type: text/plain; charset=ISO-8859-1



use a shell script as a wrapper for the perl script?



On Sat, Feb 5, 2011 at 10:54 AM, Abhilash abhi <abhilashck72 at gmail.com>wrote:



> Hello,

>

> I have a perlscript. I want to run that script at system startup(as a

> startup daemon) in redhat.

> i have put that script in /etc/init.d and try adding that to chkconfig

> using

> [root at localhost init.d]# chkconfig --add changehttpadress

> service changehttpadress does not support chkconfig

> but that wont work since its a perl script(not bash).

>

> So how can i run that in system startup. Need to add any daemon modules in

> the perl script so that chkconfig will detect that as a valid service ?

>

> Any suggestions and solutions is highly appreciated. Thanks in advance.

>

> --

>

> Regards,

> Abhilash

> --

> redhat-list mailing list

> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe

> https://www.redhat.com/mailman/listinfo/redhat-list

>





------------------------------



Message: 13

Date: Sat, 5 Feb 2011 11:21:18 -0500

From: "Carl T. Miller" <carl at carltm.com>

To: "General Red Hat Linux discussion list" <redhat-list at redhat.com>

Subject: Re: How to add a perl script as a system startup daemon in

	redhat

Message-ID: <4cb08091b9bb9540119ba4115c92937c.squirrel at www.carltm.com>

Content-Type: text/plain;charset=iso-8859-1



Abhilash abhi wrote:

> I have a perlscript. I want to run that script at system startup(as a

> startup daemon) in redhat.

> i have put that script in /etc/init.d and try adding that to chkconfig

> using

> [root at localhost init.d]# chkconfig --add changehttpadress

> service changehttpadress does not support chkconfig





Do you have comments in the script that are similar to

these from atd?  These are required to make chkconfig work.



# chkconfig: 345 95 5

# description: Runs commands scheduled by the at command at the time \

#    specified when at was run, and runs batch commands when the load \

#    average is low enough.

# processname: atd



Note that you also have to create a file in /var/lock/subsystem

if you want the service to stop gracefully at shutdown.  For

example the atd script uses this: touch /var/lock/subsys/atd



I'll be interested to know if these two additions to a perl

script make it start and stop as expected.



c











------------------------------



__

redhat-list mailing list

Unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe

https://www.redhat.com/mailman/listinfo/redhat-list



End of redhat-list Digest, Vol 84, Issue 5

******************************************




 



More information about the redhat-list mailing list