Hi,
I have a script which logins to many unix stations and executes a command and gets the output.
In some of the unix stations,it is not able to get the prompt after login and it times out.
I found out that the problem is due to,
login: xyz
Password:
Last login: Wed Apr 20 10:06:28 from...
Hi,
my .htacces file looks like this,
".htaccess" 5 lines, 174 characters
AuthUserFile '/opt/local/apache/conf/passwd'
AuthGroupFile /dev/null
AuthName "Restricted Area - Enter UNIX Login ID"
AuthType Basic
require valid-user
When i open the web-page,it prompts for entering the...
when i start the apache by running apachectl as nobody user.. i get the below msg,
$ /opt/local/apache/bin/apachectl configtest
httpd: Cannot findELF
Killed
Os: Solaris 2.8
apache_1.3.27
when i install the Apache on solaris box it install by default on /usr/local/apache.... I do by using pkgadd -d ....
Is there way to change the installation base directory to some thing like /opt/local/ instead of /usr/local
I downloaded the Apache installable from sun freeware.
Hi,
i get the following messages dumped on all my terminal windows quite often.
Dec 6 00:58:02 ws42 sendmail[4592]: [ID 801593 mail.alert] iB65rYw04592: SYSERR(root): savemail: cannot save rejected email anywhere
how do i prevent this msg appearing on the terminal windows.
Hi,
I have a file where there are 10 lines.
In a shell script i get some user input, Now i have to update the lines 2,4,7 (example) in that file. and update the contents of the file with these values.
I can do it by writing to a temporary file and then renaming the file. I don't want to...
I am creating a table dynamically (with values obtained from database ) with code as below, In each row of a table in the last field a "Reserve" button is present.
When the user clicks the reserver button the form calls another perl file, but i am not able to post the data in first field of...
I have a perl file in cgi-bin dir, which needs to run a system command, which requires root priviledge. my apache server runs as user nobody, so i changed the setuid of the perl script (chmod 4711 xyz.pl ), when i run i get the below error
Insecure dependency in `` while running setuid at...
I am using an apache server and run perl scripts placed cgi-bin. I have secured the site using .htaccess . my problem is. How do I get the user name which was authenticated by apache in the perl script ? (which the user tries to access.. )
Is the user name stored in the browser env, how do we...
i have a shell script which is like below
===================
A () {
calls some external commands and gets the output
}
B () {
sends mails using mailx command with output of the function A (which is file produced)
}
main () {
A
B
}
===========
my problem is before the...
I have file with lot of values.. I need to take out values from a file using shell script
file looks like
===========
start:1 (some unique number)
xyz: (some value..)
abc: (some value..)
end:1
start:2
xyz: (some value..)
abc: (some value..)
end:2
..
start:n
xyz: (some value..)
abc: (some...
I need to print a message from isql.
print 'Text is ' + @name
I need to print my string and the value of the variable @name in the same line.
print 'Text is'
print @name
If i do like this a new line appears, Can i combine the above two prints to get the ouput in a single line.
thanks
Hi,
I am using sybase 12_1 on unix. I need to drop all procedures starting with a particular pattern.
declare @procname varchar(60)
declare proc_cursor cursor for select name from sysobjects where type = 'P' and name like 'abc%'
open proc_cursor
fetch next from proc_cursor into @procname...
Hi,
I need to validate a user entered input, the input must be alphanumeric characters.
What is the method to do in shell script. Should i grep for each non-alphanumeric character.
te1%@i -- is an invalid input .. how to detect . In perl it is easy.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.