Settings Environment Variable In Fedora
Oct 30, 2008
I have a Fedora Linux server and I am trying to set:
PEAR=/home/pear/bin/pear
but when I try to set it under env or in a .profile file under home it still doesn't work. I even log off and log back in and I can't just run
PEAR
View 4 Replies
ADVERTISEMENT
Dec 18, 2008
It's recommended to make thread_concurrency = Number of CPU's x 2. But this is really effective with latest mysql5 versions?
[url]
Default 10
Range 1-512
Why to set it to 8 (4 cpus), for example, if recommended default value is 10? And why to set such a low value if range is till 512?
Also, how to check assigned value as "show variables;" command omit this value.
View 3 Replies
View Related
Jul 25, 2007
I had a program (APF, actually) install its executable file in /usr/local/sbin/, so I went to add that directory to my PATH variable in .bashrc. I'm able to type commands to executables just fine in other directories, but for some reason I keep getting "command not found errors" from bash when I type in the name of the executable (apf), even when starting/restarting new instances of the shell. Here's my current PATH variable in .bashrc - have I overlooked something?
# Customize the path directory
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:~/bin:
View 5 Replies
View Related
Apr 2, 2009
First off about myself: I'm your typical knows-enough-to-get-by web design CMS flash type guy. Nothing special no real training but if I need to run a control panel I probably can.
What I need: I'm moving an AM station(oldies) to online streaming and need a host for it. The variable here is the only reason I'm moving the station is because a radio show on it which runs 1 hour every weekday needs to expand our audience and all that good stuff. We'll be expanding the show as far as we can hopefully within the next year and on certain days we'd have more listeners due to having higher profile guests on.
However, since we have the stream 3 other shows on the radio station have offered to pay for the costs(we had to get a cable line run to the station in the first place)- presumably they would have a lower listener rate.
The question is what's the best solution here? We don't want to pay for a 2000 slot shoutcast service right off the bat, but we also need one who can rapidly expand our slots as needed, or possibly have one which just charges based on use. When we get up to high volume would it be smarter for us to just lease an unmetered dedicated server (high assumption of 1000 listeners(which is months off) for 3 hours a day running at 128k bit-rate the bandwidth really starts to add up) or a dedicated server that just charges based on usage. The latter may even be cheaper than using the high-priced-slot-based shoutcast stream servers.
I figure someone out there has already done the research can might know an answer to the problem. The key here is flexibility- no point paying $90-300/month for a dedicated server the first month if we're only getting 200 listeners on our show and 50 for the other shows but if we somehow experience a surge in listeners we don't want to be stuck at a low cap.
View 13 Replies
View Related
Mar 12, 2008
How do you insert variables in cron jobs? e.g. the current date.
Let's say I want to back up a file and append the date to it.
0 0 * * * cp /some/file.txt /some/outputfile_[DATE].txt >/dev/null
(note that I'm not sure the cp will actually work like that, it's just an example)
Where outputfile_[DATE].txt has the date in it.
Are there variables cron can use for date, hour, minute, etc.?
View 4 Replies
View Related
Mar 28, 2014
I am writing a rewrite rules using mod_rewrite module. I have the same data repeating all over the rules that I would like to replace with variable and set variable once at the top of rules then use variable in the rest of rules. Then if I need to add another IP address I would just add additional IP address to the variable instead like now need to change several rules.
For example I have IP addresses that I would like to set as a variable.
Now rules are the following (simplified) in httpd.conf:
RewriteEngine Off
RewriteCond %{REMOTE_ADDR} (192.168.5.20|192.168.7.15|10.10.20.50
View 1 Replies
View Related
Mar 23, 2015
I want to move mysql tmpdir to /ramdisk but when i am setting it, mysql errors: tmpdir is read only variable.
View 3 Replies
View Related
Apr 21, 2008
My server was unstable at this month sometimes fork 700 process and apache 80 access per second and that's made server very slow . very bad browsing
when i checked log files /var/log/messages found that errors
Apr 20 04:06:28 suhosin[798]: ALERT - configured request variable value length limit exceeded - dropped variable 'message' (attacker '212.107.116.238', file '/usr/local/cpanel/cgi-sys/php4')
Apr 22 00:27:05 suhosin[15442]: ALERT - configured request variable name length limit exceeded - dropped ....
View 6 Replies
View Related
Jan 15, 2015
PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE
Parallels Plesk, 11.5, .30_build115130819.13, Debian 7.0, Intel 64bit
PROBLEM DESCRIPTION
When triggering the events 'Mail account created' or 'Mail account modified' the returned variable NEW_MAILBOX will always state TRUE regardless of the mailbox option being ticked or not ticked on the 'New mail account' option located on the 'Mail' tab of a subscription.
STEPS TO REPRODUCE
1: Log in to plesk.
2. Select 'Tools & Settings'
3: Select 'Event Manager'
4: Select 'Add New Event Handler'
5: Select Event 'Mail account updated'
6: Enter in '/usr/bin/php /root/scripts/dbmail/mail_mod.php' to the Command box.
[Code] ....
ACTUAL RESULT
[NEW_MAILBOX] => true
EXPECTED RESULT
[NEW_MAILBOX] => false
ANY ADDITIONAL INFORMATION
I submitted this with parallels support and they stated that the variable NEW_MAILBOX will always return as TRUE regardless of if the mailbox option is ticked or not. They also stated the NEW_MAILBOX variable will be true regardless of any action taken on the panel with mail accounts.
The actual documentation on this variable is very sparse
Component name/description Old component value New component value
Mailbox old_mailbox new_mailbox
We previously had some code that would trigger on this variable and would create a mail account on our mail server with or without a mailbox.
if (!strcmp(getenv('NEW_MAILBOX'),"true") && !strcmp(getenv('OLD_MAILBOX'),"false")){
//Create a mailbox on the external mail service
}
if (!strcmp(getenv('NEW_MAILBOX'),"false") && !strcmp(getenv('OLD_MAILBOX'),"true")){
//Create a mail forwarder on the external mail service
}
At some point this variable has stopped working with newer versions of plesk. Having a variable that is always true regardless of what is done when creating a mail account seems pointless and requesting a new feature that was already there in older versions doesnt seem like something that should be requested on a new feature request.
QUESTION: Is there anyway to get this functionality restored other than requesting it gets re added via [URL] ....
View 2 Replies
View Related
Aug 11, 2007
i have some problems regarding fedora
1/How to change the language of fedora, for example from france to english
2/how to bring out the post installation configuration screen? any commmands? i want to change the firewall setting
View 1 Replies
View Related
May 14, 2008
I am having a problem with YUM on Fedora 5, for a long time it has not worked saying there is nothing to update when I know there is, I have tried to correct this by following a forum post of someone having the same problem, now I have really messed things up...
When I type any yum command (yum, yum --version, yum check-update etc) I get the following error:
Traceback (most recent call last):
File "/usr/bin/yum", line 28, in ?
import yummain
File "/usr/share/yum-cli/yummain.py", line 29, in ?
from yum import logginglevels
ImportError: cannot import name logginglevels
perhaps removing it and installing the latest version of Yum would help however tried that and it seems to make no difference, perhaps I am doing it wrong?
View 0 Replies
View Related
Sep 3, 2008
Anybody having problems installing directadmin on Fedora 9?
Right after I run the install, it does start downloading the packages but experiencing this issue after numerous tries:
100%[=====================================================================>] 2,769 --.-K/s in 0.07s
2008-09-03 13:47:29 (40.2 KB/s) - `/var/named/named.ca' saved [2769/2769]
Installation didn't pass, halting install.
View 1 Replies
View Related
Jul 9, 2008
I have a Fedora Core 5 VPS currently running PHP 5.1.6, and wish to upgrade to 5.2 so I can run Magento eCommerce software.
I've managed to install yum, and after running yum update php, it just updates to 5.1.x still
My understanding of it currently is I need to point it to new repositories with 5.2 in?
View 4 Replies
View Related
Oct 28, 2007
i have problem in my linux server that i have aserver with 5.2.4 apache and many scripts not working after that i upgraded to php 4.4.7 so all scipts all over my server are working but not loging with any user and pass just as u make refresh to the page
this problem in all forums and scripts in my server i need quickly solution please
my customers are confused
View 6 Replies
View Related
May 30, 2008
Fedora 9 vs Centos 5? which is good for running a server? Is both more or less the same?
View 14 Replies
View Related
Nov 27, 2007
We recently setup a server with 4 gigs of RAM and installed Fedora core 7 32-bit version in it. After installing the OS, I have found that Fedora is able to detect only 2 GB and not 4 GB of RAM. I installed the kernel-PAE and kernel-PAE-devel modules and restart the server and made sure that the the OS with the PAE switch starts at boot time. However, the OS still does not detect the 4 GB RAM. Any idea what else can be done apart from installing the 64-bit OS in the system?
View 14 Replies
View Related
Oct 23, 2009
I have a linux server that has active clients on it, its running Fedora Core 4 and I beleive its time to upgrade to the latest Fedora Release.
The server is running cPanel, has anyone here done an upgrade to a box running Fedora before? Any tips or tricks?
I'm hoping its a simple attend data center, reboot server with new Fedora DVD, boot off DVD select upgrade and away we go. . .
View 8 Replies
View Related
Apr 13, 2008
I am about to sign up for a dedicated server, and I have three options to choose from... actally, 6 options:
FEDORA C7 BASIC
FEDORA C7 PLESK 8.3
FREEBSD 6.3 BASIC
FREEBSD 6.3 PLESK 8.3
CENTOS 5.1 BASIC
CENTOS 5.1 PLESK 8.3
Which one should you pick and (most importantly) why?
View 14 Replies
View Related
May 14, 2007
Here is where I stand..
OS: FRESH install of Unix Fedora Core 6
Kernel Version: Kernel 2.6.18-1/2798.fc6 on an i686
Hardware Information: Brand new Dell SC1435 Server
Software Version: MySQl 5
Control Panel: cPanel
A few things I did already..
#yum install mysql-server && service mysqld start
Nothing to do
mysqld: unrecognized service
#rpm -qa | grep mysql
libdbi-dbd-mysql-0.8.1a-1.2.2
mysql-connector-odbc-3.51.12-2.2
#ps -ef | grep -i mysql
root 15299 15114 0 16:55 pts/0 00:00:00 grep -i mysql
I don't see the mysql.sock file. What I can do to further troubleshoot this issue?
View 7 Replies
View Related
Aug 5, 2007
My server was just upgraded to FC6 and now I do not have pico for a editor. I found nano but there is problems. Screen does not refresh correctly and when I type in charaters sometimes extra charaters show up.
Are there any other screen editors built in to FC6 (not vi)
View 4 Replies
View Related
Jan 11, 2007
I have a problem with one of the servers since the morning, DNS is down and trying to start it giving failed message.
I'm using Fedora 5
CPanel 10.9.0-S119
named (9.3.3rc2) with installed Packages: bind-9.3.3-0.2.rc2.fc5 / bind-devel-9.3.3-0.2.rc2.fc5 / bind-libbind-devel-9.3.3-0.2.rc2.fc5 / bind-libs-9.3.3-0.2.rc2.fc5 / bind-utils-9.3.3-0.2.rc2.fc5 / binutils-2.16.91.0.6-5
kernel-2.6.18-1.2257.fc5
Error Message:
Quote:
root@server [~]# service named start
Starting named:
Error in named configuration:
zone alexaian-d.com/IN: loaded serial 2006040201
zone al-jan.org/IN: loaded serial 2006073101
named.conf file
Quote:
root@server [~]# cat /etc/named.conf
include "/etc/rndc.key";
controls {
inet 127.0.0.1 allow { localhost; } keys { "rndckey"; };
};
options {
};
zone "alexaian-d.com" {
type master;
file "/var/named/ahmed-d.com.db";
};
zone "al-jan.org" {
type master;
file "/var/named/al-jinan.org.db";
};
rndc: connect failed: 127.0.0.1#953: connection refused
Quote:
root@server [~]# service named status, I'm getting the error:
rndc: connect failed: 127.0.0.1#953: connection refused
View 12 Replies
View Related
Oct 1, 2007
I have bought a
PowerEdge 2900 Quad-Core Xeon E5345 2.33 Ghz Processor
2GB FB 667MHz Memory
146 GB SAS hard drive
PERC 5/i integrated RAID Controller Card
I have installed Fedora Core 6 on this.But somehow it fails to work.It keeps hanging anytime anywhere.
Can anybody help me know whether this is compatible with each other?
I tried closing some services and work it,but the attempt was in vane.
I have googled alot over this and cant get it worked.
I also tried to install from different CDs,but no luck.
View 1 Replies
View Related
Sep 16, 2007
get my development box set up running LAMP. I have Fedora 7 currently installed but don't really know much about setting up the environment to host multiple sites (development purposes only), getting Phpmyadmin set up, etc. I'm used to typically doing my dev with with apache2triad on Windows but would much rather be working on a Linux box for development as i do my hosting in a Linux environment as well.
View 1 Replies
View Related
Jun 13, 2007
i have fedora core 4
i run sh latest
but take me error :
____ _
___| _ __ _ _ __ ___| |
/ __| |_) / _` | '_ / _ |
| (__| __/ (_| | | | | __/ |
\___|_| \__,_|_| |_|\___|_|
Installer Version 11.4.0
grep: /etc/yum.conf: No such file or directory
grep: /etc/yum.conf: No such file or directory
Your operating system's rpm update method (yum) was not able to locate the glibc package. This is an indication of an improper setup. You must correct this error before you can proceed.
View 6 Replies
View Related
Sep 12, 2007
i want to install FFMPEG on my server , i tried to install from here http://vexxhost.com/blog/category/ffmpeg/
but i got error in step no. 6 , put in your consideration i didn't do the step no. 5
coz my OS is Fedora core 4.
plz any one have the right way to install , tell me.
View 3 Replies
View Related
Aug 14, 2008
On my desktop I keep up with the Fedora life cycle by upgrading via DVD every six months or so, and I am currently running Fedora 9. By contrast, my hosted VPS based on OpenVZ/CentOS is still providing me with a Fedora Core 5 virtual environment. I used to keep up with FC5 updates via yum until FC5 maintenance ended, long ago. Question: is it possible to upgrade from Fedora Core 5 to Fedora 9 via yum and without any intervention on the current underlying VE by the VPS host? If so, how would I do that?
View 2 Replies
View Related
Jun 8, 2007
Whats the Difference between Fedora Core & CentOS?
I think my host installed the wrong OS, but just wondering to see if it's worth changing the OS if they're both the same.
View 14 Replies
View Related