General :: Roll Off Log Files During Portal Down Time?
May 18, 2010
We have few log files.We wanted to roll off log files during our portal down time. We'd like to keep four generation of the log files in the system.for examople:name of the log file is :/opt/IBM/activity.logwe wanted to cuttoff and keep 4 generations of actvity log in the system via script.
View 6 Replies
ADVERTISEMENT
Nov 9, 2010
We have multiple servers. WebSphere Portal is running on the servers. Node 1 portals are called WebSphere_Portal and node portals are called WebSphere_Portal_2. We want same script to start and stop portal in all environments.
I am getting following errror message
: No such file or directory1: !/bin/bash
'/WebPortalUptest.sh: line 24: syntax error near unexpected token `in
'/WebPortalUptest.sh: line 24: `case $host in
[Code]...
View 6 Replies
View Related
Jun 19, 2011
Under a Linux shell, how can I change the creation time of all a folder's files to the current time?
View 2 Replies
View Related
Feb 3, 2010
I am having a prolbem with my ubuntu 9.10 operating system. Is there anyway I can roll back the setting and files that I deleted previously without totaly reinstalling the system.
View 1 Replies
View Related
Jul 15, 2010
Need info on how to create my own linux distro without using one of the roll your own sites. I would like to get the kernel and other packages together like xorg and so on to make my own distro. Does anyone know of a good source of information? Most of the info I'm running across is roll your own sites with a variation of their distro.
View 3 Replies
View Related
Jul 28, 2010
How to print continuously without ejecting the paper in linux.Is it possible?
View 4 Replies
View Related
Jan 21, 2010
I loaded Ubuntu 8.4 on a data drive (second drive no OS) from a Windows XP-SP3 system. I MEANT to load it on the main XP OS drive. Bottom line I formatted a FAT-32 with Ubuntu 8.4. Can I (freeware hopefully) roll back the Ubuntu formatted drive to FAT-32 so I can recover my data?
View 5 Replies
View Related
Nov 26, 2010
For like windows you can resore your os to a state of peace kind of. If you messed up your vital files you could go back in time and restore you computer to a selected time. I was wondering if you could do that for ubuntu
View 4 Replies
View Related
Dec 14, 2010
Currently I am using the following command to copy and add date and time stamp to files.cp /home/work/file.grn /home/xfer/rename_`date +%Y%m%d%H%M%S'.grn.If I have five files for ex: file_1.grn, file_2.grn,file_3.grn ...can I copy those five files a different directory and with a different file name and with date time stamp to it.The output filenames name_1_yyyymmddhhmmss.grn,rename_2_yyyymmddhhmmss.grn,rename_3_yyyymmddhhmmss.grn ...
View 5 Replies
View Related
Feb 20, 2010
i have two bash script files namely, "a.sh" and "b.sh". Both the files contain some commands to run, how can i actually run both files at the same time, instead of running the file one by one?
View 2 Replies
View Related
Aug 6, 2010
I am having a problem unzipping multiple files at 1 time.
Proper unzip command that will:
1) extract the file from the zip.
2) remove the zip file.
All my zip files start with SB and end with .emi.zip
SB*.emi.zip
View 2 Replies
View Related
Mar 7, 2010
There are many time zone files accessible from the command line that don'thow up in the GUI ("system-config-time"). How do I add these time zones to the GUI
View 1 Replies
View Related
Mar 3, 2011
I have two systems running on linux. system one is running with RHEL 5.4/X86_64 hardware, system two is running with RHEL 5.3/i686 hardware. One filesystem is shared from system two and mounted as NFS on system one. Now when i do a copy from local filesystem to the NFS share from system one,it shows as follows
Quote:
-rw-r--r-- 1 xkinved rbak1 30 Mar 3 2011 king
But if i do copy with -p option then it shows right time stamp. Both machines are running with slight(minutes) different in time. Does this could be cause for this problem? The problem is happening while i do FTP from some other machines too.
View 3 Replies
View Related
Aug 6, 2010
We have a script that FTP files 3 times a day, once ant 02:30, 04:00 and 13:00. Once the process runs it puts a copy of the file sent in the processed folder. What I'm trying to do is check to see if the files are there and if not send an alert /email. The file names are IVF_20100806_*.150, PLAZ_ 20100806_*.151, TRAN_20100806_*.152 and TRAN_20100806_*.151
This is what I have
#!/bin/ksh
#
. ${HOME}/.bash_profile
check_file()
{
[Code].....
View 2 Replies
View Related
May 31, 2010
I am using the following script to creates list of accessed files.I like to add modified date and time of accessed files in the output.
For this what needs to be added in the below script??
#!/bin/bash
#
# creates list of accessed files
#
set $(date)
find /hdc160GB/programmers/projects -cmin -1440 > /hdc160GB/programmers/data/fileschanged/alert_$6-$2-$3.txt
View 7 Replies
View Related
Oct 12, 2010
I'm rather new to linux, and I have a dedi server. I know how to browse, install, remove etc, all the basics needed to use it. I've installed flvtool2, memcoder and ffmpeg, and at the moment im converting avi files in to flv. Im then passing metadata using yamdi.
However, this process is very timely as im converting loads of avi files at a time.Im looking for a script, or a way where I can execute one command/script and which will convert all files in the directory I specify, then run those converted files through yamdi.Im guessing it would be some sort of loop, and then changing for each file?
View 6 Replies
View Related
Feb 5, 2010
when we do enter on a folder it take some time for loading the folder depending on the no of entries in the folder . If the folder has more entries it take more time to load and if less no of entries then correspondingly less time . the delay in loading the folder varies due to reading of the folder entries in advance . SO what i want to know is that what is the MAX no of entries read in advance while opening a folder in linux and also how can we calculate this
View 4 Replies
View Related
Mar 24, 2011
I'm trying to make a shell script that will list the 50 newest files in a directory with several subdirectories in. I've been trying with the find-command with no luck and now I've figured I should probably use ls. The problem is when I do "ls -lRt | head -50" it will do 1 directory at the time. It will not first make the full list and then sort it. This will display all items in first directory, sorted, then the newest directory will be sorted and displayed. So I figured I have to sort the whole process of ls before I limit the head. So this is where I am at now: ls -lRt | sort <something clever here> | head -50
Only doing a "|sort|" will sort it by name if I understand it right and I don't know how to solve it. Here's also my first attempt if that is of any interrest or help, this was limited by the change status time of files (so some lists got very large). These lists dit not get sorted by time and I could not find any way to do so.find $ftpDir -ctime $time -type f -print > $ftpFileLsAny help on this would be appreciated since I'm sort of stuck now. After reading manuals for all the options I can think of and still there's just a big blur in my head..
View 12 Replies
View Related
Mar 18, 2009
I'm trying to find a proper command to move a certain set of files according to date/time range. I am thinking that the command should be something like:
Code:
ls -l | grep 'date/time range' | mv /folder
View 6 Replies
View Related
Jun 20, 2011
I'm installing Liferay as a WAR on Tomcat 6 on a new Ubuntu server.I want my portal accessible only via HTTPS, that's why I've enabled it via Apache.My config :Apache 2 (/etc/apache2/sites-enabled/001-https)
Code:
<VirtualHost my.domain.com:443>
ServerAdmin admin@domain.com
[code]....
View 6 Replies
View Related
Mar 9, 2011
Does anyone know of an open source secure email portal that I can install. How this would work:You open a web page and create a email and once you send the message it would notify the recipient that there is a message waiting for them. They would then log into the portal and view that message.
View 2 Replies
View Related
Oct 15, 2009
I can not open the corporate intranet portal, runnnig on windows server 2008 with domain users. In Centos I could login just fine - firefox/konqueror just prompted me for my NTLM windows domain username and password - I typed those in and browers sucessfully loggem me in and I could surf the corporate portal. Note that NTLM authentication is configured as a fallback from kerberos authentication (so told me our portal admin)
However, in Fedora11 when I try to open the corporate (intra(not inter)net) portal, browsers just give me "Bad Request (Invalid Hostname)" error instead of prompting me for my domain username/password. I'm logged in on my F11 box as a local (not domain) user - as I did also previously on Centos Box.
I disabled SELinux, I disabled the firewall but still no luck. Not being able to open the corporate portal is a major showstopper for me, as I can not access many applications hosted there.
View 4 Replies
View Related
Apr 19, 2011
Portal 1 has been working great for me, but I can't seem to get Portal 2 past the opening splash screen.I've disabled Compiz, for what it's worth.
Code:
jay@jay-desktop:~$ env WINEPREFIX="/home/jay/.wine" wine C:\Program Files\Steam\steam.exe -silent -applaunch 620 -window -novid -width 1680 -height 1050
[code]....
View 5 Replies
View Related
Jun 19, 2011
Is anyone aware of an open-source equivalent to Box or Dropbox I can install on my server? Password protected logon, easy file upload and download and of course secure?
View 1 Replies
View Related
Jan 18, 2010
I had a liferay portal running under windows XP and it worked fine. I decided to migrate system to linux (ubuntu 9.10) and now the portal doesnt launch. Here are my doubts:
* In windows I didnt install tomcat. Launching the /liferay-portal-5.5.2/tomcat-5.5.27/bin/startup.bat it worked fine. Is it mandatory to install tomcat in the linux system in order to work?
* When I launch /liferay-portal-5.5.2/tomcat-5.5.27/bin/startup.sh I didnt get any error, but portal doesnt launch and nothing happens. This are the lines when launching:
Code:
root@wserver:/home/PATH/liferay-portal-5.2.2/tomcat-5.5.27/bin# ./startup.sh
Using CATALINA_BASE: /home/PATH/liferay-portal-5.2.2/tomcat-5.5.27
Using CATALINA_HOME: /home/PATH/liferay-portal-5.2.2/tomcat-5.5.27
[code]....
UPDATE: Reviewing the tomcat logs I saw that apache was running in port 80 and it created a conflict. I have disabled apache on boot and launched again the statup.sh:
org.apache.coyote.http11.Http11BaseProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-80
INFO: Failed shutdown of Apache Portable Runtime
using netstat -tul port 80 doesnt appear as used, only ports ipp, postgresql, smtp, 5433, 8005, 5433 and 53585
View 3 Replies
View Related
May 13, 2010
Some good open source software for these requirements:
1. Support center
customers can submit issues(or tickets) to our support staff and support staff can process these issues on the web or via email.
2. Knowledge base
Multi languages support are required, and admin also can apply the access privilege to each account/group.
3. Document or File download (FTP?)
customers can download the software hotfix , patch, Presentation file or even upload their log files. Admin can control the access privilege easily.
Is there any single open source software can meet these requirement at the same time?
View 1 Replies
View Related
Jun 28, 2010
How to start jboss portal in command mode???
View 1 Replies
View Related
Mar 16, 2010
In my nagios server, an htaccess file have been created for it so any time you want to open it, a window opens for you to enter user name and passwords. Now, what I want to do now is to integrate the nagios into a portal that is written in php so that when customers login to the portal, they can access the nagios with out it popping out the user and password windows. What is going to happen is, the password of nagios will be store in an orient database so the users when they try to access nagios true the portal, they will be login automatically.
View 1 Replies
View Related
Apr 11, 2016
I am trying to set up a wireless 'test' box to use on a private club (11,000 acres). The initial tests won't need anything fancy, it will just be checking the visibility of a hotspot from a high-point in the middle of the property. But if it proves to have good visibility, later tests will be (hopefully) promoted by the club and made aware to members. I would like to set up a captive portal to redirect them to a comments page where they can post a quick message if they were able to connect ....
Most of the examples I see online of captive portal are based on having an internet connection and/or a NAT scheme set up. I just need a hotspot and a single web-page for these promotional tests. If possible, I would like to trigger any devices capable to suggest or otherwise open a browser to go to the promotional landing page ...
Also, one more quick question, this is to eventually be an 'open' internet for this test - most of the wpa set-up examples show using a passkey. Is making an open wifi as simple as not including the passkey or is there something else I would need to be doing?
View 3 Replies
View Related
May 27, 2010
I've setup OpenVPN-ALS (formerly known as Adito) on Ubuntu Server 10.04 edition. I have a security router (Untangle) in front of my internal network. I have a domain name and an SSL Certificate setup on our security router. I can access our web interface on our security router with no problems.
I've setup a portforward rule on our router to access this OpenVPN-ALS portal and I can access it, but I get an invalid certificate message. So I've bought another SSL certificate to install our our Portal, but I'm getting an error message when I enter in our information at the provider where I've bought the certificate.
Common Name does not contain fully qualified domain name. I'm not sure what the problem is. Do I use the hostname I've setup on the portal or do I use the hostname on my security router when I setup the SSL certificate on our portal?
View 5 Replies
View Related