General :: Centos Not Kicking Post Commands?

Feb 17, 2010

For some reason, when using this kickstart file the commands in the post section chroot is not executed. I used the ksvalidator to check the syntax and its correct.

Code:
# Kickstart file.
install
cdrom
key --skip
lang en_US.UTF-8

[Code]...

View 1 Replies


ADVERTISEMENT

CentOS 5 :: Kickstart Doesn't Run Post Install Commands

Oct 19, 2009

I am trying to copy an updated splash.xpm.gz at the end of a system build but everything in the post section is total ignored.

#--- Post-installation script
%post
#!/bin/sh
#...Mount the installation CD

[code]....

View 8 Replies View Related

General :: Prevent The Logging Of Commands Run Into Syslog As Post-shell Expansion?

Dec 15, 2010

Is there an easy way to prevent the logging of commands run into syslog as post-shell expansion?

I.e log a command of "ls *.log" as just that, rather than "ls a.log b.log c.log d.log" It makes rather a mess of the log files.

View 1 Replies View Related

Ubuntu Networking :: Kicking Network Manager Out?

Feb 4, 2010

Configuring a complex network in Ubuntu SERVER is a breeze. Doing so in Ubuntu DESKTOP has been a mess. The obvious culprit is the GUI based network manager. What I want to accomplish: DESKTOP boots up with active networking even before anyone logs in. This would be both wired and wireless. When someone logs in (user or administrator or root), the network manager is NOT started and thus can't mess up the networking.

Multiple IP addresses, including static and calculated, both IPv4 and IPv6. Also some static routes to multiple routers (maybe adding RIP or OSPF in the future). I already made script to do this smoothly in Ubuntu SERVER. Laptop users can still configure their computer for use at home by SOME means, even if command line or a script. It's OK to have to reboot to switch between office and home network.

I'd prefer to leave network manager installed, and just have it not run. But if uninstalling it is the best way to get it out of the way, let me know. So far this is all just Ubuntu, but Kubuntu or Xubuntu might also be preferred by future staff.

View 8 Replies View Related

Networking :: Cvs Access - Whole System Kicking Cvs Command Out Altogether

Feb 12, 2010

I am trying to access the cvs; I issue following commands :

After several minute later.....

ssh: connect to host cvs.tuxbox.org port 22: No route to host
cvs [checkout aborted]: end of file from server (consult above messages if any)

I get above response. In past many occasion I access this cvs repository without any problem but now without any change in client (in my computer) the whole system kicking cvs command out altogether. I wonder what gone wrong suddenly? I manage to update the same repository using cvs update; never had any problem before in past.

Is any one came across such sudden change in cvs access.

View 3 Replies View Related

Red Hat :: CentOS 5.3 Installation From An USB Pendrive - Ks - %post Mount ?

May 20, 2009

What I have solved:

8 GB Pendrive
FAT32 (vfat) bootable
CentOS 1-7.iso's are in directory /CentOS

kickstart is called with:

installation is PERFECT!

but

I CAN'T GET THIS TO WORK and I can' find and detailed document's on this

View 1 Replies View Related

Ubuntu Installation :: Port USB Install To An 80GB USB Drive Had Kicking Around?

May 28, 2011

Now that we got that out of the way, here's the problem and I hope someone can help me. Before posting, I read everything I could find here about partitioning in gparted (at least what I think applied to my situation). I'm pretty sure that this has an easy answer (or I hope it does).

I originally installed Ubuntu 10.10 on a USB stick to try and retrieve files from a failed NAS drive. That worked pretty well a very smart guy who posted instructions on how to do the hex editing necessary to realign and enter a reiserfs disk) so I decided I'd jump in and play with Ubuntu. I decided to port my USB install to an 80GB USB drive I had kicking around, but the install didn't actually take the whole disk the way I thought it would, it only took the 7.xGB from the USB drive.

I didn't notice (I know, dumb) and then I did the 11.04 upgrade to it. I'm trying to recapture the other 65GB of unused space via gparted, but I can't for the life of me figure out how to extend the original boot partition (I have no /home partition). i tried to format the unused space to ext4, but no matter what i do I can't expand that original partition (I can shrink it if that matters). Just to be clear, I booted from a live cd 10.10, and I'm running gparted on the unmounted USB drive. The boot partition should not be active.

