CentOS 5 :: How To Test A Postinstall Script
Apr 11, 2010Do you have an idea how to test postinstall script without reinstalling the server every time?
View 1 RepliesDo you have an idea how to test postinstall script without reinstalling the server every time?
View 1 Repliesi opened up my browser to surf the web and a page popped up i had never seen before.Apache 2 Test page powered by centos. Any address i put into my firefox browser won't come up and i'm stuck on this test page and,i can't locate it on my computer to remove it.How do i get rid of it and more importantly how did it get on my computer in the first place?
View 10 Replies View RelatedI am trying to run though the qmailrocks setup on a centos 5.5 and I am running into an issue when trying to telnet to port 25:
telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Connection closed by foreign host.
Everything else seems to be working (telnet to 110), and I turned off the firewall entirely, but I still cannot telnet to port 25. I also get a blank error within squirrelmail when attempting to send mail out (ERROR:Message not sent. Server replied: ). I apologize for not going directly to the qmailrocks forum, but they are currently closed down (due to lack of funds). I also am a newbie, so I apologize for the lack of needed information. If anyone has any ideas, please let me know what information you would need.
We've been having lots of problems with burning CD-Rs on our Dell PowerEdge and T300 servers. We've had the CD recorders replaced frequently, and that often fixes the problem, but then we'll start having problems again. Usually it is the CD refuses to write, or it gets written but can't be read. Often, if I re-run the burn with the same blank CD, it will be fine.
I'd like to test some CD-Rs and compare error rates so I can recommend what CD-R media we should be using. Currently we are using Memorex and Verbatim CD-Rs. Is there a good cd recording/testing suite for Linux that I could use to do this?
I just tried this and it only installed PHP 5.1.6
yum --enablerepo=c5-testing install php
Loading "fastestmirror" plugin
Loading "allowdowngrade" plugin
Loading "priorities" plugin
Loading mirror speeds from cached hostfile
* rpmforge: ftp-stud.fht-esslingen.de
* base: mirrors.dedipower.com
* updates: mirrors.dedipower.com
* c5-testing: dev.centos.org
* addons: mirrors.dedipower.com
* extras: mirrors.dedipower.com
c5-testing 100% |=========================| 1.9 kB 00:00
primary.sqlite.bz2 100% |=========================| 390 kB 00:01
736 packages excluded due to repository priority protections
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package php.i386 0:5.1.6-23.el5 set to be updated
--> Processing Dependency: php-cli = 5.1.6-23.el5 for package: php
--> Processing Dependency: php-common = 5.1.6-23.el5 for package: php
--> Processing Dependency: php = 5.1.6-20.el5_2.1 for package: php-devel
--> Running transaction check
....
I am trying to search a tool for testing multicast. Currently, 'yum search multicast' yields nothing. I saw mcsender and mctest in google but they seem not to be supported in CentOS. Do you know any tool that can test multicast?
View 3 Replies View RelatedI've been trying to install VSFTP on a test box I have at home. Here are the steps that I've done so far: First, I install vsftpd via yum. yum install vsftpd
View 4 Replies View RelatedNewbie on the block with Centos 5.3 on a test server and and Ubuntu on a test workstation Note the wiki on VNC for a windows workstation but presume I could do this more easily from "Jaunty" (Ubuntu v 9.04)
View 10 Replies View RelatedI have Centos 5.3 installed on my pc. I have mysql, PHP and apache server running on my computer too.Is there any way I can test my website on my pc without running any stack ( lampp )?
View 10 Replies View RelatedI have been battling an issue for a couple of days and I have it down to 2 possibilities. Memory or mobo. A server in the DC is being very sketchy. Sometimes it will boot fine, sometimes it will boot but will not show all the memory, and sometimes it will hang before it even posts. I have replaced just about everything inside the system except for the memory and the mobo.
I would like to test the memory before replacing either because both are a few hundred dollars. The problem is, the memory doesn't log any errors and running a memory test with ubcd doesn't work because it's ecc memory. I thought I remembered hearing that there is a way to run a memory test during a Centos or RHEL installation, but I can't figure out how.
The memory is
DDR2 667 FB-DIMM
and the board is
Tyan S5380
I have installed Postfix + Amavisd-new, then I am started all services (and configured main.cf and master.cf to use amavis).
The questions are:
1) I am trying to test antivirus scan using eicar test virus
Code:
And the message is successfully delivered to mailbox with mark "CLEAN" in maillog. But I cant see any attachment using
Code:
Where is my mistake?
2) Should I update clam and how I can do it?
3) Is spamassassin enabled by default in amavis (I have started daemon)?
4) Where configuration files of spamassassin is stored?
I am trying to install mysql 5.1.44..so i downloaded the binary package, i extracted it and then followed the instructions that were in the manual but i keep getting this error when running this command
Code:
scripts/mysql_install_db --basedir=/home/mosty/mysql
the error is
Code:
Installing MySQL system tables...
100315 20:07:27 [Warning] Can't create test file /var/lib/mysql/mosty.lower-test
100315 20:07:27 [Warning] Can't create test file /var/lib/mysql/mosty.lower-test
[code]....
You can try to start the mysqld daemon with:
shell> /home/mosty/mysql/bin/mysqld --skip-grant &
and use the command line tool /home/mosty/mysql/bin/mysql to connect to the mysql database and look at the grant tables:
shell> /home/mosty/mysql/bin/mysql -u root mysql
mysql> show tables
I am trying to run though the qmailrocks setup on a centos 5.5 and I am running into an issue when trying to telnet to port 25:
telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Connection closed by foreign host.
Everything else seems to be working (telnet to 110), and I turned off the firewall entirely, but I still cannot telnet to port 25. I also get a blank error within squirrelmail when attempting to send mail out "ERROR: Message not sent.
I install CentOS5.5 on VMWARE,the system is working properly.I want to test reinstall CentOS5.5 on VMWARE,So,I make a snapshot.My system partition(Manually partition )is:/(1G),/boot(512M),swap(2G),/usr(30G),/var(10G),/data(20G).Each partition is independent of the ] partition.I reinstall CentOS5.5 by CentOS5.5.ISO.I format / partition,and other partition unchanged.However, the installation process was wrong:
==============================================================
Package Installation
Error running transaction[code]...
How I can reinstall CentOS(Do not lose important data)?Does there have any authoritative description?
I have created mobility of 20 nodes and vbr traffic using following attached script I executed the file as ns234 vbr.tcl I got the vbr.tr and vbr.nam but I was unable to load the graph using matlab <trgraph> I thought problem with is vbr.tcl script.
View 1 Replies View Relatedi'm setting up apache on 5.3. i can access the apache test page without a problem from the server via URL... But i can't figure out how to access this page from another computer within the domain (for when i upload my home page.
View 4 Replies View RelatedFor use on a test LAN, ie. security is not an issue, I need to install the most basic FTP server available just so we can share files back and forth between test hosts : launch FTPd, have it share a directory through either "anonymous" or a single, shared login/password?
View 8 Replies View RelatedI followed the Wiki guide for configuring my Postfix server for SASL / TLS. I don't get any errors and I assume it's working but when I try and test SASL (saslauthd), I don't get the response noted according to the Wiki and I don't understand why.
View 3 Replies View RelatedI just installed Fedora, and I noticed there is no option during the boot-up process to do a memory test -- as compared to Ubuntu.
View 1 Replies View RelatedSo I have CentOS 5 with Nagios installed from the RPM Forge repositories and I found something from security focus that says I should upgrade to a 3.1.x version of Nagios. The upgrade does not show up if I do a "yum upgrade", so I looked in repositories manually by package and found nagios-3.1.0-1.el5.test.i386.rpm from 27-Jan-2009 00:27 (http://packages.sw.be/nagios/). I'm thinking this doesn't show up in my upgrade path since the package name has "test" in it. Is this a normal part of the package release process for CentOS? It seems like if this package has been around since January it would have been moved over to the regular package name by now, but I'm not really sure the deal is.
View 2 Replies View RelatedThrough synaptic i installed phpmyadmin, apache2 and php5.
of course during the installation i got an error about some database linking or what not.
of course.
naturally.
anyway, apache seems to be working when i point to 127.0.1.1
now how do i get to the phpmyadmin page from here? as in, whats the most common method?
whats the best way to test it out? Running Lucid. (With gnome...)
View 3 Replies View RelatedI bought a new 1.5TB SATA drive (WD15EARS), now I intend to thoroughly test it for bad sectors and other issues, before it will become part of a server raid array.
Are there any good testing tools out there to perform read/write compare operations allover the disk space?
What is the best way to test a distro? As a newbie, I am trying out several different distro's. I run them from a live CD and see if they are easy for me to set up my wireless, can be configured to multiple monitors, corectly recognize my hardware. I then connect to the internte and see if it plays videos or needs codecs downloaded, then connect to the reository and download any needed codecs, or pick a random program and see how easy it is to download and install.
Is this a reasonable way to check out a distro, or should I be looking at something else? Keep in mind, I am a newbie who is a user, not a hacker, and know nothing of the commandline yet.
I want to test automatically if the USB ports are in use.
I want to test it in a bash script
I found some information about ttyUSB0 in the /dev/
The problem is, there is usb hub between the system and the mouse/keyboard. The other USB port is in use for the Ubuntu live usb.
When I open the /dev/ map virtual and pull out the usb keyboard the hidraw1 diappears, same for the keyboard.
When both are out and I pull out the usb hub, nothing happens.
Do anyone know how to test it?
I want to test something with my JMX console. I need to use the twiddle.sh script (because of a plugin).But when i execute this:
Code:
/opt/jboss-5.1.0.GA/bin/twiddle.sh -s localhost get jboss.system:type=ServerInfo ActiveThreadCount
i get this error:
Code:
Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: org.jboss.console.twiddle.Twiddle
[Code]...
I am trying to test an rpm by doing a yum install. It should not install and report a dependency conflict as there is deliberately another package installed it should conflict with but it is installing over the existing package. When I do this via an rpm -i it correctly does not install.
Detail below -
The SPEC file has the conflicts below
Conflicts: test_DEV = 1-0, test_UAT = 1-0, test_PRD = 1-0
If test_DEV is already installed for 1-0 and I try and install 1-1 via rpm is correctly conflicts -
rpm -qa | grep -i test
test_DEV-1-0
rpm -i test_DEV-1-1.noarch.rpm
error: Failed dependencies:
test_DEV = 1-0 conflicts with test_DEV-1-1.noarch
Yet when I install both via yum it allows me to install 1-1 over 1-0 which I don't want.
I would like to see the journal of a file-system (ex. ext4) in action. What i mean is that, without knowing what kind of fs is on a partition, i want to test if this fs supports or not journaling.
View 3 Replies View RelatedI want to copy files from an incoming directory, but don't want to copy a file if it hasn't finished being written. I thought of using fuser, but it doesn't seem to be very reliable. I vi'd a file in one window and then ran fuser against the file name and got nothing back. I'm just writing a simple bourne script on RHEL.
View 5 Replies View RelatedI'm running Debian Testing (up-to-date) with no difficulties.I'd like to find a way to test/validate DVD+RW media to ensure that I will get error-free off-the-air recordings in a separate DVD recorder.I've only been able to find Windows-based Nero or Plextor utilities discussed on the DVD enthusiast web sites. If possible, I'd like to evaluate the media on my Debian box.
Currently using XFBurn, which doesn't seem to be the answer. FWIW, the DVD hardware is a Hitachi/LG burner. Using lshw, I get description: DVD-RAM writer, product: DVD+-RW GH30N, vendor: HL-DT-ST,... version: A102, capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram, configuration: ansiversion=5 status=ready