I'm trying to compare 2 values in my script. Problem is, one is a string and the other is an integer. Can anyone give me an example of how you would convert a string to an integer on linux inside a shell script?
I am running suse sles 8 (virutal servers), and there is an rpm process that kicks off about once a week at 1am, and runs for an hour. This process uses a large chunk of the cpu, but I can't find where it starts from. I don't see it in cron. Here is the line from top
7229 root 20 1...
I'm writing a script to rotate our syslogs. It used to be done by days, but now they want to keep 2 months online. So, for instance, if it's April, we'll archive February's logs. My problem is that I'm not sure how to manipulate the Month string from the date command, so that in January, and...
I just did an upgrade from SUSE 8.2 Pro to SUSE 9.1 Pro. After the upgrade, the network card failed to autostart. If I run the command "ifconfig eth0 up" the interface comes up, but no ipaddress is listed. If I configure the interface manually, "ifconfig eth0 10.10.210.15 netmask...
Hello, I'm trying to write a .bat file that will copy a file to several directories based off of a file called commands.txt. On unix, I would just do this using a for loop. I'm new to .bat scripting and it seems to me that you can only pass one command at a time to the for command. Is this...
I have a setup.exe file on the server that I don't want people to be able to execute on the server. I only want users to be able to download this to their local machines. It seems that netscape knows how to do this, but of course, IE gives an option to run on the server. Is there a way to...
We're looking into setting up ldap authentication for our AIX servers. I setup a test client and server, which worked okay. However, I'm unsure of the "proper" procedures for defining user and group access within the directory server, and the proper way to give access to a user who already...
We're looking into setting up ldap authentication for our AIX servers. I setup a test client and server, which worked okay. However, I'm unsure of the "proper" procedures for defining user and group access within the directory server, and the proper way to give access to a user who already...
I have a verisign certificate installed on apache 2.0.49 with mod_ssl. The cerficate date is valid and the date on the server and the client are all correct. The certificate is still valid. When I surf to the page, internet explorer says the certificate is valid, but also warns that "the...
Our AIX box is going out of support, and management wants to use an appliance to serve as our primary DNS. One I was looking at was the BlueCat Adonis http://www.bluecatnetworks.com/products/adonis/index.html. I was wondering if anyone was using any DNS appliances and if you've had good or bad...
I'm running sendmail 8.12.3 on aix 4.3.3. The server has some local users which pop in and relays to a smart host if the user does not exist locally. My problem is that I just added a few users locally, and when I try and send a message to them, I receive:
Permanent Error 550 5.1.1 ...User...
Hi all. I'm running apache 2.0 on Suse Linux and have a question on rewriting url's. I have a domain, www.mycompany.com. I also own the .org and .net suffixes. All domains share the same ip. The problem is, when someone comes to www.mydomain.org or .net, it shows up in my logs with...
Hi. I have a primary name server at my location, we'll call it ns1.mydomain.com. Then, I have 2 backup DNS servers we'll call ns1.someotherdomain.com and ns2.someotherdomain.com., which do zone pulls to obtain their records from my nameserver. My question is, on ns1.mydomain.com, how would I...
I'm new to Tomcat, and am having some trouble. I setup installed tomcat 5.0.16, and setup an apache server. The two are talking over mod_jk. I can open tomcat via the browser and run all the test servlets, etc. I can also reach them through apache. My problem is, I have a servlet, and...
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.