My screen shots capability is not working correctly right now, but I'll post one if I can. I can only get a full screen shot, and this is on a 30" monitor.. I just want the active window the /dev/sdj1 partition is on the left (7.11GiB) witha boot flag, then the Ext/Swap at 377MiB each /dev/sdj2 and 5) and then another 68,85 GiB partition, currently formatted to Ext4 on the right labeled /dev/sdj3. No other partitions. I can extend the Ext/swap, but not the boot partition.

View 9 Replies View Related

CentOS 5 :: Xen Vm 'POST' And Error Messages - Guest Not Running

Jul 31, 2009

I'm running xen as installed from the CentOS Virtualization Suite and I'm having some problems. One of my VMs powers off immediately after an error during 'POST'. Is there a way to stop it from immediately powering off so I can see the error? And there's also at least one error message that appears for a split second after the vm craps out, before the gui console reports 'Guest not running'.

View 3 Replies View Related

CentOS 5 :: Yum Still Running During Kickstart Post Installation Script

Sep 13, 2011

I put a script into the post installation of kickstart and the log showed that the yum that is started in the script had to wait for yum to finish. I understand I can (and will) put this package in the packages section, but isn't it bad that yum is still finishing up when the post installation is initialized? Has anyone else noticed this?

View 2 Replies View Related

Debian Configuration :: Intel Turbo Mode Not Kicking In On Nehalem Xeon?

Mar 9, 2010

I've got a dual Xeon 5570 (Nehalem) server. It clocks down properly, but never, under any circumstances that I've found, clocks up past its TSC. Even when running basically nothing but cat /dev/zero > /dev/null, nothing gets clocked higher than the TSC. Below is the turbostat output, which clearly knows what the hardware is actually capable of, but it never actually achieves it. I'm running Lenny, with backported kernel 2.6.30-bpo.2-amd64. I tried the 2.6.32 backport and there wasn't any difference. know where I should look next? BIOS settings? Do I need to change some kernel option and recompile?

# ./turbostat
Nehalem multiplier 22, TSC frequency 2933 MHz
Nehalem 4 cores active: 24 mult, max turbo frequency = 3200 MHz
Nehalem 3 cores active: 24 mult, max turbo frequency = 3200 MHz
Nehalem 2 cores active: 25 mult, max turbo frequency = 3333 MHz
Nehalem 1 core active: 25 mult, max turbo frequency = 3333 MHz

[Code]...

View 1 Replies View Related

CentOS 5 :: Kickstart File Post - Copy / Paste Scripting

Feb 23, 2010

I want to design a kickstart file that creates an unattended installation (I've passed that part). After it installs, I want it to automatically read the device's MAC address and change the hostname to match the MAC address with the separators removed. (For example if the MAC address is 01-02-03-04-05-06, the prompt after login should read "root@010203040506")

I know this is entered in the "%post" section of the kickstart file, and I know I'm supposed to use the "cut" and "sed" commands, but I have no idea what I'm doing or how to do it. script so I can copy/paste it into my kickstart file?

View 5 Replies View Related

Server :: Apache2 SVN Post-commit Script Certificate Error Post-commit Hook Failed (exit Code 1) With Output?

Oct 12, 2009

I am using apache2 with subversion and trying to get post commit script to run an svn update command. All svn commands seem to work fine manually

Everything used to work fine but then the server ip changed and I can no longer access it with the web name and have to use the ip directly

I am using tortoise svn with vista on my work machine

Here is the script

#!/bin/sh
export LC_CTYPE=en_US.UTF-8
/usr/bin/svn update /home/common/webroot/bob

Here is the result.

Command: Commit
Modified: C:UsersMattDesktopcheckout - bobindex.php
Sending content: C:UsersMattDesktopcheckout - bobindex.php
Completed: At revision: 63
Error: post-commit hook failed (exit code 1) with output:
code....

I think what i need to do is update the certifcate for the apache2, but I'm not sure how to do this, where to put it, and then which of the thousand apache config lines needs to be changed

View 5 Replies View Related

CentOS 5 Networking :: Getting Start W/ Centos Networking \ Ssh Commands But Not Setting Up A System And Stuff?

Feb 19, 2010

I just started setting up a linux box in the office...I have some experience with ssh commands but not setting up a linux system and stuff.The box is connected to our network but I have no clue how to make windows & osx talk with it. How can I go by doing that and also setting up an apache server to be able to connect through network. Right now I have apache/linux/mysql running it works when i go to localhost, but I would also like to let all the computers in office to access it. I would guess that will deal with virtual host which I know how to setup. I just need to setup an IP.

View 19 Replies View Related

CentOS 5 :: Can't Run Administrative Commands / What To Do?

Aug 10, 2010

I have root access on this CentOS 5.5 machine but I am unable to run administrative commands such as service and chkconfig because it says the commands are not found.

Do I need to install additional packages or grant myself privileges that I don't have to run these commands?

View 3 Replies View Related

CentOS 5 :: Few Commands Not Responding After Upgrade To 5.3 From 5.2?

May 15, 2009

I just updated my CentOS machine from 5.2 to 5.3. After rebooting, I found a few commands are not responding after the update.

The non-responding commands are:finger, groups,chown I did nothing after the update.

View 2 Replies View Related

CentOS 5 Server :: Can't Execute Some Commands?

May 22, 2009

I am trying to determine if I should upgrade PHP's PEAR on my server. I am trying to check the version of PEAR currently installed. I am getting the following error when I use the pear -V command:Warning: realpath(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s)(/usr/share/pear:/usr/share/php) in System.php on line 459I tried adding /tmp to my php.ini file, but then when I use the pear -V command it doesn't do anything. I do not get any errors or anything.I am also trying to install symfony and have the same situation described above when I use the following command: pear cannel-discover pear.symfony-project.comDoes anyone have any thoughts? If not the solution, does anyone have any suggestions on how to begin troubleshooting this?

View 2 Replies View Related

CentOS 5 :: Most Commands Get Segmentation Fault ?

Dec 19, 2009

I have a problem while trying to get rpm fixed I removed it then it removed yum also. I was able to get rpm installed and tried to install yum there was a bunch of depency files i had to install. After that then every command results in Segmentation fault some commands work like pwd does but not ls, rpm, vi and most other ones ive tried. server is still up and running.

View 3 Replies View Related

CentOS 5 Server :: Can't Run Any Bash Commands

Dec 21, 2009

Our CentOS 5 server had a weird issue last Friday. We couldn't run any bash commands, such as ls, vi. It said that it could not find /bin/ls. The only commands we can run are internal commands, such as ps, cd. After we reboot the server, everything is back.

I don't know what's wrong with it. Does anyone give me a explanation?

View 2 Replies View Related

CentOS 5 :: Get A List Of Terminal Commands?

Jun 12, 2010

I would like to find documentation on all the available terminal commands and syntax for CentOS 5.

I have googled and looked through the wiki and found nothing about the terminal to my ability.

As for what I am referencing by commands:

sudo: I get the su means super user

cd: change directory

rm: remove, I don't know how to remove folders.

General navigation and using the terminal to create files/directories/open file editor/etc..

View 3 Replies View Related

CentOS 5 :: Getting The List Of Commands For Vi Editor?

Dec 22, 2010

For example, when I want to have an identical line to the above line, I must press "yy" and then P (or p). Could somebody give me the list of such commands.

View 6 Replies View Related

CentOS 5 :: Where To Put Commands To Execute Just Before Shutdown / Logoff?

Mar 3, 2010

Where can I put commands which should be executed just before

- logoff

- shutdown

I think there must be somewhere an opposite script to

.initrc
or
.bashrc

View 5 Replies View Related

CentOS 5 :: WGet Commands - Cron Job Not Running

May 25, 2010

I have the following cron configuration in the 'crontab' file:

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=<--- REMOVED -->
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
20 16 * * 1-5 root wget [URL]
07 30 * * 1-5 root wget [URL]
11 30 * * 1-5 root wget [URL]

My focus is on the three WGET commands. The problem is the first one works fine, runs at 4:20 p.m., but the other two never run! If I visit [URL] it works fine but cron never runs it.

View 2 Replies View Related

CentOS 5 :: Getting Illegal Instruction Error Commands Like Yum

Nov 3, 2010

I am getting Illegal instruction error commands like yum:

I have centos 5.3

View 3 Replies View Related

Ubuntu :: Cannot Post On Forum - Click On "submit" To Post A Thread The Page Will Just Say "loading..."

Sep 28, 2010

For some odd reason, I cannot post on the ubuntu forum and the LinuxMint forum. Yea, I know.... the irony... I am using Mozilla and have tried Chromium, but that did not fix my problem. When I click on "submit" to post a thread, the page will just say "loading..." and nothing happens for a really long time. Does anyone know what is up? I tried posting on one other forum that I go to often and it seems to work out fine. I haven't tried any other forums though.

View 7 Replies View Related

CentOS 5 :: Commands After Screen - Using ./hltv To Switch Directory?

Oct 7, 2009

I'm running a Counter Strike 1.6 Game server on my centos 5 VPS. I can get it to run by simply switching to the directory, then doing: ./hltv Now, when I do that, it obviously closes when I exit Shell. So I do the following and it gives me errors then. screen -A -m -d -S hltv ./hltv My question is, do I need all of those commands after screen? I just simply want it to not close once I exit Shell.

View 5 Replies View Related

CentOS 5 :: Installing Sysbench, Missing Automake Commands?

Nov 6, 2010

As a premise let me say I'm a debian guy so I'm not really an expert on every aspect of how Centos work and if the following questioms seem dumb, I'm sorry :D What I have to for a school project is to use Xen. After two days of cursing I've managed to install it correctly and so I've installed a domU Centos 5.5.

Now I need to install sysbench on this domU and run some tests. I've found this guide: [URL].. But I can't find some commands. Basically this is what I have to do

# tar -xvzf sysbench-0.4.12.tar.gz
# cd sysbench-0.4.12
# libtoolize --force --copy
# ./autogen.sh
# ./configure
# make
# make install

the problem is it doens't find libtoolize. I've tried to search it with 'yum search" but with no luck.Where can I find this package? Or is it a command include in some other package? In that case how can I solve this problem? Next problem is autogen.sh. It says I don't have aclocal but automake in installed as a package.

View 3 Replies View Related

General :: Awk/regex With A Post?

Apr 2, 2010

I have a data file with the following format 0 i j # # # # with other random lines of text to be filtered out.The following script works when there aren't many #s, but it shuffles long lists of data.

/^0/ {
split($0,token)
printf("%s %s ", $2, $3)

[code]...

View 4 Replies View Related

CentOS 5 Server :: Login As Postgres User And Enter Commands?

Sep 10, 2010

I've had a server setup working perfectly for the last 2 years. Today we installed a newer version of postgresql and recompiled apache/php.

Postgresql will not start now.

"service postgresql start" = /var/lib/pgsql/data is missing. Use "service postgresql initdb" to initialize the cluster first. To initdb we need to be as user postgres.

"su - postgres" = "no file or directory"

In /etc/passwd = postgres:x:26:26:PostgreSQL Server:/var/lib/pgsql:/bin/bash

how i can login as postgres user and enter these commands?

View 2 Replies View Related

General :: Cannot Post Files To /var/www/html Using FTP?

Nov 25, 2010

I created a local user acount and tested FTP. This allows me to post files to this directory using filezilla. I then created a webftpaccount and set the home directory to /var/www/html. Here are the permission to this directory using ls -l drwxrwsr-x 6 webftpaccount webftpaccount 4096 Nov 23 10:32 htmlhere are the permission on the sub directories

drwxrwsr-x 2 webftpaccount ftp 4096 Nov 14 07:37 myfinanceguard
drwxrwsr-x 2 webftpaccount root 4096 Nov 14 07:37 mylawguard
drwxrwsr-x 2 webftpaccount root 4096 Nov 14 07:36 xpiinc

I can log into the webftpaccount using filezilla client and it lists all the directories.It will not allow me to write a file into the html directory or any of the sub directories.Can someone help me set appropriate permissions on these directories so that I can get this working? I need to get FTP working so I set up dreamwaever FTP tlich and maintain sites.

View 7 Replies View Related

General :: Configuring LVM Post Installation?

Jul 1, 2010

I have some free space (not partitioned) on my disk drive. I have not configured LVM during installation.Is it possible to modify some of the existing partitions to be a member of LVM?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved